mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
74279460c2
* Hide the docs nav on mobile, redesign it for two columns on narrow devices * Tweak spacing on ToC * Redesign sidebar and subnav * Revamp subnav mobile layout so everything's on one line * Tighten up masthead a little * Switch the icon for the subnav and do a little icon toggling * Fix mobile overflow since we changed guters stuff * Add the widths * make the subnav icon purple
38 lines
533 B
SCSS
38 lines
533 B
SCSS
.bd-navbar {
|
|
padding: .75rem 0;
|
|
background-color: $bd-purple-bright;
|
|
|
|
.navbar-toggler {
|
|
padding: 0;
|
|
border: 0;
|
|
|
|
.bi {
|
|
width: 2rem;
|
|
fill: currentColor;
|
|
}
|
|
}
|
|
|
|
.navbar-nav {
|
|
.nav-link {
|
|
padding-right: $spacer / 4;
|
|
padding-left: $spacer / 4;
|
|
color: rgba($white, .85);
|
|
|
|
&:hover,
|
|
&:focus {
|
|
color: $white;
|
|
}
|
|
|
|
&.active {
|
|
font-weight: 600;
|
|
color: $white;
|
|
}
|
|
}
|
|
}
|
|
|
|
.navbar-nav-svg {
|
|
width: 1rem;
|
|
height: 1rem;
|
|
}
|
|
}
|