Make WordPress Core

Changeset 26533


Ignore:
Timestamp:
12/02/2013 07:25:42 PM (11 years ago)
Author:
iammattthomas
Message:

Add basic responsive styles for button-small and button-large, override responsive button-large styles when used in the .interim-login iframe. Fixes #26363.

File:
1 edited

Legend:

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

    r26497 r26533  
    280280
    281281    .wp-core-ui .button,
     282    .wp-core-ui .button.button-large,
     283    .wp-core-ui .button.button-small,
    282284    input#publish,
    283285    input#save-post,
     
    290292        margin-bottom: 4px;
    291293    }
    292 
    293     /* this creates an inset effect on the text */
    294     .wp-core-ui .button:active {
     294   
     295    /* Adjust the padding that makes active button text looks inset to account for larger responsive buttons */
     296    .wp-core-ui .button:active,
     297    .wp-core-ui .button-large:active,
     298    .wp-core-ui .button-small:active,
     299    input#publish:active,
     300    input#save-post:active,
     301    a.preview:active {
    295302        padding-top: 11px;
    296     }
    297 
     303        padding-bottom: 9px;
     304    }
     305   
    298306    #media-upload.wp-core-ui .button {
    299307        padding: 0 10px 1px;
     
    302310        font-size: 13px;
    303311    }
    304    
     312
    305313    /* Publish Metabox Options */
    306314    .wp-core-ui .save-post-status.button {
     
    321329        margin: 0;
    322330    }
    323 }
     331   
     332    /* Reset responsive styles on Log in button on iframed login form */
     333   
     334    .interim-login .button.button-large {
     335        height: 30px;
     336        line-height: 28px;
     337        padding: 0 12px 2px;
     338    }
     339   
     340    .interim-login .button.button-large:active {
     341        padding-top: 1px;
     342    }
     343}
Note: See TracChangeset for help on using the changeset viewer.