Skip to content

Commit

Permalink
Fix the colors in all color schemes for the .active class for buttons.
Browse files Browse the repository at this point in the history
Props ryelle, audrasjb.
Fixes #49003 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@46967 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
azaozz committed Dec 17, 2019
1 parent 99ef48a commit 5e813ad
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/wp-admin/css/colors/_admin.scss
Expand Up @@ -104,9 +104,13 @@ textarea:focus {
.button.active,
.button.active:focus,
.button.active:hover {
border-color: darken( $button-color, 5% );
color: darken( $button-text-color, 5% );
box-shadow: inset 0 2px 5px -3px darken( $button-color, 5% );
border-color: $button-color;
color: darken( #32373c, 5% );
box-shadow: inset 0 2px 5px -3px $button-color;
}

.button.active:focus {
box-shadow: 0 0 0 1px #32373c;
}

.button-primary {
Expand Down

0 comments on commit 5e813ad

Please sign in to comment.