WordPress.org

Make WordPress Core

Ticket #18141: 18141.7.diff

File 18141.7.diff, 10.3 KB (added by lessbloat, 6 years ago)
  • wp-includes/css/editor.css

     
    4545.wp_themeSkin a:link,
    4646.wp_themeSkin a:visited,
    4747.wp_themeSkin a:active {
    48         color: #000;
     48        color: #555;
    4949}
    5050
    5151/* Containers */
     
    176176        margin: 1px;
    177177        -webkit-border-radius: 2px;
    178178        border-radius: 2px;
    179         -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff;
    180         box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff;
    181179}
    182180
    183181.wp_themeSkin a.mceButtonEnabled:hover {
     
    188186        margin: 0 0 0 1px;
    189187}
    190188
    191 .wp_themeSkin a.mceButton:active,
    192 .wp_themeSkin a.mceButtonActive,
    193 .wp_themeSkin a.mceButtonActive:hover,
    194 .wp_themeSkin a.mceButtonSelected {
    195         -webkit-box-shadow:      0 1px 1px rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff;
    196         box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff;
    197 }
    198 
    199189.wp_themeSkin .mceButtonDisabled .mceIcon {
    200         opacity: 0.5;
    201         filter: alpha(opacity=50);
     190        opacity: 0.2;
     191        filter: alpha(opacity=20);
    202192}
    203193
    204194/* Separator */
     
    226216        -webkit-border-top-left-radius: 2px;
    227217        border-bottom-left-radius: 2px;
    228218        border-top-left-radius: 2px;
    229         -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff;
    230         box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff;
    231219        font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif;
    232220        font-size: 12px;
    233221        height: 20px;
     
    249237        -webkit-border-top-left-radius: 0;
    250238        border-bottom-left-radius: 0;
    251239        border-top-left-radius: 0;
    252         -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff;
    253         box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff;
    254240}
    255241
    256242.wp_themeSkin .mceListBox .mceOpen span {
     
    260246        background-image: url("../images/down_arrow.gif");
    261247        background-position: 2px 1px;
    262248        background-repeat: no-repeat;
     249        zoom: 1;
     250        filter: alpha(opacity=60);
     251        opacity: 0.6;
    263252}
    264253
    265254.wp_themeSkin table.mceListBoxEnabled:hover .mceText,
     
    310299        border-radius: 2px;
    311300}
    312301
    313 .wp_themeSkin table.mceSplitButton td a {
    314         -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff;
    315         box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff;
    316 }
    317 
    318302.wp_themeSkin table.mceSplitButton:hover td {
    319303        background-image: inherit 0 -10px;
    320304}
     
    340324        background-repeat: no-repeat;
    341325        padding: 1px;
    342326        border-left: 0 none !important;
     327        zoom: 1;
     328        filter: alpha(opacity=60);
     329        opacity: 0.6;
    343330}
    344331
    345332.wp_themeSkin .mceSplitButton span.mceOpen {
     
    900887.wp_themeSkin .mceButton,
    901888.wp_themeSkin .mceListBox .mceText,
    902889.wp_themeSkin .mceListBox .mceOpen {
    903         border-color: #ccc;
     890        border-color: #bbb;
    904891        background: #eee;
     892        background-image: -webkit-gradient(linear, left bottom, left top, from(#dfdfdf), to(#fdfdfd));
     893        background-image: -webkit-linear-gradient(bottom, #dfdfdf, #fdfdfd);
     894        background-image:    -moz-linear-gradient(bottom, #dfdfdf, #fdfdfd);
     895        background-image:      -o-linear-gradient(bottom, #dfdfdf, #fdfdfd);
     896        background-image: linear-gradient(to top, #dfdfdf, #fdfdfd);
     897}
     898
     899.wp_themeSkin a.mceButtonEnabled:hover {
     900        border-color: #a5a5a5;
     901        background: #eee;
    905902        background-image: -webkit-gradient(linear, left bottom, left top, from(#ddd), to(#fff));
    906903        background-image: -webkit-linear-gradient(bottom, #ddd, #fff);
    907904        background-image:    -moz-linear-gradient(bottom, #ddd, #fff);
    908905        background-image:      -o-linear-gradient(bottom, #ddd, #fff);
    909906        background-image: linear-gradient(to top, #ddd, #fff);
     907       
     908        -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.2); 
     909        box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    910910}
    911911
    912 .wp_themeSkin a.mceButtonEnabled:hover {
    913         border-color: #a0a0a0;
    914         background: #eee;
    915         background-image: -webkit-gradient(linear, left bottom, left top, from(#ccc), to(#fff));
    916         background-image: -webkit-linear-gradient(bottom, #ccc, #fff);
    917         background-image:    -moz-linear-gradient(bottom, #ccc, #fff);
    918         background-image:      -o-linear-gradient(bottom, #ccc, #fff);
    919         background-image: linear-gradient(to top, #ccc, #fff);
    920 }
    921 
    922912.wp_themeSkin a.mceButton:active,
    923913.wp_themeSkin a.mceButtonEnabled:active,
    924914.wp_themeSkin a.mceButtonSelected:active,
    925915.wp_themeSkin a.mceButtonActive,
    926916.wp_themeSkin a.mceButtonActive:active,
    927917.wp_themeSkin a.mceButtonActive:hover {
    928         border-color: #909090;
     918        border-color: #777 #ccc #ccc #777;
    929919        background: #ddd;
    930         background-image: -webkit-gradient(linear, left bottom, left top, from(#eee), to(#bbb));
    931         background-image: -webkit-linear-gradient(bottom, #eee, #bbb);
    932         background-image:    -moz-linear-gradient(bottom, #eee, #bbb);
    933         background-image:      -o-linear-gradient(bottom, #eee, #bbb);
    934         background-image: linear-gradient(to top, #eee, #bbb);
     920        background-image: -webkit-gradient(linear, left bottom, left top, from(#f6f6f6), to(#dfdfdf));
     921        background-image: -webkit-linear-gradient(bottom, #f6f6f6, #dfdfdf);
     922        background-image:    -moz-linear-gradient(bottom, #f6f6f6, #dfdfdf);
     923        background-image:      -o-linear-gradient(bottom, #f6f6f6, #dfdfdf);
     924        background-image: linear-gradient(to top, #f6f6f6, #dfdfdf);
     925       
     926        -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,0.2); 
     927        box-shadow: inset 1px 1px 0 rgba(0,0,0,0.2);
    935928}
    936929
    937930.wp_themeSkin .mceButtonDisabled {
     
    944937
    945938.wp_themeSkin table.mceListBoxEnabled:hover .mceOpen,
    946939.wp_themeSkin .mceListBoxHover .mceOpen,
    947 .wp_themeSkin .mceListBoxHover:active .mceOpen,
    948 .wp_themeSkin .mceListBoxSelected .mceOpen,
    949940.wp_themeSkin .mceListBoxSelected .mceText,
    950 .wp_themeSkin table.mceListBoxEnabled:active .mceText {
    951         background: #ccc;
    952         border-color: #999;
     941.wp_themeSkin table.mceListBoxEnabled:active .mceText{
     942        border-color: #777 #ccc #ccc #777;
     943        background: #ddd;
     944        background-image: -webkit-gradient(linear, left bottom, left top, from(#f6f6f6), to(#dfdfdf));
     945        background-image: -webkit-linear-gradient(bottom, #f6f6f6, #dfdfdf);
     946        background-image:    -moz-linear-gradient(bottom, #f6f6f6, #dfdfdf);
     947        background-image:      -o-linear-gradient(bottom, #f6f6f6, #dfdfdf);
     948        background-image: linear-gradient(to top, #f6f6f6, #dfdfdf);
     949       
     950        -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,0.2); 
     951        box-shadow: inset 1px 1px 0 rgba(0,0,0,0.2);
    953952}
    954 
    955953.wp_themeSkin table.mceListBoxEnabled:hover .mceText,
    956954.wp_themeSkin .mceListBoxHover .mceText,
    957955.wp_themeSkin table.mceListBoxEnabled:hover .mceOpen,
    958956.wp_themeSkin .mceListBoxHover .mceOpen {
    959         border-color: #909090;
     957        border-color: #999;
    960958        background: #eee;
    961         background-image: -webkit-gradient(linear, left bottom, left top, from(#ccc), to(#fff));
    962         background-image: -webkit-linear-gradient(bottom, #ccc, #fff);
    963         background-image:    -moz-linear-gradient(bottom, #ccc, #fff);
    964         background-image:      -o-linear-gradient(bottom, #ccc, #fff);
    965         background-image: linear-gradient(to top, #ccc, #fff);
     959        background-image: -webkit-gradient(linear, left bottom, left top, from(#ddd), to(#fff));
     960        background-image: -webkit-linear-gradient(bottom, #ddd, #fff);
     961        background-image:    -moz-linear-gradient(bottom, #ddd, #fff);
     962        background-image:      -o-linear-gradient(bottom, #ddd, #fff);
     963        background-image: linear-gradient(to top, #ddd, #fff);
     964       
     965        -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.2); 
     966        box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    966967}
    967968
     969.wp_themeSkin .mceListBoxHover:active .mceOpen,
     970.wp_themeSkin .mceListBoxSelected .mceOpen {
     971        border-color: #777 #ccc #ccc #999;
     972        background: #ddd;
     973        background-image: -webkit-gradient(linear, left bottom, left top, from(#f6f6f6), to(#dfdfdf));
     974        background-image: -webkit-linear-gradient(bottom, #f6f6f6, #dfdfdf);
     975        background-image:    -moz-linear-gradient(bottom, #f6f6f6, #dfdfdf);
     976        background-image:      -o-linear-gradient(bottom, #f6f6f6, #dfdfdf);
     977        background-image: linear-gradient(to top, #f6f6f6, #dfdfdf);
     978}
     979
     980
    968981/* SplitButton */
    969 .wp_themeSkin .mceSplitButton a.mceAction,
     982.wp_themeSkin .mceSplitButton a.mceAction {
     983        border-color: #bbb;
     984}
     985
    970986.wp_themeSkin .mceSplitButton a.mceOpen {
    971         border-color: #ccc;
     987        border-color: #858585;
    972988}
    973989
    974 .wp_themeSkin .mceSplitButton a.mceOpen:hover,
    975990.wp_themeSkin .mceSplitButtonSelected a.mceOpen,
    976991.wp_themeSkin table.mceSplitButtonEnabled:hover a.mceAction,
    977992.wp_themeSkin .mceSplitButton a.mceAction:hover {
    978         border-color: #909090;
     993        border-color: #a5a5a5;
    979994}
    980995
     996.wp_themeSkin .mceSplitButton a.mceOpen:hover {
     997        border-color: #666;
     998}
     999
    9811000.wp_themeSkin table.mceSplitButton td {
    9821001        background: #eee;
     1002        background-image: -webkit-gradient(linear, left bottom, left top, from(#cfcfcf), to(#fdfdfd));
     1003        background-image: -webkit-linear-gradient(bottom, #cfcfcf, #fdfdfd);
     1004        background-image:    -moz-linear-gradient(bottom, #cfcfcf, #fdfdfd);
     1005        background-image:      -o-linear-gradient(bottom, #cfcfcf, #fdfdfd);
     1006        background-image: linear-gradient(to top, #cfcfcf, #fdfdfd);
     1007}
     1008
     1009.wp_themeSkin table.mceSplitButton:hover td {
     1010        background: #eee;
    9831011        background-image: -webkit-gradient(linear, left bottom, left top, from(#ddd), to(#fff));
    9841012        background-image: -webkit-linear-gradient(bottom, #ddd, #fff);
    9851013        background-image:    -moz-linear-gradient(bottom, #ddd, #fff);
    9861014        background-image:      -o-linear-gradient(bottom, #ddd, #fff);
    9871015        background-image: linear-gradient(to top, #ddd, #fff);
     1016       
     1017        -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.2); 
     1018        box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    9881019}
    9891020
    990 .wp_themeSkin table.mceSplitButton:hover td {
    991         background: #eee;
    992         background-image: -webkit-gradient(linear, left bottom, left top, from(#ccc), to(#fff));
    993         background-image: -webkit-linear-gradient(bottom, #ccc, #fff);
    994         background-image:    -moz-linear-gradient(bottom, #ccc, #fff);
    995         background-image:      -o-linear-gradient(bottom, #ccc, #fff);
    996         background-image: linear-gradient(to top, #ccc, #fff);
    997 }
    998 
    9991021.wp_themeSkin .mceSplitButtonActive {
    10001022        background-color: #B2B2B2;
    10011023}
     
    10541076.quicktags-toolbar,
    10551077.wp_themeSkin tr.mceFirst td.mceToolbar {
    10561078        border-bottom: 1px solid #ccc;
    1057         background: #e9e9e9;
    1058         background-image: -webkit-gradient(linear, left bottom, left top, from(#ddd), to(#e9e9e9));
    1059         background-image: -webkit-linear-gradient(bottom, #ddd, #e9e9e9);
    1060         background-image:    -moz-linear-gradient(bottom, #ddd, #e9e9e9);
    1061         background-image:      -o-linear-gradient(bottom, #ddd, #e9e9e9);
    1062         background-image: linear-gradient(to top, #ddd, #e9e9e9);
     1079        background: #eaeaea;
    10631080}
    10641081
    10651082.wp-switch-editor {
     
    10991116.tmce-active .switch-tmce,
    11001117.html-active .switch-html {
    11011118        border-color: #ccc #ccc #e9e9e9;
    1102         background-color: #e9e9e9;
     1119        background-color: #eaeaea;
    11031120        color: #333;
    11041121}
    11051122