2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

fixes #4421: add static top navbar class

This commit is contained in:
Mark Otto
2012-08-17 11:46:23 -07:00
parent b86e1fb62a
commit 077577c7f3
4 changed files with 75 additions and 5 deletions
+17 -3
View File
@@ -140,8 +140,22 @@
// FIXED NAVBAR
// ------------
// Static navbar
// -------------------------
.navbar-static-top {
position: static;
width: 100%;
margin-bottom: 0; // remove 18px margin for default navbar
.navbar-inner {
.border-radius(0);
}
}
// Fixed navbar
// -------------------------
// Shared (top/bottom) styles
.navbar-fixed-top,
@@ -150,7 +164,7 @@
right: 0;
left: 0;
z-index: @zindexFixedNavbar;
margin-bottom: 0; // remove 18px margin for static navbar
margin-bottom: 0; // remove 18px margin for default navbar
.navbar-inner {
border: 0;
}