Files
startbootstrap-sb-admin-2/scss/navs/topbar.scss
David Miller af58467db4 updating to 4.0
New design with breaking changes, gulp 4, all dependencies updated, dev environment changed, and many more changes
2019-01-03 12:10:55 -07:00

47 lines
771 B
SCSS

// Topbar
.topbar {
height: $topbar-base-height;
.nav-item {
.nav-link {
height: $topbar-base-height;
display: flex;
align-items: center;
padding: 0 0.75rem;
}
}
.dropdown {
position: static;
.dropdown-menu {
width: calc(100% - #{$grid-gutter-width});
right: $grid-gutter-width / 2;
}
}
@include media-breakpoint-up(md) {
.dropdown {
position: relative;
.dropdown-menu {
width: auto;
right: 0;
}
}
}
}
.topbar.navbar-dark {}
.topbar.navbar-light {
.navbar-nav {
.nav-item {
.nav-link {
color: $gray-400;
&:hover {
color: $gray-500;
}
&:active {
color: $gray-600;
}
}
}
}
}