From fe414d8566f647e65dc20bc7505630ce798e5445 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 27 Mar 2013 23:33:45 -0700 Subject: turn docs navbar into left navbar --- less/navbar.less | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'less') 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; -- cgit v1.2.3