aboutsummaryrefslogtreecommitdiff
path: root/lib/dropdowns.less
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dropdowns.less')
-rw-r--r--lib/dropdowns.less13
1 files changed, 10 insertions, 3 deletions
diff --git a/lib/dropdowns.less b/lib/dropdowns.less
index 484cbbcd7..85f74b632 100644
--- a/lib/dropdowns.less
+++ b/lib/dropdowns.less
@@ -71,9 +71,8 @@
}
}
-// Hover & Active states
-.dropdown-menu a:hover,
-.dropdown-menu .active > a {
+// Hover state
+.dropdown-menu li > a:hover {
color: #fff;
text-decoration: none;
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
@@ -82,6 +81,14 @@
.box-shadow(@shadow);
}
+// Active state
+.dropdown-menu .active > a,
+.dropdown-menu .active > a:hover {
+ color: #fff;
+ background-color: #999;
+ background-image: none; // remove the gradient
+}
+
// Open state for the dropdown
.dropdown.open {
.dropdown-toggle {