diff options
| author | liias <[email protected]> | 2015-01-02 11:28:09 +0200 |
|---|---|---|
| committer | liias <[email protected]> | 2015-01-02 11:28:09 +0200 |
| commit | ba8a40e7888f80ee22760b36e032417804ce3cec (patch) | |
| tree | 7323a88df130d877f7f18a8375b9ea117fadfcc1 | |
| parent | 57260f16b364e4cb559cd65159197fd1cf5248f7 (diff) | |
| download | bootstrap-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.
| -rw-r--r-- | less/theme.less | 1 |
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%); |
