diff options
| author | Mark Otto <[email protected]> | 2013-10-20 20:30:16 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-10-20 20:30:16 -0700 |
| commit | e486bb4f39e79dd55b3c68af134a4624b2fa4c08 (patch) | |
| tree | bc58c4e107f3db436e903f9997ffdab09eea95d3 /less | |
| parent | 5aa4c5cb0c1b8bed3a4bb6b6a867f48b4a59f2fb (diff) | |
| download | bootstrap-e486bb4f39e79dd55b3c68af134a4624b2fa4c08.tar.xz bootstrap-e486bb4f39e79dd55b3c68af134a4624b2fa4c08.zip | |
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)
Diffstat (limited to 'less')
| -rw-r--r-- | less/navbar.less | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/less/navbar.less b/less/navbar.less index cc3e1f213..a6f7b40f6 100644 --- a/less/navbar.less +++ b/less/navbar.less @@ -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; |
