mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
#3257: share .navbar-fixed-top styles with .navbar-fixed-bottom
This commit is contained in:
parent
ea15660973
commit
826a8714e2
2 changed files with 18 additions and 4 deletions
11
docs/assets/css/bootstrap-responsive.css
vendored
11
docs/assets/css/bootstrap-responsive.css
vendored
|
@ -683,11 +683,18 @@
|
||||||
body {
|
body {
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
}
|
}
|
||||||
.navbar-fixed-top {
|
.navbar-fixed-top,
|
||||||
|
.navbar-fixed-bottom {
|
||||||
position: static;
|
position: static;
|
||||||
|
}
|
||||||
|
.navbar-fixed-top {
|
||||||
margin-bottom: 18px;
|
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;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
.navbar .container {
|
.navbar .container {
|
||||||
|
|
|
@ -9,11 +9,18 @@
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
}
|
}
|
||||||
// Unfix the navbar
|
// Unfix the navbar
|
||||||
.navbar-fixed-top {
|
.navbar-fixed-top,
|
||||||
|
.navbar-fixed-bottom {
|
||||||
position: static;
|
position: static;
|
||||||
|
}
|
||||||
|
.navbar-fixed-top {
|
||||||
margin-bottom: @baseLineHeight;
|
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;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
.navbar .container {
|
.navbar .container {
|
||||||
|
|
Loading…
Reference in a new issue