clone of olivero for island lives
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

149 lines
4.1 KiB

1 year ago
/*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/3084859
* @preserve
*/
/**
* @file
* Styles for primary navigation when JavaScript is disabled.
*/
1 year ago
:root {
--no-js-nav-column-width: 18.75rem;
--no-js-nav-column-gap: var(--sp2);
}
1 year ago
1 year ago
/**
1 year ago
* Mobile styles for primary navigation when JS is disabled.
*/
@media (max-width: 75rem) {
1 year ago
html:not(.js) .primary-nav__menu--level-1 {
column-width: var(--no-js-nav-column-width);
column-gap: var(--no-js-nav-column-gap);
1 year ago
}
1 year ago
html:not(.js) .primary-nav__menu-item {
page-break-inside: avoid;
break-inside: avoid;
1 year ago
}
1 year ago
html:not(.js) .site-header__inner__container {
flex-wrap: wrap;
1 year ago
}
1 year ago
html:not(.js) .mobile-buttons {
display: none;
1 year ago
}
1 year ago
html:not(.js) .header-nav {
border: solid 1px var(--color--gray-95) !important;
1 year ago
}
1 year ago
html:not(.js) .header-nav {
position: static;
visibility: visible;
flex-basis: 100%;
width: 100%;
max-width: none;
margin-block: var(--sp2) 0;
margin-inline-start: var(--sp2);
margin-inline-end: var(--sp2);
padding-block: var(--sp2) 0;
padding-inline-start: var(--sp2);
padding-inline-end: var(--sp2);
transform: none;
box-shadow: 0 0 36px var(--color--gray-90);
1 year ago
}
1 year ago
html:not(.js) .primary-nav__menu--level-2 {
border-inline-start: 0;
1 year ago
}
1 year ago
html:not(.js) .primary-nav__button-toggle {
display: none;
1 year ago
}
1 year ago
html:not(.js) .primary-nav__menu-link--button.primary-nav__menu-link--has-children::before,
html:not(.js) .primary-nav__menu-link--button.primary-nav__menu-link--has-children::after {
content: none;
1 year ago
}
1 year ago
}
1 year ago
@media (min-width: 75rem) {
1 year ago
/**
1 year ago
* Styles for 'always on mobile navigation' when JS is disabled.
*/
1 year ago
html:not(.js) body.is-always-mobile-nav .primary-nav__menu--level-1 {
column-width: var(--no-js-nav-column-width);
column-gap: var(--no-js-nav-column-gap);
1 year ago
}
1 year ago
html:not(.js) body.is-always-mobile-nav .primary-nav__menu-item {
page-break-inside: avoid;
break-inside: avoid;
1 year ago
}
1 year ago
html:not(.js) body.is-always-mobile-nav .site-header__inner__container {
flex-wrap: wrap;
1 year ago
}
1 year ago
html:not(.js) body.is-always-mobile-nav .mobile-buttons {
display: none;
1 year ago
}
1 year ago
html:not(.js) body.is-always-mobile-nav .header-nav {
border: solid 1px var(--color--gray-95) !important;
1 year ago
}
1 year ago
html:not(.js) body.is-always-mobile-nav .header-nav {
position: static;
visibility: visible;
flex-basis: 100%;
width: 100%;
max-width: none;
margin-block: var(--sp2) 0;
margin-inline-start: var(--sp2);
margin-inline-end: var(--sp2);
padding-block: var(--sp2) 0;
padding-inline-start: var(--sp2);
padding-inline-end: var(--sp2);
transform: none;
box-shadow: 0 0 36px var(--color--gray-90);
1 year ago
}
1 year ago
html:not(.js) body.is-always-mobile-nav .primary-nav__menu--level-2 {
border-inline-start: 0;
1 year ago
}
1 year ago
html:not(.js) body.is-always-mobile-nav .primary-nav__button-toggle {
display: none;
1 year ago
}
1 year ago
html:not(.js) body.is-always-mobile-nav .primary-nav__menu-link--button.primary-nav__menu-link--has-children::before,
html:not(.js) body.is-always-mobile-nav .primary-nav__menu-link--button.primary-nav__menu-link--has-children::after {
content: none;
1 year ago
}
1 year ago
/**
1 year ago
* Styles for traditional dropdown primary navigation when JS is disabled.
*/
1 year ago
html:not(.js) body:not(.is-always-mobile-nav) .primary-nav__menu-item--level-1:hover .primary-nav__menu--level-2,
html:not(.js) body:not(.is-always-mobile-nav) .primary-nav__menu-item--level-1:hover .primary-nav__menu-🥕 {
visibility: visible;
transform: translate(-50%, 0);
opacity: 1;
}
/*
1 year ago
* Cannot combine the focus-within pseudo selector with other selectors,
* because it will break IE11 and earlier versions of MS Edge.
*/
1 year ago
html:not(.js) body:not(.is-always-mobile-nav) .primary-nav__menu-item--level-1:focus-within .primary-nav__menu--level-2,
html:not(.js) body:not(.is-always-mobile-nav) .primary-nav__menu-item--level-1:focus-within .primary-nav__menu-🥕 {
visibility: visible;
transform: translate(-50%, 0);
opacity: 1;
1 year ago
}
1 year ago
}