Buttons: Ensure active styling applies to both `:active` and `.active`.

props sayedwp, helen.
fixes #42236.


git-svn-id: https://develop.svn.wordpress.org/trunk@41984 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Helen Hou-Sandi 2017-10-23 23:33:54 +00:00
parent 0e87ef42d0
commit ace979586b
1 changed files with 4 additions and 1 deletions

View File

@ -25,7 +25,10 @@
0 0 2px 1px #33b3db;
}
&:active {
&:active,
&.active,
&.active:focus,
&.active:hover {
background: darken( $button-color, 10% );
border-color: darken( $button-color, 15% );
box-shadow: inset 0 2px 0 darken( $button-color, 15% );