aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-05-13 22:11:35 -0700
committerMark Otto <[email protected]>2012-05-13 22:11:35 -0700
commit826a8714e266e488fc51bc9ca779556731b8afd3 (patch)
tree396ddfe84e4d8cce175997feb91772f20674087f /less
parentea156609736513a4ad5aa22ef574bccbc3d23330 (diff)
downloadbootstrap-826a8714e266e488fc51bc9ca779556731b8afd3.tar.xz
bootstrap-826a8714e266e488fc51bc9ca779556731b8afd3.zip
#3257: share .navbar-fixed-top styles with .navbar-fixed-bottom
Diffstat (limited to 'less')
-rw-r--r--less/responsive-navbar.less11
1 files changed, 9 insertions, 2 deletions
diff --git a/less/responsive-navbar.less b/less/responsive-navbar.less
index d49b8ae12..8d31db531 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 {