From ba8a40e7888f80ee22760b36e032417804ce3cec Mon Sep 17 00:00:00 2001 From: liias Date: Fri, 2 Jan 2015 11:28:09 +0200 Subject: [PATCH] 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. --- less/theme.less | 1 + 1 file changed, 1 insertion(+) 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%);