2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03:00

redo and make sticky

This commit is contained in:
Mark Otto
2016-12-29 13:22:45 -08:00
parent a769542888
commit 5d7db50739
2 changed files with 22 additions and 4 deletions
+17 -2
View File
@@ -1,11 +1,22 @@
// scss-lint:disable VendorPrefix
//
// Main navbar
//
.bd-navbar {
// @include media-breakpoint-up(md) {
position: -webkit-sticky;
position: sticky;
top: 0;
z-index: 1030; // over everything in bootstrap
// max-height: calc(100vh - 4rem);
// overflow-y: auto;
// }
// padding-right: 0;
// padding-left: 0;
margin-bottom: 2rem;
// margin-bottom: 2rem;
background-color: #fff;
border-bottom: 1px solid rgba(0,0,0,.1);
box-shadow: 0 6px 12px rgba(0,0,0,.05);
@@ -28,6 +39,10 @@
}
.dropdown-menu {
font-size: inherit;
font-size: .875rem;
}
.navbar-brand {
color: $bd-purple;
}
}