2019-12-17 18:47:37 +00:00
|
|
|
@import './skin';
|
|
|
|
@import './layout';
|
2020-07-09 13:26:52 +00:00
|
|
|
|
|
|
|
/* things that should look like nav buttons */
|
2019-12-17 18:47:37 +00:00
|
|
|
%main-nav-horizontal > ul > li > a,
|
|
|
|
%main-nav-horizontal > ul > li > span,
|
2020-07-09 13:26:52 +00:00
|
|
|
%main-nav-horizontal > ul > li > label,
|
|
|
|
%main-nav-horizontal > ul > li > .popover-menu > label > button {
|
2019-12-17 18:47:37 +00:00
|
|
|
@extend %main-nav-horizontal-action;
|
|
|
|
}
|
2020-07-09 13:26:52 +00:00
|
|
|
%main-nav-horizontal .popover-menu [type='checkbox']:checked + label > *,
|
|
|
|
%main-nav-horizontal > ul > li.is-active > a,
|
|
|
|
%main-nav-horizontal > ul > li.is-active > label > * {
|
|
|
|
@extend %main-nav-horizontal-action-active;
|
|
|
|
}
|
|
|
|
/* Whilst we want spans to look the same as actions */
|
|
|
|
/* we don't want them to act the same */
|
2019-12-17 18:47:37 +00:00
|
|
|
%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
|
|
|
%main-nav-horizontal > ul > li > span {
|
|
|
|
cursor: default;
|
|
|
|
}
|
2020-07-09 13:26:52 +00:00
|
|
|
/**/
|
|
|
|
|
|
|
|
/* menu-panels in the main navigation are treated slightly differently */
|
2020-02-18 16:44:15 +00:00
|
|
|
%main-nav-horizontal label + div {
|
2020-07-09 13:26:52 +00:00
|
|
|
@extend %main-nav-horizontal-menu-panel;
|
2019-12-17 18:47:37 +00:00
|
|
|
}
|