Make WordPress Core


Ignore:
Timestamp:
08/26/2014 05:16:14 AM (11 years ago)
Author:
helen
Message:

Focus styling: bring the blue glow to more places.

Handles color picker, theme browser, help/screen options, TinyMCE dialog buttons, jQuery UI dialog buttons, and buttons in color schemes.

props avryl, celloexpressions. fixes #28267.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/colors/_mixins.scss

    r28079 r29616  
    1414        border-color: darken( $button-color, 15% );
    1515        color: $text-color;
    16         box-shadow: inset 0 1px 0 lighten( $button-color, 10% ), 0 1px 0 rgba(0,0,0,.15);
     16        box-shadow: inset 0 1px 0 lighten( $button-color, 10% ),
     17    }
     18
     19    &:focus {
     20        box-shadow: inset 0 1px 0 lighten( $button-color, 10% ),
     21                    0 0 0 1px #5b9dd9,
     22                    0 0 2px 1px rgba( 30, 140, 190, .8 );
    1723    }
    1824
     
    2127        border-color: darken( $button-color, 15% );
    2228        color: $text-color;
    23         box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
     29        box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ),
     30                    0 0 0 1px #5b9dd9,
     31                    0 0 2px 1px rgba( 30, 140, 190, .8 );
    2432    }
    2533
Note: See TracChangeset for help on using the changeset viewer.