From ae90464447235fb94e5f52bc980f2d770516cfa7 Mon Sep 17 00:00:00 2001 From: Freddy Leitner Date: Mon, 13 Oct 2014 17:26:23 +0900 Subject: [PATCH] Update cascade.css Make submenus accessible to screen readers --- themes/bootstrap/htdocs/luci-static/bootstrap/cascade.css | 6 +++--- 1 file 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 { -- 2.30.2