aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-03-05 00:32:02 -0800
committerMark Otto <[email protected]>2012-03-05 00:32:02 -0800
commita95c15a5307bd5c0028eaad51a4ceddc5498e436 (patch)
tree20ef2428cc8dd3bce906e92e8df69f87e865f965 /less
parentd3e922f0c8dc309bc609ebd75fd7e90134c1eaca (diff)
downloadbootstrap-a95c15a5307bd5c0028eaad51a4ceddc5498e436.tar.xz
bootstrap-a95c15a5307bd5c0028eaad51a4ceddc5498e436.zip
utilize new dropdown variables
Diffstat (limited to 'less')
-rw-r--r--less/dropdowns.less8
-rw-r--r--less/variables.less1
2 files changed, 5 insertions, 4 deletions
diff --git a/less/dropdowns.less b/less/dropdowns.less
index 12ce7c2e5..1e58ebf79 100644
--- a/less/dropdowns.less
+++ b/less/dropdowns.less
@@ -54,7 +54,7 @@
padding: 4px 0;
margin: 0; // override default ul
list-style: none;
- background-color: @white;
+ background-color: @dropdownBackground;
border-color: #ccc;
border-color: rgba(0,0,0,.2);
border-style: solid;
@@ -85,7 +85,7 @@
clear: both;
font-weight: normal;
line-height: @baseLineHeight;
- color: @gray;
+ color: @dropdownLinkColor;
white-space: nowrap;
}
}
@@ -95,9 +95,9 @@
.dropdown-menu li > a:hover,
.dropdown-menu .active > a,
.dropdown-menu .active > a:hover {
- color: @white;
+ color: @dropdownLinkColorHover;
text-decoration: none;
- background-color: @linkColor;
+ background-color: @dropdownLinkBackgroundHover;
}
// Open state for the dropdown
diff --git a/less/variables.less b/less/variables.less
index 5bcddfb33..c283ff052 100644
--- a/less/variables.less
+++ b/less/variables.less
@@ -74,6 +74,7 @@
@inputDisabledBackground: @grayLighter;
// Dropdowns
+@dropdownBackground: @white;
@dropdownLinkColor: @grayDark;
@dropdownLinkColorHover: @white;
@dropdownLinkBackgroundHover: @grayDark;