2
0
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:
Mark Otto
2013-03-27 23:33:45 -07:00
parent 6696ff5d92
commit fe414d8566
5 changed files with 86 additions and 15 deletions
+21
View File
@@ -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;