consul/ui-v2/app/styles/components/main-nav-horizontal.scss

34 lines
713 B
SCSS
Raw Normal View History

@import './main-nav-horizontal/index';
%main-header-horizontal nav:first-of-type {
@extend %primary-nav;
}
%main-header-horizontal nav:last-of-type {
@extend %secondary-nav;
}
%primary-nav,
%secondary-nav {
@extend %main-nav-horizontal;
}
%main-header-horizontal > div {
@extend %main-nav-horizontal-panel;
}
%main-header-horizontal label[for='main-nav-toggle'] {
@extend %main-nav-horizontal-toggle-button;
}
%main-header-horizontal > input {
@extend %main-nav-horizontal-toggle;
}
@media #{$--lt-horizontal-nav} {
%primary-nav {
margin-top: 65px;
}
%secondary-nav li:first-child {
display: none;
}
%primary-nav > ul > li.is-active > a {
font-weight: $typo-weight-bold;
}
}