|
|
|
@ -30,14 +30,17 @@ |
|
|
|
* mobile navigation needs to slide beneath the button, but we also cannot |
|
|
|
* mobile navigation needs to slide beneath the button, but we also cannot |
|
|
|
* use padding because that would enable the button to scroll out of the |
|
|
|
* use padding because that would enable the button to scroll out of the |
|
|
|
* viewport on short screens. */ |
|
|
|
* viewport on short screens. */ |
|
|
|
border-block-start: solid var(--color--white) calc(var(--sp3) + var(--drupal-displace-offset-top, 0px)); |
|
|
|
border-block-start: solid var(--color--white) |
|
|
|
|
|
|
|
calc(var(--sp3) + var(--drupal-displace-offset-top, 0px)); |
|
|
|
background-color: var(--color--white); |
|
|
|
background-color: var(--color--white); |
|
|
|
box-shadow: 0 0 72px rgba(0, 0, 0, 0.1); |
|
|
|
box-shadow: 0 0 72px rgba(0, 0, 0, 0.1); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.header-nav.is-active { |
|
|
|
.header-nav.is-active { |
|
|
|
visibility: visible; |
|
|
|
visibility: visible; |
|
|
|
transform: translateX(calc(-100% - var(--drupal-displace-offset-right, 0px))); /* LTR */ |
|
|
|
transform: translateX( |
|
|
|
|
|
|
|
calc(-100% - var(--drupal-displace-offset-right, 0px)) |
|
|
|
|
|
|
|
); /* LTR */ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[dir="rtl"] .header-nav.is-active { |
|
|
|
[dir="rtl"] .header-nav.is-active { |
|
|
|
@ -84,7 +87,7 @@ html.js .header-nav { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* @media ((((min-width: 60rem)))) { */ |
|
|
|
/* @media ((((min-width: 60rem)))) { */ |
|
|
|
@media ((((min-width: 55rem)))) { |
|
|
|
@media ((((min-width: 1250px)))) { |
|
|
|
body:not(.is-always-mobile-nav) .header-nav { |
|
|
|
body:not(.is-always-mobile-nav) .header-nav { |
|
|
|
position: static; |
|
|
|
position: static; |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
@ -113,14 +116,21 @@ html.js .header-nav { |
|
|
|
max-width: calc((7 * (var(--grid-col-width) + var(--grid-gap)))); |
|
|
|
max-width: calc((7 * (var(--grid-col-width) + var(--grid-gap)))); |
|
|
|
padding-inline-end: var(--sp); |
|
|
|
padding-inline-end: var(--sp); |
|
|
|
transition: transform 0.2s, visibility 0.2s; |
|
|
|
transition: transform 0.2s, visibility 0.2s; |
|
|
|
border-top-width: calc(var(--drupal-displace-offset-top, 0px) + var(--sp11)); |
|
|
|
border-top-width: calc( |
|
|
|
|
|
|
|
var(--drupal-displace-offset-top, 0px) + var(--sp11) |
|
|
|
|
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@media (min-width: 90rem) { |
|
|
|
@media (min-width: 90rem) { |
|
|
|
body.is-always-mobile-nav .header-nav { |
|
|
|
body.is-always-mobile-nav .header-nav { |
|
|
|
max-width: calc(100vw - (var(--max-width) + var(--content-left)) + ((7 * (var(--grid-col-width) + var(--grid-gap))))); |
|
|
|
max-width: calc( |
|
|
|
padding-inline-end: calc(100vw - (var(--max-width) + var(--content-left) - var(--sp))); |
|
|
|
100vw - (var(--max-width) + var(--content-left)) + |
|
|
|
|
|
|
|
((7 * (var(--grid-col-width) + var(--grid-gap)))) |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
padding-inline-end: calc( |
|
|
|
|
|
|
|
100vw - (var(--max-width) + var(--content-left) - var(--sp)) |
|
|
|
|
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|