2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

Ensure active button styles are not applied to disabled buttons

This commit is contained in:
Prateek Goel
2017-10-09 23:32:48 +01:00
committed by Patrick H. Lauke
parent bab3246a1d
commit de3973b5e7
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -32,8 +32,8 @@
@include box-shadow(none);
}
&:active,
&.active {
&:not([disabled]):not(.disabled):active,
&:not([disabled]):not(.disabled).active {
background-image: none;
@include box-shadow($btn-focus-box-shadow, $btn-active-box-shadow);
}