From: liias Date: Fri, 2 Jan 2015 09:28:09 +0000 (+0200) Subject: Add .disabled class styling for .btn-styles X-Git-Tag: v3.3.2~5^2~22^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba8a40e7888f80ee22760b36e032417804ce3cec;p=thirdparty%2Fbootstrap.git 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. --- diff --git a/less/theme.less b/less/theme.less index 3673accc09..6f2eb62126 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%);