mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-17 14:54:30 +01:00
Add .disabled class styling for .btn-styles
Bootstrap itself has .btn-default.disabled styled. IE8 with angularjs has some weird behaviour if anchor has disabled attribute set, so I use disabled class as a workaround and assume the .disabled class styles the buttons the same as disabled attribute would.
This commit is contained in:
parent
57260f16b3
commit
ba8a40e788
@ -52,6 +52,7 @@
|
||||
border-color: darken(@btn-color, 14%);
|
||||
}
|
||||
|
||||
&.disabled,
|
||||
&:disabled,
|
||||
&[disabled] {
|
||||
background-color: darken(@btn-color, 12%);
|
||||
|
Loading…
x
Reference in New Issue
Block a user