From: vsn4ik Date: Sat, 4 Apr 2015 10:18:16 +0000 (+0300) Subject: Fix theme.css .btn[disabled] styles. X-Git-Tag: v3.3.5~161^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6acfd3ef410e705b0b6d5d921cdcf77182faa8e;p=thirdparty%2Fbootstrap.git Fix theme.css .btn[disabled] styles. --- diff --git a/less/theme.less b/less/theme.less index 6f2eb62126..afac3a8aad 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; + } } }