]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixes #13093: reset the background color and remove background image on disabled...
authorMark Otto <otto@github.com>
Thu, 19 Jun 2014 02:14:26 +0000 (19:14 -0700)
committerMark Otto <otto@github.com>
Thu, 19 Jun 2014 02:14:26 +0000 (19:14 -0700)
less/theme.less

index 6f957fb397e195f8c986b99496551ff6d0cd0fa9..820270af2b67396879d9a700dc678c3f1f89694e 100644 (file)
     background-color: darken(@btn-color, 12%);
     border-color: darken(@btn-color, 14%);
   }
+
+  &:disabled,
+  &[disabled] {
+    background-color: darken(@btn-color, 12%);
+    background-image: none;
+  }
 }
 
 // Common styles