mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-08 17:22:31 +03:00
Fixes #10433: Navbar z-index refactor
* Resets the default navbar z-index to auto at a certain breakpoint * Adds fixed navbar z-index var to fixed bottom navbar (previously only on fixed top navbar)
This commit is contained in:
+3
-1
@@ -19,6 +19,7 @@
|
||||
.clearfix();
|
||||
|
||||
@media (min-width: @grid-float-breakpoint) {
|
||||
z-index: auto;
|
||||
border-radius: @navbar-border-radius;
|
||||
}
|
||||
}
|
||||
@@ -128,6 +129,7 @@
|
||||
position: fixed;
|
||||
right: 0;
|
||||
left: 0;
|
||||
z-index: @zindex-navbar-fixed;
|
||||
|
||||
// Undo the rounded corners
|
||||
@media (min-width: @grid-float-breakpoint) {
|
||||
@@ -135,7 +137,6 @@
|
||||
}
|
||||
}
|
||||
.navbar-fixed-top {
|
||||
z-index: @zindex-navbar-fixed;
|
||||
top: 0;
|
||||
border-width: 0 0 1px;
|
||||
}
|
||||
@@ -153,6 +154,7 @@
|
||||
padding: @navbar-padding-vertical @navbar-padding-horizontal;
|
||||
font-size: @font-size-large;
|
||||
line-height: @line-height-computed;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
text-decoration: none;
|
||||
|
||||
Reference in New Issue
Block a user