diff options
| author | Mark Otto <[email protected]> | 2013-03-27 23:33:45 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-03-27 23:33:45 -0700 |
| commit | fe414d8566f647e65dc20bc7505630ce798e5445 (patch) | |
| tree | 7203b46b39b9b4759c88b4d8547fef35d028c78e /less | |
| parent | 6696ff5d927fd2d584ddc226521b89fc8b9882eb (diff) | |
| download | bootstrap-fe414d8566f647e65dc20bc7505630ce798e5445.tar.xz bootstrap-fe414d8566f647e65dc20bc7505630ce798e5445.zip | |
turn docs navbar into left navbar
Diffstat (limited to 'less')
| -rw-r--r-- | less/navbar.less | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/less/navbar.less b/less/navbar.less index 15f8a2503..75ad2cb99 100644 --- a/less/navbar.less +++ b/less/navbar.less @@ -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; |
