diff options
| author | Mark Otto <[email protected]> | 2012-07-27 10:35:15 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-07-27 10:35:15 -0700 |
| commit | 16b4ac0d8fd5fd2aa588a8b486b71b449e3821ca (patch) | |
| tree | 7c0ad257b6bb192c59bc1576b421f62883085a97 /less | |
| parent | 9d5c4312232ebb53b2499ed495851c0d61eb648c (diff) | |
| download | bootstrap-16b4ac0d8fd5fd2aa588a8b486b71b449e3821ca.tar.xz bootstrap-16b4ac0d8fd5fd2aa588a8b486b71b449e3821ca.zip | |
add docs for sub menu support on dropdowns, add caret via :after to submenu toggles
Diffstat (limited to 'less')
| -rw-r--r-- | less/dropdowns.less | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/less/dropdowns.less b/less/dropdowns.less index a36c3a416..fb85ca57a 100644 --- a/less/dropdowns.less +++ b/less/dropdowns.less @@ -176,7 +176,7 @@ .dropdown-submenu > .dropdown-menu { top: 0; left: 100%; - margin-top: -5px; + margin-top: -6px; margin-left: -1px; -webkit-border-radius: 0 6px 6px 6px; -moz-border-radius: 0 6px 6px 6px; @@ -186,6 +186,23 @@ display: block; } +.dropdown-submenu > a:after { + display: block; + content: " "; + float: right; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; + border-width: 5px 0 5px 5px; + border-left-color: darken(@dropdownBackground, 20%); + margin-top: 5px; + margin-right: -10px; +} +.dropdown-submenu:hover > a:after { + border-left-color: @dropdownLinkColorHover; +} + // Tweak nav headers // ----------------- |
