menubar.less
81 lines
| 1.3 KiB
| text/x-less
|
LessCssLexer
|
r10888 | #menubar { | ||
|
r17430 | .border-box-sizing(); | ||
|
r20041 | margin-top: 1px; | ||
|
r10888 | |||
|
r16950 | .navbar { | ||
border-top: 1px; | ||||
border-radius: 0px 0px @border-radius-base @border-radius-base; | ||||
|
r19707 | margin-bottom: -1px; | ||
|
r16950 | } | ||
|
r18414 | |||
.navbar-toggle { | ||||
float: left; | ||||
|
r19953 | padding-top:7px; | ||
padding-bottom:7px; | ||||
border:none; | ||||
|
r18414 | } | ||
.navbar-collapse { | ||||
clear: left; | ||||
} | ||||
|
r16932 | } | ||
|
r16950 | .nav-wrapper { | ||
border-bottom: 1px solid @navbar-default-border; | ||||
} | ||||
|
r16932 | |||
|
r14984 | i.menu-icon { | ||
// add padding to account for float-right | ||||
padding-top: 4px; | ||||
} | ||||
|
r15095 | |||
ul#help_menu li a{ | ||||
overflow: hidden; | ||||
padding-right: 2.2em; | ||||
i { | ||||
margin-right: -1.2em; | ||||
} | ||||
|
r16927 | } | ||
|
r16932 | // Make sub menus work in BS3. | ||
// Credit: http://www.bootply.com/86684 | ||||
|
r19710 | .dropdown-submenu { | ||
position: relative; | ||||
} | ||||
.dropdown-submenu>.dropdown-menu { | ||||
top: 0; | ||||
left: 100%; | ||||
margin-top: -6px; | ||||
margin-left: -1px; | ||||
} | ||||
|
r19717 | // arrow that indicate presence of submenu | ||
|
r19710 | .dropdown-submenu:hover>.dropdown-menu { | ||
display: block; | ||||
} | ||||
.dropdown-submenu>a:after { | ||||
|
r19717 | .fa(); | ||
|
r19710 | display: block; | ||
|
r19717 | content: @fa-var-caret-right; | ||
|
r19710 | float: right; | ||
|
r19717 | color: @dropdown-link-color; | ||
margin-top: 2px; | ||||
|
r19710 | margin-right: -10px; | ||
} | ||||
|
r19717 | .dropdown-submenu:hover>a:after { | ||
color: @dropdown-link-hover-color; | ||||
|
r19710 | } | ||
.dropdown-submenu.pull-left { | ||||
float: none; | ||||
} | ||||
.dropdown-submenu.pull-left>.dropdown-menu { | ||||
left: -100%; | ||||
margin-left: 10px; | ||||
} | ||||
|
r19717 | |||
//end submenu | ||||