Update cascade.css 227/head
authorFreddy Leitner <github.com@pobox.dreamer.de>
Mon, 13 Oct 2014 08:26:23 +0000 (17:26 +0900)
committerFreddy Leitner <github.com@pobox.dreamer.de>
Mon, 13 Oct 2014 08:26:23 +0000 (17:26 +0900)
Make submenus accessible to screen readers

themes/bootstrap/htdocs/luci-static/bootstrap/cascade.css

index 7654aa3032c161fdc429cfc65b3203a7fcd4035c..9b5ee3a804e1f548f143d94ddd0a0c02556e1251 100644 (file)
@@ -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 {