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

43 lines
953 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;
}
%primary-nav .nspaces .menu-panel > div {
background-color: $gray-050;
padding-left: 36px;
}
%primary-nav .nspaces .menu-panel > div::before {
@extend %with-info-circle-fill-mask, %as-pseudo;
color: $blue-500;
font-size: 1.1em;
}
%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;
}
}