mirror of https://github.com/hashicorp/consul
34 lines
713 B
SCSS
34 lines
713 B
SCSS
@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;
|
|
}
|
|
}
|