0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-02 14:24:19 +01:00
Bootstrap/site/assets/scss/_navbar.scss
Mark Otto be17444756
Replace / division with multiplication and custom divide() function (#34245)
* Convert bulk of division to multiplication

* Use custom divide() function instead of Dart Sass math module for greater compatibility

* Apply suggestions from code review

* Fix functions
2021-06-14 09:35:30 -07:00

33 lines
475 B
SCSS

.bd-navbar {
padding: .75rem 0;
background-color: $bd-purple-bright;
.navbar-toggler {
padding: 0;
border: 0;
}
.navbar-nav {
.nav-link {
padding-right: $spacer * .25;
padding-left: $spacer * .25;
color: rgba($white, .85);
&:hover,
&:focus {
color: $white;
}
&.active {
font-weight: 600;
color: $white;
}
}
}
.navbar-nav-svg {
width: 1rem;
height: 1rem;
}
}