diff --git a/.playground/blueprint.json b/.playground/blueprint.json new file mode 100644 index 0000000..8c9fb60 --- /dev/null +++ b/.playground/blueprint.json @@ -0,0 +1,38 @@ +{ + "$schema": "https://playground.wordpress.net/blueprint-schema.json", + "preferredVersions": { + "php": "8.3", + "wp": "latest" + }, + "features": { + "networking": true + }, + "steps": [ + { + "step": "installTheme", + "themeZipFile": { + "resource": "url", + "url": "https://github-proxy.com/proxy/?repo=eighteen73/pulsar&branch=main" + }, + "options": { + "activate": true + } + }, + { + "step": "installPlugin", + "pluginZipFile": { + "resource": "url", + "url": "https://github-proxy.com/proxy/?repo=eighteen73/pulsar-blocks&branch=main" + } + }, + { + "step": "runPHP", + "code": "query('delete from wp_posts');" + }, + { + "step": "login", + "username": "admin", + "password": "password" + } + ] +} diff --git a/README.md b/README.md index 75c9a04..167b4e8 100644 --- a/README.md +++ b/README.md @@ -1,64 +1,23 @@ # Pulsar
- WordPress starter theme for a modern development workflow + WordPress starter block theme for a modern development workflow
+## Demo + +The theme demo is hosted on WordPress Playground, which is a system that runs WordPress directly in your browser. You can fully test the theme as if you were running it on your own site. + +[Playground Demo](https://playground.wordpress.net/?blueprint-url=https://raw.githubusercontent.com/eighteen73/pulsar/.playground/blueprint.json) + ## Requirements Make sure all dependencies have been installed before moving on: -- [WordPress](https://wordpress.org/) >= 5.9 +- [WordPress](https://wordpress.org/) >= 6.6 - [PHP](https://secure.php.net/manual/en/install.php) >= 7.4.0 - [Node.js](http://nodejs.org/) >= 16 -## Theme structure - -```sh -themes/your-theme-name/ # → Root of your theme -├── blocks/ # → Custom blocks -├── config/ # → Theme configuration files -│ ├── bindings.php # → Theme container bindings -│ ├── block-patterns.php # → Custom block patterns -│ ├── block-styles.php # → Custom block styles -│ ├── blocks.php # → All enabled blocks -│ └── browsersync.json # → Developer-specific configuration for BrowserSync (if wanted) -├── includes/ # → Theme functions and classes -│ └── classes/ # → Theme classes (autoloaded) -│ ├── Contracts/ # → Interfaces and Traits -│ ├── Editor/ # → Editor specific classes -│ ├── Blocks.php # → Registration of custom blocks -│ ├── Patterns.php # → Block pattern management -│ ├── Styles.php # → Block styles management -│ └── Tools/ # → Various tools used throughout the theme -│ └── Svg.php # → Allows manipulating SVGs and inlining them -│ ├── Enqueue.php # → Theme assets -│ └── Setup.php # → Theme setup -│ └── template-tags/ # → Theme template tags -│ ├── autoload.php # → Theme autoloader -│ ├── compat.php # → Theme compatibility -│ └── theme.php # → Theme mini container -├── dist/ # → Built theme assets (never edit) -├── parts/ # → Theme partial template files -├── patterns/ # → Theme block pattern template files -├── node_modules/ # → Node.js packages (never edit) -├── src/ # → Theme assets and templates -│ ├── css/ # → Theme stylesheets -│ ├── fonts/ # → Theme fonts -│ ├── img/ # → Theme images -│ ├── js/ # → Theme javascript -│ ├── svg/ # → Theme SVGs -├── templates/ # → Theme custom template files -├── functions.php # → Theme bootloader -├── package.json # → Node.js dependencies and scripts -├── screenshot.png # → Theme screenshot for WP admin -├── style.css # → Theme meta information -``` - -## Theme setup - -Edit `app/Setup.php` to enable or disable theme features, setup navigation menus, post thumbnail sizes, and sidebars. - ## Theme development - Run `npm install` from the theme directory to install dependencies diff --git a/assets/fonts/inter/InterVariable-Italic.woff2 b/assets/fonts/inter/InterVariable-Italic.woff2 new file mode 100644 index 0000000..f22ec25 Binary files /dev/null and b/assets/fonts/inter/InterVariable-Italic.woff2 differ diff --git a/assets/fonts/inter/InterVariable.woff2 b/assets/fonts/inter/InterVariable.woff2 new file mode 100644 index 0000000..22a12b0 Binary files /dev/null and b/assets/fonts/inter/InterVariable.woff2 differ diff --git a/assets/svg/navigation-submenu-all.svg b/assets/svg/navigation-submenu-all.svg new file mode 100644 index 0000000..46ec4eb --- /dev/null +++ b/assets/svg/navigation-submenu-all.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/svg/navigation-back.svg b/assets/svg/navigation-submenu-back.svg similarity index 100% rename from assets/svg/navigation-back.svg rename to assets/svg/navigation-submenu-back.svg diff --git a/assets/svg/navigation-submenu.svg b/assets/svg/navigation-submenu.svg new file mode 100644 index 0000000..7b72324 --- /dev/null +++ b/assets/svg/navigation-submenu.svg @@ -0,0 +1 @@ + diff --git a/config/bindings.php b/config/bindings.php index 040c15d..5659c55 100644 --- a/config/bindings.php +++ b/config/bindings.php @@ -14,4 +14,5 @@ Pulsar\Editor\Patterns::class, Pulsar\Editor\TemplateParts::class, Pulsar\Editor\Render\Navigation::class, + Pulsar\ThirdParty\GravityForms::class, ]; diff --git a/config/theme-json/base.json b/config/theme-json/base.json index 0da29ef..a471d8f 100644 --- a/config/theme-json/base.json +++ b/config/theme-json/base.json @@ -1,4 +1,4 @@ { "$schema": "https://schemas.wp.org/trunk/theme.json", - "version": 2 + "version": 3 } diff --git a/config/theme-json/customTemplates.json b/config/theme-json/customTemplates.json index e4e1e12..c810a10 100644 --- a/config/theme-json/customTemplates.json +++ b/config/theme-json/customTemplates.json @@ -1,5 +1,5 @@ { "$schema": "https://schemas.wp.org/trunk/theme.json", - "version": 2, + "version": 3, "customTemplates": [] } diff --git a/config/theme-json/settings.background.json b/config/theme-json/settings.background.json new file mode 100644 index 0000000..e3169fc --- /dev/null +++ b/config/theme-json/settings.background.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://schemas.wp.org/trunk/theme.json", + "version": 3, + "settings": { + "background": { + "backgroundImage": false, + "backgroundSize": false + } + } +} diff --git a/config/theme-json/settings.blocks.json b/config/theme-json/settings.blocks.json index f0cc0e9..ce9ed75 100644 --- a/config/theme-json/settings.blocks.json +++ b/config/theme-json/settings.blocks.json @@ -1,6 +1,6 @@ { "$schema": "https://schemas.wp.org/trunk/theme.json", - "version": 2, + "version": 3, "settings": { "blocks": { "core/button": { @@ -10,7 +10,7 @@ }, "core/column": { "spacing": { - "units": ["%"] + "units": ["%", "px", "vw"] } }, "core/group": { @@ -20,24 +20,7 @@ }, "core/heading": { "color": { - "text": true, - "palette": [ - { - "name": "Primary", - "slug": "primary", - "color": "var(--wp--custom--color--primary)" - }, - { - "name": "Secondary", - "slug": "secondary", - "color": "var(--wp--custom--color--secondary)" - }, - { - "name": "Tertiary", - "slug": "tertiary", - "color": "var(--wp--custom--color--tertiary)" - } - ] + "text": true } } } diff --git a/config/theme-json/settings.border.json b/config/theme-json/settings.border.json new file mode 100644 index 0000000..b09c0ee --- /dev/null +++ b/config/theme-json/settings.border.json @@ -0,0 +1,12 @@ +{ + "$schema": "https://schemas.wp.org/trunk/theme.json", + "version": 3, + "settings": { + "border": { + "color": false, + "radius": false, + "style": false, + "width": false + } + } +} diff --git a/config/theme-json/settings.color.json b/config/theme-json/settings.color.json index 1215c06..ff6e57f 100644 --- a/config/theme-json/settings.color.json +++ b/config/theme-json/settings.color.json @@ -1,6 +1,6 @@ { "$schema": "https://schemas.wp.org/trunk/theme.json", - "version": 2, + "version": 3, "settings": { "color": { "background": false, @@ -17,17 +17,22 @@ { "name": "Primary", "slug": "primary", - "color": "var(--wp--custom--color--primary)" + "color": "var:custom|color|primary|500" }, { "name": "Secondary", "slug": "secondary", - "color": "var(--wp--custom--color--secondary)" + "color": "var:custom|color|secondary|500" }, - { - "name": "Tertiary", - "slug": "tertiary", - "color": "var(--wp--custom--color--tertiary)" + { + "name": "Neutral: 0", + "slug": "neutral-0", + "color": "var:custom|color|neutral|0" + }, + { + "name": "Neutral: 1000", + "slug": "neutral-1000", + "color": "var:custom|color|neutral|1000" } ], "text": false diff --git a/config/theme-json/settings.custom.json b/config/theme-json/settings.custom.json index 3d03a80..b226582 100644 --- a/config/theme-json/settings.custom.json +++ b/config/theme-json/settings.custom.json @@ -1,24 +1,112 @@ { "$schema": "https://schemas.wp.org/trunk/theme.json", - "version": 2, + "version": 3, "settings": { "custom": { "color": { - "primary": "#DD93B5", - "secondary": "#F47733", - "tertiary": "#0F5B66", - "error": "#d4351c", - "success": "#00703c", - "focus": "#fd0", - "base": "#fff", - "contrast": "#000" + "neutral": { + "0": "#ffffff", + "50": "#F5F6F7", + "100": "#EDEFF1", + "200": "#D8DCDF", + "300": "#B5BEC4", + "400": "#8D9AA3", + "500": "#6F7E88", + "600": "#5A666F", + "700": "#49535B", + "800": "#3F474D", + "900": "#383D42", + "950": "#25282C", + "1000": "#000000" + }, + "primary": { + "50": "#F4F6FB", + "100": "#E8ECF6", + "200": "#CBD8EC", + "300": "#9DB7DC", + "400": "#6890C8", + "500": "#4573B2", + "600": "#335A96", + "700": "#2B4879", + "800": "#273E65", + "900": "#253655", + "950": "#090D15" + }, + "secondary": { + "50": "#F6F4FB", + "100": "#ECE8F6", + "200": "#D1CBEC", + "300": "#A89DDC", + "400": "#7868C8", + "500": "#5745B2", + "600": "#463396", + "700": "#3B2B79", + "800": "#342765", + "900": "#302555", + "950": "#0C0915" + }, + "error": { + "100": "#FFCDD2", + "500": "#F44336", + "900": "#B71C1C" + }, + "warning": { + "100": "#F9EACC", + "500": "#EDB95E", + "900": "#C75F18" + }, + "success": { + "100": "#E0F4D3", + "500": "#67C23A", + "900": "#29491E" + }, + "text": { + "default": "var:custom|color|neutral|900", + "primary": "var:custom|color|neutral|950", + "secondary": "var:custom|color|neutral|700", + "accent": "var:custom|color|primary|500", + "invert": "var:custom|color|neutral|0", + "active": "var:custom|color|neutral|400", + "inactive": "var:custom|color|neutral|400", + "error": "var:custom|color|error|900", + "warning": "var:custom|color|warning|900", + "success": "var:custom|color|success|900", + "link": "var:custom|color|primary|500", + "link-invert": "var:custom|color|primary|200" + }, + "surface": { + "default": "var:custom|color|neutral|0", + "primary": "var:custom|color|primary|500", + "secondary": "var:custom|color|secondary|500", + "accent": "var:custom|color|primary|50", + "invert": "var:custom|color|neutral|1000", + "active": "var:custom|color|neutral|400", + "inactive": "var:custom|color|neutral|400", + "error": "var:custom|color|error|100", + "warning": "var:custom|color|warning|100", + "success": "var:custom|color|success|100" + }, + "border": { + "default": "var:custom|color|neutral|500", + "primary": "var:custom|color|primary|500", + "invert": "var:custom|color|neutral|0", + "active": "var:custom|color|secondary|500", + "inactive": "var:custom|color|neutral|200", + "error": "var:custom|color|error|500", + "warning": "var:custom|color|warning|500", + "success": "var:custom|color|success|500" + } }, "layout": { - "content": "1280px", - "wide": "1536px", - "padding": "var(--wp--preset--spacing--2-xl)", - "blockGap": "var(--wp--preset--spacing--xl)", - "blockGapSection": "var(--wp--preset--spacing--5-xl)" + "content": "768px", + "wide": "1536px" + }, + "spacing": { + "blockGap": "var:preset|spacing|lg", + "groupGap": "var:preset|spacing|4-xl", + "rowGap": "var:preset|spacing|2-xl", + "columnGap": "var:preset|spacing|2-xl", + "edge": "clamp(var(--wp--preset--spacing--xl), 5.3333px + 5.8333vw, var(--wp--preset--spacing--4-xl))" }, "lineHeight": { "none": "1", @@ -28,9 +116,32 @@ "relaxed": "1.625", "loose": "2" }, + "letterSpacing": { + "tighter": "-0.05em", + "tight": "-0.025em", + "normal": "0em", + "wide": "0.025em", + "wider": "0.05em" + }, + "borderRadius": { + "2-xs": "4px", + "xs": "8px", + "sm": "clamp(10px, 1.5vw, 16px)", + "md": "clamp(16px, 2.5vw, 24px)", + "lg": "clamp(24px, 3.5vw, 48px)", + "xl": "clamp(48px, 4.5vw, 96px)", + "full": "100%" + }, + "boxShadow": { + "2-xs": "0 1px 2px 0 hsl(from var(--wp--custom--color--neutral--500) h s l / 0.5)", + "xs": "0 4px 6px -1px hsl(from var(--wp--custom--color--neutral--500) h s l / 0.1), 0 2px 4px -1px hsl(from var(--wp--custom--color--neutral--500) h s l / 0.06)", + "sm": "0 10px 15px -3px hsl(from var(--wp--custom--color--neutral--500) h s l / 0.1), 0 4px 6px -2px hsl(from var(--wp--custom--color--neutral--500) h s l / 0.05)", + "md": "0 20px 25px -5px hsl(from var(--wp--custom--color--neutral--500) h s l / 0.1), 0 10px 10px -5px hsl(from var(--wp--custom--color--neutral--500) h s l / 0.04)", + "lg": "0 25px 50px -12px hsl(from var(--wp--custom--color--neutral--500) h s l / 0.25)" + }, "transitionDuration": { "quick": "100ms", - "base": "250ms", + "normal": "250ms", "slow": "600ms" } } diff --git a/config/theme-json/settings.dimensions.json b/config/theme-json/settings.dimensions.json new file mode 100644 index 0000000..5d2e919 --- /dev/null +++ b/config/theme-json/settings.dimensions.json @@ -0,0 +1,38 @@ +{ + "$schema": "https://schemas.wp.org/trunk/theme.json", + "version": 3, + "settings": { + "dimensions": { + "aspectRatio": true, + "aspectRatios": [ + { + "name": "Square - 1:1", + "slug": "square", + "ratio": "1" + }, + { + "name": "Standard - 4:3", + "slug": "4-3", + "ratio": "4/3" + }, + { + "name": "Classic - 3:2", + "slug": "3-2", + "ratio": "3/2" + }, + { + "name": "Wide - 16:9", + "slug": "16-9", + "ratio": "16/9" + }, + { + "name": "Portrait - 3:4", + "slug": "3-4", + "ratio": "3/4" + } + ], + "defaultAspectRatios": false, + "minHeight": false + } + } +} diff --git a/config/theme-json/settings.general.json b/config/theme-json/settings.general.json index 72b50e2..6ede1d4 100644 --- a/config/theme-json/settings.general.json +++ b/config/theme-json/settings.general.json @@ -1,6 +1,6 @@ { "$schema": "https://schemas.wp.org/trunk/theme.json", - "version": 2, + "version": 3, "settings": { "appearanceTools": false, "useRootPaddingAwareAlignments": true diff --git a/config/theme-json/settings.layout.json b/config/theme-json/settings.layout.json index a29bb07..9c68d35 100644 --- a/config/theme-json/settings.layout.json +++ b/config/theme-json/settings.layout.json @@ -1,10 +1,12 @@ { "$schema": "https://schemas.wp.org/trunk/theme.json", - "version": 2, + "version": 3, "settings": { "layout": { - "contentSize": "var(--wp--custom--layout--content)", - "wideSize": "var(--wp--custom--layout--wide)" + "allowCustomContentAndWideSize": false, + "allowEditing": true, + "contentSize": "var:custom|layout|content", + "wideSize": "var:custom|layout|wide" } } } diff --git a/config/theme-json/settings.lightbox.json b/config/theme-json/settings.lightbox.json new file mode 100644 index 0000000..00f6e9c --- /dev/null +++ b/config/theme-json/settings.lightbox.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://schemas.wp.org/trunk/theme.json", + "version": 3, + "settings": { + "lightbox": { + "enabled": true, + "allowEditing": false + } + } +} diff --git a/config/theme-json/settings.position.json b/config/theme-json/settings.position.json new file mode 100644 index 0000000..e8e5bd9 --- /dev/null +++ b/config/theme-json/settings.position.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://schemas.wp.org/trunk/theme.json", + "version": 3, + "settings": { + "position": { + "sticky": false + } + } +} diff --git a/config/theme-json/settings.shadow.json b/config/theme-json/settings.shadow.json new file mode 100644 index 0000000..bc699d5 --- /dev/null +++ b/config/theme-json/settings.shadow.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://schemas.wp.org/trunk/theme.json", + "version": 3, + "settings": { + "shadow": { + "defaultPresets": false, + "presets": [] + } + } +} diff --git a/config/theme-json/settings.spacing.json b/config/theme-json/settings.spacing.json index 162e295..dcf433c 100644 --- a/config/theme-json/settings.spacing.json +++ b/config/theme-json/settings.spacing.json @@ -1,61 +1,83 @@ { "$schema": "https://schemas.wp.org/trunk/theme.json", - "version": 2, + "version": 3, "settings": { "spacing": { "blockGap": true, + "defaultSpacingSizes": false, + "customSpacingSize": false, "margin": true, "padding": true, "spacingSizes": [ { - "name": "4px", + "name": "2XS (4px)", "size": "4px", - "slug": "xs" + "slug": "2-xs" }, { - "name": "8px", + "name": "XS (8px)", "size": "8px", + "slug": "xs" + }, + { + "name": "SM (12px)", + "size": "clamp(10px, 6.6667px + 0.4167vw, 12px)", "slug": "sm" }, { - "name": "12px", - "size": "12px", + "name": "MD (16px)", + "size": "clamp(12px, 10.6667px + 0.4167vw, 16px)", "slug": "md" }, { - "name": "16px", - "size": "16px", + "name": "LG (24px)", + "size": "clamp(16px, 13.3333px + 0.8333vw, 24px)", "slug": "lg" }, { - "name": "24px", - "size": "clamp(18px, 2vw, 24px)", + "name": "XL (32px)", + "size": "clamp(24px, 21.3333px + 0.8333vw, 32px)", "slug": "xl" }, { - "name": "32px", - "size": "clamp(24px, 2vw, 32px)", + "name": "2XL (48px)", + "size": "clamp(32px, 26.6667px + 1.6667vw, 48px)", "slug": "2-xl" }, { - "name": "48px", - "size": "clamp(32px, 2vw, 48px)", + "name": "3XL (64px)", + "size": "clamp(40px, 42.6667px + 1.6667vw, 64px)", "slug": "3-xl" }, { - "name": "64px", - "size": "clamp(48px, 2vw, 64px)", + "name": "4XL (80px)", + "size": "clamp(48px, 37.3333px + 3.3333vw, 80px)", "slug": "4-xl" }, { - "name": "96px", - "size": "clamp(64px, 2vw, 96px)", + "name": "5XL (96px)", + "size": "clamp(64px, 53.3333px + 3.3333vw, 96px)", "slug": "5-xl" }, - { - "name": "144px", - "size": "clamp(96px, 2vw, 144px)", + { + "name": "6XL (112px)", + "size": "clamp(80px, 69.3333px + 3.3333vw, 112px)", "slug": "6-xl" + }, + { + "name": "7XL (128px)", + "size": "clamp(96px, 85.3333px + 3.3333vw, 128px)", + "slug": "7-xl" + }, + { + "name": "8XL (154px)", + "size": "clamp(128px, 119.3333px + 2.7083vw, 154px)", + "slug": "8-xl" + }, + { + "name": "9XL (186px)", + "size": "clamp(154px, 143.3333px + 3.3333vw, 186px)", + "slug": "9-xl" } ], "units": ["%", "px", "em", "rem", "vh", "vw"] diff --git a/config/theme-json/settings.typography.json b/config/theme-json/settings.typography.json index 0f21463..273c228 100644 --- a/config/theme-json/settings.typography.json +++ b/config/theme-json/settings.typography.json @@ -1,86 +1,122 @@ { "$schema": "https://schemas.wp.org/trunk/theme.json", - "version": 2, + "version": 3, "settings": { "typography": { "customFontSize": false, + "defaultFontSizes": false, "dropCap": false, "fluid": true, "fontFamilies": [ { - "name": "Sans", - "slug": "sans", - "fontFamily": "ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"" - }, - { - "name": "Serif", - "slug": "serif", - "fontFamily": "ui-serif, Georgia, Cambria, \"Times New Roman\", Times, serif" + "name": "Primary", + "slug": "primary", + "fontFamily": "'Inter', sans-serif", + "fontFace": [ + { + "fontFamily": "Inter", + "fontStyle": "auto", + "fontWeight": "100 900", + "fontDisplay": "swap", + "fontStretch": "normal", + "src": [ + "file:./assets/fonts/inter/InterVariable-Italic.woff2", + "file:./assets/fonts/inter/InterVariable.woff2" + ] + } + ] } ], "fontSizes": [ - { - "name": "Small", + { + "name": "2XS", + "slug": "2-xs", + "size": "11px", + "fluid": false + }, + { + "name": "XS", + "slug": "xs", + "size": "12px", + "fluid": false + }, + { + "name": "SM", "slug": "sm", "size": "14px", - "fluid": { - "min": "12px", - "max": "14px" - } + "fluid": false }, { - "name": "Base", - "slug": "base", - "size": "18px", - "fluid": { - "min": "16px", - "max": "18px" - } - }, - { - "name": "Medium", + "name": "MD", "slug": "md", - "size": "22px", - "fluid": { - "min": "18px", - "max": "22px" - } + "size": "16px", + "fluid": false }, { - "name": "Large", + "name": "LG", "slug": "lg", - "size": "28px", - "fluid": { - "min": "22px", - "max": "28px" - } + "size": "18px", + "fluid": false }, { "name": "XL", "slug": "xl", - "size": "35px", - "fluid": { - "min": "28px", - "max": "35px" - } + "size": "20px", + "fluid": false }, { "name": "2XL", "slug": "2-xl", - "size": "44px", + "size": "25px", "fluid": { - "min": "35px", - "max": "44px" + "min": "23px", + "max": "25px" } }, { "name": "3XL", "slug": "3-xl", + "size": "30px", + "fluid": { + "min": "25px", + "max": "30px" + } + }, + { + "name": "4XL", + "slug": "4-xl", + "size": "37px", + "fluid": { + "min": "28px", + "max": "37px" + } + }, + { + "name": "5XL", + "slug": "5-xl", + "size": "45px", + "fluid": { + "min": "32px", + "max": "45px" + } + }, + { + "name": "6XL", + "slug": "6-xl", "size": "55px", "fluid": { - "min": "44px", + "min": "37px", "max": "55px" } + }, + { + "name": "7XL", + "slug": "7-xl", + "size": "96px", + "fluid": { + "min": "37px", + "max": "96px" + } } ], "fontStyle": false, diff --git a/config/theme-json/styles.json b/config/theme-json/styles.json index 295a986..e3babb7 100644 --- a/config/theme-json/styles.json +++ b/config/theme-json/styles.json @@ -1,12 +1,33 @@ { "$schema": "https://schemas.wp.org/trunk/theme.json", - "version": 2, + "version": 3, "styles": { + "elements": { + "button": { + "border": { + "color": "", + "radius": "", + "width": "" + }, + "color": { + "background": "", + "text": "" + }, + "spacing": { + "padding": {} + }, + "typography": { + "lineHeight": "", + "fontSize": "", + "fontFamily": "" + } + } + }, "spacing": { - "blockGap": "var(--wp--custom--layout--block-gap)", + "blockGap": "var(--wp--custom--spacing--block-gap)", "padding": { - "right": "var(--wp--custom--layout--padding)", - "left": "var(--wp--custom--layout--padding)" + "left": "var(--wp--custom--spacing--edge)", + "right": "var(--wp--custom--spacing--edge)" } } } diff --git a/config/theme-json/templateParts.json b/config/theme-json/templateParts.json index 4b2f3ce..de78bd0 100644 --- a/config/theme-json/templateParts.json +++ b/config/theme-json/templateParts.json @@ -1,6 +1,6 @@ { "$schema": "https://schemas.wp.org/trunk/theme.json", - "version": 2, + "version": 3, "templateParts": [ { "area": "header", diff --git a/dist/blocks/example/block.json b/dist/blocks/example/block.json deleted file mode 100644 index df927d9..0000000 --- a/dist/blocks/example/block.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "$schema": "https://schemas.wp.org/trunk/block.json", - "apiVersion": 3, - "name": "pulsar/example", - "version": "0.1.0", - "title": "Example", - "category": "text", - "icon": "universal-access-alt", - "attributes": { - "message": { - "type": "string", - "default": "Hello from a dynamic block!" - } - }, - "example": { - "attributes": { - "message": "Example Dynamic Block" - } - }, - "supports": { - "html": false - }, - "textdomain": "pulsar", - "editorScript": "file:./index.js", - "editorStyle": "file:./index.css", - "style": "file:./style-index.css", - "render": "file:./render.php" -} \ No newline at end of file diff --git a/dist/blocks/example/index.asset.php b/dist/blocks/example/index.asset.php deleted file mode 100644 index e4c0493..0000000 --- a/dist/blocks/example/index.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-block-editor', 'wp-blocks', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => 'eaa9a49c0aebfcf666c1'); diff --git a/dist/blocks/example/index.css b/dist/blocks/example/index.css deleted file mode 100644 index 81bf502..0000000 --- a/dist/blocks/example/index.css +++ /dev/null @@ -1 +0,0 @@ -.wp-block-pulsar-example{border:5px dashed #000} diff --git a/dist/blocks/example/index.js b/dist/blocks/example/index.js deleted file mode 100644 index 3553787..0000000 --- a/dist/blocks/example/index.js +++ /dev/null @@ -1 +0,0 @@ -!function(){"use strict";var e,n={264:function(){var e=window.wp.blocks,n=JSON.parse('{"name":"pulsar/example"}'),r=window.wp.element,t=window.wp.blockEditor,o=window.wp.data,i=window.wp.i18n;const{name:a}=n;(0,e.registerBlockType)(a,{edit:function({attributes:{message:e},setAttributes:n}){const{title:a}=(0,o.useSelect)((e=>{var n;return null!==(n=e("core").getSite())&&void 0!==n?n:{}}));return(0,r.createElement)("p",{...(0,t.useBlockProps)()},(0,r.createElement)(t.RichText,{tagName:"span",value:e,onChange:e=>n({message:e})}),(0,r.createElement)("span",null," | ",null!=a?a:(0,i.__)("loading…")))}})}},r={};function t(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}};return n[e](i,i.exports,t),i.exports}t.m=n,e=[],t.O=function(n,r,o,i){if(!r){var a=1/0;for(c=0;c> - -
diff --git a/dist/blocks/example/style-index.css b/dist/blocks/example/style-index.css deleted file mode 100644 index b501b73..0000000 --- a/dist/blocks/example/style-index.css +++ /dev/null @@ -1 +0,0 @@ -.wp-block-pulsar-example{background-color:#21759b;color:#fff;padding:2px} diff --git a/dist/blocks/template-part/index.asset.php b/dist/blocks/template-part/index.asset.php index c39d09d..60dc823 100644 --- a/dist/blocks/template-part/index.asset.php +++ b/dist/blocks/template-part/index.asset.php @@ -1 +1 @@ - array('wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-server-side-render'), 'version' => 'a7d7b122d257486df1c1'); + array('wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-server-side-render'), 'version' => '7d7d3ec8e23a96979f3a'); diff --git a/dist/blocks/template-part/index.js b/dist/blocks/template-part/index.js index 65a2d68..86fdd4e 100644 --- a/dist/blocks/template-part/index.js +++ b/dist/blocks/template-part/index.js @@ -1 +1 @@ -!function(){"use strict";var e={n:function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},d:function(t,r){for(var l in r)e.o(r,l)&&!e.o(t,l)&&Object.defineProperty(t,l,{enumerable:!0,get:r[l]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},t=window.wp.blocks,r=window.wp.element,l=window.wp.primitives,n=(0,r.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(l.Path,{d:"M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-17.6 1L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z"})),o=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"pulsar/template-part","description":"Allows using PHP templates for template parts.","version":"0.1.0","title":"Theme Template Part","category":"text","supports":{"html":false,"reusable":false,"inserter":true,"lock":true,"multiple":true,"interactivity":{"clientNavigation":true}},"usesContext":["postId","postType","queryId"],"attributes":{"slug":{"type":"string"},"lock":{"type":"object","default":{"move":true,"remove":true}}},"textdomain":"pulsar","editorScript":"file:./index.js","render":"file:./render.php"}'),a=window.wp.blockEditor,s=window.wp.components,i=window.wp.serverSideRender,p=e.n(i),c=window.wp.apiFetch,u=e.n(c),m=window.wp.i18n;const{name:w}=o;(0,t.registerBlockType)(w,{...o,icon:n,edit:function({attributes:{slug:e},setAttributes:t}){const l=(0,a.useBlockProps)(),[n,o]=(0,r.useState)([]);return(0,r.useEffect)((()=>{u()({path:"/pulsar/v1/template-parts"}).then((e=>{o(e)})).catch((e=>{console.error(e)}))}),[]),(0,r.createElement)("div",{...l},(0,r.createElement)(a.InspectorControls,null,(0,r.createElement)(s.PanelBody,{title:"Settings"},(0,r.createElement)(s.SelectControl,{label:(0,m.__)("Template Part","pulsar"),value:e,options:[{label:(0,m.__)("Select a theme template part","pulsar"),value:""},...n.sort(((e,t)=>e.title.localeCompare(t.title))).map((e=>({label:e.title,value:e.slug})))],onChange:e=>t({slug:e})}))),(0,r.createElement)(s.Disabled,null,(0,r.createElement)(p(),{block:"pulsar/template-part",attributes:{slug:e}})))}})}(); \ No newline at end of file +(()=>{"use strict";var e={n:t=>{var l=t&&t.__esModule?()=>t.default:()=>t;return e.d(l,{a:l}),l},d:(t,l)=>{for(var r in l)e.o(l,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:l[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.blocks,l=window.wp.element,r=window.wp.primitives,a=(0,l.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(r.Path,{d:"M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-17.6 1L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z"})),o=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"pulsar/template-part","description":"Allows using PHP templates for template parts.","version":"0.1.0","title":"Theme Template Part","category":"text","supports":{"html":false,"reusable":false,"inserter":true,"lock":true,"multiple":true,"interactivity":{"clientNavigation":true}},"usesContext":["postId","postType","queryId"],"attributes":{"slug":{"type":"string"},"lock":{"type":"object","default":{"move":true,"remove":true}}},"textdomain":"pulsar","editorScript":"file:./index.js","render":"file:./render.php"}'),s=window.wp.blockEditor,n=window.wp.components,p=window.wp.serverSideRender;var i=e.n(p);const c=window.wp.apiFetch;var u=e.n(c);const m=window.wp.i18n,{name:w}=o;(0,t.registerBlockType)(w,{...o,icon:a,edit:function({attributes:{slug:e},setAttributes:t}){const r=(0,s.useBlockProps)(),[a,o]=(0,l.useState)([]);return(0,l.useEffect)((()=>{u()({path:"/pulsar/v1/template-parts"}).then((e=>{o(e)})).catch((e=>{console.error(e)}))}),[]),(0,l.createElement)("div",{...r},(0,l.createElement)(s.InspectorControls,null,(0,l.createElement)(n.PanelBody,{title:"Settings"},(0,l.createElement)(n.SelectControl,{label:(0,m.__)("Template Part","pulsar"),value:e,options:[{label:(0,m.__)("Select a theme template part","pulsar"),value:""},...a.sort(((e,t)=>e.title.localeCompare(t.title))).map((e=>({label:e.title,value:e.slug})))],onChange:e=>t({slug:e})}))),(0,l.createElement)(n.Disabled,null,(0,l.createElement)(i(),{block:"pulsar/template-part",attributes:{slug:e}})))}})})(); \ No newline at end of file diff --git a/dist/css/app.asset.php b/dist/css/app.asset.php index a47dd50..b025cd3 100644 --- a/dist/css/app.asset.php +++ b/dist/css/app.asset.php @@ -1 +1 @@ - array(), 'version' => '038e52771a12b59a72c0'); + array(), 'version' => 'edae09af007e7b444f24'); diff --git a/dist/css/app.css b/dist/css/app.css index 6e0276f..10ef7d1 100644 --- a/dist/css/app.css +++ b/dist/css/app.css @@ -273,4 +273,4 @@ summary { display: list-item; } -html{scroll-behavior:smooth;scroll-snap-type:x mandatory}body{font-family:var(--wp--preset--font-family--sans);font-size:var(--wp--preset--font-size--base);line-height:var(--wp--custom--line-height--relaxed)}@media(min-width: 640px){body{--wp--custom--layout--content: 640px}}@media(min-width: 768px){body{--wp--custom--layout--content: 768px}}@media(min-width: 1024px){body{--wp--custom--layout--content: 1024px}}@media(min-width: 1280px){body{--wp--custom--layout--content: 1280px}}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{appearance:none;background-color:var(--wp--custom--color--base);border:2px solid var(--wp--custom--color--contrast);box-shadow:none;display:block;font-size:var(--wp--preset--font-size--base);line-height:var(--wp--custom--line-height--normal);padding-bottom:var(--wp--preset--spacing--sm);padding-left:var(--wp--preset--spacing--md);padding-right:var(--wp--preset--spacing--md);padding-top:var(--wp--preset--spacing--sm)}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{box-shadow:inset 0 0 0 2px;outline:3px solid var(--wp--custom--color--focus)}textarea{width:100%}input::placeholder,textarea::placeholder{color:var(--wp--custom--color--contrast);opacity:1}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right var(--wp--preset--spacing--sm) center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:var(--wp--preset--spacing--3-xl);-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:none;background-image:initial;background-position:0 0;background-position:initial;background-repeat:repeat;background-repeat:initial;background-size:auto auto;background-size:initial;-webkit-print-color-adjust:inherit;print-color-adjust:inherit}[type=checkbox],[type=radio]{appearance:none;background-color:var(--wp--custom--color--base);background-origin:border-box;border:1px solid var(--wp--custom--color--contrast);color:var(--wp--custom--color--contrast);display:inline-block;flex-shrink:0;height:16px;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;width:16px}[type=checkbox]:focus,[type=radio]:focus{box-shadow:inset 0 0 0 2px;outline:3px solid var(--wp--custom--color--focus)}[type=checkbox]:checked,[type=radio]:checked{background-color:currentcolor;background-position:center;background-repeat:no-repeat;background-size:100% 100%;border-color:rgba(0,0,0,0)}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{background-color:currentcolor;border-color:rgba(0,0,0,0)}[type=checkbox]{border-radius:none;margin-right:var(--wp--preset--spacing--xs)}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=checkbox]:indeterminate{background-color:currentcolor;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;background-size:100% 100%;border-color:rgba(0,0,0,0)}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{background-color:currentcolor;border-color:rgba(0,0,0,0)}[type=radio]{border-radius:100%;margin-right:var(--wp--preset--spacing--xs)}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=file]{background:transparent none repeat 0 0 / auto auto padding-box border-box scroll;background:initial;border-color:inherit;border-radius:0;border-width:0;font-size:inherit;line-height:inherit;padding:0}[type=file]:focus{box-shadow:inset 0 0 0 2px;outline:3px solid var(--wp--custom--color--focus)}label{display:block;margin-bottom:var(--wp--preset--spacing--sm)}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-bottom:0;padding-top:0}h1,h2,h3,h4{font-family:var(--wp--preset--font-family--serif);font-weight:600;line-height:var(--wp--custom--line-height--tight);margin-bottom:0}h1{font-size:var(--wp--preset--font-size--3-xl)}h2{font-size:var(--wp--preset--font-size--2-xl)}h3{font-size:var(--wp--preset--font-size--xl)}h4{font-size:var(--wp--preset--font-size--lg)}:where(a:not(.wp-element-button)){color:var(--wp--custom--color--contrast);-webkit-text-decoration:underline;text-decoration:underline}:where(a:not(.wp-element-button)):focus-visible{background-color:var(--wp--custom--color--focus)}:where(nav) :where(ul,ol){list-style:none;margin:0;padding:0}.site-header{padding-left:var(--wp--style--root--padding-left);padding-right:var(--wp--style--root--padding-right);margin:0;padding-bottom:var(--wp--preset--spacing--lg);padding-top:var(--wp--preset--spacing--lg);position:relative}.site-header>:where(:not(.alignleft):not(.alignright):not(.alignfull)){margin-left:auto;margin-right:auto;max-width:var(--wp--style--global--content-size)}.site-header__inner{align-items:center;display:flex;justify-content:space-between}.site-header__logo{font-family:inherit;font-size:inherit;line-height:1;margin:0}.site-header__logo-link{display:inline-block}.site-footer{padding-left:var(--wp--style--root--padding-left);padding-right:var(--wp--style--root--padding-right);margin:0;padding-bottom:var(--wp--preset--spacing--lg);padding-top:var(--wp--preset--spacing--lg)}.site-footer>:where(:not(.alignleft):not(.alignright):not(.alignfull)){margin-left:auto;margin-right:auto;max-width:var(--wp--style--global--content-size)}.site-main{margin:0}.has-open-menu{overflow:hidden}@media(min-width: 1024px){.has-open-menu{overflow:visible;overflow:initial}}.menu-primary__items{background-color:var(--wp--custom--color--base);display:flex;flex-direction:column;height:100vh;left:0;opacity:0;position:absolute;top:100%;transform:translateX(-100%);transition:all 300ms ease-in-out;visibility:hidden;width:100%}@media(min-width: 1024px){.menu-primary__items{flex-direction:row;height:auto;height:initial;max-width:none;max-width:initial;opacity:1;opacity:initial;position:static;position:initial;transform:none;transform:initial;visibility:inherit;width:auto;width:initial}}[aria-expanded=true]+.menu-primary__items{opacity:1;transform:translateX(0);visibility:visible}.menu-primary__sub-menu{display:none;flex-direction:column;width:100%}@media(min-width: 1024px){.menu-primary__sub-menu{background-color:var(--wp--custom--color--base);display:flex;left:0;opacity:0;position:absolute;top:100%;visibility:hidden}}[aria-expanded=true]+.menu-primary__sub-menu{display:flex;opacity:1;visibility:visible}.menu-primary__item:where(.has-children){display:flex;flex-wrap:wrap;position:relative}@media(min-width: 1024px){.menu-primary__item:where(.has-children){flex-wrap:nowrap}}.menu-primary__item:where(.has-mega-menu){position:static}.menu-primary__link{background-color:rgba(0,0,0,0);border:0;color:var(--wp--custom--color--contrast);cursor:pointer;display:block;font-size:inherit;line-height:1;padding:var(--wp--preset--spacing--sm);-webkit-text-decoration:none;text-decoration:none}.menu-primary__link:focus-visible{background-color:var(--wp--custom--color--focus);outline:none}.menu-primary__link-icon{height:10px;margin-left:var(--wp--preset--spacing--sm);width:10px}[aria-expanded=true]>.menu-primary__link-icon{transform:rotate(180deg)}.menu-primary__toggle{background-color:rgba(0,0,0,0);border:0;cursor:pointer;padding:0}@media(min-width: 1024px){.menu-primary__toggle{display:none}}.menu-primary__toggle-icon{width:32px}.menu-primary__sub-menu-toggle{background-color:rgba(0,0,0,0);border:0;cursor:pointer;padding:0}.hamburger__line{transform-origin:center;transition:y var(--wp--custom--transition-duration--quick) ease-in var(--wp--custom--transition-duration--quick), rotate var(--wp--custom--transition-duration--quick) ease-in, opacity 50ms var(--wp--custom--transition-duration--quick)}[aria-expanded=true] .hamburger__line{transition:y var(--wp--custom--transition-duration--quick) ease-in, rotate var(--wp--custom--transition-duration--quick) ease-in var(--wp--custom--transition-duration--quick), opacity 50ms}[aria-expanded=true] .hamburger__line--top{rotate:45deg;y:23px}[aria-expanded=true] .hamburger__line--middle{opacity:0}[aria-expanded=true] .hamburger__line--bottom{rotate:-45deg;y:23px}[x-cloak]{display:none !important}.container{padding-left:var(--wp--style--root--padding-left);padding-right:var(--wp--style--root--padding-right)}.container>:where(:not(.alignleft):not(.alignright):not(.alignfull)){margin-left:auto;margin-right:auto;max-width:var(--wp--style--global--content-size)} +body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin-block-end:0}html{scroll-behavior:smooth;scroll-snap-type:x mandatory}body{background-color:var(--wp--custom--color--surface--default);color:var(--wp--custom--color--text--default);font-family:var(--wp--preset--font-family--primary);font-size:var(--wp--preset--font-size--lg);-webkit-font-smoothing:antialiased;letter-spacing:var(--wp--custom--letter-spacing--tight);line-height:var(--wp--custom--line-height--normal)}@media(min-width: 640px){body{--wp--style--global--wide-size: 640px}}@media(min-width: 768px){body{--wp--style--global--wide-size: 768px}}@media(min-width: 1024px){body{--wp--style--global--wide-size: 1024px}}@media(min-width: 1280px){body{--wp--style--global--wide-size: 1280px}}@media(min-width: 1536px){body{--wp--style--global--wide-size: 1536px}}:target{scroll-margin-block:var(--wp--custom--spacing--group-gap)}button,input,optgroup,select,textarea{color:inherit;font:inherit;padding:0}label{display:block;margin-bottom:var(--wp--preset--spacing--sm)}label:last-child{margin-bottom:0}fieldset{border:0;margin:0;padding:0}legend{padding:0}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week]{appearance:none;background-color:var(--wp--custom--color--surface--default);border:1px solid var(--wp--custom--color--border--default);border-radius:0;box-shadow:none;display:block;font-family:inherit;font-size:var(--wp--preset--font-size--md);line-height:var(--wp--custom--line-height--normal);padding-block:var(--wp--preset--spacing--sm);padding-inline:var(--wp--preset--spacing--md);width:100%}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus{border-color:var(--wp--custom--color--border--active);box-shadow:var(--wp--custom--color--border--active) 0 0 0 1px;outline:2px solid rgba(0,0,0,0);outline-offset:2px}[type=text]:disabled,[type=email]:disabled,[type=url]:disabled,[type=password]:disabled,[type=number]:disabled,[type=date]:disabled,[type=datetime-local]:disabled,[type=month]:disabled,[type=search]:disabled,[type=tel]:disabled,[type=time]:disabled,[type=week]:disabled{border-color:var(--wp--custom--color--border--inactive);color:var(--wp--custom--color--text--disabled);cursor:not-allowed}[type=text] ::placeholder,[type=email] ::placeholder,[type=url] ::placeholder,[type=password] ::placeholder,[type=number] ::placeholder,[type=date] ::placeholder,[type=datetime-local] ::placeholder,[type=month] ::placeholder,[type=search] ::placeholder,[type=tel] ::placeholder,[type=time] ::placeholder,[type=week] ::placeholder{color:var(--wp--custom--color--text--disabled);opacity:1}textarea{appearance:none;background-color:var(--wp--custom--color--surface--default);border:1px solid var(--wp--custom--color--border--default);border-radius:0;box-shadow:none;display:block;font-family:inherit;font-size:var(--wp--preset--font-size--md);line-height:var(--wp--custom--line-height--normal);padding-block:var(--wp--preset--spacing--sm);padding-inline:var(--wp--preset--spacing--md);width:100%}textarea:focus{border-color:var(--wp--custom--color--border--active);box-shadow:var(--wp--custom--color--border--active) 0 0 0 1px;outline:2px solid rgba(0,0,0,0);outline-offset:2px}textarea:disabled{border-color:var(--wp--custom--color--border--inactive);color:var(--wp--custom--color--text--disabled);cursor:not-allowed}textarea ::placeholder{color:var(--wp--custom--color--text--disabled);opacity:1}select:where(:not([multiple])){appearance:none;border:1px solid var(--wp--custom--color--border--default);border-radius:0;box-shadow:none;display:block;font-family:inherit;font-size:var(--wp--preset--font-size--md);line-height:var(--wp--custom--line-height--normal);width:100%;background-color:var(--wp--custom--color--surface--default);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right var(--wp--preset--spacing--sm) center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-block:var(--wp--preset--spacing--sm);padding-left:var(--wp--preset--spacing--md);padding-right:var(--wp--preset--spacing--2-xl);-webkit-print-color-adjust:exact;print-color-adjust:exact}select:where(:not([multiple])):focus{border-color:var(--wp--custom--color--border--active);box-shadow:var(--wp--custom--color--border--active) 0 0 0 1px;outline:2px solid rgba(0,0,0,0);outline-offset:2px}select:where(:not([multiple])):disabled{border-color:var(--wp--custom--color--border--inactive);color:var(--wp--custom--color--text--disabled);cursor:not-allowed}select:where([multiple]){appearance:none;border:1px solid var(--wp--custom--color--border--default);border-radius:0;box-shadow:none;display:block;font-family:inherit;font-size:var(--wp--preset--font-size--md);line-height:var(--wp--custom--line-height--normal);width:100%;padding-block:var(--wp--preset--spacing--sm);padding-inline:var(--wp--preset--spacing--md)}select:where([multiple]):focus{border-color:var(--wp--custom--color--border--active);box-shadow:var(--wp--custom--color--border--active) 0 0 0 1px;outline:2px solid rgba(0,0,0,0);outline-offset:2px}select:where([multiple]):disabled{border-color:var(--wp--custom--color--border--inactive);color:var(--wp--custom--color--text--disabled);cursor:not-allowed}[type=checkbox]{appearance:none;background-color:var(--wp--custom--color--surface--default);background-origin:border-box;border:1px solid var(--wp--custom--color--border--default);border-radius:0;color:var(--wp--custom--color--surface--primary);display:inline-block;flex-shrink:0;height:16px;margin-right:var(--wp--preset--spacing--2-xs);padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;width:16px}[type=checkbox]:focus{box-shadow:var(--wp--custom--color--surface--default) 0 0 0 1px,var(--wp--custom--color--border--active) 0 0 0 3px;outline:2px solid rgba(0,0,0,0);outline-offset:2px}[type=checkbox]:checked{background-color:currentcolor;background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");background-position:center;background-repeat:no-repeat;background-size:100% 100%;border-color:rgba(0,0,0,0)}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus{background-color:currentcolor;border-color:rgba(0,0,0,0)}[type=checkbox]:indeterminate{background-color:currentcolor;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;background-size:100% 100%;border-color:rgba(0,0,0,0)}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{background-color:currentcolor;border-color:rgba(0,0,0,0)}[type=radio]{appearance:none;background-color:var(--wp--custom--color--surface--default);background-origin:border-box;border:1px solid var(--wp--custom--color--border--default);border-radius:100%;color:var(--wp--custom--color--surface--primary);display:inline-block;flex-shrink:0;height:16px;margin-right:var(--wp--preset--spacing--2-xs);padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;width:16px}[type=radio]:focus{box-shadow:var(--wp--custom--color--surface--default) 0 0 0 1px,var(--wp--custom--color--border--active) 0 0 0 3px;outline:2px solid rgba(0,0,0,0);outline-offset:2px}[type=radio]:checked{background-color:currentcolor;background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");background-position:center;background-repeat:no-repeat;background-size:100% 100%;border-color:rgba(0,0,0,0)}[type=radio]:checked:hover,[type=radio]:checked:focus{background-color:currentcolor;border-color:rgba(0,0,0,0)}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{border-color:var(--wp--custom--color--border--active);box-shadow:var(--wp--custom--color--border--active) 0 0 0 1px;outline:2px solid rgba(0,0,0,0);outline-offset:2px}[type=range]{accent-color:var(--wp--custom--color--surface--primary)}[type=submit]{align-items:center;border:unset;border-radius:unset;box-shadow:unset;cursor:pointer;display:inline-flex;gap:var(--wp--preset--spacing--2-xs);justify-content:center;padding:var(--wp--preset--spacing--sm);text-align:center;transition:all var(--wp--custom--transition-duration--quick)}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-bottom:0;padding-top:0}h1,h2,h3,h4,h5,h6{color:var(--wp--custom--color--text--primary);font-family:var(--wp--preset--font-family--primary);font-weight:600;letter-spacing:var(--wp--custom--letter-spacing--tighter)}h1{font-size:var(--wp--preset--font-size--5-xl);line-height:var(--wp--custom--line-height--none)}h2{font-size:var(--wp--preset--font-size--4-xl);line-height:var(--wp--custom--line-height--tight)}h3{font-size:var(--wp--preset--font-size--3-xl);line-height:var(--wp--custom--line-height--tight)}h4{font-size:var(--wp--preset--font-size--2-xl);line-height:var(--wp--custom--line-height--tight)}h5{font-size:var(--wp--preset--font-size--xl);line-height:var(--wp--custom--line-height--tight)}h6{font-size:var(--wp--preset--font-size--lg);line-height:var(--wp--custom--line-height--tight)}:where(a:not(.wp-element-button)){color:var(--wp--custom--color--text--link);-webkit-text-decoration:underline;text-decoration:underline}:where(nav) :where(ul,ol){list-style:none;margin:0;padding:0}img,picture,video,audio,canvas,svg{display:block;max-width:100%;vertical-align:bottom}.site-header{margin:0;position:relative}.site-header__logo{font-family:unset;font-size:unset;line-height:1;margin:0}.site-header__logo-link{color:unset;display:inline-block}.site-header__icon{width:200px}.site-main{margin:0}.site-footer{margin:0}.container{padding-left:var(--wp--style--root--padding-left);padding-right:var(--wp--style--root--padding-right)}.container>:where(:not(.alignleft):not(.alignright):not(.alignfull)){margin-left:auto;margin-right:auto;max-width:var(--wp--style--global--wide-size)} diff --git a/dist/css/blocks/core-button.asset.php b/dist/css/blocks/core-button.asset.php index 93957e8..7f4ef38 100644 --- a/dist/css/blocks/core-button.asset.php +++ b/dist/css/blocks/core-button.asset.php @@ -1 +1 @@ - array(), 'version' => '0e91006ce30ab2d1cfdc'); + array(), 'version' => 'e71589ae8aafa006ad13'); diff --git a/dist/css/blocks/core-button.css b/dist/css/blocks/core-button.css index c3d7e57..73b986c 100644 --- a/dist/css/blocks/core-button.css +++ b/dist/css/blocks/core-button.css @@ -1 +1 @@ -.wp-element-button,.wp-block-button .wp-block-button__link{background-color:var(--wp--custom--color--primary);border-radius:0;color:var(--wp--custom--color--contrast);display:inline-flex;padding:var(--wp--preset--spacing--lg)}.wp-element-button:focus-visible,.wp-block-button .wp-block-button__link:focus-visible{background-color:var(--wp--custom--color--focus)} +.wp-block-button{--width-gap: var(--wp--preset--spacing--md)}.wp-block-button:where(.has-custom-width){max-width:none}.wp-block-button:where(.has-custom-width) .wp-block-button__link{width:100%}.wp-block-button:where(.wp-block-button__width-25){width:calc(25% - var(--width-gap)*.75)}.wp-block-button:where(.wp-block-button__width-50){width:calc(50% - var(--width-gap)*.5)}.wp-block-button:where(.wp-block-button__width-75){width:calc(75% - var(--width-gap)*.25)}.wp-block-button:where(.wp-block-button__width-100){flex-basis:100%;width:100%}:where(.is-vertical)>.wp-block-button{--width-gap: 0}.wp-element-button,.wp-block-button__link{align-items:center;border:unset;border-radius:unset;box-shadow:unset;cursor:pointer;display:inline-flex;gap:var(--wp--preset--spacing--2-xs);justify-content:center;padding:var(--wp--preset--spacing--sm);text-align:center;transition:all var(--wp--custom--transition-duration--quick);background-color:var(--wp--custom--color--surface--primary);color:var(--wp--custom--color--text--invert)}.wp-element-button:hover,.wp-element-button:active,.wp-block-button__link:hover,.wp-block-button__link:active{background-color:var(--wp--custom--color--primary--100)} diff --git a/dist/css/blocks/core-columns.asset.php b/dist/css/blocks/core-columns.asset.php index ab23f87..14572cd 100644 --- a/dist/css/blocks/core-columns.asset.php +++ b/dist/css/blocks/core-columns.asset.php @@ -1 +1 @@ - array(), 'version' => '6649e8b0e07fe1ef8264'); + array(), 'version' => 'd388a4abb2e947e23a56'); diff --git a/dist/css/blocks/core-columns.css b/dist/css/blocks/core-columns.css index 43744ed..e3518da 100644 --- a/dist/css/blocks/core-columns.css +++ b/dist/css/blocks/core-columns.css @@ -1 +1 @@ -.wp-block-columns{display:flex}.wp-block-columns:not([class^=are-vertically-aligned]){align-items:initial}.wp-block-columns:where(:not([class^=is-stacked-on])){flex-direction:column}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}.wp-block-columns:where(.is-reversed-when-stacked){flex-direction:column-reverse}@media(min-width: 640px){.wp-block-columns:where(.is-stacked-on-sm),.wp-block-columns:where(:not([class*=is-stacked-on])){flex-direction:row}}@media(min-width: 768px){.wp-block-columns:where(.is-stacked-on-md){flex-direction:row}}@media(min-width: 1024px){.wp-block-columns:where(.is-stacked-on-lg){flex-direction:row}}@media(min-width: 1280px){.wp-block-columns:where(.is-stacked-on-xl){flex-direction:row}} +.wp-block-columns:not([class^=are-vertically-aligned]){align-items:initial}.wp-block-columns:where(:not([class^=is-stacked-on])){flex-direction:column}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}.wp-block-columns:where(.is-reversed-when-stacked){flex-direction:column-reverse}@media(min-width: 640px){.wp-block-columns:where(.is-stacked-on-sm),.wp-block-columns:where(:not([class*=is-stacked-on])){flex-direction:row}}@media(min-width: 768px){.wp-block-columns:where(.is-stacked-on-md){flex-direction:row}}@media(min-width: 1024px){.wp-block-columns:where(.is-stacked-on-lg){flex-direction:row}}@media(min-width: 1280px){.wp-block-columns:where(.is-stacked-on-xl){flex-direction:row}} diff --git a/dist/css/blocks/core-group.asset.php b/dist/css/blocks/core-group.asset.php new file mode 100644 index 0000000..4f6c97f --- /dev/null +++ b/dist/css/blocks/core-group.asset.php @@ -0,0 +1 @@ + array(), 'version' => '77bbdcebf6267dbf3a89'); diff --git a/dist/css/blocks/core-group.css b/dist/css/blocks/core-group.css new file mode 100644 index 0000000..3ce7def --- /dev/null +++ b/dist/css/blocks/core-group.css @@ -0,0 +1 @@ +.wp-block-group:where(.has-background){padding-block:var(--wp--custom--spacing--group-gap)} diff --git a/dist/css/blocks/core-navigation.asset.php b/dist/css/blocks/core-navigation.asset.php index 7e73276..d610163 100644 --- a/dist/css/blocks/core-navigation.asset.php +++ b/dist/css/blocks/core-navigation.asset.php @@ -1 +1 @@ - array(), 'version' => '540bba62923f9edab4ac'); + array(), 'version' => '08efcff0708d927c66c3'); diff --git a/dist/css/blocks/core-navigation.css b/dist/css/blocks/core-navigation.css index 382f1db..c2658b1 100644 --- a/dist/css/blocks/core-navigation.css +++ b/dist/css/blocks/core-navigation.css @@ -1 +1 @@ -.has-modal-open{overflow:hidden}.wp-block-navigation{--navigation-layout-justification-setting: flex-start;--navigation-layout-direction: row;--navigation-layout-wrap: wrap;--navigation-layout-justify: flex-start;--navigation-layout-align: center;--navigation-height: 100dvh;--navigation-gap: var(--wp--preset--spacing--md);gap:var(--wp--preset--spacing--md);gap:var(--navigation-gap)}.wp-block-navigation.is-vertical{--navigation-layout-direction: column;--navigation-layout-justify: initial;--navigation-layout-align: flex-start}.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}.wp-block-navigation__container{align-items:initial;align-items:var(--navigation-layout-align, initial);display:flex;flex-direction:initial;flex-direction:var(--navigation-layout-direction, initial);flex-wrap:wrap;flex-wrap:var(--navigation-layout-wrap, wrap);gap:inherit;justify-content:initial;justify-content:var(--navigation-layout-justify, initial);list-style:none;margin:0;padding:0}.wp-block-navigation__container:where(.is-responsive){--navigation-layout-direction: column;--navigation-layout-align: stretch;--navigation-layout-wrap: nowrap;gap:0;height:100%}@media(min-width: 1024px){.wp-block-navigation__container:where(.is-responsive){--navigation-layout-direction: row;--navigation-layout-align: initial;--navigation-layout-wrap: wrap;gap:inherit;height:auto}}:where(.hidden-by-default) .wp-block-navigation__container:where(.is-responsive){--navigation-layout-direction: column;--navigation-layout-align: stretch;--navigation-layout-wrap: nowrap}.wp-block-navigation__container:only-child{flex-grow:1}.wp-block-navigation__responsive-container-open{align-items:center;background-color:rgba(0,0,0,0);border:0;cursor:pointer;display:flex;font-family:inherit;font-size:inherit;font-weight:inherit;gap:inherit;justify-content:center;padding:0}@media(min-width: 1024px){.wp-block-navigation__responsive-container-open:where(:not(.always-shown)){display:none}}:where(.has-modal-open) .wp-block-navigation__responsive-container-open svg:first-child:where(:not(:only-child)){display:none}.wp-block-navigation__responsive-container-open svg:last-child:where(:not(:only-child)){display:none}:where(.has-modal-open) .wp-block-navigation__responsive-container-open svg:last-child:where(:not(:only-child)){display:block}.wp-block-navigation__responsive-container{background-color:var(--wp--custom--color--base);gap:inherit;height:var(--navigation-height);left:0;opacity:0;position:absolute;top:100%;transition:all var(--wp--custom--transition-duration--quick);visibility:hidden;width:100%;z-index:1}.wp-block-navigation__responsive-container:where(.is-menu-open){opacity:1;visibility:visible}@media(min-width: 1024px){.wp-block-navigation__responsive-container:where(:not(.hidden-by-default):not(.is-menu-open)){background-color:inherit;display:block;height:auto;opacity:1;position:static;visibility:visible;width:100%;z-index:auto}}.wp-block-navigation__responsive-container:not(.is-menu-open.is-menu-open){background-color:inherit !important;color:inherit !important}.wp-block-navigation__responsive-close{gap:inherit;height:100%;width:100%}.wp-block-navigation__responsive-container-close{display:none}@media(min-width: 1024px){:where(:not(.hidden-by-default):not(.is-menu-open)) .wp-block-navigation__responsive-container-close{display:none}}.wp-block-navigation__responsive-dialog{gap:inherit;height:100%}.wp-block-navigation__responsive-container-content{gap:inherit;height:100%}.wp-block-navigation-item{align-items:center;background-color:inherit;display:flex;justify-content:space-between}@media(min-width: 1024px){.wp-block-navigation-item:where(.has-child){position:relative}}.wp-block-navigation-item__content{background-color:rgba(0,0,0,0);border:0;color:inherit;cursor:pointer;display:block;flex:1 1 0%;padding:var(--wp--preset--spacing--lg) var(--wp--preset--spacing--md);text-align:left;-webkit-text-decoration:none;text-decoration:none}@media(min-width: 1024px){.wp-block-navigation-item__content{padding:0}}@media(min-width: 1024px){.wp-block-navigation-item__back{display:none}}.wp-block-navigation__submenu-container{background-color:var(--wp--custom--color--base);color:inherit;display:flex;flex-direction:column;height:100%;left:0;overflow:hidden;position:absolute;right:0;top:0;transform:translateX(-100%);transition:all var(--wp--custom--transition-duration--quick);visibility:hidden;z-index:1}@media(min-width: 1024px){.wp-block-navigation__submenu-container{align-items:normal;background-color:inherit;height:0;left:0;min-width:250px;opacity:0;top:100%;transform:none;width:0;z-index:2}}@media(min-width: 1024px){.has-child:where(:not(.open-on-click)):hover>.wp-block-navigation__submenu-container{height:auto;min-width:250px;opacity:1;overflow:visible;visibility:visible}.has-child:where(:not(.open-on-click)):hover>.wp-block-navigation__submenu-container:where(:not(.wp-block-pulsar-navigation-megamenu__container)){width:auto}}.wp-block-navigation__submenu-container:empty{display:none}@media(min-width: 1024px){.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:100%;top:0}}.wp-block-navigation__submenu-container.has-background{padding:0}:where([aria-expanded=true])~.wp-block-navigation__submenu-container{opacity:1;overflow:visible;transform:translateX(0);visibility:visible}@media(min-width: 1024px){:where([aria-expanded=true])~.wp-block-navigation__submenu-container{height:auto;width:auto}}.wp-block-navigation__submenu-icon{align-items:center;align-self:center;background-color:inherit;border:0;color:currentcolor;display:flex;font-size:inherit;height:10px;justify-content:center;margin-left:var(--wp--preset--spacing--xs);padding:0;width:10px}.wp-block-navigation__submenu-icon svg{stroke:currentcolor;transform:rotate(-90deg)}@media(min-width: 1024px){.wp-block-navigation__submenu-icon svg{transform:rotate(0)}}@media(min-width: 1024px){.has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon svg{transform:rotate(-90deg)}}:where(.is-responsive) .wp-block-navigation__submenu-icon:where(.wp-block-navigation-submenu__toggle){aspect-ratio:1/1;border:1px solid;cursor:pointer;height:100%;margin:0;width:auto}@media(min-width: 1024px){:where(.is-responsive) .wp-block-navigation__submenu-icon:where(.wp-block-navigation-submenu__toggle){aspect-ratio:unset;border:medium none currentColor;border:initial;cursor:inherit;height:auto;margin-left:var(--wp--preset--spacing--xs);width:auto}} +.has-modal-open{overflow:hidden}.wp-block-navigation{--navigation-layout-justification-setting: flex-start;--navigation-layout-direction: row;--navigation-layout-wrap: wrap;--navigation-layout-justify: flex-start;--navigation-layout-align: center;--navigation-height: 100dvh;--navigation-gap: var(--wp--preset--spacing--md);--navigation-item-gap: var(--wp--preset--spacing--2-xs);--navigation-icon-size: 10px;--navigation-submenu-width: 200px;gap:var(--navigation-gap)}.wp-block-navigation.is-vertical{--navigation-layout-direction: column;--navigation-layout-justify: initial;--navigation-layout-align: flex-start}.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}.wp-block-navigation__container{align-items:var(--navigation-layout-align, initial);display:flex;flex-direction:var(--navigation-layout-direction, initial);flex-wrap:var(--navigation-layout-wrap, wrap);gap:inherit;justify-content:var(--navigation-layout-justify, initial);list-style:none;margin:0;padding:0}.wp-block-navigation__container:only-child{flex-grow:1}.wp-block-navigation-item{align-items:center;background-color:inherit;display:flex;flex-wrap:wrap;gap:var(--navigation-item-gap);justify-content:space-between}.wp-block-navigation-item:where(.has-child){position:relative}.wp-block-navigation-item__content{background-color:inherit;border:0;color:inherit;cursor:pointer;display:block;flex:1 1 0%;text-align:left;-webkit-text-decoration:none;text-decoration:none}.wp-block-navigation__submenu-container{background-color:inherit;color:inherit;display:flex;flex-direction:column;left:0;min-width:var(--navigation-submenu-width);position:absolute;top:100%;transition:all var(--wp--custom--transition-duration--quick);visibility:hidden;width:100%;z-index:1}.wp-block-navigation__submenu-container:empty{display:none}.wp-block-navigation__submenu-container.has-background{padding:0}.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:100%;top:0}.wp-block-navigation :where(.has-child) :where(.has-child) .wp-block-navigation__submenu-icon,.wp-block-navigation :where(.has-child) :where(.has-child) .wp-block-navigation__submenu-icon[aria-expanded=true]{transform:rotate(-90deg)}.wp-block-navigation :where([aria-expanded=true])~.wp-block-navigation__submenu-container{height:auto;opacity:1;overflow:visible;transform:translateX(0);visibility:visible;width:auto}.wp-block-navigation__submenu-icon{align-items:center;align-self:center;background-color:inherit;border:0;color:currentcolor;display:flex;font-size:inherit;justify-content:center;padding:0}.wp-block-navigation__submenu-icon svg{height:var(--navigation-icon-size);stroke:currentcolor;width:var(--navigation-icon-size)}@media(min-width: 1024px){.wp-block-navigation .wp-block-navigation__responsive-container:not(.hidden-by-default) .wp-block-navigation__submenu-container{align-items:normal;height:0;left:0;min-width:var(--navigation-submenu-width);opacity:0;position:absolute;top:100%;transform:none;width:0;z-index:2}}@media(min-width: 1024px){.wp-block-navigation .wp-block-navigation__responsive-container:not(.hidden-by-default) .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:100%;top:0}}@media(min-width: 1024px){.wp-block-navigation .wp-block-navigation__responsive-container:not(.hidden-by-default) .wp-block-navigation__submenu-icon,.wp-block-navigation .wp-block-navigation__responsive-container:not(.hidden-by-default) .wp-block-navigation__submenu-icon[aria-expanded=true]{transform:rotate(0)}}@media(min-width: 1024px){.wp-block-navigation .wp-block-navigation__responsive-container:not(.hidden-by-default) .has-child{position:relative}}@media(min-width: 1024px){.wp-block-navigation .wp-block-navigation__responsive-container:not(.hidden-by-default) :where(.has-child) :where(.has-child) .wp-block-navigation__submenu-icon,.wp-block-navigation .wp-block-navigation__responsive-container:not(.hidden-by-default) :where(.has-child) :where(.has-child) .wp-block-navigation__submenu-icon[aria-expanded=true]{transform:rotate(-90deg)}}@media(min-width: 1024px){.wp-block-navigation .wp-block-navigation__responsive-container:not(.hidden-by-default) .wp-block-navigation-submenu__header{display:none}}.wp-block-navigation:where(.is-responsive) .wp-block-navigation__responsive-container-open{align-items:center;background-color:rgba(0,0,0,0);border:0;cursor:pointer;display:flex;font-family:inherit;font-size:inherit;font-weight:inherit;gap:inherit;justify-content:center;padding:0}@media(min-width: 1024px){.wp-block-navigation:where(.is-responsive) .wp-block-navigation__responsive-container-open:where(:not(.always-shown)){display:none}}:where(.has-modal-open) .wp-block-navigation:where(.is-responsive) .wp-block-navigation__responsive-container-open svg:first-child:where(:not(:only-child)){display:none}.wp-block-navigation:where(.is-responsive) .wp-block-navigation__responsive-container-open svg:last-child:where(:not(:only-child)){display:none}:where(.has-modal-open) .wp-block-navigation:where(.is-responsive) .wp-block-navigation__responsive-container-open svg:last-child:where(:not(:only-child)){display:block}.wp-block-navigation:where(.is-responsive) .wp-block-navigation__responsive-container{background-color:inherit;gap:inherit;height:var(--navigation-height);left:0;opacity:0;position:absolute;top:100%;transition:all var(--wp--custom--transition-duration--quick);visibility:hidden;width:100%;z-index:1}.wp-block-navigation:where(.is-responsive) .wp-block-navigation__responsive-container:where(.is-menu-open){opacity:1;visibility:visible}@media(min-width: 1024px){.wp-block-navigation:where(.is-responsive) .wp-block-navigation__responsive-container:where(:not(.hidden-by-default):not(.is-menu-open)){background-color:inherit;display:block;height:auto;opacity:1;position:static;visibility:visible;width:100%;z-index:auto}}.wp-block-navigation:where(.is-responsive) .wp-block-navigation__responsive-container:not(.is-menu-open.is-menu-open){background-color:inherit !important;color:inherit !important}.wp-block-navigation:where(.is-responsive) .wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-close{display:none}.wp-block-navigation:where(.is-responsive) .wp-block-navigation__responsive-container:where(.hidden-by-default){inset:0;position:fixed}.wp-block-navigation:where(.is-responsive) .wp-block-navigation__responsive-container:where(.hidden-by-default) .wp-block-navigation__responsive-container-close{display:flex;position:absolute;right:0;top:0}.wp-block-navigation:where(.is-responsive) .wp-block-navigation__responsive-close{gap:inherit;height:100%;width:100%}.wp-block-navigation:where(.is-responsive) .wp-block-navigation__responsive-dialog{gap:inherit;height:100%}.wp-block-navigation:where(.is-responsive) .wp-block-navigation__container{--navigation-layout-direction: column;--navigation-layout-align: stretch;--navigation-layout-wrap: nowrap;gap:inherit;height:100%}@media(min-width: 1024px){.wp-block-navigation:where(.is-responsive) .wp-block-navigation__container{--navigation-layout-direction: row;--navigation-layout-align: initial;--navigation-layout-wrap: wrap;height:auto}}.wp-block-navigation:where(.is-responsive) :where(.hidden-by-default) .wp-block-navigation__container{--navigation-layout-direction: column;--navigation-layout-align: stretch;--navigation-layout-wrap: nowrap}.wp-block-navigation:where(.is-responsive) .wp-block-navigation__submenu-container{background-color:inherit}.wp-block-navigation:where(.is-responsive) .wp-block-navigation-submenu__toggle[aria-expanded=true]~.wp-block-navigation__submenu-container{height:auto;opacity:1;overflow:visible;transform:translateX(0);visibility:visible;width:auto}.wp-block-navigation:where(.is-responsive) .wp-block-navigation__responsive-container-content{gap:inherit;height:100%}.wp-block-navigation:where(.is-responsive) .wp-block-navigation-item{column-gap:var(--navigation-item-gap)}.wp-block-navigation:where(.is-responsive) .wp-block-navigation-submenu__header{display:flex;flex-wrap:nowrap;gap:var(--navigation-item-gap);justify-content:space-between}.wp-block-navigation:where(.is-responsive) .wp-block-navigation-submenu__header svg{height:var(--navigation-icon-size);width:var(--navigation-icon-size)}.wp-block-navigation:where(.is-responsive) .wp-block-navigation-submenu__back{align-items:center;background-color:rgba(0,0,0,0);border:0;color:inherit;cursor:pointer;display:flex;flex:0 0 auto;font-size:inherit;gap:var(--navigation-item-gap);margin-right:auto;padding:0}.wp-block-navigation:where(.is-responsive) .wp-block-navigation-submenu__label{flex:0 0 auto;font-size:inherit}.wp-block-navigation:where(.is-responsive) .wp-block-navigation-submenu__all{align-items:center;background-color:rgba(0,0,0,0);border:0;color:inherit;cursor:pointer;display:flex;flex:0 0 auto;font-size:inherit;gap:var(--navigation-item-gap);margin-left:auto;padding:0}.wp-block-navigation:where(.is-responsive):where(.is-submenu-style-slide) :where(.wp-block-navigation__submenu-icon){transform:rotate(-90deg)}.wp-block-navigation:where(.is-responsive):where(.is-submenu-style-slide) :where(.wp-block-navigation__submenu-container){bottom:0;height:100%;left:0;overflow:hidden;position:absolute;right:0;top:0;transform:translateX(-100%)}.wp-block-navigation:where(.is-responsive):where(.is-submenu-style-slide) :where(.has-child){position:static}.wp-block-navigation:where(.is-responsive):where(.is-submenu-style-accordion) .wp-block-navigation__submenu-container{min-width:100%;position:static}.wp-block-navigation:where(.is-responsive):where(.is-submenu-style-accordion) .wp-block-navigation__submenu-icon{transform:rotate(0)}.wp-block-navigation:where(.is-responsive):where(.is-submenu-style-accordion) .wp-block-navigation__submenu-icon[aria-expanded=true]{transform:rotate(180deg)} diff --git a/dist/css/blocks/core-post-content.asset.php b/dist/css/blocks/core-post-content.asset.php index 95d7fe5..b2e74c1 100644 --- a/dist/css/blocks/core-post-content.asset.php +++ b/dist/css/blocks/core-post-content.asset.php @@ -1 +1 @@ - array(), 'version' => '46438f94898fa8c65a2d'); + array(), 'version' => '992fdd195e3fbe2eaed8'); diff --git a/dist/css/blocks/core-post-content.css b/dist/css/blocks/core-post-content.css index d044869..02e0f1e 100644 --- a/dist/css/blocks/core-post-content.css +++ b/dist/css/blocks/core-post-content.css @@ -1 +1 @@ -.wp-block-post-content *+:where(h1,h2,h3,h4,h5,h6){margin-top:var(--wp--preset--spacing--2-xl)}.wp-block-post-content :where(h1,h2,h3,h4,h5,h6)+*{margin-top:var(--wp--preset--spacing--lg)}.wp-block-post-content>.wp-block-group+.wp-block-group:where(:not(.has-background)){margin-top:var(--wp--custom--layout--block-gap-section)}.wp-block-post-content>.wp-block-group:where(.has-background)+.wp-block-group:where(.has-background){margin-top:0} +.wp-block-post-content>.wp-block-group+.wp-block-group{margin-block-start:var(--wp--custom--spacing--group-gap)}.wp-block-post-content>.wp-block-group:where(.has-background)+.wp-block-group:where(.has-background){margin-block-start:0} diff --git a/dist/css/blocks/gravityforms-form.asset.php b/dist/css/blocks/gravityforms-form.asset.php new file mode 100644 index 0000000..ae5a0b9 --- /dev/null +++ b/dist/css/blocks/gravityforms-form.asset.php @@ -0,0 +1 @@ + array(), 'version' => '4b4e8e989fcb802bd9fd'); diff --git a/dist/css/blocks/gravityforms-form.css b/dist/css/blocks/gravityforms-form.css new file mode 100644 index 0000000..76b0d29 --- /dev/null +++ b/dist/css/blocks/gravityforms-form.css @@ -0,0 +1 @@ +.gform_wrapper{margin-top:0}.gform_wrapper .gform_fields{display:grid;gap:var(--wp--custom--spacing--block-gap)}@media(min-width: 768px){.gform_wrapper .gform_fields{grid-template-columns:repeat(12, 1fr)}}.gform_wrapper .ginput_complex{display:flex;flex-wrap:wrap;gap:var(--wp--custom--spacing--block-gap)}.gform_wrapper .ginput_complex>*{flex:1}.gform_wrapper .ginput_complex .ginput_full{flex:0 0 100%}.gform_wrapper .gfield{grid-column:1/-1}@media(min-width: 768px){.gform_wrapper .gfield--width-quarter{grid-column:span 3}.gform_wrapper .gfield--width-third{grid-column:span 4}.gform_wrapper .gfield--width-five-twelfths{grid-column:span 5}.gform_wrapper .gfield--width-half{grid-column:span 6}.gform_wrapper .gfield--width-seven-twelfths{grid-column:span 7}.gform_wrapper .gfield--width-two-thirds{grid-column:span 8}.gform_wrapper .gfield--width-three-quarter{grid-column:span 9}}.gform_wrapper .hidden_label>.gfield_label{border:0;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);height:1px;overflow:hidden;padding:0;white-space:nowrap;width:1px;word-wrap:normal;z-index:100000}.gform_wrapper .gform_required_legend{display:none}.gform_wrapper .gfield_required{color:var(--wp--custom--color--text--error)}.gform_wrapper .gfield_label{margin-bottom:var(--wp--preset--spacing--xs)}.gform_wrapper .gfield_label>.gfield_required{margin-left:var(--wp--preset--spacing--2-xs)}.gform_wrapper .ginput_container>:where(input,select):where(:not([type=radio]):not([type=checkbox])){width:100%}.gform_wrapper .gfield--type-captcha label{border:0;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);height:1px;overflow:hidden;padding:0;white-space:nowrap;width:1px;word-wrap:normal;z-index:100000}.gform_wrapper .ginput_container_radio label,.gform_wrapper .ginput_container_checkbox label,.gform_wrapper .ginput_container_consent label{display:inline-block;margin:0;vertical-align:middle}.gform_wrapper .ginput_container_consent{display:inline-grid;gap:var(--wp--preset--spacing--xs);grid-template-columns:minmax(16px, max-content) auto}.gform_wrapper .ginput_container_consent input{position:relative;top:4px}.gform_wrapper .gform_confirmation_message{text-align:center}.gform_wrapper .gform_button{align-items:center;border:unset;border-radius:unset;box-shadow:unset;cursor:pointer;display:inline-flex;gap:var(--wp--preset--spacing--2-xs);justify-content:center;padding:var(--wp--preset--spacing--sm);text-align:center;transition:all var(--wp--custom--transition-duration--quick)}.gform_wrapper .gform_button::before{content:"";height:24px;width:24px}.gform_wrapper .gform_validation_errors{margin-bottom:var(--wp--preset--spacing--lg)}.gform_wrapper .gform_footer{margin-top:var(--wp--preset--spacing--xl)}.gform_wrapper .gform_submission_error{color:var(--wp--custom--color--text--error);font-size:var(--wp--preset--font-size--md);font-weight:400;margin-top:0;text-transform:none}.gform_wrapper .gform_submission_error:focus{outline:0}.gform_wrapper .gfield_error input,.gform_wrapper .gfield_error select,.gform_wrapper .gfield_error textarea{border-color:var(--wp--custom--color--border--error)}.gform_wrapper .validation_message{color:var(--wp--custom--color--text--error);margin-top:var(--wp--preset--spacing--sm)}.gform_wrapper .gform_title{border:0;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);height:1px;overflow:hidden;padding:0;white-space:nowrap;width:1px;word-wrap:normal;z-index:100000}.gform_wrapper .gform_hidden{display:none}.gform_wrapper .gfield_visibility_hidden{left:-9999px;position:absolute;visibility:hidden}.gform_wrapper .gform_validation_container{display:none !important;left:-9999px;position:absolute !important}.gform_ajax_spinner{display:none}.gform_button__loading{animation:1000ms rotate linear infinite;border:3px solid;border-color:currentcolor rgba(0,0,0,0) currentcolor rgba(0,0,0,0);border-radius:50%;box-sizing:border-box;display:inline-block;height:24px;position:relative;scale:.6;visibility:hidden;width:24px}.is-loading .gform_button__loading{visibility:visible}.gform_button__loading::before,.gform_button__loading::after{border:5px solid rgba(0,0,0,0);border-bottom-color:currentcolor;content:"";left:0;position:absolute;top:0;transform:translate(-5px, 9.5px) rotate(-35deg)}.gform_button__loading::after{border-color:currentcolor rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0);transform:translate(16px, 1.5px) rotate(-35deg)}@keyframes rotate{100%{transform:rotate(360deg)}} diff --git a/dist/css/editor.asset.php b/dist/css/editor.asset.php index a47dd50..b025cd3 100644 --- a/dist/css/editor.asset.php +++ b/dist/css/editor.asset.php @@ -1 +1 @@ - array(), 'version' => '038e52771a12b59a72c0'); + array(), 'version' => 'edae09af007e7b444f24'); diff --git a/dist/css/editor.css b/dist/css/editor.css index 6e0276f..10ef7d1 100644 --- a/dist/css/editor.css +++ b/dist/css/editor.css @@ -273,4 +273,4 @@ summary { display: list-item; } -html{scroll-behavior:smooth;scroll-snap-type:x mandatory}body{font-family:var(--wp--preset--font-family--sans);font-size:var(--wp--preset--font-size--base);line-height:var(--wp--custom--line-height--relaxed)}@media(min-width: 640px){body{--wp--custom--layout--content: 640px}}@media(min-width: 768px){body{--wp--custom--layout--content: 768px}}@media(min-width: 1024px){body{--wp--custom--layout--content: 1024px}}@media(min-width: 1280px){body{--wp--custom--layout--content: 1280px}}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{appearance:none;background-color:var(--wp--custom--color--base);border:2px solid var(--wp--custom--color--contrast);box-shadow:none;display:block;font-size:var(--wp--preset--font-size--base);line-height:var(--wp--custom--line-height--normal);padding-bottom:var(--wp--preset--spacing--sm);padding-left:var(--wp--preset--spacing--md);padding-right:var(--wp--preset--spacing--md);padding-top:var(--wp--preset--spacing--sm)}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{box-shadow:inset 0 0 0 2px;outline:3px solid var(--wp--custom--color--focus)}textarea{width:100%}input::placeholder,textarea::placeholder{color:var(--wp--custom--color--contrast);opacity:1}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right var(--wp--preset--spacing--sm) center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:var(--wp--preset--spacing--3-xl);-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:none;background-image:initial;background-position:0 0;background-position:initial;background-repeat:repeat;background-repeat:initial;background-size:auto auto;background-size:initial;-webkit-print-color-adjust:inherit;print-color-adjust:inherit}[type=checkbox],[type=radio]{appearance:none;background-color:var(--wp--custom--color--base);background-origin:border-box;border:1px solid var(--wp--custom--color--contrast);color:var(--wp--custom--color--contrast);display:inline-block;flex-shrink:0;height:16px;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;width:16px}[type=checkbox]:focus,[type=radio]:focus{box-shadow:inset 0 0 0 2px;outline:3px solid var(--wp--custom--color--focus)}[type=checkbox]:checked,[type=radio]:checked{background-color:currentcolor;background-position:center;background-repeat:no-repeat;background-size:100% 100%;border-color:rgba(0,0,0,0)}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{background-color:currentcolor;border-color:rgba(0,0,0,0)}[type=checkbox]{border-radius:none;margin-right:var(--wp--preset--spacing--xs)}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=checkbox]:indeterminate{background-color:currentcolor;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;background-size:100% 100%;border-color:rgba(0,0,0,0)}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{background-color:currentcolor;border-color:rgba(0,0,0,0)}[type=radio]{border-radius:100%;margin-right:var(--wp--preset--spacing--xs)}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=file]{background:transparent none repeat 0 0 / auto auto padding-box border-box scroll;background:initial;border-color:inherit;border-radius:0;border-width:0;font-size:inherit;line-height:inherit;padding:0}[type=file]:focus{box-shadow:inset 0 0 0 2px;outline:3px solid var(--wp--custom--color--focus)}label{display:block;margin-bottom:var(--wp--preset--spacing--sm)}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-bottom:0;padding-top:0}h1,h2,h3,h4{font-family:var(--wp--preset--font-family--serif);font-weight:600;line-height:var(--wp--custom--line-height--tight);margin-bottom:0}h1{font-size:var(--wp--preset--font-size--3-xl)}h2{font-size:var(--wp--preset--font-size--2-xl)}h3{font-size:var(--wp--preset--font-size--xl)}h4{font-size:var(--wp--preset--font-size--lg)}:where(a:not(.wp-element-button)){color:var(--wp--custom--color--contrast);-webkit-text-decoration:underline;text-decoration:underline}:where(a:not(.wp-element-button)):focus-visible{background-color:var(--wp--custom--color--focus)}:where(nav) :where(ul,ol){list-style:none;margin:0;padding:0}.site-header{padding-left:var(--wp--style--root--padding-left);padding-right:var(--wp--style--root--padding-right);margin:0;padding-bottom:var(--wp--preset--spacing--lg);padding-top:var(--wp--preset--spacing--lg);position:relative}.site-header>:where(:not(.alignleft):not(.alignright):not(.alignfull)){margin-left:auto;margin-right:auto;max-width:var(--wp--style--global--content-size)}.site-header__inner{align-items:center;display:flex;justify-content:space-between}.site-header__logo{font-family:inherit;font-size:inherit;line-height:1;margin:0}.site-header__logo-link{display:inline-block}.site-footer{padding-left:var(--wp--style--root--padding-left);padding-right:var(--wp--style--root--padding-right);margin:0;padding-bottom:var(--wp--preset--spacing--lg);padding-top:var(--wp--preset--spacing--lg)}.site-footer>:where(:not(.alignleft):not(.alignright):not(.alignfull)){margin-left:auto;margin-right:auto;max-width:var(--wp--style--global--content-size)}.site-main{margin:0}.has-open-menu{overflow:hidden}@media(min-width: 1024px){.has-open-menu{overflow:visible;overflow:initial}}.menu-primary__items{background-color:var(--wp--custom--color--base);display:flex;flex-direction:column;height:100vh;left:0;opacity:0;position:absolute;top:100%;transform:translateX(-100%);transition:all 300ms ease-in-out;visibility:hidden;width:100%}@media(min-width: 1024px){.menu-primary__items{flex-direction:row;height:auto;height:initial;max-width:none;max-width:initial;opacity:1;opacity:initial;position:static;position:initial;transform:none;transform:initial;visibility:inherit;width:auto;width:initial}}[aria-expanded=true]+.menu-primary__items{opacity:1;transform:translateX(0);visibility:visible}.menu-primary__sub-menu{display:none;flex-direction:column;width:100%}@media(min-width: 1024px){.menu-primary__sub-menu{background-color:var(--wp--custom--color--base);display:flex;left:0;opacity:0;position:absolute;top:100%;visibility:hidden}}[aria-expanded=true]+.menu-primary__sub-menu{display:flex;opacity:1;visibility:visible}.menu-primary__item:where(.has-children){display:flex;flex-wrap:wrap;position:relative}@media(min-width: 1024px){.menu-primary__item:where(.has-children){flex-wrap:nowrap}}.menu-primary__item:where(.has-mega-menu){position:static}.menu-primary__link{background-color:rgba(0,0,0,0);border:0;color:var(--wp--custom--color--contrast);cursor:pointer;display:block;font-size:inherit;line-height:1;padding:var(--wp--preset--spacing--sm);-webkit-text-decoration:none;text-decoration:none}.menu-primary__link:focus-visible{background-color:var(--wp--custom--color--focus);outline:none}.menu-primary__link-icon{height:10px;margin-left:var(--wp--preset--spacing--sm);width:10px}[aria-expanded=true]>.menu-primary__link-icon{transform:rotate(180deg)}.menu-primary__toggle{background-color:rgba(0,0,0,0);border:0;cursor:pointer;padding:0}@media(min-width: 1024px){.menu-primary__toggle{display:none}}.menu-primary__toggle-icon{width:32px}.menu-primary__sub-menu-toggle{background-color:rgba(0,0,0,0);border:0;cursor:pointer;padding:0}.hamburger__line{transform-origin:center;transition:y var(--wp--custom--transition-duration--quick) ease-in var(--wp--custom--transition-duration--quick), rotate var(--wp--custom--transition-duration--quick) ease-in, opacity 50ms var(--wp--custom--transition-duration--quick)}[aria-expanded=true] .hamburger__line{transition:y var(--wp--custom--transition-duration--quick) ease-in, rotate var(--wp--custom--transition-duration--quick) ease-in var(--wp--custom--transition-duration--quick), opacity 50ms}[aria-expanded=true] .hamburger__line--top{rotate:45deg;y:23px}[aria-expanded=true] .hamburger__line--middle{opacity:0}[aria-expanded=true] .hamburger__line--bottom{rotate:-45deg;y:23px}[x-cloak]{display:none !important}.container{padding-left:var(--wp--style--root--padding-left);padding-right:var(--wp--style--root--padding-right)}.container>:where(:not(.alignleft):not(.alignright):not(.alignfull)){margin-left:auto;margin-right:auto;max-width:var(--wp--style--global--content-size)} +body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin-block-end:0}html{scroll-behavior:smooth;scroll-snap-type:x mandatory}body{background-color:var(--wp--custom--color--surface--default);color:var(--wp--custom--color--text--default);font-family:var(--wp--preset--font-family--primary);font-size:var(--wp--preset--font-size--lg);-webkit-font-smoothing:antialiased;letter-spacing:var(--wp--custom--letter-spacing--tight);line-height:var(--wp--custom--line-height--normal)}@media(min-width: 640px){body{--wp--style--global--wide-size: 640px}}@media(min-width: 768px){body{--wp--style--global--wide-size: 768px}}@media(min-width: 1024px){body{--wp--style--global--wide-size: 1024px}}@media(min-width: 1280px){body{--wp--style--global--wide-size: 1280px}}@media(min-width: 1536px){body{--wp--style--global--wide-size: 1536px}}:target{scroll-margin-block:var(--wp--custom--spacing--group-gap)}button,input,optgroup,select,textarea{color:inherit;font:inherit;padding:0}label{display:block;margin-bottom:var(--wp--preset--spacing--sm)}label:last-child{margin-bottom:0}fieldset{border:0;margin:0;padding:0}legend{padding:0}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week]{appearance:none;background-color:var(--wp--custom--color--surface--default);border:1px solid var(--wp--custom--color--border--default);border-radius:0;box-shadow:none;display:block;font-family:inherit;font-size:var(--wp--preset--font-size--md);line-height:var(--wp--custom--line-height--normal);padding-block:var(--wp--preset--spacing--sm);padding-inline:var(--wp--preset--spacing--md);width:100%}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus{border-color:var(--wp--custom--color--border--active);box-shadow:var(--wp--custom--color--border--active) 0 0 0 1px;outline:2px solid rgba(0,0,0,0);outline-offset:2px}[type=text]:disabled,[type=email]:disabled,[type=url]:disabled,[type=password]:disabled,[type=number]:disabled,[type=date]:disabled,[type=datetime-local]:disabled,[type=month]:disabled,[type=search]:disabled,[type=tel]:disabled,[type=time]:disabled,[type=week]:disabled{border-color:var(--wp--custom--color--border--inactive);color:var(--wp--custom--color--text--disabled);cursor:not-allowed}[type=text] ::placeholder,[type=email] ::placeholder,[type=url] ::placeholder,[type=password] ::placeholder,[type=number] ::placeholder,[type=date] ::placeholder,[type=datetime-local] ::placeholder,[type=month] ::placeholder,[type=search] ::placeholder,[type=tel] ::placeholder,[type=time] ::placeholder,[type=week] ::placeholder{color:var(--wp--custom--color--text--disabled);opacity:1}textarea{appearance:none;background-color:var(--wp--custom--color--surface--default);border:1px solid var(--wp--custom--color--border--default);border-radius:0;box-shadow:none;display:block;font-family:inherit;font-size:var(--wp--preset--font-size--md);line-height:var(--wp--custom--line-height--normal);padding-block:var(--wp--preset--spacing--sm);padding-inline:var(--wp--preset--spacing--md);width:100%}textarea:focus{border-color:var(--wp--custom--color--border--active);box-shadow:var(--wp--custom--color--border--active) 0 0 0 1px;outline:2px solid rgba(0,0,0,0);outline-offset:2px}textarea:disabled{border-color:var(--wp--custom--color--border--inactive);color:var(--wp--custom--color--text--disabled);cursor:not-allowed}textarea ::placeholder{color:var(--wp--custom--color--text--disabled);opacity:1}select:where(:not([multiple])){appearance:none;border:1px solid var(--wp--custom--color--border--default);border-radius:0;box-shadow:none;display:block;font-family:inherit;font-size:var(--wp--preset--font-size--md);line-height:var(--wp--custom--line-height--normal);width:100%;background-color:var(--wp--custom--color--surface--default);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right var(--wp--preset--spacing--sm) center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-block:var(--wp--preset--spacing--sm);padding-left:var(--wp--preset--spacing--md);padding-right:var(--wp--preset--spacing--2-xl);-webkit-print-color-adjust:exact;print-color-adjust:exact}select:where(:not([multiple])):focus{border-color:var(--wp--custom--color--border--active);box-shadow:var(--wp--custom--color--border--active) 0 0 0 1px;outline:2px solid rgba(0,0,0,0);outline-offset:2px}select:where(:not([multiple])):disabled{border-color:var(--wp--custom--color--border--inactive);color:var(--wp--custom--color--text--disabled);cursor:not-allowed}select:where([multiple]){appearance:none;border:1px solid var(--wp--custom--color--border--default);border-radius:0;box-shadow:none;display:block;font-family:inherit;font-size:var(--wp--preset--font-size--md);line-height:var(--wp--custom--line-height--normal);width:100%;padding-block:var(--wp--preset--spacing--sm);padding-inline:var(--wp--preset--spacing--md)}select:where([multiple]):focus{border-color:var(--wp--custom--color--border--active);box-shadow:var(--wp--custom--color--border--active) 0 0 0 1px;outline:2px solid rgba(0,0,0,0);outline-offset:2px}select:where([multiple]):disabled{border-color:var(--wp--custom--color--border--inactive);color:var(--wp--custom--color--text--disabled);cursor:not-allowed}[type=checkbox]{appearance:none;background-color:var(--wp--custom--color--surface--default);background-origin:border-box;border:1px solid var(--wp--custom--color--border--default);border-radius:0;color:var(--wp--custom--color--surface--primary);display:inline-block;flex-shrink:0;height:16px;margin-right:var(--wp--preset--spacing--2-xs);padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;width:16px}[type=checkbox]:focus{box-shadow:var(--wp--custom--color--surface--default) 0 0 0 1px,var(--wp--custom--color--border--active) 0 0 0 3px;outline:2px solid rgba(0,0,0,0);outline-offset:2px}[type=checkbox]:checked{background-color:currentcolor;background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");background-position:center;background-repeat:no-repeat;background-size:100% 100%;border-color:rgba(0,0,0,0)}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus{background-color:currentcolor;border-color:rgba(0,0,0,0)}[type=checkbox]:indeterminate{background-color:currentcolor;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;background-size:100% 100%;border-color:rgba(0,0,0,0)}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{background-color:currentcolor;border-color:rgba(0,0,0,0)}[type=radio]{appearance:none;background-color:var(--wp--custom--color--surface--default);background-origin:border-box;border:1px solid var(--wp--custom--color--border--default);border-radius:100%;color:var(--wp--custom--color--surface--primary);display:inline-block;flex-shrink:0;height:16px;margin-right:var(--wp--preset--spacing--2-xs);padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;width:16px}[type=radio]:focus{box-shadow:var(--wp--custom--color--surface--default) 0 0 0 1px,var(--wp--custom--color--border--active) 0 0 0 3px;outline:2px solid rgba(0,0,0,0);outline-offset:2px}[type=radio]:checked{background-color:currentcolor;background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");background-position:center;background-repeat:no-repeat;background-size:100% 100%;border-color:rgba(0,0,0,0)}[type=radio]:checked:hover,[type=radio]:checked:focus{background-color:currentcolor;border-color:rgba(0,0,0,0)}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{border-color:var(--wp--custom--color--border--active);box-shadow:var(--wp--custom--color--border--active) 0 0 0 1px;outline:2px solid rgba(0,0,0,0);outline-offset:2px}[type=range]{accent-color:var(--wp--custom--color--surface--primary)}[type=submit]{align-items:center;border:unset;border-radius:unset;box-shadow:unset;cursor:pointer;display:inline-flex;gap:var(--wp--preset--spacing--2-xs);justify-content:center;padding:var(--wp--preset--spacing--sm);text-align:center;transition:all var(--wp--custom--transition-duration--quick)}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-bottom:0;padding-top:0}h1,h2,h3,h4,h5,h6{color:var(--wp--custom--color--text--primary);font-family:var(--wp--preset--font-family--primary);font-weight:600;letter-spacing:var(--wp--custom--letter-spacing--tighter)}h1{font-size:var(--wp--preset--font-size--5-xl);line-height:var(--wp--custom--line-height--none)}h2{font-size:var(--wp--preset--font-size--4-xl);line-height:var(--wp--custom--line-height--tight)}h3{font-size:var(--wp--preset--font-size--3-xl);line-height:var(--wp--custom--line-height--tight)}h4{font-size:var(--wp--preset--font-size--2-xl);line-height:var(--wp--custom--line-height--tight)}h5{font-size:var(--wp--preset--font-size--xl);line-height:var(--wp--custom--line-height--tight)}h6{font-size:var(--wp--preset--font-size--lg);line-height:var(--wp--custom--line-height--tight)}:where(a:not(.wp-element-button)){color:var(--wp--custom--color--text--link);-webkit-text-decoration:underline;text-decoration:underline}:where(nav) :where(ul,ol){list-style:none;margin:0;padding:0}img,picture,video,audio,canvas,svg{display:block;max-width:100%;vertical-align:bottom}.site-header{margin:0;position:relative}.site-header__logo{font-family:unset;font-size:unset;line-height:1;margin:0}.site-header__logo-link{color:unset;display:inline-block}.site-header__icon{width:200px}.site-main{margin:0}.site-footer{margin:0}.container{padding-left:var(--wp--style--root--padding-left);padding-right:var(--wp--style--root--padding-right)}.container>:where(:not(.alignleft):not(.alignright):not(.alignfull)){margin-left:auto;margin-right:auto;max-width:var(--wp--style--global--wide-size)} diff --git a/dist/js/app.asset.php b/dist/js/app.asset.php index b4683b6..f534533 100644 --- a/dist/js/app.asset.php +++ b/dist/js/app.asset.php @@ -1 +1 @@ - array(), 'version' => '2ff28ae35a69b3541b1a'); + array(), 'version' => '31d6cfe0d16ae931b73c'); diff --git a/dist/js/app.js b/dist/js/app.js index ab75952..e69de29 100644 --- a/dist/js/app.js +++ b/dist/js/app.js @@ -1 +0,0 @@ -!function(){"use strict";var e,t,n,r,i=!1,o=!1,a=[],s=-1;function l(e){let t=a.indexOf(e);-1!==t&&t>s&&a.splice(t,1)}function c(){i=!1,o=!0;for(let e=0;e