Make WordPress Core

Changeset 46817


Ignore:
Timestamp:
12/05/2019 10:10:29 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Accessibility: Administration: Correct active button color for the alternative color schemes.

Follow-up to [46815].

Props melchoyce, ryelle, larrach, audrasjb, studiotwee, afercia, azaozz.
Fixes #48598.

Location:
trunk/src/wp-admin/css/colors
Files:
2 edited

Legend:

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

    r46815 r46817  
    9191    .button.focus,
    9292    .button:focus {
    93         border-color: $highlight-color;
    94         box-shadow: 0 0 0 1px $highlight-color;
     93        border-color: #7e8993;
     94        color: darken( #32373c, 5% );
     95        box-shadow: 0 0 0 1px #32373c;
    9596    }
    9697
     
    106107        border-color: darken( $button-color, 5% );
    107108        color: darken( $button-text-color, 5% );
     109        box-shadow: inset 0 2px 5px -3px darken( $button-color, 5% );
    108110    }
    109111
  • trunk/src/wp-admin/css/colors/_mixins.scss

    r46815 r46817  
    33 * highlights/shadows, based on a base color.
    44 */
    5 @mixin button( $button-color, $text-color: #fff ) {
     5@mixin button( $button-color, $button-text-color: #fff ) {
    66    background: $button-color;
    77    border-color: $button-color;
Note: See TracChangeset for help on using the changeset viewer.