WordPress.org

Make WordPress Core

Ticket #15986: 15986.tinymce.css.cleanup.diff

File 15986.tinymce.css.cleanup.diff, 7.2 KB (added by chexee, 7 years ago)

Removes unnecessary !importants and some lines with empty bracket statements. Makes Fallback colors more accurate.

  • wp-includes/js/tinymce/themes/advanced/skins/wp_theme/ui.css

     
    6666        background-image: inherit 0 -10px;
    6767}
    6868
    69 .wp_themeSkin a.mceButton span, .wp_themeSkin a.mceButton img {}
    7069.wp_themeSkin .mceOldBoxModel a.mceButton span, .wp_themeSkin .mceOldBoxModel a.mceButton img {margin:0 0 0 1px}
    7170
    7271.wp_themeSkin a.mceButton:active,
    7372.wp_themeSkin a.mceButtonActive,
    7473.wp_themeSkin a.mceButtonActive:hover,
    7574.wp_themeSkin a.mceButtonSelected {
    76         background-image: inherit;
    7775        -webkit-box-shadow:      0 1px 1px rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff;
    7876        -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff;
    7977        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff;
    8078}
    8179.wp_themeSkin .mceButtonDisabled .mceIcon {opacity:0.4; filter:alpha(opacity=40);}
    82 .wp_themeSkin .mceButtonDisabled {}
    8380
    8481/* Separator */
    8582.wp_themeSkin .mceSeparator {
     
    9693.wp_themeSkin .mceListBox .mceText {
    9794        padding: 1px 2px 1px 5px;
    9895        text-align:left;
    99         text-decoration: none !important;
     96        text-decoration: none;
    10097        width:70px;
    10198        -moz-border-bottom-left-radius: 2px;
    10299        -webkit-border-bottom-left-radius: 2px;
  • wp-admin/css/colors-fresh.dev.css

     
    891891        background-image: -moz-linear-gradient(bottom, #ddd, #fff); /* Firefox */
    892892        background-image: -o-linear-gradient(bottom, #ddd, #fff); /* Opera */
    893893        background-image: -webkit-gradient(linear, left bottom, left top, from(#ddd), to(#fff)); /* old Webkit */
    894         background-image: -webkit-linear-gradient(bottom, #ddd, #fff) !important; /* new Webkit */
     894        background-image: -webkit-linear-gradient(bottom, #ddd, #fff); /* new Webkit */
    895895        background-image: linear-gradient(bottom, #ddd, #fff); /* proposed W3C Markup */
    896896}
    897897
    898898.wp_themeSkin a.mceButtonEnabled:hover {
    899         background: #d5d5d5;
    900         border-color: #a0a0a0 !important;
    901         background-color: #c9c9c9; /* Fallback */
     899        border-color: #a0a0a0;
     900        background: #ddd; /* Fallback */
    902901        background-image: -ms-linear-gradient(bottom, #ccc, #fff); /* IE10 */
    903902        background-image: -moz-linear-gradient(bottom, #ccc, #fff); /* Firefox */
    904903        background-image: -o-linear-gradient(bottom, #ccc, #fff); /* Opera */
    905904        background-image: -webkit-gradient(linear, left bottom, left top, from(#ccc), to(#fff)); /* old Webkit */
    906         background-image: -webkit-linear-gradient(bottom, #ccc, #fff) !important; /* new Webkit */
     905        background-image: -webkit-linear-gradient(bottom, #ccc, #fff); /* new Webkit */
    907906        background-image: linear-gradient(bottom, #ccc, #fff); /* proposed W3C Markup */
    908907}
    909908
     
    913912.wp_themeSkin a.mceButtonActive,
    914913.wp_themeSkin a.mceButtonActive:active,
    915914.wp_themeSkin a.mceButtonActive:hover {
     915        background-color: #ddd; /* Fallback */
    916916        background-image: -ms-linear-gradient(bottom, #eee, #bbb); /* IE10 */
    917917        background-image: -moz-linear-gradient(bottom, #eee, #bbb); /* Firefox */
    918918        background-image: -o-linear-gradient(bottom, #eee, #bbb); /* Opera */
    919919        background-image: -webkit-gradient(linear, left bottom, left top, from(#eee), to(#bbb)); /* old Webkit */
    920         background-image: -webkit-linear-gradient(bottom, #eee, #bbb) !important; /* new Webkit */
     920        background-image: -webkit-linear-gradient(bottom, #eee, #bbb); /* new Webkit */
    921921        background-image: linear-gradient(bottom, #eee, #bbb); /* proposed W3C Markup */
    922         border-color: #909090 !important;
     922        border-color: #909090;
    923923}
    924924
    925925.wp_themeSkin .mceButtonDisabled {
     
    930930.wp_themeSkin .mceListBox .mceText,
    931931.wp_themeSkin .mceListBox .mceOpen      {
    932932        border-color: #ccc;
    933         background-color: #c9c9c9; /* Fallback */
     933        background-color: #eee; /* Fallback */
    934934        background-image: -ms-linear-gradient(bottom, #ddd, #fff); /* IE10 */
    935935        background-image: -moz-linear-gradient(bottom, #ddd, #fff); /* Firefox */
    936936        background-image: -o-linear-gradient(bottom, #ddd, #fff); /* Opera */
    937937        background-image: -webkit-gradient(linear, left bottom, left top, from(#ddd), to(#fff)); /* old Webkit */
    938         background-image: -webkit-linear-gradient(bottom, #ddd, #fff); !important/* new Webkit */
     938        background-image: -webkit-linear-gradient(bottom, #ddd, #fff); /* new Webkit */
    939939        background-image: linear-gradient(bottom, #ddd, #fff); /* proposed W3C Markup */
    940940}
    941941
    942942.wp_themeSkin .mceListBox .mceOpen {
    943         border-left: 0px !important;
     943        border-left: 0 !important;
    944944}
    945945
    946946.wp_themeSkin table.mceListBoxEnabled:hover .mceOpen,
     
    950950.wp_themeSkin .mceListBoxSelected .mceText,
    951951.wp_themeSkin table.mceListBoxEnabled:active .mceText {
    952952        background: #ccc;
    953         border-color: #999 !important;
     953        border-color: #999;
    954954}
    955955
    956956/* List Box Hover */
     
    958958.wp_themeSkin .mceListBoxHover .mceText,
    959959.wp_themeSkin table.mceListBoxEnabled:hover .mceOpen,
    960960.wp_themeSkin .mceListBoxHover .mceOpen {
    961         border-color: #909090 !important;
    962         background-color: #c9c9c9; /* Fallback */
     961        border-color: #909090;
     962        background-color: #eee; /* Fallback */
    963963        background-image: -ms-linear-gradient(bottom, #ccc, #fff); /* IE10 */
    964964        background-image: -moz-linear-gradient(bottom, #ccc, #fff); /* Firefox */
    965965        background-image: -o-linear-gradient(bottom, #ccc, #fff); /* Opera */
    966966        background-image: -webkit-gradient(linear, left bottom, left top, from(#ccc), to(#fff)); /* old Webkit */
    967         background-image: -webkit-linear-gradient(bottom, #ccc, #fff) !important; /* new Webkit */
     967        background-image: -webkit-linear-gradient(bottom, #ccc, #fff); /* new Webkit */
    968968        background-image: linear-gradient(bottom, #ccc, #fff); /* proposed W3C Markup */
    969969}
    970970
     
    983983.wp_themeSkin .mceSplitButtonSelected a.mceOpen,
    984984.wp_themeSkin table.mceSplitButtonEnabled:hover a.mceAction,
    985985.wp_themeSkin .mceSplitButton a.mceAction:hover {
    986         border-color: #909090 !important;
     986        border-color: #909090;
    987987}
    988988
    989989
    990990.wp_themeSkin table.mceSplitButton td {
    991         background-color: #c9c9c9; /* Fallback */
     991        background-color: #eee; /* Fallback */
    992992        background-image: -ms-linear-gradient(bottom, #ddd, #fff); /* IE10 */
    993993        background-image: -moz-linear-gradient(bottom, #ddd, #fff); /* Firefox */
    994994        background-image: -o-linear-gradient(bottom, #ddd, #fff); /* Opera */
    995995        background-image: -webkit-gradient(linear, left bottom, left top, from(#ddd), to(#fff)); /* old Webkit */
    996         background-image: -webkit-linear-gradient(bottom, #ddd, #fff) !important; /* new Webkit */
     996        background-image: -webkit-linear-gradient(bottom, #ddd, #fff); /* new Webkit */
    997997        background-image: linear-gradient(bottom, #ddd, #fff); /* proposed W3C Markup */
    998998}
    999999
     
    10021002        background-image: -moz-linear-gradient(bottom, #ccc, #fff); /* Firefox */
    10031003        background-image: -o-linear-gradient(bottom, #ccc, #fff); /* Opera */
    10041004        background-image: -webkit-gradient(linear, left bottom, left top, from(#ccc), to(#fff)); /* old Webkit */
    1005         background-image: -webkit-linear-gradient(bottom, #ccc, #fff) !important; /* new Webkit */
     1005        background-image: -webkit-linear-gradient(bottom, #ccc, #fff); /* new Webkit */
    10061006        background-image: linear-gradient(bottom, #ccc, #fff); /* proposed W3C Markup */
    10071007}
    10081008