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:
+10
-3
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user