0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-04 16:24:22 +01:00
Bootstrap/site/assets/scss/_navbar.scss

39 lines
596 B
SCSS
Raw Normal View History

.bd-navbar {
2020-02-13 13:45:33 +01:00
padding: .625rem 0;
background-color: $bd-purple-bright;
@include media-breakpoint-down(lg) {
.navbar-nav-scroll {
width: 100%;
.navbar-nav {
2020-02-13 13:45:33 +01:00
margin: -.5rem 0;
overflow-x: auto;
white-space: nowrap;
-webkit-overflow-scrolling: touch;
}
}
}
.navbar-nav {
.nav-link {
color: rgba($white, .85);
&:hover,
&:focus {
color: $white;
}
&.active {
font-weight: 600;
2020-02-13 13:45:33 +01:00
color: $white;
}
}
}
.navbar-nav-svg {
width: 1rem;
height: 1rem;
}
}