WordPress.org

Make WordPress Core

Changeset 46350


Ignore:
Timestamp:
09/30/2019 10:52:36 AM (3 weeks ago)
Author:
afercia
Message:

Accessibility: Improve and modernize user interface controls: Remove the CSS transform 1 pixel shift from the buttons active state.

Props Joen.
See #34904.

Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/customize-controls.css

    r45930 r46350  
    18031803    border-color: #999;
    18041804    box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
    1805     transform: translateY(1px);
    18061805}
    18071806
  • trunk/src/wp-includes/css/buttons.css

    r46344 r46350  
    160160    background: #f3f5f6;
    161161    border-color: #7e8993;
    162     transform: translateY(1px);
    163162    box-shadow: none;
    164163}
     
    266265    background: #00669b;
    267266    border-color: #00669b;
    268     transform: translateY(1px);
    269267    box-shadow: none;
    270268}
     
    321319    box-shadow: inset 0 1px 0 0 #999;
    322320    border-color: #016087;
    323 }
    324 
    325 .wp-core-ui .button-group > .button:active,
    326 .wp-core-ui .button-group > .button.active {
    327     transform: translateY(0);
    328321}
    329322
  • trunk/src/wp-includes/css/jquery-ui-dialog.css

    r45931 r46350  
    229229    border-color: #999;
    230230    box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
    231     transform: translateY(1px);
    232231}
    233232
  • trunk/src/wp-includes/functions.php

    r46290 r46350  
    33803380            -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
    33813381            box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
    3382             -webkit-transform: translateY(1px);
    3383             -ms-transform: translateY(1px);
    3384             transform: translateY(1px);
    33853382        }
    33863383
Note: See TracChangeset for help on using the changeset viewer.