Make WordPress Core

Changeset 36857


Ignore:
Timestamp:
03/05/2016 10:00:45 PM (8 years ago)
Author:
azaozz
Message:

TinyMCE:

  • Fix the icon for the native dialogs close button.
  • Highlight the button on :focus.

See #36035.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/css/editor.css

    r36799 r36857  
    5252}
    5353
    54 .mce-window .mce-window-head .mce-close {
     54.mce-window .mce-window-head .mce-close,
     55.mce-window-head .mce-close .mce-i-remove {
    5556    color: transparent;
    5657    top: 0;
     
    5859    width: 36px;
    5960    height: 36px;
     61    padding: 0;
    6062    line-height: 36px;
    6163    text-align: center;
    6264}
    6365
    64 .mce-window .mce-window-head .mce-close:before {
     66.mce-window-head .mce-close .mce-i-remove:before {
    6567    font: normal 20px/36px dashicons;
    6668    text-align: center;
     
    7173}
    7274
    73 .mce-window .mce-window-head .mce-close:hover:before {
     75.mce-window-head .mce-close:hover .mce-i-remove:before,
     76.mce-window-head .mce-close:focus .mce-i-remove:before {
    7477    color: #00a0d2;
     78}
     79
     80.mce-window-head .mce-close:focus .mce-i-remove,
     81div.mce-tab:focus {
     82    -webkit-box-shadow: 0 0 0 1px #5b9dd9,
     83        0 0 2px 1px rgba(30, 140, 190, .8);
     84    box-shadow: 0 0 0 1px #5b9dd9,
     85        0 0 2px 1px rgba(30, 140, 190, .8);
    7586}
    7687
     
    829840
    830841.mce-notification button.mce-close {
    831     width: 20px;
    832     right: 6px;
    833     top: 9px;
    834     font-weight: normal;
    835     color: #555d66;
     842    right: 6px;
     843    top: 3px;
     844    font-weight: normal;
     845    color: #555d66;
    836846}
    837847
     
    839849.mce-notification button.mce-close:focus {
    840850    color: #000;
    841 }
    842 
    843 .mce-notification.mce-notification-info.mce-has-close {
    844     padding-right: 24px;
    845851}
    846852
     
    882888i.mce-i-wp_code,
    883889i.mce-i-dashicon,
    884 .mce-close {
     890i.mce-i-remove {
    885891    font: normal 20px/1 dashicons;
    886892    padding: 0;
     
    10261032}
    10271033
    1028 .mce-close:before {
     1034i.mce-i-remove:before {
    10291035    content: "\f158";
    10301036}
Note: See TracChangeset for help on using the changeset viewer.