aboutsummaryrefslogtreecommitdiff
path: root/less/dropdowns.less
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-05-17 00:23:11 -0700
committerJacob Thornton <[email protected]>2012-05-17 00:23:11 -0700
commita7b49a7d92a0efa640179b775e309002afc50390 (patch)
tree3169a2ee9655cb30cf30a99098bb6ca92ea288ea /less/dropdowns.less
parent10c6db4b14e5eb26bd663996233e3ac3075d5cb4 (diff)
downloadbootstrap-a7b49a7d92a0efa640179b775e309002afc50390.tar.xz
bootstrap-a7b49a7d92a0efa640179b775e309002afc50390.zip
nearly everything working with activedescendant... then decide it's wrong.
Diffstat (limited to 'less/dropdowns.less')
-rw-r--r--less/dropdowns.less15
1 files changed, 13 insertions, 2 deletions
diff --git a/less/dropdowns.less b/less/dropdowns.less
index 96dfec223..c27e73ded 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 {
@@ -90,11 +95,17 @@
// -----------
.dropdown-menu li > a:hover,
.dropdown-menu .active > a,
-.dropdown-menu .active > a:hover {
+.dropdown-menu .active > a:hover,
+.dropdown-menu:hover #aria-active > a:hover,
+.dropdown-menu #aria-active > a {
color: @dropdownLinkColorHover;
text-decoration: none;
background-color: @dropdownLinkBackgroundHover;
}
+.dropdown-menu:hover #aria-active > a {
+ color: @dropdownLinkColor;
+ background-color: @dropdownBackground;
+}
// Open state for the dropdown
// ---------------------------