Make WordPress Core

Changeset 37004


Ignore:
Timestamp:
03/16/2016 04:28:09 AM (10 years ago)
Author:
azaozz
Message:

TinyMCE, inline link:

  • Add back the bottom box-shadow on the Apply button.
  • Shrink .mce-btn.mce-primary to compensate for the bottom box-shadow.
  • Tighten up/reduce the margins between the buttons.

See #33301.

File:
1 edited

Legend:

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

    r37001 r37004  
    485485        background: #0085ba;
    486486        border-color: #0073aa #006799 #006799;
    487         -webkit-box-shadow: none;
    488         box-shadow: none;
     487        -webkit-box-shadow: 0 1px 0 #006799;
     488        box-shadow: 0 1px 0 #006799;
    489489        color: #fff;
    490490        text-decoration: none;
    491491        text-shadow: none;
     492}
     493
     494/* Compensate for the extra box shadow at the bottom of .mce-btn.mce-primary */
     495.mce-toolbar .mce-btn-group .mce-btn.mce-primary button {
     496        padding: 2px 3px 1px;
    492497}
    493498
     
    501506        border-color: #006799;
    502507        color: #fff;
    503         -webkit-box-shadow: 0 1px 0 rgba( 0, 0, 0, 0.2 );
    504         box-shadow: 0 1px 0 rgba( 0, 0, 0, 0.2 );
    505508}
    506509
     
    12631266        }
    12641267
     1268        /* Compensate for the extra box shadow at the bottom of .mce-btn.mce-primary */
     1269        .mce-toolbar .mce-btn-group .mce-btn.mce-primary button {
     1270                padding: 6px 7px 5px;
     1271        }
     1272
    12651273        .mce-toolbar .mce-btn-group .mce-btn {
    12661274                margin: 1px;
     
    15981606}
    15991607
     1608.mce-toolbar div.wp-link-preview ~ .mce-btn,
     1609.mce-toolbar div.wp-link-input ~ .mce-btn {
     1610        margin: 2px 1px;
     1611}
     1612
     1613.mce-inline-toolbar-grp .mce-btn-group .mce-btn:last-child {
     1614        margin-right: 2px;
     1615}
     1616
    16001617.ui-autocomplete.wplink-autocomplete {
    16011618        z-index: 100110;
     
    16281645                width: 100%;
    16291646                font-size: 16px;
    1630                 padding: 4px;
     1647                padding: 5px;
    16311648        }
    16321649}
Note: See TracChangeset for help on using the changeset viewer.