1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 16:50:00 +02:00

redo sidenav

This commit is contained in:
Mark Otto
2015-04-13 19:00:59 -07:00
parent 982c255c28
commit 53a3ff74ca
11 changed files with 86 additions and 52 deletions

View File

@@ -58,6 +58,18 @@
bottom: 0;
}
.navbar-sticky-top {
position: sticky;
top: 0;
width: 100%;
z-index: $zindex-navbar-sticky;
// Undo the rounded corners
@include media-breakpoint-up(sm) {
@include border-radius(0);
}
}
// Brand/project name

View File

@@ -225,6 +225,7 @@ $zindex-dropdown: 1000 !default;
$zindex-popover: 1060 !default;
$zindex-tooltip: 1070 !default;
$zindex-navbar-fixed: 1030 !default;
$zindex-navbar-sticky: 1030 !default;
$zindex-modal-bg: 1040 !default;
$zindex-modal: 1050 !default;