mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
add in a navbar button for toggling the nav items
This commit is contained in:
@@ -16,6 +16,29 @@
|
||||
.box-shadow(@shadow);
|
||||
}
|
||||
|
||||
// Navbar button for toggling navbar items in responsive layouts
|
||||
.btn-navbar {
|
||||
display: none;
|
||||
float: right;
|
||||
padding: 7px 10px;
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
.buttonBackground(@navbarBackgroundHighlight, @navbarBackground);
|
||||
@shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075);
|
||||
.box-shadow(@shadow);
|
||||
}
|
||||
.btn-navbar .i-bar {
|
||||
display: block;
|
||||
width: 18px;
|
||||
height: 2px;
|
||||
background-color: #f5f5f5;
|
||||
.border-radius(1px);
|
||||
.box-shadow(0 1px 0 rgba(0,0,0,.25));
|
||||
}
|
||||
.btn-navbar .i-bar + .i-bar {
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
// Brand, links, text, and buttons
|
||||
.navbar {
|
||||
// Hover and active states
|
||||
|
||||
Reference in New Issue
Block a user