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:
parent
0e87ef42d0
commit
ace979586b
@ -25,7 +25,10 @@
|
|||||||
0 0 2px 1px #33b3db;
|
0 0 2px 1px #33b3db;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:active {
|
&:active,
|
||||||
|
&.active,
|
||||||
|
&.active:focus,
|
||||||
|
&.active:hover {
|
||||||
background: darken( $button-color, 10% );
|
background: darken( $button-color, 10% );
|
||||||
border-color: darken( $button-color, 15% );
|
border-color: darken( $button-color, 15% );
|
||||||
box-shadow: inset 0 2px 0 darken( $button-color, 15% );
|
box-shadow: inset 0 2px 0 darken( $button-color, 15% );
|
||||||
|
Loading…
Reference in New Issue
Block a user