2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-24 14:04:09 +03:00

fix dropdowns for active state in dropdown menus

This commit is contained in:
Mark Otto
2012-01-08 15:33:44 -08:00
parent ac68bc39ff
commit 4b79443bba
4 changed files with 62 additions and 15 deletions
+10 -3
View File
@@ -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 {