diff options
| author | Mark Otto <[email protected]> | 2012-07-27 10:06:54 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-07-27 10:06:54 -0700 |
| commit | 9d5c4312232ebb53b2499ed495851c0d61eb648c (patch) | |
| tree | ee602408a1cd0bb79afd0cfd59cca7f0ede8df0b /docs/assets/css/bootstrap.css | |
| parent | 1e9b4506196bd448c4038151964733ca524c10bb (diff) | |
| download | bootstrap-9d5c4312232ebb53b2499ed495851c0d61eb648c.tar.xz bootstrap-9d5c4312232ebb53b2499ed495851c0d61eb648c.zip | |
add basic support for sub menus in dropdown menus
Diffstat (limited to 'docs/assets/css/bootstrap.css')
| -rw-r--r-- | docs/assets/css/bootstrap.css | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 87922cf88..f24baf581 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -2687,7 +2687,8 @@ table .span24 { } .dropdown-menu li > a:hover, -.dropdown-menu li > a:focus { +.dropdown-menu li > a:focus, +.dropdown-submenu:hover > a { color: #ffffff; text-decoration: none; background-color: #0088cc; @@ -2728,11 +2729,6 @@ table .span24 { background-color: transparent; } -.dropdown .dropdown-menu .nav-header { - padding-right: 20px; - padding-left: 20px; -} - .open { *z-index: 1000; } @@ -2760,6 +2756,29 @@ table .span24 { margin-bottom: 1px; } +.dropdown-submenu { + position: relative; +} + +.dropdown-submenu > .dropdown-menu { + top: 0; + left: 100%; + margin-top: -5px; + margin-left: -1px; + -webkit-border-radius: 0 6px 6px 6px; + -moz-border-radius: 0 6px 6px 6px; + border-radius: 0 6px 6px 6px; +} + +.dropdown-submenu:hover .dropdown-menu { + display: block; +} + +.dropdown .dropdown-menu .nav-header { + padding-right: 20px; + padding-left: 20px; +} + .typeahead { margin-top: 2px; -webkit-border-radius: 4px; |
