summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFreddy Leitner <github.com@pobox.dreamer.de>2014-10-13 17:26:23 +0900
committerFreddy Leitner <github.com@pobox.dreamer.de>2014-10-13 17:26:23 +0900
commitae90464447235fb94e5f52bc980f2d770516cfa7 (patch)
tree76ee740b0fc120c42c949902e6b2c436a62d2898
parent6960e02601b346d1cdfdafe9e110cf523214512a (diff)
Update cascade.css
Make submenus accessible to screen readers
-rw-r--r--themes/bootstrap/htdocs/luci-static/bootstrap/cascade.css6
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/bootstrap/htdocs/luci-static/bootstrap/cascade.css b/themes/bootstrap/htdocs/luci-static/bootstrap/cascade.css
index 7654aa3032..9b5ee3a804 100644
--- a/themes/bootstrap/htdocs/luci-static/bootstrap/cascade.css
+++ b/themes/bootstrap/htdocs/luci-static/bootstrap/cascade.css
@@ -956,9 +956,9 @@ a.menu:after, .dropdown-toggle:after {
.menu-dropdown, .dropdown-menu {
background-color: #ffffff;
float: left;
- display: none;
position: absolute;
top: 40px;
+ left: -9999px;
z-index: 900;
min-width: 160px;
max-width: 220px;
@@ -1040,11 +1040,11 @@ header .dropdown-menu a.hover,
.dropdown.open .menu-dropdown,
.open .dropdown-menu,
.dropdown.open .dropdown-menu {
- display: block;
+ left: 0;
}
.dropdown:hover ul.dropdown-menu {
- display: block;
+ left: 0;
}
.dropdown-menu .dropdown-menu {