aboutsummaryrefslogtreecommitdiff
path: root/less/dropdowns.less
diff options
context:
space:
mode:
Diffstat (limited to 'less/dropdowns.less')
-rw-r--r--less/dropdowns.less9
1 files changed, 8 insertions, 1 deletions
diff --git a/less/dropdowns.less b/less/dropdowns.less
index 5e232556a..f965d292d 100644
--- a/less/dropdowns.less
+++ b/less/dropdowns.less
@@ -34,11 +34,16 @@
margin-top: 8px;
margin-left: 2px;
}
-.dropdown:hover .caret,
+.dropdown a:focus .caret,
+.dropdown a:hover .caret,
.open .caret {
.opacity(100);
}
+.navbar .nav .open > a {
+ color: @navbarLinkColorActive;
+}
+
// The dropdown menu (ul)
// ----------------------
.dropdown-menu {
@@ -89,11 +94,13 @@
// Hover state
// -----------
.dropdown-menu li > a:hover,
+.dropdown-menu li > a:focus,
.dropdown-menu .active > a,
.dropdown-menu .active > a:hover {
color: @dropdownLinkColorHover;
text-decoration: none;
background-color: @dropdownLinkBackgroundHover;
+ outline: 0;
}
// Open state for the dropdown