mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
Remove default z-index on navbar and only set on static and fixed variants
This commit is contained in:
Vendored
+1
-2
@@ -4266,7 +4266,6 @@ textarea.input-group-sm > .input-group-btn > .btn {
|
|||||||
|
|
||||||
.navbar {
|
.navbar {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1000;
|
|
||||||
min-height: 50px;
|
min-height: 50px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
@@ -4294,7 +4293,6 @@ textarea.input-group-sm > .input-group-btn > .btn {
|
|||||||
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
.navbar {
|
.navbar {
|
||||||
z-index: auto;
|
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -4400,6 +4398,7 @@ textarea.input-group-sm > .input-group-btn > .btn {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.navbar-static-top {
|
.navbar-static-top {
|
||||||
|
z-index: 1000;
|
||||||
border-width: 0 0 1px;
|
border-width: 0 0 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
@@ -10,7 +10,6 @@
|
|||||||
|
|
||||||
.navbar {
|
.navbar {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: @zindex-navbar;
|
|
||||||
min-height: @navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)
|
min-height: @navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)
|
||||||
margin-bottom: @navbar-margin-bottom;
|
margin-bottom: @navbar-margin-bottom;
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
@@ -19,7 +18,6 @@
|
|||||||
.clearfix();
|
.clearfix();
|
||||||
|
|
||||||
@media (min-width: @grid-float-breakpoint) {
|
@media (min-width: @grid-float-breakpoint) {
|
||||||
z-index: auto;
|
|
||||||
border-radius: @navbar-border-radius;
|
border-radius: @navbar-border-radius;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -117,7 +115,9 @@
|
|||||||
|
|
||||||
// Static top (unfixed, but 100% wide) navbar
|
// Static top (unfixed, but 100% wide) navbar
|
||||||
.navbar-static-top {
|
.navbar-static-top {
|
||||||
|
z-index: @zindex-navbar;
|
||||||
border-width: 0 0 1px;
|
border-width: 0 0 1px;
|
||||||
|
|
||||||
@media (min-width: @grid-float-breakpoint) {
|
@media (min-width: @grid-float-breakpoint) {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user