Commit ba8a40e7 authored by liias's avatar liias

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.
parent 57260f16
...@@ -52,6 +52,7 @@ ...@@ -52,6 +52,7 @@
border-color: darken(@btn-color, 14%); border-color: darken(@btn-color, 14%);
} }
&.disabled,
&:disabled, &:disabled,
&[disabled] { &[disabled] {
background-color: darken(@btn-color, 12%); background-color: darken(@btn-color, 12%);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment