mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-07 04:54:24 +01:00
Only apply the active and focus shadow on the focus state for :active
This commit is contained in:
parent
c0129f8c2a
commit
97cfe5a582
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user