mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-08 17:22:31 +03:00
turn docs navbar into left navbar
This commit is contained in:
@@ -58,6 +58,7 @@
|
||||
|
||||
// Fix the top/bottom navbars when screen real estate supports it
|
||||
.navbar-fixed-top,
|
||||
.navbar-fixed-left,
|
||||
.navbar-fixed-bottom {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
@@ -68,6 +69,16 @@
|
||||
.navbar-fixed-top { top: 0; }
|
||||
.navbar-fixed-bottom { bottom: 0; }
|
||||
|
||||
// Fixed left
|
||||
.navbar-fixed-left {
|
||||
top: 0;
|
||||
right: auto;
|
||||
bottom: 0;
|
||||
}
|
||||
.navbar-fixed-left .container {
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//
|
||||
@@ -307,6 +318,16 @@
|
||||
border-right-color: lighten(@navbar-inverse-bg, 5%);
|
||||
}
|
||||
|
||||
.navbar-fixed-left {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
.navbar-fixed-left .navbar-brand,
|
||||
.navbar-fixed-left .nav,
|
||||
.navbar-fixed-left .nav > li {
|
||||
float: none;
|
||||
}
|
||||
|
||||
// Required to make the collapsing navbar work on regular desktops
|
||||
.navbar-toggle {
|
||||
position: relative;
|
||||
|
||||
Reference in New Issue
Block a user