WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/17/2019 09:01:48 PM (10 months ago)
Author:
SergeyBiryukov
Message:

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

Props ryelle, audrasjb.
Merges [46967] to the 5.3 branch.
Fixes #49003.

Location:
branches/5.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.3

  • branches/5.3/src/wp-admin/css/colors/_admin.scss

    r46818 r46978  
    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.