]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
#3257: share .navbar-fixed-top styles with .navbar-fixed-bottom
authorMark Otto <markotto@twitter.com>
Mon, 14 May 2012 05:11:35 +0000 (22:11 -0700)
committerMark Otto <markotto@twitter.com>
Mon, 14 May 2012 05:11:35 +0000 (22:11 -0700)
docs/assets/css/bootstrap-responsive.css
less/responsive-navbar.less

index 4791a686f9b75f32d5477b3ef293c1f98dd1bd4f..9f32f0808511423990ea0ddc281de43c46f0cd19 100644 (file)
   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 {
index d49b8ae12d87c6b00b817d906427e7a2d86c049d..8d31db5310ab27e8c9f8007834af659d0ceaae40 100644 (file)
@@ -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 {