@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,283 @@
|
|
|
1
|
+
import { CookiePreferencesLink } from "@keystone-sites/widgets/consent/CookiePreferencesLink";
|
|
2
|
+
import { GridRegion, GridDecor, type GridBand } from "../grid/region";
|
|
3
|
+
import { GraderInput } from "../primitives/grader";
|
|
4
|
+
import { FooterItem } from "../primitives/footer-item";
|
|
5
|
+
import { MEDIA } from "../media";
|
|
6
|
+
import { SITE_LINKS } from "../site-links";
|
|
7
|
+
import { FooterNav, type FooterNavGroup } from "./footer-nav";
|
|
8
|
+
|
|
9
|
+
interface R {
|
|
10
|
+
gx: number;
|
|
11
|
+
gy: number;
|
|
12
|
+
gw?: number;
|
|
13
|
+
gh?: number;
|
|
14
|
+
}
|
|
15
|
+
interface Orn extends R {
|
|
16
|
+
shape: "square" | "circle" | "outline";
|
|
17
|
+
}
|
|
18
|
+
interface BandMap {
|
|
19
|
+
regions: R[];
|
|
20
|
+
ornaments: Orn[];
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
const SECTION_MAP: Record<GridBand, BandMap> = {
|
|
24
|
+
rm: {
|
|
25
|
+
regions: [
|
|
26
|
+
{ gx: 0, gy: 0, gw: 12, gh: 1 },
|
|
27
|
+
{ gx: 11, gy: 1, gw: 1, gh: 17 },
|
|
28
|
+
],
|
|
29
|
+
ornaments: [
|
|
30
|
+
{ gx: 1, gy: 0, shape: "circle" },
|
|
31
|
+
{ gx: 11, gy: 7, shape: "outline" },
|
|
32
|
+
],
|
|
33
|
+
},
|
|
34
|
+
rs: {
|
|
35
|
+
regions: [
|
|
36
|
+
{ gx: 0, gy: 0, gw: 12, gh: 1 },
|
|
37
|
+
{ gx: 0, gy: 1, gw: 1, gh: 14 },
|
|
38
|
+
{ gx: 11, gy: 1, gw: 1, gh: 14 },
|
|
39
|
+
],
|
|
40
|
+
ornaments: [
|
|
41
|
+
{ gx: 1, gy: 0, shape: "circle" },
|
|
42
|
+
{ gx: 11, gy: 6, shape: "outline" },
|
|
43
|
+
],
|
|
44
|
+
},
|
|
45
|
+
rt: {
|
|
46
|
+
regions: [
|
|
47
|
+
{ gx: 0, gy: 0, gw: 12, gh: 1 },
|
|
48
|
+
{ gx: 0, gy: 1, gw: 1, gh: 5 },
|
|
49
|
+
{ gx: 11, gy: 1, gw: 1, gh: 5 },
|
|
50
|
+
],
|
|
51
|
+
ornaments: [
|
|
52
|
+
{ gx: 0, gy: 2, shape: "circle" },
|
|
53
|
+
{ gx: 3, gy: 9, shape: "outline" },
|
|
54
|
+
],
|
|
55
|
+
},
|
|
56
|
+
rd1: {
|
|
57
|
+
regions: [{ gx: 0, gy: 0, gw: 12, gh: 1 }],
|
|
58
|
+
ornaments: [
|
|
59
|
+
{ gx: 1, gy: 0, shape: "circle" },
|
|
60
|
+
{ gx: 3, gy: 6, shape: "outline" },
|
|
61
|
+
],
|
|
62
|
+
},
|
|
63
|
+
rd2: {
|
|
64
|
+
regions: [{ gx: 0, gy: 0, gw: 12, gh: 1 }],
|
|
65
|
+
ornaments: [
|
|
66
|
+
{ gx: 3, gy: 0, shape: "circle" },
|
|
67
|
+
{ gx: 3, gy: 5, shape: "outline" },
|
|
68
|
+
],
|
|
69
|
+
},
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
/* Logo maps use block-local tick coordinates. */
|
|
73
|
+
function logoMap(r5Cells: number | null, sideCells = 3): BandMap {
|
|
74
|
+
return {
|
|
75
|
+
regions: [
|
|
76
|
+
{ gx: 0, gy: 0, gw: 12, gh: 1 },
|
|
77
|
+
{ gx: 0, gy: 1, gw: 1, gh: sideCells },
|
|
78
|
+
{ gx: 11, gy: 1, gw: 1, gh: sideCells },
|
|
79
|
+
r5Cells === null ? { gx: 0, gy: 4, gw: 12, gh: 1 } : { gx: 0, gy: 4, gw: r5Cells, gh: 1 },
|
|
80
|
+
],
|
|
81
|
+
ornaments: [
|
|
82
|
+
{ gx: 8, gy: 0, shape: "square" },
|
|
83
|
+
{ gx: 3, gy: 4, shape: "circle" },
|
|
84
|
+
],
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
const LOGO_MAP: Record<GridBand, BandMap> = {
|
|
88
|
+
rm: logoMap(null, 7),
|
|
89
|
+
rs: logoMap(null, 7),
|
|
90
|
+
rt: logoMap(null, 7),
|
|
91
|
+
rd1: logoMap(5),
|
|
92
|
+
rd2: logoMap(5),
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
const BANDS: GridBand[] = ["rm", "rs", "rt", "rd1", "rd2"];
|
|
96
|
+
|
|
97
|
+
function Overlay({ maps }: { maps: Record<GridBand, BandMap> }) {
|
|
98
|
+
return (
|
|
99
|
+
<div className="gx" aria-hidden="true">
|
|
100
|
+
{BANDS.map((band) => [
|
|
101
|
+
...maps[band].regions.map((r, i) => (
|
|
102
|
+
<GridRegion key={`${band}-r${i}`} band={band} {...r} />
|
|
103
|
+
)),
|
|
104
|
+
...maps[band].ornaments.map((o, i) => (
|
|
105
|
+
<GridDecor key={`${band}-o${i}`} band={band} gx={o.gx} gy={o.gy}>
|
|
106
|
+
<span
|
|
107
|
+
className={
|
|
108
|
+
o.shape === "square"
|
|
109
|
+
? "f-cell fill"
|
|
110
|
+
: o.shape === "circle"
|
|
111
|
+
? "f-cell fill round"
|
|
112
|
+
: "f-cell round"
|
|
113
|
+
}
|
|
114
|
+
/>
|
|
115
|
+
</GridDecor>
|
|
116
|
+
)),
|
|
117
|
+
])}
|
|
118
|
+
</div>
|
|
119
|
+
);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export interface FooterSocial {
|
|
123
|
+
linkedin?: string;
|
|
124
|
+
facebook?: string;
|
|
125
|
+
instagram?: string;
|
|
126
|
+
youtube?: string;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
interface NavItem {
|
|
130
|
+
label: string;
|
|
131
|
+
href: string;
|
|
132
|
+
arrow?: boolean;
|
|
133
|
+
chrome?: "light" | "dark";
|
|
134
|
+
external?: boolean;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
function navGroups(social: FooterSocial): Array<{
|
|
138
|
+
id: string;
|
|
139
|
+
label: string;
|
|
140
|
+
openRm: number;
|
|
141
|
+
openRs: number;
|
|
142
|
+
items: NavItem[];
|
|
143
|
+
}> {
|
|
144
|
+
const socialItems: NavItem[] = [];
|
|
145
|
+
if (social.linkedin)
|
|
146
|
+
socialItems.push({ label: "LinkedIn", href: social.linkedin, external: true });
|
|
147
|
+
if (social.facebook)
|
|
148
|
+
socialItems.push({ label: "Facebook", href: social.facebook, external: true });
|
|
149
|
+
if (social.instagram)
|
|
150
|
+
socialItems.push({ label: "Instagram", href: social.instagram, external: true });
|
|
151
|
+
if (social.youtube) socialItems.push({ label: "YouTube", href: social.youtube, external: true });
|
|
152
|
+
|
|
153
|
+
return [
|
|
154
|
+
{
|
|
155
|
+
id: "product",
|
|
156
|
+
label: "Product",
|
|
157
|
+
openRm: 7,
|
|
158
|
+
openRs: 6,
|
|
159
|
+
items: [
|
|
160
|
+
{ label: "Our Approach", href: SITE_LINKS.approach },
|
|
161
|
+
{ label: "Solutions", href: SITE_LINKS.solutions },
|
|
162
|
+
{ label: "Our Work", href: SITE_LINKS.ourWork },
|
|
163
|
+
{ label: "Case Studies", href: SITE_LINKS.caseStudies },
|
|
164
|
+
{ label: "Pricing", href: SITE_LINKS.pricing },
|
|
165
|
+
{ label: "Login", href: SITE_LINKS.login, arrow: true, chrome: "dark", external: true },
|
|
166
|
+
],
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
id: "resources",
|
|
170
|
+
label: "Resources",
|
|
171
|
+
openRm: 5,
|
|
172
|
+
openRs: 5,
|
|
173
|
+
items: [
|
|
174
|
+
{ label: "Blog", href: SITE_LINKS.blog },
|
|
175
|
+
{ label: "Podcast", href: SITE_LINKS.spotify, external: true },
|
|
176
|
+
{ label: "Marketing Report", href: SITE_LINKS.marketingReport, external: true },
|
|
177
|
+
],
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
id: "company",
|
|
181
|
+
label: "Company",
|
|
182
|
+
openRm: 5,
|
|
183
|
+
openRs: 5,
|
|
184
|
+
items: [
|
|
185
|
+
{ label: "Our Story", href: SITE_LINKS.about },
|
|
186
|
+
{ label: "Leadership", href: SITE_LINKS.leadership },
|
|
187
|
+
{ label: "Careers", href: SITE_LINKS.careers },
|
|
188
|
+
],
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
id: "findus",
|
|
192
|
+
label: "Find Us",
|
|
193
|
+
openRm: 8,
|
|
194
|
+
openRs: 7,
|
|
195
|
+
items: [
|
|
196
|
+
...socialItems,
|
|
197
|
+
{ label: "Spotify", href: SITE_LINKS.spotify, external: true },
|
|
198
|
+
{ label: "Apple Podcast", href: SITE_LINKS.applePodcasts, external: true },
|
|
199
|
+
],
|
|
200
|
+
},
|
|
201
|
+
];
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export function FooterSection({ social = {} }: { social?: FooterSocial }) {
|
|
205
|
+
const groups: FooterNavGroup[] = navGroups(social).map((g) => ({
|
|
206
|
+
id: g.id,
|
|
207
|
+
label: g.label,
|
|
208
|
+
openRm: g.openRm,
|
|
209
|
+
openRs: g.openRs,
|
|
210
|
+
list: (
|
|
211
|
+
<ul className="fnav-list">
|
|
212
|
+
{g.items.map((item) => (
|
|
213
|
+
<li key={item.label}>
|
|
214
|
+
<FooterItem
|
|
215
|
+
chrome={item.chrome ?? "light"}
|
|
216
|
+
href={item.href}
|
|
217
|
+
arrow={item.arrow}
|
|
218
|
+
external={item.external}
|
|
219
|
+
>
|
|
220
|
+
{item.label}
|
|
221
|
+
</FooterItem>
|
|
222
|
+
</li>
|
|
223
|
+
))}
|
|
224
|
+
</ul>
|
|
225
|
+
),
|
|
226
|
+
}));
|
|
227
|
+
|
|
228
|
+
const lockup = MEDIA.brand.lockup;
|
|
229
|
+
|
|
230
|
+
return (
|
|
231
|
+
<footer className="sec f-footer">
|
|
232
|
+
<Overlay maps={SECTION_MAP} />
|
|
233
|
+
|
|
234
|
+
<div className="f-top" data-landmark="top">
|
|
235
|
+
<div className="f-ti">
|
|
236
|
+
<div className="f-tag">
|
|
237
|
+
<div className="f-tagrow">
|
|
238
|
+
<span className="f-dot f-dot-tag" aria-hidden="true" />
|
|
239
|
+
<p className="type ts-display-serif-sm-light f-tagline">
|
|
240
|
+
Great businesses
|
|
241
|
+
<br className="f-brk-a" /> deserve
|
|
242
|
+
<br className="f-brk-b" /> to be found.
|
|
243
|
+
</p>
|
|
244
|
+
</div>
|
|
245
|
+
</div>
|
|
246
|
+
<div className="f-inp">
|
|
247
|
+
<div className="f-inpcol">
|
|
248
|
+
<div className="f-promptrow">
|
|
249
|
+
<span className="f-dot f-dot-prompt" aria-hidden="true" />
|
|
250
|
+
<p className="type ts-text-md-light f-prompt">
|
|
251
|
+
{/* Keep the phrase together at this comma. */}
|
|
252
|
+
Show us your site,{"\u00a0"} we’ll show
|
|
253
|
+
<br className="f-brk-c" /> you the rest.
|
|
254
|
+
</p>
|
|
255
|
+
</div>
|
|
256
|
+
<div className="f-grader" id="grader">
|
|
257
|
+
<GraderInput size="inherit" />
|
|
258
|
+
</div>
|
|
259
|
+
</div>
|
|
260
|
+
</div>
|
|
261
|
+
</div>
|
|
262
|
+
</div>
|
|
263
|
+
|
|
264
|
+
<FooterNav groups={groups} />
|
|
265
|
+
|
|
266
|
+
<div className="f-logo" data-landmark="logo">
|
|
267
|
+
<Overlay maps={LOGO_MAP} />
|
|
268
|
+
<div className="f-lockband">
|
|
269
|
+
<div className="f-lockup" role="img" aria-label={lockup.alt} />
|
|
270
|
+
</div>
|
|
271
|
+
<div className="type f-copy">
|
|
272
|
+
<span>© 2026 Keystone</span>
|
|
273
|
+
<div className="f-legal-links">
|
|
274
|
+
<a href={SITE_LINKS.terms}>Terms of Service</a>
|
|
275
|
+
<a href={SITE_LINKS.privacy}>Privacy Policy</a>
|
|
276
|
+
<a href={SITE_LINKS.accessibility}>Accessibility</a>
|
|
277
|
+
<CookiePreferencesLink label="Cookie preferences" className="f-legal-preferences" />
|
|
278
|
+
</div>
|
|
279
|
+
</div>
|
|
280
|
+
</div>
|
|
281
|
+
</footer>
|
|
282
|
+
);
|
|
283
|
+
}
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
/* Reference frame widths the viewer script reads from the root. */
|
|
2
|
+
:root {
|
|
3
|
+
--gv-ref-mobile: 384;
|
|
4
|
+
--gv-ref-tablet: 768;
|
|
5
|
+
--gv-ref-desktop: 1344;
|
|
6
|
+
--gv-mobile-float-h: 832;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.gv {
|
|
10
|
+
--z-modal: 100;
|
|
11
|
+
--gv-rail-h: 56px;
|
|
12
|
+
--gv-logo-box-w: 56px;
|
|
13
|
+
--gv-logo-box-h: 48px;
|
|
14
|
+
--gv-divider-w: 1px;
|
|
15
|
+
--gv-divider-h: 24px;
|
|
16
|
+
--gv-rail-pad: 16px;
|
|
17
|
+
--gv-group-gap: 24px;
|
|
18
|
+
--gv-chevron-gap: 8px;
|
|
19
|
+
--gv-btn: 24px;
|
|
20
|
+
--gv-switch-pad: 4px;
|
|
21
|
+
--gv-switch-gap: 8px;
|
|
22
|
+
position: fixed;
|
|
23
|
+
inset: 0;
|
|
24
|
+
z-index: var(--z-modal);
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
container-type: inline-size;
|
|
28
|
+
outline: none;
|
|
29
|
+
animation: gv-fade-in var(--motion-drawer-duration) var(--motion-drawer-ease-open) both;
|
|
30
|
+
}
|
|
31
|
+
.gv[data-closing] {
|
|
32
|
+
animation: gv-fade-out var(--motion-drawer-duration) var(--motion-drawer-ease) both;
|
|
33
|
+
}
|
|
34
|
+
@keyframes gv-fade-in {
|
|
35
|
+
from {
|
|
36
|
+
opacity: 0;
|
|
37
|
+
}
|
|
38
|
+
to {
|
|
39
|
+
opacity: 1;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
@keyframes gv-fade-out {
|
|
43
|
+
from {
|
|
44
|
+
opacity: 1;
|
|
45
|
+
}
|
|
46
|
+
to {
|
|
47
|
+
opacity: 0;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.gv-rail {
|
|
52
|
+
flex: none;
|
|
53
|
+
display: flex;
|
|
54
|
+
align-items: center;
|
|
55
|
+
height: var(--gv-rail-h);
|
|
56
|
+
background: var(--color-bg-200);
|
|
57
|
+
border-bottom: 1px solid var(--color-border-050);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.gv-logo {
|
|
61
|
+
display: grid;
|
|
62
|
+
place-items: center;
|
|
63
|
+
flex: none;
|
|
64
|
+
width: var(--gv-logo-box-w);
|
|
65
|
+
height: var(--gv-logo-box-h);
|
|
66
|
+
}
|
|
67
|
+
.gv-mark {
|
|
68
|
+
display: block;
|
|
69
|
+
width: var(--knav-logomark);
|
|
70
|
+
height: var(--knav-logomark);
|
|
71
|
+
background: var(--color-text-200);
|
|
72
|
+
-webkit-mask: url("/media/brand/ks-logomark.svg") center / contain no-repeat;
|
|
73
|
+
mask: url("/media/brand/ks-logomark.svg") center / contain no-repeat;
|
|
74
|
+
}
|
|
75
|
+
.gv-divider {
|
|
76
|
+
flex: none;
|
|
77
|
+
width: var(--gv-divider-w);
|
|
78
|
+
height: var(--gv-divider-h);
|
|
79
|
+
background: var(--color-border-050);
|
|
80
|
+
}
|
|
81
|
+
.gv-label {
|
|
82
|
+
padding: 0 var(--gv-rail-pad);
|
|
83
|
+
color: var(--color-text-300);
|
|
84
|
+
white-space: nowrap;
|
|
85
|
+
display: none;
|
|
86
|
+
}
|
|
87
|
+
@container (--rs) {
|
|
88
|
+
.gv-label {
|
|
89
|
+
display: block;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.gv-east {
|
|
94
|
+
display: flex;
|
|
95
|
+
align-items: center;
|
|
96
|
+
gap: var(--gv-group-gap);
|
|
97
|
+
margin-left: auto;
|
|
98
|
+
padding-right: var(--gv-rail-pad);
|
|
99
|
+
}
|
|
100
|
+
.gv-name {
|
|
101
|
+
color: var(--color-text-300);
|
|
102
|
+
white-space: nowrap;
|
|
103
|
+
display: none;
|
|
104
|
+
}
|
|
105
|
+
@container (--rt) {
|
|
106
|
+
.gv-name {
|
|
107
|
+
display: block;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
.gv-pager {
|
|
111
|
+
display: flex;
|
|
112
|
+
gap: var(--gv-chevron-gap);
|
|
113
|
+
}
|
|
114
|
+
.gv-switch {
|
|
115
|
+
display: flex;
|
|
116
|
+
gap: var(--gv-switch-gap);
|
|
117
|
+
padding: var(--gv-switch-pad);
|
|
118
|
+
background: var(--color-lightgray-300);
|
|
119
|
+
border-radius: var(--radius-lg);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.gv-btn {
|
|
123
|
+
display: grid;
|
|
124
|
+
place-items: center;
|
|
125
|
+
box-sizing: border-box;
|
|
126
|
+
flex: none;
|
|
127
|
+
width: var(--gv-btn);
|
|
128
|
+
height: var(--gv-btn);
|
|
129
|
+
/* No padding keeps the glyph centered in its fixed-size box. */
|
|
130
|
+
padding: 0;
|
|
131
|
+
margin: 0;
|
|
132
|
+
border: 0;
|
|
133
|
+
border-radius: var(--radius-sm);
|
|
134
|
+
background: var(--color-bg-400);
|
|
135
|
+
color: var(--color-text-200);
|
|
136
|
+
cursor: pointer;
|
|
137
|
+
transition: background-color var(--motion-hover-duration) var(--motion-hover-ease);
|
|
138
|
+
}
|
|
139
|
+
.gv-btn svg {
|
|
140
|
+
display: block;
|
|
141
|
+
}
|
|
142
|
+
@media (hover: hover) {
|
|
143
|
+
.gv-btn:not(:disabled):not([aria-checked="true"]):hover {
|
|
144
|
+
background: var(--color-bg-600);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
.gv-btn[aria-checked="true"] {
|
|
148
|
+
background: var(--color-bg-100);
|
|
149
|
+
box-shadow: var(--shadow-hard-square-xs);
|
|
150
|
+
}
|
|
151
|
+
.gv-btn:disabled {
|
|
152
|
+
background: var(--color-bg-400);
|
|
153
|
+
color: var(--color-text-600);
|
|
154
|
+
cursor: default;
|
|
155
|
+
}
|
|
156
|
+
.gv-btn:focus-visible {
|
|
157
|
+
outline: none;
|
|
158
|
+
box-shadow: 0 0 0 var(--ring-w) var(--color-border-200);
|
|
159
|
+
}
|
|
160
|
+
.gv-btn[aria-checked="true"]:focus-visible {
|
|
161
|
+
box-shadow:
|
|
162
|
+
0 0 0 var(--ring-w) var(--color-border-200),
|
|
163
|
+
var(--shadow-hard-square-xs);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.gv-body {
|
|
167
|
+
display: flex;
|
|
168
|
+
flex: 1 1 auto;
|
|
169
|
+
min-height: 0;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/* A companion panel takes a column beside the stage; below the tablet
|
|
173
|
+
gate it stacks under it. */
|
|
174
|
+
.gv-aside {
|
|
175
|
+
box-sizing: border-box;
|
|
176
|
+
flex: 0 0 clamp(18rem, 28vw, 26rem);
|
|
177
|
+
min-width: 0;
|
|
178
|
+
overflow-y: auto;
|
|
179
|
+
border-left: 1px solid var(--color-border-050);
|
|
180
|
+
background: var(--color-bg-100);
|
|
181
|
+
}
|
|
182
|
+
@container (--below-rt) {
|
|
183
|
+
.gv[data-aside] .gv-body {
|
|
184
|
+
flex-direction: column;
|
|
185
|
+
}
|
|
186
|
+
.gv[data-aside] .gv-aside {
|
|
187
|
+
flex: 0 0 min(38dvh, 22rem);
|
|
188
|
+
border-top: 1px solid var(--color-border-050);
|
|
189
|
+
border-left: 0;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.gv-stage {
|
|
194
|
+
position: relative;
|
|
195
|
+
flex: 1 1 auto;
|
|
196
|
+
min-width: 0;
|
|
197
|
+
overflow: clip;
|
|
198
|
+
/* The scrim remains visible while an embedded site loads. */
|
|
199
|
+
background: var(--color-text-050);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/* The island supplies reference-size placement and fit-width scaling. */
|
|
203
|
+
.gv-embed {
|
|
204
|
+
position: absolute;
|
|
205
|
+
left: var(--gv-embed-x, 0px);
|
|
206
|
+
top: var(--gv-embed-y, 0px);
|
|
207
|
+
width: var(--gv-embed-w, 100%);
|
|
208
|
+
height: var(--gv-embed-h, 100%);
|
|
209
|
+
transform: scale(var(--gv-embed-scale, 1));
|
|
210
|
+
transform-origin: 0 0;
|
|
211
|
+
border: 0;
|
|
212
|
+
display: block;
|
|
213
|
+
}
|