From 5e813adcdc55357a34f18807d0901882fa2daf16 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Tue, 17 Dec 2019 00:13:47 +0000 Subject: [PATCH] Fix the colors in all color schemes for the `.active` class for buttons. Props ryelle, audrasjb. Fixes #49003 for trunk. git-svn-id: https://develop.svn.wordpress.org/trunk@46967 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/colors/_admin.scss | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/css/colors/_admin.scss b/src/wp-admin/css/colors/_admin.scss index 0b02251009..ca01267a24 100644 --- a/src/wp-admin/css/colors/_admin.scss +++ b/src/wp-admin/css/colors/_admin.scss @@ -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 {