@keystone-sites/marketing-design-system 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +163 -0
- package/README.md +85 -0
- package/assets/media/brand/ks-lockup.svg +13 -0
- package/assets/media/brand/ks-logomark.svg +4 -0
- package/assets/media/brand/ks-wordmark-inline.svg +13 -0
- package/assets/media/brand/ks-wordmark.svg +11 -0
- package/assets/media/fonts/gt-standard-standard-vf.woff2 +0 -0
- package/assets/media/fonts/pp-kyoto-variable-upright-vf.woff2 +0 -0
- package/base.css +111 -0
- package/css-vars.d.ts +10 -0
- package/grid/engine.css +368 -0
- package/grid/field-hash.ts +31 -0
- package/grid/field.tsx +48 -0
- package/grid/gates.cjs +34 -0
- package/grid/region.tsx +97 -0
- package/icons.tsx +1224 -0
- package/index.css +77 -0
- package/lib/autoplay-gate.ts +88 -0
- package/lib/focus-trap.ts +42 -0
- package/lib/grader.ts +131 -0
- package/lib/legal-data.ts +1 -0
- package/lib/legal.ts +41 -0
- package/lib/noise.tsx +114 -0
- package/lib/render-boundary.tsx +27 -0
- package/lib/scroll-lock.ts +25 -0
- package/lib/swipe.ts +124 -0
- package/lib/use-active-section.ts +43 -0
- package/lib/use-count-up.ts +26 -0
- package/lib/use-grader-search.ts +118 -0
- package/lib/use-video-carousel.ts +271 -0
- package/media.ts +558 -0
- package/package.json +201 -0
- package/primitives/button-inline.css +52 -0
- package/primitives/button-inline.tsx +38 -0
- package/primitives/buttons.css +449 -0
- package/primitives/buttons.tsx +263 -0
- package/primitives/case-study-button.css +71 -0
- package/primitives/case-study-button.tsx +28 -0
- package/primitives/case-study-card.css +318 -0
- package/primitives/case-study-card.tsx +116 -0
- package/primitives/closer-row.css +14 -0
- package/primitives/closer-row.tsx +22 -0
- package/primitives/cta-row.css +41 -0
- package/primitives/cta-row.tsx +39 -0
- package/primitives/disclosure.css +210 -0
- package/primitives/disclosure.tsx +144 -0
- package/primitives/faq-question.css +220 -0
- package/primitives/faq-question.tsx +55 -0
- package/primitives/field.css +225 -0
- package/primitives/field.tsx +266 -0
- package/primitives/footer-item.css +72 -0
- package/primitives/footer-item.tsx +42 -0
- package/primitives/grader-menu.tsx +84 -0
- package/primitives/grader.css +302 -0
- package/primitives/grader.tsx +284 -0
- package/primitives/modal.css +151 -0
- package/primitives/modal.tsx +90 -0
- package/primitives/notice.css +39 -0
- package/primitives/notice.tsx +56 -0
- package/primitives/persona-card.css +374 -0
- package/primitives/persona-card.tsx +74 -0
- package/primitives/picture.css +11 -0
- package/primitives/picture.tsx +41 -0
- package/primitives/plan-card.css +378 -0
- package/primitives/plan-card.tsx +91 -0
- package/primitives/prose.css +118 -0
- package/primitives/prose.tsx +170 -0
- package/primitives/ramps.css +84 -0
- package/primitives/slider.css +179 -0
- package/primitives/slider.tsx +69 -0
- package/primitives/slug.css +87 -0
- package/primitives/slug.tsx +37 -0
- package/primitives/status.css +298 -0
- package/primitives/status.tsx +222 -0
- package/primitives/strip.css +40 -0
- package/primitives/surface.css +78 -0
- package/primitives/surface.tsx +95 -0
- package/primitives/table.css +226 -0
- package/primitives/table.tsx +122 -0
- package/primitives/tabs.css +85 -0
- package/primitives/tabs.tsx +122 -0
- package/primitives/text.css +110 -0
- package/primitives/toc.css +65 -0
- package/primitives/toc.tsx +42 -0
- package/rules/design-system.md +154 -0
- package/rules/grid-and-layout.md +166 -0
- package/scripts/generate-exports.mjs +61 -0
- package/scripts/generate-type-css.mjs +130 -0
- package/sections/faq-island.tsx +102 -0
- package/sections/faq.css +213 -0
- package/sections/faq.tsx +46 -0
- package/sections/footer-nav.tsx +95 -0
- package/sections/footer-signature.css +183 -0
- package/sections/footer-signature.tsx +114 -0
- package/sections/footer.css +735 -0
- package/sections/footer.tsx +283 -0
- package/sections/gallery-overlay.css +213 -0
- package/sections/gallery-overlay.tsx +267 -0
- package/sections/landing-benefits.css +59 -0
- package/sections/landing-benefits.tsx +81 -0
- package/sections/landing-closer.css +23 -0
- package/sections/landing-closer.tsx +26 -0
- package/sections/landing-hero.css +80 -0
- package/sections/landing-hero.tsx +69 -0
- package/sections/landing-quote.css +19 -0
- package/sections/landing-quote.tsx +30 -0
- package/sections/landing-sample.ts +66 -0
- package/sections/landing.css +45 -0
- package/sections/landing.tsx +69 -0
- package/sections/load-orchestrator.tsx +43 -0
- package/sections/load.css +138 -0
- package/sections/nav-desktop.css +530 -0
- package/sections/nav-desktop.tsx +155 -0
- package/sections/nav-mobile.css +571 -0
- package/sections/nav-mobile.tsx +222 -0
- package/sections/nav.css +126 -0
- package/sections/nav.tsx +394 -0
- package/sections/site-chat-data.ts +16 -0
- package/sections/site-chat-open.tsx +25 -0
- package/sections/site-chat.tsx +67 -0
- package/site-links.ts +36 -0
- package/site.ts +2 -0
- package/themes/inverted.css +139 -0
- package/tokens/fonts.css +38 -0
- package/tokens/motion.css +125 -0
- package/tokens/primitives.css +163 -0
- package/tokens/semantic.css +153 -0
- package/tokens/type-styles.json +145 -0
- package/tokens/type.css +1548 -0
- package/widgets.css +78 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/** Specimen data for the landing kit (sections/landing.tsx): one section
|
|
2
|
+
* of every kind, rendered in the catalog. A real landing page is a module
|
|
3
|
+
* like this one plus a route in the consumer; this copy is a placeholder,
|
|
4
|
+
* not a shipped page. */
|
|
5
|
+
|
|
6
|
+
import { heroCarouselPicture } from "../media";
|
|
7
|
+
import { SITE_LINKS } from "../site-links";
|
|
8
|
+
import type { LandingPageData } from "./landing";
|
|
9
|
+
|
|
10
|
+
export const LANDING_SAMPLE: LandingPageData = {
|
|
11
|
+
meta: {
|
|
12
|
+
title: "Keystone for dental practices | Keystone",
|
|
13
|
+
description:
|
|
14
|
+
"Keystone runs the website, ads, reviews, and follow-ups for dental practices, so the front desk can focus on patients.",
|
|
15
|
+
},
|
|
16
|
+
sections: [
|
|
17
|
+
{
|
|
18
|
+
kind: "hero",
|
|
19
|
+
eyebrow: "Keystone for dental practices",
|
|
20
|
+
title: "Fill the chairs. Skip the marketing meetings.",
|
|
21
|
+
subhead:
|
|
22
|
+
"Your website, ads, reviews, and patient follow-ups, running as one system that books appointments while your team treats patients.",
|
|
23
|
+
cta: { label: "See pricing", href: SITE_LINKS.pricing },
|
|
24
|
+
picture: heroCarouselPicture(3),
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
kind: "benefits",
|
|
28
|
+
eyebrow: "Why practices switch",
|
|
29
|
+
title: "Built for how a practice actually fills its schedule.",
|
|
30
|
+
items: [
|
|
31
|
+
{
|
|
32
|
+
id: "found",
|
|
33
|
+
icon: "maps",
|
|
34
|
+
title: "Get found by nearby patients",
|
|
35
|
+
copy: "Local search, maps, and ads tuned to the procedures you want more of, from cleanings to implants.",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
id: "reviews",
|
|
39
|
+
icon: "reviews",
|
|
40
|
+
title: "Turn happy patients into reviews",
|
|
41
|
+
copy: "Automatic review requests after every visit, so new patients see a practice people trust.",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
id: "follow-up",
|
|
45
|
+
icon: "reception",
|
|
46
|
+
title: "Never lose a lead to voicemail",
|
|
47
|
+
copy: "Every call, form, and chat gets a reply and a booking link, nights and weekends included.",
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
kind: "quote",
|
|
53
|
+
eyebrow: "From the chair",
|
|
54
|
+
quote:
|
|
55
|
+
"“We stopped thinking about marketing. New patients just show up on the schedule, and the front desk finally has time for the people in the lobby.”",
|
|
56
|
+
attribution: "Practice owner, general and cosmetic dentistry",
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
kind: "closer",
|
|
60
|
+
eyebrow: "Get started",
|
|
61
|
+
title: "See what Keystone would do for your practice.",
|
|
62
|
+
copy: "One plan, one price, everything included. Talk to us or see pricing today.",
|
|
63
|
+
cta: { label: "Get in touch", href: SITE_LINKS.contact },
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* Landing kit shared frame. The four sections share one rhythm: each
|
|
2
|
+
pads 1t inline, sits in unpainted air, and hands off through a
|
|
3
|
+
CloserRow, so the page reads [content] → 1t → [12-cell row] → 1t →
|
|
4
|
+
[content]. Section frames live in their own files (landing-hero.css …),
|
|
5
|
+
imported after this one so their rules win. */
|
|
6
|
+
|
|
7
|
+
.ld-sec {
|
|
8
|
+
width: 100%;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
padding-inline: var(--t);
|
|
11
|
+
}
|
|
12
|
+
/* Every section after the hero opens with a full tick of clearance. */
|
|
13
|
+
.ld-sec + .ld-sec {
|
|
14
|
+
padding-top: var(--t);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* Local exposure frames escape the 1t inline padding so a field spans
|
|
18
|
+
all 12 columns. */
|
|
19
|
+
.ld-bleed {
|
|
20
|
+
inset: 0 auto auto calc(var(--t) * -1);
|
|
21
|
+
width: calc(var(--t) * 12);
|
|
22
|
+
height: 100%;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* Section head: eyebrow, then the h2 inside its measure. */
|
|
26
|
+
.ld-head {
|
|
27
|
+
display: flex;
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
align-items: flex-start;
|
|
30
|
+
}
|
|
31
|
+
.ld-h2 {
|
|
32
|
+
margin: var(--space-lg) 0 0;
|
|
33
|
+
max-width: calc(var(--t) * 10);
|
|
34
|
+
}
|
|
35
|
+
@container (--rt) {
|
|
36
|
+
.ld-h2 {
|
|
37
|
+
max-width: calc(var(--t) * 8);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
@container (--rd1) {
|
|
41
|
+
.ld-h2 {
|
|
42
|
+
margin-top: var(--space-3xl);
|
|
43
|
+
max-width: calc(var(--t) * 7);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { Fragment, type ReactNode } from "react";
|
|
2
|
+
import { getCompanyInformation } from "@keystone-sites/core/lib/server-api";
|
|
3
|
+
import { GridField } from "../grid/field";
|
|
4
|
+
import { NavChrome } from "./nav";
|
|
5
|
+
import { FooterSection } from "./footer";
|
|
6
|
+
import { LoadOrchestrator } from "./load-orchestrator";
|
|
7
|
+
import { LandingHeroSection, type LandingHeroData } from "./landing-hero";
|
|
8
|
+
import { LandingBenefitsSection, type LandingBenefitsData } from "./landing-benefits";
|
|
9
|
+
import { LandingQuoteSection, type LandingQuoteData } from "./landing-quote";
|
|
10
|
+
import { LandingCloserSection, type LandingCloserData } from "./landing-closer";
|
|
11
|
+
|
|
12
|
+
/** One section of a landing page: its kind names the component, the
|
|
13
|
+
* rest is that section's data. Order and count are the page's; a kind
|
|
14
|
+
* may repeat. To add a kind, write the section (sections/landing-*.tsx),
|
|
15
|
+
* add its variant here, and add one line to `SECTIONS`. */
|
|
16
|
+
export type LandingSection =
|
|
17
|
+
| ({ kind: "hero" } & LandingHeroData)
|
|
18
|
+
| ({ kind: "benefits" } & LandingBenefitsData)
|
|
19
|
+
| ({ kind: "quote" } & LandingQuoteData)
|
|
20
|
+
| ({ kind: "closer" } & LandingCloserData);
|
|
21
|
+
|
|
22
|
+
export interface LandingPageData {
|
|
23
|
+
meta: { title: string; description: string };
|
|
24
|
+
sections: readonly LandingSection[];
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
const SECTIONS: {
|
|
28
|
+
[K in LandingSection["kind"]]: (data: Extract<LandingSection, { kind: K }>) => ReactNode;
|
|
29
|
+
} = {
|
|
30
|
+
hero: (data) => <LandingHeroSection data={data} />,
|
|
31
|
+
benefits: (data) => <LandingBenefitsSection data={data} />,
|
|
32
|
+
quote: (data) => <LandingQuoteSection data={data} />,
|
|
33
|
+
closer: (data) => <LandingCloserSection data={data} />,
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
/** Render one section by kind; the design page uses this too. */
|
|
37
|
+
export function renderLandingSection(section: LandingSection): ReactNode {
|
|
38
|
+
/* The map is exhaustive and keyed by kind; the union cannot be
|
|
39
|
+
narrowed through the lookup, so the call is widened once here. */
|
|
40
|
+
const render = SECTIONS[section.kind] as (data: LandingSection) => ReactNode;
|
|
41
|
+
return render(section);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/** Landing page composition: the data's sections, in its order, between
|
|
45
|
+
* the site's chrome, with the Our Work entrance (copy rises once fonts
|
|
46
|
+
* are ready; a hero's media frame is the last beat). */
|
|
47
|
+
export async function LandingPage({ data }: { data: LandingPageData }) {
|
|
48
|
+
const companyInfo = await getCompanyInformation();
|
|
49
|
+
return (
|
|
50
|
+
<div className="page load-sequence-rise">
|
|
51
|
+
<GridField />
|
|
52
|
+
<NavChrome />
|
|
53
|
+
<main>
|
|
54
|
+
{data.sections.map((section, i) => (
|
|
55
|
+
<Fragment key={`${section.kind}-${i}`}>{renderLandingSection(section)}</Fragment>
|
|
56
|
+
))}
|
|
57
|
+
</main>
|
|
58
|
+
<FooterSection
|
|
59
|
+
social={{
|
|
60
|
+
linkedin: companyInfo?.linkedin_url,
|
|
61
|
+
facebook: companyInfo?.facebook_url,
|
|
62
|
+
instagram: companyInfo?.instagram_url,
|
|
63
|
+
youtube: companyInfo?.youtube_url,
|
|
64
|
+
}}
|
|
65
|
+
/>
|
|
66
|
+
<LoadOrchestrator finalAnimation="hx-rise" finalSelector=".ld-hero-media" />
|
|
67
|
+
</div>
|
|
68
|
+
);
|
|
69
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { useEffect, useRef } from "react";
|
|
4
|
+
|
|
5
|
+
interface LoadOrchestratorProps {
|
|
6
|
+
/** Animation name of the choreography's final beat. */
|
|
7
|
+
finalAnimation: string;
|
|
8
|
+
/** Optional selector for the element that owns the final beat. */
|
|
9
|
+
finalSelector?: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export function LoadOrchestrator({ finalAnimation, finalSelector }: LoadOrchestratorProps) {
|
|
13
|
+
const ref = useRef<HTMLSpanElement>(null);
|
|
14
|
+
|
|
15
|
+
useEffect(() => {
|
|
16
|
+
const page = ref.current?.closest<HTMLElement>(".page");
|
|
17
|
+
if (!page) return;
|
|
18
|
+
|
|
19
|
+
let cancelled = false;
|
|
20
|
+
document.fonts.ready.then(() => {
|
|
21
|
+
if (cancelled) return;
|
|
22
|
+
requestAnimationFrame(() => {
|
|
23
|
+
if (!cancelled) page.classList.add("load-active");
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
const onAnimationEnd = (e: AnimationEvent) => {
|
|
28
|
+
if (e.animationName !== finalAnimation) return;
|
|
29
|
+
if (finalSelector && !(e.target as HTMLElement).matches(finalSelector)) return;
|
|
30
|
+
if (page.classList.contains("load-active")) page.classList.add("load-settled");
|
|
31
|
+
};
|
|
32
|
+
page.addEventListener("animationend", onAnimationEnd);
|
|
33
|
+
|
|
34
|
+
return () => {
|
|
35
|
+
cancelled = true;
|
|
36
|
+
page.removeEventListener("animationend", onAnimationEnd);
|
|
37
|
+
page.classList.remove("load-active");
|
|
38
|
+
page.classList.remove("load-settled");
|
|
39
|
+
};
|
|
40
|
+
}, [finalAnimation, finalSelector]);
|
|
41
|
+
|
|
42
|
+
return <span ref={ref} hidden />;
|
|
43
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
/* Page-load choreography for a product page. `LoadOrchestrator`
|
|
2
|
+
(sections/load-orchestrator.tsx) adds `.load-active` to a
|
|
3
|
+
`.page.load-sequence` once fonts are ready and `.load-settled` after
|
|
4
|
+
the final beat. The lattice of the section marked `.load-hero` sweeps
|
|
5
|
+
in, the nav drops, and `.hx-rise` blocks rise in the order of their
|
|
6
|
+
`--_d` delays. `.rise` is the same entrance for content that arrives
|
|
7
|
+
later (a report, a result); stagger siblings with `--_d`.
|
|
8
|
+
|
|
9
|
+
The marketing site's hero owns its own, richer choreography in its
|
|
10
|
+
section file; this is the general one. */
|
|
11
|
+
|
|
12
|
+
/* Designed constants for this file. */
|
|
13
|
+
:root {
|
|
14
|
+
--load-nav-drop: 8px;
|
|
15
|
+
--load-sweep-offset: 120ms;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.page.load-sequence {
|
|
19
|
+
--load-sweep-duration: 350ms;
|
|
20
|
+
--load-nav-duration: 250ms;
|
|
21
|
+
--hx-d-h1a: 0ms;
|
|
22
|
+
--hx-d-sub1: 150ms;
|
|
23
|
+
--hx-d-cta: 390ms;
|
|
24
|
+
--hx-d-pass: 750ms;
|
|
25
|
+
--_rise-fade-dur: var(--motion-entrance-engine-fade-dur);
|
|
26
|
+
--_rise-move-dur: var(--motion-entrance-engine-move-dur);
|
|
27
|
+
--_rise-ease: var(--motion-entrance-engine-ease);
|
|
28
|
+
}
|
|
29
|
+
.page.load-sequence :is(.hx-rise, .load-hero .decor) {
|
|
30
|
+
--motion-rise-distance: 12px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* Hide choreographed elements until the load class prevents a cold-font flash. */
|
|
34
|
+
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
|
|
35
|
+
.page.load-sequence:not(.load-active) :is(.hx-rise, .knav-bar, .knav-mbar) {
|
|
36
|
+
opacity: 0;
|
|
37
|
+
}
|
|
38
|
+
.page.load-sequence:not(.load-active) .load-hero :is(.grid-region, .decor) {
|
|
39
|
+
opacity: 0;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@keyframes hx-rise {
|
|
44
|
+
from {
|
|
45
|
+
opacity: 0;
|
|
46
|
+
transform: translateY(var(--motion-rise-distance));
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
@keyframes hx-rise-move {
|
|
50
|
+
from {
|
|
51
|
+
transform: translateY(var(--motion-rise-distance));
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
@keyframes hx-fade {
|
|
55
|
+
from {
|
|
56
|
+
opacity: 0;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
@keyframes hx-sweep-v {
|
|
60
|
+
from {
|
|
61
|
+
transform: scaleY(0);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
@keyframes hx-sweep-h {
|
|
65
|
+
from {
|
|
66
|
+
transform: scaleX(0);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
@keyframes hx-nav-drop {
|
|
70
|
+
from {
|
|
71
|
+
opacity: 0;
|
|
72
|
+
transform: translateY(calc(-1 * var(--load-nav-drop)));
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.load-active .load-hero .grid-region i.v {
|
|
77
|
+
transform-origin: top;
|
|
78
|
+
animation: hx-sweep-v var(--load-sweep-duration) var(--motion-entrance-ring-ease) backwards;
|
|
79
|
+
}
|
|
80
|
+
.load-active .load-hero .grid-region i.h {
|
|
81
|
+
transform-origin: left;
|
|
82
|
+
animation: hx-sweep-h var(--load-sweep-duration) var(--motion-entrance-ring-ease) backwards;
|
|
83
|
+
animation-delay: var(--load-sweep-offset);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.load-active .knav-bar,
|
|
87
|
+
.load-active .knav-mbar {
|
|
88
|
+
animation: hx-nav-drop var(--load-nav-duration) var(--motion-entrance-engine-ease) backwards;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.load-active .hx-rise {
|
|
92
|
+
animation: hx-rise var(--motion-rise-duration) var(--motion-rise-ease) backwards;
|
|
93
|
+
animation-delay: var(--_d, 0ms);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
97
|
+
.page.load-sequence.load-active:not(.load-settled) .hx-rise {
|
|
98
|
+
animation:
|
|
99
|
+
hx-fade var(--_rise-fade-dur) var(--_rise-ease) backwards,
|
|
100
|
+
hx-rise-move var(--_rise-move-dur) var(--_rise-ease) backwards;
|
|
101
|
+
animation-delay: var(--_d, 0ms);
|
|
102
|
+
}
|
|
103
|
+
.page.load-sequence.load-active:not(.load-settled) .load-hero .decor {
|
|
104
|
+
animation:
|
|
105
|
+
hx-fade var(--_rise-fade-dur) var(--_rise-ease) backwards,
|
|
106
|
+
hx-rise-move var(--_rise-move-dur) var(--_rise-ease) backwards;
|
|
107
|
+
animation-delay: var(--hx-d-cta);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.page.load-settled .grid-region,
|
|
112
|
+
.page.load-settled .decor,
|
|
113
|
+
.page.load-settled .grid-region i.v,
|
|
114
|
+
.page.load-settled .grid-region i.h,
|
|
115
|
+
.page.load-settled .knav-bar,
|
|
116
|
+
.page.load-settled .knav-mbar,
|
|
117
|
+
.page.load-settled .hx-rise {
|
|
118
|
+
animation: none;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/* Rise: the entrance for content that arrives after load. */
|
|
122
|
+
.rise {
|
|
123
|
+
animation: hx-rise var(--motion-rise-duration) var(--motion-rise-ease) backwards;
|
|
124
|
+
animation-delay: var(--_d, 0ms);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/* Visually hidden, read by assistive technology. */
|
|
128
|
+
.hx-sr {
|
|
129
|
+
position: absolute;
|
|
130
|
+
width: 1px;
|
|
131
|
+
height: 1px;
|
|
132
|
+
margin: -1px;
|
|
133
|
+
padding: 0;
|
|
134
|
+
overflow: hidden;
|
|
135
|
+
clip-path: inset(50%);
|
|
136
|
+
white-space: nowrap;
|
|
137
|
+
border: 0;
|
|
138
|
+
}
|