2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-21 13:24:08 +03:00

add docs for sub menu support on dropdowns, add caret via :after to submenu toggles

This commit is contained in:
Mark Otto
2012-07-27 10:35:15 -07:00
parent 9d5c431223
commit 16b4ac0d8f
4 changed files with 123 additions and 26 deletions
+19 -1
View File
@@ -2763,7 +2763,7 @@ table .span24 {
.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;
@@ -2774,6 +2774,24 @@ table .span24 {
display: block;
}
.dropdown-submenu > a:after {
display: block;
float: right;
width: 0;
height: 0;
margin-top: 5px;
margin-right: -10px;
border-color: transparent;
border-left-color: #cccccc;
border-style: solid;
border-width: 5px 0 5px 5px;
content: " ";
}
.dropdown-submenu:hover > a:after {
border-left-color: #ffffff;
}
.dropdown .dropdown-menu .nav-header {
padding-right: 20px;
padding-left: 20px;