mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-12 00:24:03 +02:00
Only apply the active and focus shadow on the focus state for :active
This commit is contained in:
@@ -40,7 +40,11 @@
|
|||||||
&:not([disabled]):not(.disabled):active,
|
&:not([disabled]):not(.disabled):active,
|
||||||
&:not([disabled]):not(.disabled).active {
|
&:not([disabled]):not(.disabled).active {
|
||||||
background-image: none;
|
background-image: none;
|
||||||
@include box-shadow($btn-focus-box-shadow, $btn-active-box-shadow);
|
box-shadow: $btn-active-box-shadow;
|
||||||
|
|
||||||
|
&:focus {
|
||||||
|
@box-shadow: $btn-focus-box-shadow, $btn-active-box-shadow;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user