diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-10-13 10:29:52 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2014-10-13 10:29:52 +0200 |
commit | 7f86a80be21648e5054e75704d7574dcbf9220fa (patch) | |
tree | 76ee740b0fc120c42c949902e6b2c436a62d2898 | |
parent | 6960e02601b346d1cdfdafe9e110cf523214512a (diff) | |
parent | ae90464447235fb94e5f52bc980f2d770516cfa7 (diff) |
Merge pull request #227 from okiru/patch-1
Make submenus accessible to screen readers
-rw-r--r-- | themes/bootstrap/htdocs/luci-static/bootstrap/cascade.css | 6 |
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 7654aa303..9b5ee3a80 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 { |