diff options
| author | Mark Otto <[email protected]> | 2015-04-04 23:47:48 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-04-04 23:47:48 -0700 |
| commit | 7735bfe388455e9357c16e76cf6fb823ebea77e6 (patch) | |
| tree | 42b06051167905d3875ab16d042c9923096237a4 /less | |
| parent | 9c0bd37661790865616199578c772e8b3aec0c13 (diff) | |
| parent | d6acfd3ef410e705b0b6d5d921cdcf77182faa8e (diff) | |
| download | bootstrap-7735bfe388455e9357c16e76cf6fb823ebea77e6.tar.xz bootstrap-7735bfe388455e9357c16e76cf6fb823ebea77e6.zip | |
Merge pull request #16224 from vsn4ik/fix_theme_disabled_btn
Fix theme.css .btn[disabled] styles.
Diffstat (limited to 'less')
| -rw-r--r-- | less/theme.less | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/less/theme.less b/less/theme.less index 6f2eb6212..afac3a8aa 100644 --- a/less/theme.less +++ b/less/theme.less @@ -28,6 +28,12 @@ .box-shadow(inset 0 3px 5px rgba(0,0,0,.125)); } + &.disabled, + &[disabled], + fieldset[disabled] & { + .box-shadow(none); + } + .badge { text-shadow: none; } @@ -53,10 +59,17 @@ } &.disabled, - &:disabled, - &[disabled] { - background-color: darken(@btn-color, 12%); - background-image: none; + &[disabled], + fieldset[disabled] & { + &, + &:hover, + &:focus, + &.focus, + &:active, + &.active { + background-color: darken(@btn-color, 12%); + background-image: none; + } } } |
