menubar.less
63 lines
| 1.6 KiB
| text/x-less
|
LessCssLexer
|
r10888 | #menubar { | ||
|
r16950 | margin-top: 0px; | ||
|
r19179 | margin-bottom: -24px; | ||
|
r16950 | position: relative; | ||
|
r17430 | .border-box-sizing(); | ||
|
r10888 | |||
|
r16950 | .navbar { | ||
border-top: 1px; | ||||
border-radius: 0px 0px @border-radius-base @border-radius-base; | ||||
|
r19179 | margin-bottom: 23px; | ||
|
r16950 | } | ||
|
r18414 | |||
.navbar-toggle { | ||||
float: left; | ||||
} | ||||
.navbar-collapse { | ||||
clear: left; | ||||
} | ||||
|
r16950 | li.dropdown { | ||
line-height: 12px; | ||||
|
r10971 | |||
|
r16950 | a { | ||
padding-top: 6px; | ||||
padding-bottom: 5px; | ||||
} | ||||
} | ||||
|
r14984 | |||
|
r16950 | ul.navbar-right { | ||
padding-top: 2px; | ||||
|
r18414 | margin-bottom: 0px; | ||
|
r16950 | } | ||
|
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 | } | ||
|
r16950 | #menus { | ||
min-height: 30px; | ||||
|
r16927 | } | ||
|
r16928 | |||
|
r16932 | // Make sub menus work in BS3. | ||
// Credit: http://www.bootply.com/86684 | ||||
|
r16928 | .dropdown-submenu{position:relative;} | ||
.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;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-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:#cccccc;margin-top:5px;margin-right:-10px;} | ||||
.dropdown-submenu:hover>a:after{border-left-color:#ffffff;} | ||||
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;} | ||||