WordPress.org

Make WordPress Core

Ticket #26700: 26700.diff

File 26700.diff, 1.3 KB (added by johnbillion, 7 years ago)
  • wp-includes/css/buttons.css

     
    163163        box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
    164164}
    165165
    166 /* this creates an inset effect on the text */
    167 .wp-core-ui .button:active {
    168         padding-top: 1px;
    169 }
    170 
    171166.wp-core-ui .button[disabled],
    172167.wp-core-ui .button:disabled,
    173168.wp-core-ui .button-secondary[disabled],
     
    224219        vertical-align: top;
    225220}
    226221
    227 /* this creates an inset effect on the text */
    228 .wp-core-ui .button-primary:active {
    229         padding-top: 1px;
    230 }
    231 
    232222.wp-core-ui .button-primary[disabled],
    233223.wp-core-ui .button-primary:disabled,
    234224.wp-core-ui .button-primary-disabled {
     
    296286                margin-bottom: 4px;
    297287        }
    298288       
    299         /* Adjust the padding that makes active button text looks inset to account for larger responsive buttons */
    300         .wp-core-ui .button:active,
    301         .wp-core-ui .button-large:active,
    302         .wp-core-ui .button-small:active,
    303         input#publish:active,
    304         input#save-post:active,
    305         a.preview:active {
    306                 padding-top: 11px;
    307                 padding-bottom: 9px;
    308         }
    309        
    310289        #media-upload.wp-core-ui .button {
    311290                padding: 0 10px 1px;
    312291                height: 24px;
     
    343322                padding: 0 12px 2px;
    344323        }
    345324       
    346         .interim-login .button.button-large:active {
    347                 padding-top: 1px;
    348         }
    349325}