Make WordPress Core

Changeset 46967


Ignore:
Timestamp:
12/17/2019 12:13:47 AM (5 years ago)
Author:
azaozz
Message:

Fix the colors in all color schemes for the .active class for buttons.

Props ryelle, audrasjb.
Fixes #49003 for trunk.

File:
1 edited

Legend:

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

    r46817 r46967  
    105105    .button.active:focus,
    106106    .button.active:hover {
    107         border-color: darken( $button-color, 5% );
    108         color: darken( $button-text-color, 5% );
    109         box-shadow: inset 0 2px 5px -3px darken( $button-color, 5% );
     107        border-color: $button-color;
     108        color: darken( #32373c, 5% );
     109        box-shadow: inset 0 2px 5px -3px $button-color;
     110    }
     111
     112    .button.active:focus {
     113        box-shadow: 0 0 0 1px #32373c;
    110114    }
    111115
Note: See TracChangeset for help on using the changeset viewer.