2021-11-08 21:17:17 -05:00
|
|
|
/**
|
|
|
|
* Colors
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Breakpoints & Media Queries
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* SCSS Variables.
|
|
|
|
*
|
|
|
|
* Please use variables from this sheet to ensure consistency across the UI.
|
|
|
|
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
|
|
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Colors
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Fonts & basic variables.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Grid System.
|
|
|
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Dimensions.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Shadows.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Editor widths.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Block & Editor UI.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Block paddings.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* React Native specific.
|
|
|
|
* These variables do not appear to be used anywhere else.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Converts a hex value into the rgb equivalent.
|
|
|
|
*
|
|
|
|
* @param {string} hex - the hexadecimal value to convert
|
|
|
|
* @return {string} comma separated rgb values
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Breakpoint mixins
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Long content fade mixin
|
|
|
|
*
|
|
|
|
* Creates a fading overlay to signify that the content is longer
|
|
|
|
* than the space allows.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Focus styles.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Applies editor left position to the selector passed as argument
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Styles that are reused verbatim in a few places
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Allows users to opt-out of animations via OS-level preferences.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Reset default styles for JavaScript UI based pages.
|
|
|
|
* This is a WP-admin agnostic reset
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
|
|
*/
|
|
|
|
.wp-block-navigation {
|
|
|
|
position: relative;
|
2021-12-21 02:02:34 -05:00
|
|
|
--navigation-layout-justification-setting: flex-start;
|
|
|
|
--navigation-layout-direction: row;
|
|
|
|
--navigation-layout-wrap: wrap;
|
|
|
|
--navigation-layout-justify: flex-start;
|
|
|
|
--navigation-layout-align: center;
|
2021-11-08 21:17:17 -05:00
|
|
|
}
|
|
|
|
.wp-block-navigation ul {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-left: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
.wp-block-navigation ul,
|
|
|
|
.wp-block-navigation ul li {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.wp-block-navigation .wp-block-navigation-item {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation__submenu-container:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.wp-block-navigation .wp-block-navigation-item__content {
|
|
|
|
color: inherit;
|
|
|
|
display: block;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2022-04-12 11:12:47 -04:00
|
|
|
.wp-block-navigation.has-text-decoration-underline .wp-block-navigation-item__content {
|
|
|
|
text-decoration: underline;
|
2021-11-08 21:17:17 -05:00
|
|
|
}
|
2022-04-12 11:12:47 -04:00
|
|
|
.wp-block-navigation.has-text-decoration-underline .wp-block-navigation-item__content:focus, .wp-block-navigation.has-text-decoration-underline .wp-block-navigation-item__content:active {
|
|
|
|
text-decoration: underline;
|
2021-11-08 21:17:17 -05:00
|
|
|
}
|
2022-04-12 11:12:47 -04:00
|
|
|
.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content {
|
|
|
|
text-decoration: line-through;
|
2021-11-08 21:17:17 -05:00
|
|
|
}
|
2022-04-12 11:12:47 -04:00
|
|
|
.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:focus, .wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:active {
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
|
|
|
.wp-block-navigation:where(:not([class*="has-text-decoration"])) a {
|
2021-11-08 21:17:17 -05:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2022-04-12 11:12:47 -04:00
|
|
|
.wp-block-navigation:where(:not([class*="has-text-decoration"])) a:focus, .wp-block-navigation:where(:not([class*="has-text-decoration"])) a:active {
|
2021-11-08 21:17:17 -05:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
.wp-block-navigation .wp-block-navigation__submenu-icon {
|
|
|
|
align-self: center;
|
|
|
|
line-height: 0;
|
2021-11-23 00:40:38 -05:00
|
|
|
display: inline-block;
|
2021-11-30 00:48:28 -05:00
|
|
|
font-size: inherit;
|
2021-11-08 21:17:17 -05:00
|
|
|
padding: 0;
|
|
|
|
background-color: inherit;
|
|
|
|
color: currentColor;
|
|
|
|
border: none;
|
2021-11-23 00:40:38 -05:00
|
|
|
width: 0.6em;
|
|
|
|
height: 0.6em;
|
2022-04-12 11:12:47 -04:00
|
|
|
margin-left: 0.25em;
|
2021-11-08 21:17:17 -05:00
|
|
|
}
|
|
|
|
.wp-block-navigation .wp-block-navigation__submenu-icon svg {
|
|
|
|
display: inline-block;
|
|
|
|
stroke: currentColor;
|
2021-11-23 00:40:38 -05:00
|
|
|
width: inherit;
|
|
|
|
height: inherit;
|
2022-04-12 11:12:47 -04:00
|
|
|
margin-top: 0.075em;
|
2021-11-08 21:17:17 -05:00
|
|
|
}
|
2021-12-21 02:02:34 -05:00
|
|
|
.wp-block-navigation.is-vertical {
|
|
|
|
--navigation-layout-direction: column;
|
|
|
|
--navigation-layout-justify: initial;
|
2022-01-10 22:13:33 -05:00
|
|
|
--navigation-layout-align: flex-start;
|
2021-12-21 02:02:34 -05:00
|
|
|
}
|
|
|
|
.wp-block-navigation.no-wrap {
|
|
|
|
--navigation-layout-wrap: nowrap;
|
|
|
|
}
|
|
|
|
.wp-block-navigation.items-justified-center {
|
|
|
|
--navigation-layout-justification-setting: center;
|
|
|
|
--navigation-layout-justify: center;
|
|
|
|
}
|
|
|
|
.wp-block-navigation.items-justified-center.is-vertical {
|
|
|
|
--navigation-layout-align: center;
|
|
|
|
}
|
|
|
|
.wp-block-navigation.items-justified-right {
|
|
|
|
--navigation-layout-justification-setting: flex-end;
|
|
|
|
--navigation-layout-justify: flex-end;
|
|
|
|
}
|
|
|
|
.wp-block-navigation.items-justified-right.is-vertical {
|
|
|
|
--navigation-layout-align: flex-end;
|
|
|
|
}
|
|
|
|
.wp-block-navigation.items-justified-space-between {
|
|
|
|
--navigation-layout-justification-setting: space-between;
|
|
|
|
--navigation-layout-justify: space-between;
|
|
|
|
}
|
2021-11-08 21:17:17 -05:00
|
|
|
|
|
|
|
.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) {
|
|
|
|
background-color: inherit;
|
|
|
|
color: inherit;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 2;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: normal;
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 0.1s linear;
|
|
|
|
visibility: hidden;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
2021-11-11 02:43:31 -05:00
|
|
|
overflow: hidden;
|
2021-11-08 21:17:17 -05:00
|
|
|
left: -1px;
|
|
|
|
top: 100%;
|
|
|
|
}
|
|
|
|
.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) > .wp-block-navigation-item > .wp-block-navigation-item__content {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) > .wp-block-navigation-item > .wp-block-navigation-item__content .wp-block-navigation__submenu-icon {
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation-item__content {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
|
|
|
.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-container {
|
|
|
|
left: 100%;
|
|
|
|
top: -1px;
|
|
|
|
}
|
|
|
|
.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-container::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
right: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: block;
|
|
|
|
width: 0.5em;
|
|
|
|
background: transparent;
|
|
|
|
}
|
2022-04-12 11:12:47 -04:00
|
|
|
.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-icon {
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
2021-11-08 21:17:17 -05:00
|
|
|
.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-icon svg {
|
|
|
|
transform: rotate(-90deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.wp-block-navigation .has-child:where(:not(.open-on-click)):hover > .wp-block-navigation__submenu-container {
|
|
|
|
visibility: visible;
|
2021-11-11 02:43:31 -05:00
|
|
|
overflow: visible;
|
2021-11-08 21:17:17 -05:00
|
|
|
opacity: 1;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
min-width: 200px;
|
|
|
|
}
|
|
|
|
.wp-block-navigation .has-child:where(:not(.open-on-click):not(.open-on-hover-click)):focus-within > .wp-block-navigation__submenu-container {
|
|
|
|
visibility: visible;
|
2021-11-11 02:43:31 -05:00
|
|
|
overflow: visible;
|
2021-11-08 21:17:17 -05:00
|
|
|
opacity: 1;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
min-width: 200px;
|
|
|
|
}
|
2022-04-12 11:12:47 -04:00
|
|
|
.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true] ~ .wp-block-navigation__submenu-container {
|
2021-11-08 21:17:17 -05:00
|
|
|
visibility: visible;
|
2021-11-11 02:43:31 -05:00
|
|
|
overflow: visible;
|
2021-11-08 21:17:17 -05:00
|
|
|
opacity: 1;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
min-width: 200px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container {
|
|
|
|
left: 0;
|
|
|
|
top: 100%;
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
|
|
|
.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
|
|
|
|
left: 100%;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-23 00:40:38 -05:00
|
|
|
.wp-block-navigation-submenu {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
.wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg {
|
|
|
|
stroke: currentColor;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.wp-block-navigation-item__content {
|
|
|
|
background-color: transparent;
|
|
|
|
border: none;
|
|
|
|
color: currentColor;
|
|
|
|
font-size: inherit;
|
|
|
|
font-family: inherit;
|
|
|
|
line-height: inherit;
|
2022-07-04 08:06:43 -04:00
|
|
|
font-style: inherit;
|
|
|
|
font-weight: inherit;
|
|
|
|
text-transform: inherit;
|
2021-11-23 00:40:38 -05:00
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-navigation-submenu__toggle {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2022-04-12 11:12:47 -04:00
|
|
|
.wp-block-navigation-item.open-on-click .wp-block-navigation-submenu__toggle {
|
|
|
|
padding-right: 0.85em;
|
|
|
|
}
|
|
|
|
.wp-block-navigation-item.open-on-click .wp-block-navigation-submenu__toggle + .wp-block-navigation__submenu-icon {
|
|
|
|
margin-left: -0.6em;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2021-11-08 21:17:17 -05:00
|
|
|
/**
|
|
|
|
* Margins
|
|
|
|
*/
|
2022-04-12 11:12:47 -04:00
|
|
|
.wp-block-navigation__responsive-container,
|
|
|
|
.wp-block-navigation__responsive-close,
|
|
|
|
.wp-block-navigation__responsive-dialog,
|
2021-11-08 21:17:17 -05:00
|
|
|
.wp-block-navigation,
|
|
|
|
.wp-block-navigation .wp-block-page-list,
|
|
|
|
.wp-block-navigation__container,
|
|
|
|
.wp-block-navigation__responsive-container-content {
|
2022-04-12 11:12:47 -04:00
|
|
|
gap: inherit;
|
2021-11-08 21:17:17 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-navigation:where(.has-background),
|
|
|
|
.wp-block-navigation:where(.has-background) .wp-block-navigation .wp-block-page-list,
|
|
|
|
.wp-block-navigation:where(.has-background) .wp-block-navigation__container {
|
2022-04-12 11:12:47 -04:00
|
|
|
gap: inherit;
|
2021-11-08 21:17:17 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Paddings
|
|
|
|
*/
|
|
|
|
.wp-block-navigation:where(.has-background) .wp-block-navigation-item__content {
|
|
|
|
padding: 0.5em 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-navigation :where(.wp-block-navigation__submenu-container) .wp-block-navigation-item__content {
|
|
|
|
padding: 0.5em 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Justifications.
|
|
|
|
*/
|
2021-11-15 07:50:17 -05:00
|
|
|
.wp-block-navigation.items-justified-space-between .wp-block-page-list > .has-child:last-child .wp-block-navigation__submenu-container,
|
2021-11-08 21:17:17 -05:00
|
|
|
.wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .wp-block-navigation__submenu-container,
|
|
|
|
.wp-block-navigation.items-justified-right .wp-block-page-list > .has-child .wp-block-navigation__submenu-container,
|
|
|
|
.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container {
|
2021-11-15 07:50:17 -05:00
|
|
|
left: auto;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
.wp-block-navigation.items-justified-space-between .wp-block-page-list > .has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,
|
|
|
|
.wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,
|
|
|
|
.wp-block-navigation.items-justified-right .wp-block-page-list > .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,
|
|
|
|
.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
|
|
|
|
left: -1px;
|
|
|
|
right: -1px;
|
|
|
|
}
|
|
|
|
@media (min-width: 782px) {
|
2021-11-08 21:17:17 -05:00
|
|
|
.wp-block-navigation.items-justified-space-between .wp-block-page-list > .has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,
|
|
|
|
.wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,
|
|
|
|
.wp-block-navigation.items-justified-right .wp-block-page-list > .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,
|
|
|
|
.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
|
|
|
|
left: auto;
|
|
|
|
right: 100%;
|
|
|
|
}
|
|
|
|
}
|
2021-11-15 07:50:17 -05:00
|
|
|
|
2021-11-08 21:17:17 -05:00
|
|
|
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
|
|
|
|
background-color: #fff;
|
|
|
|
color: #000;
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.15);
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-navigation__container {
|
2021-11-10 01:01:30 -05:00
|
|
|
display: flex;
|
2021-12-21 02:02:34 -05:00
|
|
|
flex-wrap: var(--navigation-layout-wrap, wrap);
|
|
|
|
flex-direction: var(--navigation-layout-direction, initial);
|
|
|
|
justify-content: var(--navigation-layout-justify, initial);
|
|
|
|
align-items: var(--navigation-layout-align, initial);
|
2021-11-08 21:17:17 -05:00
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
.wp-block-navigation__container .is-responsive {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-11-23 00:40:38 -05:00
|
|
|
.wp-block-navigation__container:only-child,
|
|
|
|
.wp-block-page-list:only-child {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
2021-11-08 21:17:17 -05:00
|
|
|
/**
|
|
|
|
* Mobile menu.
|
|
|
|
*/
|
|
|
|
.wp-block-navigation__responsive-container {
|
|
|
|
display: none;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content {
|
2021-11-10 01:01:30 -05:00
|
|
|
display: flex;
|
2021-12-21 02:02:34 -05:00
|
|
|
flex-wrap: var(--navigation-layout-wrap, wrap);
|
|
|
|
flex-direction: var(--navigation-layout-direction, initial);
|
|
|
|
justify-content: var(--navigation-layout-justify, initial);
|
|
|
|
align-items: var(--navigation-layout-align, initial);
|
2021-11-08 21:17:17 -05:00
|
|
|
}
|
2021-11-23 00:40:38 -05:00
|
|
|
.wp-block-navigation__responsive-container:not(.is-menu-open.is-menu-open) {
|
|
|
|
color: inherit !important;
|
|
|
|
background-color: inherit !important;
|
|
|
|
}
|
2021-11-08 21:17:17 -05:00
|
|
|
.wp-block-navigation__responsive-container.is-menu-open {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-12-21 02:02:34 -05:00
|
|
|
background-color: inherit;
|
2022-04-12 11:12:47 -04:00
|
|
|
padding: 2rem;
|
2021-11-08 21:17:17 -05:00
|
|
|
overflow: auto;
|
|
|
|
z-index: 100000;
|
|
|
|
}
|
|
|
|
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
|
2022-04-12 11:12:47 -04:00
|
|
|
padding-top: calc(2rem + 24px);
|
2021-12-21 02:02:34 -05:00
|
|
|
overflow: visible;
|
2021-11-08 21:17:17 -05:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-12-21 02:02:34 -05:00
|
|
|
flex-wrap: nowrap;
|
|
|
|
align-items: var(--navigation-layout-justification-setting, inherit);
|
2021-11-08 21:17:17 -05:00
|
|
|
}
|
2021-12-06 01:20:27 -05:00
|
|
|
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
|
2021-12-13 20:57:26 -05:00
|
|
|
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list,
|
2021-12-06 01:20:27 -05:00
|
|
|
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
2021-11-08 21:17:17 -05:00
|
|
|
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .submenu-container,
|
|
|
|
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container {
|
|
|
|
opacity: 1;
|
|
|
|
visibility: visible;
|
|
|
|
height: auto;
|
|
|
|
width: auto;
|
|
|
|
overflow: initial;
|
|
|
|
min-width: 200px;
|
|
|
|
position: static;
|
|
|
|
border: none;
|
2022-04-12 11:12:47 -04:00
|
|
|
padding-left: 2rem;
|
|
|
|
padding-right: 2rem;
|
2021-11-08 21:17:17 -05:00
|
|
|
}
|
|
|
|
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container,
|
|
|
|
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
|
2022-04-12 11:12:47 -04:00
|
|
|
gap: inherit;
|
2021-11-08 21:17:17 -05:00
|
|
|
}
|
2021-12-21 02:02:34 -05:00
|
|
|
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
|
2021-11-08 21:17:17 -05:00
|
|
|
padding-top: var(--wp--style--block-gap, 2em);
|
|
|
|
}
|
|
|
|
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,
|
|
|
|
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item,
|
|
|
|
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-12-21 02:02:34 -05:00
|
|
|
align-items: var(--navigation-layout-justification-setting, initial);
|
2021-11-08 21:17:17 -05:00
|
|
|
}
|
|
|
|
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item .wp-block-navigation__submenu-container,
|
2021-11-23 00:40:38 -05:00
|
|
|
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,
|
|
|
|
.wp-block-navigation__responsive-container.is-menu-open .wp-block-page-list {
|
2021-11-08 21:17:17 -05:00
|
|
|
color: inherit !important;
|
|
|
|
background: transparent !important;
|
|
|
|
}
|
|
|
|
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container {
|
|
|
|
right: auto;
|
|
|
|
left: auto;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
|
2021-11-10 01:01:30 -05:00
|
|
|
display: block;
|
2021-11-08 21:17:17 -05:00
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
2021-11-15 07:50:17 -05:00
|
|
|
z-index: auto;
|
2021-11-08 21:17:17 -05:00
|
|
|
background-color: inherit;
|
|
|
|
}
|
|
|
|
.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
|
|
|
|
background-color: #fff;
|
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
|
2022-04-12 11:12:47 -04:00
|
|
|
.wp-block-navigation__toggle_button_label {
|
|
|
|
font-size: 1rem;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2021-11-08 21:17:17 -05:00
|
|
|
.wp-block-navigation__responsive-container-open,
|
|
|
|
.wp-block-navigation__responsive-container-close {
|
|
|
|
vertical-align: middle;
|
|
|
|
cursor: pointer;
|
|
|
|
color: currentColor;
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.wp-block-navigation__responsive-container-open svg,
|
|
|
|
.wp-block-navigation__responsive-container-close svg {
|
|
|
|
fill: currentColor;
|
|
|
|
pointer-events: none;
|
|
|
|
display: block;
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-navigation__responsive-container-open {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.wp-block-navigation__responsive-container-open:not(.always-shown) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-navigation__responsive-container-close {
|
|
|
|
position: absolute;
|
2021-12-21 02:02:34 -05:00
|
|
|
top: 0;
|
|
|
|
right: 0;
|
2021-11-08 21:17:17 -05:00
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-navigation__responsive-close {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2022-04-12 11:12:47 -04:00
|
|
|
.wp-block-navigation__responsive-close:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
2021-11-08 21:17:17 -05:00
|
|
|
|
|
|
|
.is-menu-open .wp-block-navigation__responsive-close,
|
|
|
|
.is-menu-open .wp-block-navigation__responsive-dialog,
|
|
|
|
.is-menu-open .wp-block-navigation__responsive-container-content {
|
2021-12-21 02:02:34 -05:00
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-navigation__responsive-dialog {
|
|
|
|
position: relative;
|
2021-11-08 21:17:17 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
html.has-modal-open {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|