aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorliias <[email protected]>2015-01-02 11:28:09 +0200
committerliias <[email protected]>2015-01-02 11:28:09 +0200
commitba8a40e7888f80ee22760b36e032417804ce3cec (patch)
tree7323a88df130d877f7f18a8375b9ea117fadfcc1 /less
parent57260f16b364e4cb559cd65159197fd1cf5248f7 (diff)
downloadbootstrap-ba8a40e7888f80ee22760b36e032417804ce3cec.tar.xz
bootstrap-ba8a40e7888f80ee22760b36e032417804ce3cec.zip
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.
Diffstat (limited to 'less')
-rw-r--r--less/theme.less1
1 files changed, 1 insertions, 0 deletions
diff --git a/less/theme.less b/less/theme.less
index 3673accc0..6f2eb6212 100644
--- a/less/theme.less
+++ b/less/theme.less
@@ -52,6 +52,7 @@
border-color: darken(@btn-color, 14%);
}
+ &.disabled,
&:disabled,
&[disabled] {
background-color: darken(@btn-color, 12%);