2019-12-17 18:47:37 +00:00
|
|
|
%main-nav-horizontal-toggle-button {
|
|
|
|
text-indent: -9000px;
|
|
|
|
}
|
|
|
|
%main-nav-horizontal-toggle-button::before {
|
|
|
|
@extend %with-more-vertical-mask, %as-pseudo;
|
|
|
|
background-color: $white;
|
|
|
|
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
%main-nav-horizontal button {
|
|
|
|
font-size: inherit;
|
|
|
|
font-weight: inherit;
|
|
|
|
color: inherit;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
%main-nav-horizontal-action {
|
|
|
|
border-radius: $decor-radius-200;
|
|
|
|
}
|
|
|
|
%main-nav-horizontal-action {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
%main-nav-horizontal-action:not(span) {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
%main-nav-horizontal-action,
|
|
|
|
%main-nav-horizontal-action-intent,
|
|
|
|
%main-nav-horizontal-action-active {
|
|
|
|
color: $white;
|
|
|
|
}
|
|
|
|
%main-nav-horizontal-action > a {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
%main-nav-horizontal-toggle,
|
2020-02-18 16:44:15 +00:00
|
|
|
%main-nav-horizontal input[type='checkbox'] {
|
2019-12-17 18:47:37 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2020-01-22 12:08:29 +00:00
|
|
|
%main-nav-horizontal [type='checkbox'] + label > *::after {
|
2019-12-17 18:47:37 +00:00
|
|
|
@extend %as-pseudo;
|
|
|
|
@extend %with-chevron-down-mask;
|
|
|
|
position: relative;
|
|
|
|
top: 2px;
|
|
|
|
background-color: $white;
|
|
|
|
}
|
2020-01-22 12:08:29 +00:00
|
|
|
%main-nav-horizontal [type='checkbox']:checked + label > *::after {
|
2019-12-17 18:47:37 +00:00
|
|
|
@extend %with-chevron-up-mask;
|
|
|
|
}
|
|
|
|
%main-nav-horizontal-toggle-button span {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
@media #{$--lt-horizontal-nav} {
|
|
|
|
%main-nav-horizontal-toggle-button {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
%main-nav-horizontal-toggle:checked + label {
|
|
|
|
background-color: rgba($black, 0.4);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/**/
|