aboutsummaryrefslogtreecommitdiff
path: root/less/button-groups.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-02-02 13:03:18 -0800
committerMark Otto <[email protected]>2013-02-02 13:03:18 -0800
commitc64aa26d062b53a40be55ea62017bd04f523b290 (patch)
treea85f3116c9472d2a5576fea5e64a1e436b003b27 /less/button-groups.less
parent94e256c0162748dcddd6401d57a186576254f884 (diff)
downloadbootstrap-c64aa26d062b53a40be55ea62017bd04f523b290.tar.xz
bootstrap-c64aa26d062b53a40be55ea62017bd04f523b290.zip
Add @btn-color variable and use in buttons and carets; fixes dropup caret as well
Diffstat (limited to 'less/button-groups.less')
-rw-r--r--less/button-groups.less15
1 files changed, 5 insertions, 10 deletions
diff --git a/less/button-groups.less b/less/button-groups.less
index 43bf73ca1..340b342e7 100644
--- a/less/button-groups.less
+++ b/less/button-groups.less
@@ -3,9 +3,11 @@
// --------------------------------------------------
// Button carets
-.caret {
- border-top-color: #fff;
- border-bottom-color: #fff;
+.btn .caret {
+ border-top-color: @btn-color;
+}
+.dropup .btn .caret {
+ border-bottom-color: @btn-color;
}
// Make the div behave like a button
@@ -105,15 +107,8 @@
}
// Carets in other button sizes
.btn-large .caret {
- margin-top: 6px;
-}
-.btn-large .caret {
border-width: 5px;
}
-.btn-mini .caret,
-.btn-small .caret {
- margin-top: 8px;
-}
// Upside down carets for .dropup
.dropup .btn-large .caret {
border-bottom-width: 5px;