aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-02-21 21:12:16 -0800
committerMark Otto <[email protected]>2012-02-21 21:12:16 -0800
commitb4cc6c74f59442879ba2b1ed3e86d26e62390835 (patch)
treefbc05759f4cc494e6de743607415c2740e674f74 /less
parente3ae517555fb9500493fde8efeef4a9788cd3264 (diff)
downloadbootstrap-b4cc6c74f59442879ba2b1ed3e86d26e62390835.tar.xz
bootstrap-b4cc6c74f59442879ba2b1ed3e86d26e62390835.zip
add support and docs for .navbar-fixed-bottom
Diffstat (limited to 'less')
-rw-r--r--less/navbar.less21
1 files changed, 18 insertions, 3 deletions
diff --git a/less/navbar.less b/less/navbar.less
index 87f260699..b9e63487c 100644
--- a/less/navbar.less
+++ b/less/navbar.less
@@ -153,22 +153,37 @@
}
+
// FIXED NAVBAR
// ------------
-.navbar-fixed-top {
+// Shared (top/bottom) styles
+.navbar-fixed-top,
+.navbar-fixed-bottom {
position: fixed;
- top: 0;
right: 0;
left: 0;
z-index: @zindexFixedNavbar;
+ margin-bottom: 0; // remove 18px margin for static navbar
}
-.navbar-fixed-top .navbar-inner {
+.navbar-fixed-top .navbar-inner,
+.navbar-fixed-bottom .navbar-inner {
padding-left: 0;
padding-right: 0;
.border-radius(0);
}
+// Fixed to top
+.navbar-fixed-top {
+ top: 0;
+}
+
+// Fixed to bottom
+.navbar-fixed-bottom {
+ bottom: 0;
+}
+
+
// NAVIGATION
// ----------