Make WordPress Core

Ticket #25968: 25968.diff

File 25968.diff, 2.4 KB (added by melchoyce, 11 years ago)
  • wp-admin/css/wp-admin.css

     
    1096010960                font-size: 14px;
    1096110961        }
    1096210962
    10963         .wp-core-ui .button,
    10964         .wp-core-ui .button:active, /* Override non-responsive active styles in buttons.css */
    10965         input#publish,
    10966         input#save-post,
    10967         a.preview {
    10968                 padding: 10px 14px;
    10969                 line-height: 1;
    10970                 font-size: 14px;
    10971                 vertical-align: middle;
    10972                 height: auto;
    10973                 margin-bottom: 4px;
    10974         }
    10975 
    10976         #media-upload.wp-core-ui .button {
    10977                 padding: 0 10px 1px;
    10978                 height: 24px;
    10979                 line-height: 22px;
    10980                 font-size: 13px;
    10981         }
    10982 
    1098310963        .wrap .add-new-h2, .wrap .add-new-h2:active {
    1098410964                padding: 10px 15px;
    1098510965                font-size: 14px;
     
    1123411214                line-height: 280%;
    1123511215        }
    1123611216
    11237         .wp-core-ui .save-post-status.button {
    11238                 position: relative;
    11239                 margin: 0 14px 0 10px; /* 14px right margin to match all other buttons */
    11240         }
    11241 
    1124211217        .wp-core-ui .save-post-visibility,
    1124311218        .wp-core-ui .save-timestamp {
    1124411219                vertical-align: middle;
  • wp-includes/css/buttons.css

     
    2727 2.0 - Default Button Style
    2828 3.0 - Primary Button Style
    2929 4.0 - Button Groups
     30 5.0 - Responsive Button Styles
    3031
    3132---------------------------------------------------------------------------- */
    3233
     
    269270.wp-core-ui .button-group > .button:last-child {
    270271        border-radius: 0 3px 3px 0;
    271272}
     273
     274/* ----------------------------------------------------------------------------
     275  5.0 - Responsive Button Styles
     276---------------------------------------------------------------------------- */
     277
     278@media screen and ( max-width: 782px ) {
     279
     280        .wp-core-ui .button,
     281        .wp-core-ui .button:active, /* Override non-responsive active styles in buttons.css */
     282        input#publish,
     283        input#save-post,
     284        a.preview {
     285                padding: 10px 14px;
     286                line-height: 1;
     287                font-size: 14px;
     288                vertical-align: middle;
     289                height: auto;
     290                margin-bottom: 4px;
     291        }
     292
     293        #media-upload.wp-core-ui .button {
     294                padding: 0 10px 1px;
     295                height: 24px;
     296                line-height: 22px;
     297                font-size: 13px;
     298        }
     299       
     300        /* Publish Metabox Options */
     301        .wp-core-ui .save-post-status.button {
     302                position: relative;
     303                margin: 0 14px 0 10px; /* 14px right margin to match all other buttons */
     304        }
     305       
     306
     307}