2017-03-24 09:47:37 -04:00
|
|
|
//
|
|
|
|
// Main nav, breadcrumb, etc...
|
|
|
|
//
|
2019-11-27 12:52:44 +01:00
|
|
|
// stylelint-disable selector-no-type, max-nesting-depth, selector-max-compound-selectors, selector-max-type, selector-max-specificity
|
2019-07-22 09:33:17 +02:00
|
|
|
|
|
|
|
.nav-list {
|
2017-03-09 13:16:08 -05:00
|
|
|
padding: 0;
|
2019-05-12 14:12:00 +02:00
|
|
|
margin-top: 0;
|
2018-10-23 11:40:39 -04:00
|
|
|
margin-bottom: 0;
|
2017-03-26 21:09:19 -04:00
|
|
|
list-style: none;
|
2017-03-09 13:16:08 -05:00
|
|
|
|
2019-07-22 09:33:17 +02:00
|
|
|
.nav-list-item {
|
2019-08-10 20:53:59 +02:00
|
|
|
@include fs-4;
|
2019-08-10 22:22:57 +02:00
|
|
|
position: relative;
|
2019-08-10 20:53:59 +02:00
|
|
|
margin: 0;
|
2018-11-15 15:12:12 -05:00
|
|
|
|
2019-08-10 20:53:59 +02:00
|
|
|
@include mq(md) {
|
|
|
|
@include fs-3;
|
2017-03-09 13:16:08 -05:00
|
|
|
}
|
2017-03-24 09:47:37 -04:00
|
|
|
|
2019-08-10 20:53:59 +02:00
|
|
|
.nav-list-link {
|
|
|
|
display: block;
|
2019-08-10 22:22:57 +02:00
|
|
|
min-height: $nav-list-item-height-sm;
|
2019-08-10 20:53:59 +02:00
|
|
|
padding-top: $sp-1;
|
|
|
|
padding-bottom: $sp-1;
|
2019-11-27 12:37:10 +01:00
|
|
|
line-height: #{$nav-list-item-height-sm - 2 * $sp-1};
|
2019-08-11 23:54:51 +02:00
|
|
|
@if $nav-list-expander-right {
|
|
|
|
padding-right: $nav-list-item-height-sm;
|
|
|
|
padding-left: $gutter-spacing-sm;
|
2020-06-25 21:42:41 +02:00
|
|
|
} @else {
|
2019-08-11 23:54:51 +02:00
|
|
|
padding-right: $gutter-spacing-sm;
|
|
|
|
padding-left: $nav-list-item-height-sm;
|
|
|
|
}
|
2019-08-10 22:22:57 +02:00
|
|
|
|
|
|
|
@include mq(md) {
|
|
|
|
min-height: $nav-list-item-height;
|
|
|
|
line-height: #{$nav-list-item-height - 2 * $sp-1};
|
2019-08-11 23:54:51 +02:00
|
|
|
@if $nav-list-expander-right {
|
|
|
|
padding-right: $nav-list-item-height;
|
|
|
|
padding-left: $gutter-spacing;
|
2020-06-25 21:42:41 +02:00
|
|
|
} @else {
|
2019-08-11 23:54:51 +02:00
|
|
|
padding-right: $gutter-spacing;
|
|
|
|
padding-left: $nav-list-item-height;
|
|
|
|
}
|
2019-08-10 22:22:57 +02:00
|
|
|
}
|
2019-08-10 20:53:59 +02:00
|
|
|
|
|
|
|
&.active {
|
|
|
|
font-weight: 600;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&.active {
|
2020-06-25 21:42:41 +02:00
|
|
|
background-image: linear-gradient(
|
|
|
|
-90deg,
|
|
|
|
rgba($feedback-color, 1) 0%,
|
|
|
|
rgba($feedback-color, 0.8) 80%,
|
|
|
|
rgba($feedback-color, 0) 100%
|
|
|
|
);
|
2017-03-24 09:47:37 -04:00
|
|
|
}
|
|
|
|
}
|
2017-03-09 13:16:08 -05:00
|
|
|
|
2019-08-10 20:53:59 +02:00
|
|
|
.nav-list-expander {
|
|
|
|
position: absolute;
|
2019-08-11 23:54:51 +02:00
|
|
|
@if $nav-list-expander-right {
|
|
|
|
right: 0;
|
|
|
|
}
|
2019-08-10 22:22:57 +02:00
|
|
|
width: $nav-list-item-height-sm;
|
|
|
|
height: $nav-list-item-height-sm;
|
|
|
|
padding-top: #{$nav-list-item-height-sm / 4};
|
|
|
|
padding-right: #{$nav-list-item-height-sm / 4};
|
|
|
|
padding-bottom: #{$nav-list-item-height-sm / 4};
|
|
|
|
padding-left: #{$nav-list-item-height-sm / 4};
|
2020-06-25 23:48:24 +02:00
|
|
|
color: $link-color;
|
2019-08-10 20:53:59 +02:00
|
|
|
|
2019-08-10 22:22:57 +02:00
|
|
|
@include mq(md) {
|
|
|
|
width: $nav-list-item-height;
|
|
|
|
height: $nav-list-item-height;
|
|
|
|
padding-top: #{$nav-list-item-height / 4};
|
|
|
|
padding-right: #{$nav-list-item-height / 4};
|
|
|
|
padding-bottom: #{$nav-list-item-height / 4};
|
|
|
|
padding-left: #{$nav-list-item-height / 4};
|
|
|
|
}
|
|
|
|
|
2019-08-10 20:53:59 +02:00
|
|
|
&:hover {
|
2020-06-25 21:42:41 +02:00
|
|
|
background-image: linear-gradient(
|
|
|
|
-90deg,
|
|
|
|
rgba($feedback-color, 1) 0%,
|
|
|
|
rgba($feedback-color, 0.8) 100%
|
|
|
|
);
|
2019-08-10 20:53:59 +02:00
|
|
|
}
|
2019-08-11 23:54:51 +02:00
|
|
|
|
|
|
|
@if $nav-list-expander-right {
|
|
|
|
svg {
|
|
|
|
transform: rotate(90deg);
|
|
|
|
}
|
|
|
|
}
|
2019-08-10 20:53:59 +02:00
|
|
|
}
|
2018-10-23 11:40:39 -04:00
|
|
|
|
2019-08-10 20:53:59 +02:00
|
|
|
> .nav-list {
|
|
|
|
display: none;
|
|
|
|
padding-left: $sp-3;
|
|
|
|
list-style: none;
|
2018-11-19 13:28:59 -05:00
|
|
|
|
2019-08-10 20:53:59 +02:00
|
|
|
.nav-list-item {
|
|
|
|
position: relative;
|
2018-11-19 13:28:59 -05:00
|
|
|
|
2019-08-10 20:53:59 +02:00
|
|
|
.nav-list-link {
|
|
|
|
color: $nav-child-link-color;
|
|
|
|
}
|
2019-08-11 23:54:51 +02:00
|
|
|
|
|
|
|
.nav-list-expander {
|
2020-06-25 23:48:24 +02:00
|
|
|
color: $nav-child-link-color;
|
2019-08-11 23:54:51 +02:00
|
|
|
}
|
2019-08-10 20:53:59 +02:00
|
|
|
}
|
2018-11-19 13:28:59 -05:00
|
|
|
}
|
2017-03-09 13:16:08 -05:00
|
|
|
|
2019-08-10 20:53:59 +02:00
|
|
|
&.active {
|
|
|
|
> .nav-list-expander svg {
|
2019-08-11 23:54:51 +02:00
|
|
|
@if $nav-list-expander-right {
|
|
|
|
transform: rotate(-90deg);
|
2020-06-25 21:42:41 +02:00
|
|
|
} @else {
|
2019-08-11 23:54:51 +02:00
|
|
|
transform: rotate(90deg);
|
|
|
|
}
|
2019-08-10 20:53:59 +02:00
|
|
|
}
|
2017-03-09 13:16:08 -05:00
|
|
|
|
2019-08-10 20:53:59 +02:00
|
|
|
> .nav-list {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2017-03-09 13:16:08 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-09 21:07:24 +02:00
|
|
|
.nav-category {
|
|
|
|
padding-top: $sp-2;
|
|
|
|
padding-right: $gutter-spacing-sm;
|
|
|
|
padding-bottom: $sp-2;
|
|
|
|
padding-left: $gutter-spacing-sm;
|
|
|
|
font-weight: 600;
|
|
|
|
text-align: end;
|
|
|
|
text-transform: uppercase;
|
|
|
|
border-bottom: $border $border-color;
|
|
|
|
@include fs-2;
|
|
|
|
|
|
|
|
@include mq(md) {
|
|
|
|
padding-right: $gutter-spacing;
|
|
|
|
padding-left: $gutter-spacing;
|
|
|
|
margin-top: $gutter-spacing-sm;
|
|
|
|
text-align: start;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-03 09:12:54 +01:00
|
|
|
// Aux nav
|
2017-03-24 09:47:37 -04:00
|
|
|
|
2019-05-12 14:12:00 +02:00
|
|
|
.aux-nav {
|
2019-12-03 09:12:54 +01:00
|
|
|
height: 100%;
|
|
|
|
overflow-x: auto;
|
|
|
|
@include fs-2;
|
2019-07-21 16:55:34 +02:00
|
|
|
|
|
|
|
.aux-nav-list {
|
2019-12-03 09:12:54 +01:00
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
2019-07-21 16:55:34 +02:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.aux-nav-list-item {
|
|
|
|
display: inline-block;
|
2019-12-03 09:12:54 +01:00
|
|
|
height: 100%;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2019-07-21 16:55:34 +02:00
|
|
|
|
2019-12-03 09:12:54 +01:00
|
|
|
@include mq(md) {
|
|
|
|
padding-right: $gutter-spacing-sm;
|
2019-07-21 16:55:34 +02:00
|
|
|
}
|
2017-03-24 09:47:37 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// Breadcrumb nav
|
2019-07-21 16:55:34 +02:00
|
|
|
|
2018-11-19 13:29:17 -05:00
|
|
|
.breadcrumb-nav {
|
|
|
|
@include mq(md) {
|
|
|
|
margin-top: -$sp-4;
|
|
|
|
}
|
|
|
|
}
|
2017-03-24 09:47:37 -04:00
|
|
|
|
2017-03-09 13:16:08 -05:00
|
|
|
.breadcrumb-nav-list {
|
|
|
|
padding-left: 0;
|
2017-03-26 21:09:19 -04:00
|
|
|
margin-bottom: $sp-3;
|
|
|
|
list-style: none;
|
2017-03-09 13:16:08 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumb-nav-list-item {
|
|
|
|
display: table-cell;
|
|
|
|
@include fs-2;
|
|
|
|
|
2017-03-24 09:47:37 -04:00
|
|
|
&::before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-03-09 13:16:08 -05:00
|
|
|
&::after {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: $sp-2;
|
2017-03-26 21:09:19 -04:00
|
|
|
margin-left: $sp-2;
|
2017-03-09 13:16:08 -05:00
|
|
|
color: $grey-dk-000;
|
2017-03-26 21:09:19 -04:00
|
|
|
content: "/";
|
2017-03-09 13:16:08 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
&::after {
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|