From 826a8714e266e488fc51bc9ca779556731b8afd3 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 13 May 2012 22:11:35 -0700 Subject: [PATCH] #3257: share .navbar-fixed-top styles with .navbar-fixed-bottom --- docs/assets/css/bootstrap-responsive.css | 11 +++++++++-- less/responsive-navbar.less | 11 +++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/docs/assets/css/bootstrap-responsive.css b/docs/assets/css/bootstrap-responsive.css index 4791a686f9..9f32f08085 100644 --- a/docs/assets/css/bootstrap-responsive.css +++ b/docs/assets/css/bootstrap-responsive.css @@ -683,11 +683,18 @@ body { padding-top: 0; } - .navbar-fixed-top { + .navbar-fixed-top, + .navbar-fixed-bottom { position: static; + } + .navbar-fixed-top { margin-bottom: 18px; } - .navbar-fixed-top .navbar-inner { + .navbar-fixed-bottom { + margin-top: 18px; + } + .navbar-fixed-top .navbar-inner, + .navbar-fixed-bottom .navbar-inner { padding: 5px; } .navbar .container { diff --git a/less/responsive-navbar.less b/less/responsive-navbar.less index d49b8ae12d..8d31db5310 100644 --- a/less/responsive-navbar.less +++ b/less/responsive-navbar.less @@ -9,11 +9,18 @@ padding-top: 0; } // Unfix the navbar - .navbar-fixed-top { + .navbar-fixed-top, + .navbar-fixed-bottom { position: static; + } + .navbar-fixed-top { margin-bottom: @baseLineHeight; } - .navbar-fixed-top .navbar-inner { + .navbar-fixed-bottom { + margin-top: @baseLineHeight; + } + .navbar-fixed-top .navbar-inner, + .navbar-fixed-bottom .navbar-inner { padding: 5px; } .navbar .container {