aboutsummaryrefslogtreecommitdiff
path: root/less/theme.less
diff options
context:
space:
mode:
authorfat <[email protected]>2014-06-23 23:08:23 -0700
committerfat <[email protected]>2014-06-23 23:08:23 -0700
commit0aa01f63e33e0fb4c0c770dba7d2a631b9b562d3 (patch)
tree7b88c388d526ada7b564f1faf44cda92276f2722 /less/theme.less
parentf071549c8408241b88a95192e477816d2402eb6e (diff)
parentb31c35b63629ec750f338a646f6b730bd675b734 (diff)
downloadbootstrap-0aa01f63e33e0fb4c0c770dba7d2a631b9b562d3.tar.xz
bootstrap-0aa01f63e33e0fb4c0c770dba7d2a631b9b562d3.zip
Merge branch 'master' into fix-13386
Conflicts: js/carousel.js
Diffstat (limited to 'less/theme.less')
-rw-r--r--less/theme.less11
1 files changed, 11 insertions, 0 deletions
diff --git a/less/theme.less b/less/theme.less
index 6f957fb39..b089424cf 100644
--- a/less/theme.less
+++ b/less/theme.less
@@ -48,6 +48,12 @@
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
@@ -191,6 +197,11 @@
.progress-bar-warning { .progress-bar-styles(@progress-bar-warning-bg); }
.progress-bar-danger { .progress-bar-styles(@progress-bar-danger-bg); }
+// Reset the striped class because our mixins don't do multiple gradients and
+// the above custom styles override the new `.progress-bar-striped` in v3.2.0.
+.progress-bar-striped {
+ #gradient > .striped();
+}
//