0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-30 12:24:19 +01:00
Bootstrap/docs/assets/scss/_nav.scss
2017-05-27 17:31:55 -07:00

56 lines
973 B
SCSS

// 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;
background-color: #fff;
border-bottom: 1px solid rgba(0,0,0,.1);
box-shadow: 0 6px 12px rgba(0,0,0,.05);
.navbar-nav {
.nav-link {
color: $bd-graphite-light;
&.active,
&:hover,
&:focus {
color: $gray-dark;
background-color: transparent;
}
&.active {
font-weight: 500;
color: darken($gray-dark, 15%);
}
}
}
.navbar-nav-svg {
display: inline-block;
width: 1rem;
height: 1rem;
vertical-align: text-top;
}
.dropdown-menu {
font-size: .875rem;
}
.navbar-brand {
color: $bd-purple;
}
}