2019-12-17 18:47:37 +00:00
|
|
|
@import './skin';
|
|
|
|
@import './layout';
|
|
|
|
%main-nav-horizontal > ul > li > a,
|
|
|
|
%main-nav-horizontal > ul > li > span,
|
|
|
|
%main-nav-horizontal > ul > li > label > * {
|
|
|
|
@extend %main-nav-horizontal-action;
|
|
|
|
}
|
|
|
|
%main-nav-horizontal-action:not(span):hover,
|
|
|
|
%main-nav-horizontal-action:not(span):focus {
|
|
|
|
@extend %main-nav-horizontal-action-intent;
|
|
|
|
}
|
2020-05-11 15:37:11 +00:00
|
|
|
/* Whilst we want spans to look the same as actions */
|
|
|
|
/* we don't want them to act the same */
|
|
|
|
%main-nav-horizontal > ul > li > span {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
%main-nav-horizontal > ul > li > label {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
/* ^ why not in layout? because we want these */
|
|
|
|
/* overwrites to be close to where we extend? */
|
2019-12-17 18:47:37 +00:00
|
|
|
%main-nav-horizontal [type='checkbox']:checked + label > *,
|
|
|
|
%main-nav-horizontal > ul > li > a:active,
|
|
|
|
%main-nav-horizontal > ul > li.is-active > a,
|
|
|
|
%main-nav-horizontal > ul > li.is-active > label > * {
|
|
|
|
@extend %main-nav-horizontal-action-active;
|
|
|
|
}
|
2020-02-18 16:44:15 +00:00
|
|
|
%main-nav-horizontal label + div {
|
|
|
|
@extend %main-nav-horizontal-drop-nav;
|
|
|
|
}
|
2019-12-17 18:47:37 +00:00
|
|
|
%main-nav-horizontal-drop-nav {
|
|
|
|
@extend %menu-panel;
|
|
|
|
}
|