WordPress.org

Make WordPress Core

Changeset 35421


Ignore:
Timestamp:
10/28/2015 08:16:43 PM (5 years ago)
Author:
helen
Message:

Buttons: More consistent focus styling.

props afercia.
fixes #32915.

File:
1 edited

Legend:

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

    r34948 r35421  
    163163.wp-core-ui .button-secondary:focus,
    164164.wp-core-ui .button-link:focus {
    165     -webkit-box-shadow:
    166         0 0 0 1px #5b9dd9,
    167         0 0 2px 1px rgba(0, 115, 170, .8);
    168     box-shadow:
    169         0 0 0 1px #5b9dd9,
    170         0 0 2px 1px rgba(0, 115, 170, .8);
     165    border-color: #5b9dd9;
     166    -webkit-box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
     167    box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
    171168}
    172169
     
    185182
    186183.wp-core-ui .button.active:focus {
     184    border-color: #5b9dd9;
    187185    -webkit-box-shadow:
    188186        inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ),
    189         0 0 0 1px #5b9dd9,
    190         0 0 2px 1px rgba(0, 115, 170, .8);
     187        0 0 3px rgba( 0, 115, 170, .8 );
    191188    box-shadow:
    192189        inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ),
    193         0 0 0 1px #5b9dd9,
    194         0 0 2px 1px rgba(0, 115, 170, .8);
     190        0 0 3px rgba( 0, 115, 170, .8 );
    195191}
    196192
Note: See TracChangeset for help on using the changeset viewer.