aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorVickash Mahabir <[email protected]>2013-01-18 12:12:30 -0400
committerVickash Mahabir <[email protected]>2013-01-18 12:12:30 -0400
commitb741c731a2ce3aaf0d891770705b3feb5b09c853 (patch)
treee6714fc74274d22cbe94419db517dc56ca44a052 /less
parent6e96cd1a7c503289bd7dfd41fccaa7eefcc5c91e (diff)
downloadbootstrap-b741c731a2ce3aaf0d891770705b3feb5b09c853.tar.xz
bootstrap-b741c731a2ce3aaf0d891770705b3feb5b09c853.zip
Fix logic error where a disabled button would change color in an enabled fieldset
Diffstat (limited to 'less')
-rw-r--r--less/buttons.less4
1 files changed, 2 insertions, 2 deletions
diff --git a/less/buttons.less b/less/buttons.less
index 0e23f1730..16ddbad2d 100644
--- a/less/buttons.less
+++ b/less/buttons.less
@@ -111,8 +111,8 @@ input[type="button"] {
// Mixin for darkening only enabled buttons for link states
.darken-button-states (@background, @border) {
- &:not([disabled]):not(.disabled),
- fieldset:not([disabled]) & {
+ fieldset:not([disabled]) &:not([disabled]):not(.disabled),
+ &:not([disabled]):not(.disabled) {
&:hover,
&:focus,
&:active {