@keystone-sites/marketing-design-system 1.0.26 → 2.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/README.md +47 -67
- package/fonts/gt-america-300-italic.woff2 +0 -0
- package/fonts/gt-america-300.woff2 +0 -0
- package/fonts/gt-america-400-italic.woff2 +0 -0
- package/fonts/gt-america-400.woff2 +0 -0
- package/fonts/gt-america-500.woff2 +0 -0
- package/fonts/gt-america-extended-300.woff2 +0 -0
- package/fonts/gt-america-extended-400.woff2 +0 -0
- package/fonts/gt-america-extended-500.woff2 +0 -0
- package/fonts/gt-america-extended-700.woff2 +0 -0
- package/fonts/gt-america-mono-300.woff2 +0 -0
- package/fonts/gt-america-mono-500.woff2 +0 -0
- package/fonts/pp-kyoto-vf.woff2 +0 -0
- package/package.json +46 -203
- package/src/base.css +300 -0
- package/src/fonts.css +131 -0
- package/src/hue.ts +17 -0
- package/src/icon.tsx +56 -0
- package/src/mark.tsx +14 -0
- package/src/motion.ts +123 -0
- package/src/parts/chip.css +84 -0
- package/src/parts/chip.tsx +40 -0
- package/src/parts/composer.css +195 -0
- package/src/parts/composer.tsx +220 -0
- package/src/parts/cx.ts +2 -0
- package/src/parts/faq.css +77 -0
- package/src/parts/faq.tsx +25 -0
- package/src/parts/footer.css +51 -0
- package/src/parts/footer.tsx +27 -0
- package/src/parts/nav.css +180 -0
- package/src/parts/nav.tsx +101 -0
- package/src/parts/photo.css +15 -0
- package/src/parts/photo.tsx +24 -0
- package/src/parts/plans.css +89 -0
- package/src/parts/plans.tsx +56 -0
- package/src/parts/prose.css +86 -0
- package/src/parts/prose.tsx +49 -0
- package/src/parts/shape.css +47 -0
- package/src/parts/shape.tsx +68 -0
- package/src/parts/split.tsx +49 -0
- package/src/parts/stamp.css +85 -0
- package/src/parts/stamp.tsx +36 -0
- package/src/parts/work-card.css +51 -0
- package/src/parts/work-card.tsx +40 -0
- package/src/set.css +439 -0
- package/src/styles.css +20 -0
- package/src/tokens/color.css +471 -0
- package/src/tokens/roles.css +12 -0
- package/src/tokens/type.css +11 -0
- package/src/wordmark.tsx +34 -0
- package/AGENTS.md +0 -192
- package/assets/media/brand/ks-lockup.svg +0 -13
- package/assets/media/brand/ks-logomark.svg +0 -4
- package/assets/media/brand/ks-wordmark-inline.svg +0 -13
- package/assets/media/brand/ks-wordmark.svg +0 -11
- 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 +0 -113
- package/css-vars.d.ts +0 -10
- package/grid/engine.css +0 -367
- package/grid/field-hash.ts +0 -31
- package/grid/field.tsx +0 -48
- package/grid/gates.cjs +0 -35
- package/grid/region.tsx +0 -97
- package/icons.tsx +0 -1282
- package/index.css +0 -89
- package/lib/autoplay-gate.ts +0 -88
- package/lib/focus-trap.ts +0 -42
- package/lib/grader.ts +0 -123
- package/lib/legal-data.ts +0 -1
- package/lib/legal.ts +0 -41
- package/lib/noise.tsx +0 -114
- package/lib/phone.ts +0 -294
- package/lib/render-boundary.tsx +0 -27
- package/lib/scroll-lock.ts +0 -25
- package/lib/swipe.ts +0 -124
- package/lib/use-active-section.ts +0 -43
- package/lib/use-count-up.ts +0 -26
- package/lib/use-grader-search.ts +0 -143
- package/lib/use-popover.ts +0 -30
- package/lib/use-video-carousel.ts +0 -271
- package/media.ts +0 -558
- package/primitives/breadcrumb.css +0 -51
- package/primitives/breadcrumb.tsx +0 -46
- package/primitives/business-picker.css +0 -135
- package/primitives/business-picker.tsx +0 -298
- package/primitives/button-inline.css +0 -52
- package/primitives/button-inline.tsx +0 -38
- package/primitives/buttons.css +0 -551
- package/primitives/buttons.tsx +0 -330
- package/primitives/case-study-button.css +0 -71
- package/primitives/case-study-button.tsx +0 -28
- package/primitives/case-study-card.css +0 -318
- package/primitives/case-study-card.tsx +0 -116
- package/primitives/chip.css +0 -127
- package/primitives/chip.tsx +0 -53
- package/primitives/closer-row.css +0 -14
- package/primitives/closer-row.tsx +0 -22
- package/primitives/cta-row.css +0 -41
- package/primitives/cta-row.tsx +0 -39
- package/primitives/disclosure.css +0 -302
- package/primitives/disclosure.tsx +0 -277
- package/primitives/faq-question.css +0 -220
- package/primitives/faq-question.tsx +0 -55
- package/primitives/field.css +0 -279
- package/primitives/field.tsx +0 -376
- package/primitives/footer-item.css +0 -72
- package/primitives/footer-item.tsx +0 -42
- package/primitives/glyph-toggle.css +0 -62
- package/primitives/glyph-toggle.tsx +0 -42
- package/primitives/grader-menu.tsx +0 -84
- package/primitives/grader.css +0 -369
- package/primitives/grader.tsx +0 -285
- package/primitives/keystone-score.css +0 -156
- package/primitives/keystone-score.tsx +0 -204
- package/primitives/modal.css +0 -194
- package/primitives/modal.tsx +0 -204
- package/primitives/month-range.css +0 -80
- package/primitives/month-range.tsx +0 -183
- package/primitives/notice.css +0 -39
- package/primitives/notice.tsx +0 -56
- package/primitives/persona-card.css +0 -374
- package/primitives/persona-card.tsx +0 -74
- package/primitives/picture.css +0 -11
- package/primitives/picture.tsx +0 -41
- package/primitives/plan-card.css +0 -398
- package/primitives/plan-card.tsx +0 -153
- package/primitives/prose.css +0 -164
- package/primitives/prose.tsx +0 -194
- package/primitives/ramps.css +0 -77
- package/primitives/report-nav.css +0 -382
- package/primitives/report-nav.tsx +0 -353
- package/primitives/report.css +0 -601
- package/primitives/report.tsx +0 -357
- package/primitives/skeleton.css +0 -82
- package/primitives/skeleton.tsx +0 -56
- package/primitives/slider.css +0 -179
- package/primitives/slider.tsx +0 -69
- package/primitives/slug.css +0 -87
- package/primitives/slug.tsx +0 -37
- package/primitives/status.css +0 -427
- package/primitives/status.tsx +0 -323
- package/primitives/strip.css +0 -40
- package/primitives/surface.css +0 -88
- package/primitives/surface.tsx +0 -100
- package/primitives/table.css +0 -227
- package/primitives/table.tsx +0 -122
- package/primitives/tabs.css +0 -85
- package/primitives/tabs.tsx +0 -122
- package/primitives/tag.css +0 -46
- package/primitives/tag.tsx +0 -33
- package/primitives/text.css +0 -127
- package/primitives/toc.css +0 -65
- package/primitives/toc.tsx +0 -42
- package/primitives/tooltip.css +0 -56
- package/primitives/tooltip.tsx +0 -103
- package/rules/design-system.md +0 -154
- package/rules/grid-and-layout.md +0 -166
- package/scripts/generate-exports.mjs +0 -61
- package/scripts/generate-type-css.mjs +0 -130
- package/sections/faq-island.tsx +0 -102
- package/sections/faq.css +0 -213
- package/sections/faq.tsx +0 -46
- package/sections/footer-nav.tsx +0 -95
- package/sections/footer-signature.css +0 -223
- package/sections/footer-signature.tsx +0 -127
- package/sections/footer.css +0 -735
- package/sections/footer.tsx +0 -286
- package/sections/gallery-overlay.css +0 -213
- package/sections/gallery-overlay.tsx +0 -267
- package/sections/landing-benefits.css +0 -59
- package/sections/landing-benefits.tsx +0 -81
- package/sections/landing-closer.css +0 -23
- package/sections/landing-closer.tsx +0 -26
- package/sections/landing-hero.css +0 -80
- package/sections/landing-hero.tsx +0 -69
- package/sections/landing-quote.css +0 -19
- package/sections/landing-quote.tsx +0 -30
- package/sections/landing-sample.ts +0 -66
- package/sections/landing.css +0 -45
- package/sections/landing.tsx +0 -69
- package/sections/load-orchestrator.tsx +0 -43
- package/sections/load.css +0 -138
- package/sections/nav-desktop.css +0 -530
- package/sections/nav-desktop.tsx +0 -155
- package/sections/nav-menu.css +0 -57
- package/sections/nav-menu.tsx +0 -112
- package/sections/nav-mobile.css +0 -571
- package/sections/nav-mobile.tsx +0 -222
- package/sections/nav.css +0 -127
- package/sections/nav.tsx +0 -394
- package/sections/site-chat-data.ts +0 -16
- package/sections/site-chat-open.tsx +0 -25
- package/sections/site-chat.tsx +0 -67
- package/site-links.ts +0 -41
- package/site.ts +0 -2
- package/themes/inverted.css +0 -139
- package/tokens/fonts.css +0 -38
- package/tokens/motion.css +0 -150
- package/tokens/primitives.css +0 -163
- package/tokens/semantic.css +0 -159
- package/tokens/type-styles.json +0 -145
- package/tokens/type.css +0 -1548
- package/widgets.css +0 -78
package/primitives/report.css
DELETED
|
@@ -1,601 +0,0 @@
|
|
|
1
|
-
/* The report kit (ks-Grader 170:3424): the parts a Grader report is
|
|
2
|
-
built from, on the Surface panel (surface.css, tone paper). Material
|
|
3
|
-
sizes are fixed px; the few things that change shape between a phone
|
|
4
|
-
and a desktop do so at the package's gates: the area cards fall from
|
|
5
|
-
a 2 × 2 of cards to hairline rows below the tablet anchor, the stat
|
|
6
|
-
cards below the first desktop anchor, and a finding's chip moves under
|
|
7
|
-
its text on a phone. Colour is tokens; a grade arrives through
|
|
8
|
-
data-grade and the status ramps. */
|
|
9
|
-
|
|
10
|
-
/* Designed constants for this file. */
|
|
11
|
-
:root {
|
|
12
|
-
/* The area card's ring sits at the head's right; its summary clips at
|
|
13
|
-
four lines. The score row's columns: score, grade. The finding row's
|
|
14
|
-
number column, and where its fix indents to. */
|
|
15
|
-
--rpt-area-clamp: 4;
|
|
16
|
-
--rpt-score-col: 72px;
|
|
17
|
-
--rpt-grade-col: 112px;
|
|
18
|
-
--rpt-score-col-phone: 44px;
|
|
19
|
-
--rpt-grade-col-phone: 100px;
|
|
20
|
-
/* The row's chevron is the medium chevron icon; the head holds its
|
|
21
|
-
width so the column heads sit over the values. */
|
|
22
|
-
--rpt-row-chevron: 16px;
|
|
23
|
-
--rpt-finding-number: 28px;
|
|
24
|
-
--rpt-row-body-measure: 600px;
|
|
25
|
-
--rpt-finding-measure: 680px;
|
|
26
|
-
/* The stat card's radius and the fact chip's flag triangle. */
|
|
27
|
-
--rpt-flag-size: 10px;
|
|
28
|
-
/* The rank badge is a 24px box set in sm-medium (grader/rank-badge). */
|
|
29
|
-
--rpt-rank-height: 24px;
|
|
30
|
-
/* The scale bar: a 4px track under a 14px marker (ks-Grader 06). */
|
|
31
|
-
--rpt-scale-h: 4px;
|
|
32
|
-
--rpt-scale-mark-h: 14px;
|
|
33
|
-
--rpt-scale-mark-w: 3px;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/* ---- panel head ---- */
|
|
37
|
-
|
|
38
|
-
.rpt-panel-head {
|
|
39
|
-
display: flex;
|
|
40
|
-
flex-direction: column;
|
|
41
|
-
gap: var(--space-2xs);
|
|
42
|
-
padding: var(--space-xl);
|
|
43
|
-
border-bottom: 1px solid var(--color-border-000);
|
|
44
|
-
}
|
|
45
|
-
.rpt-panel-title {
|
|
46
|
-
margin: var(--space-none);
|
|
47
|
-
min-width: 0;
|
|
48
|
-
color: var(--color-text-000);
|
|
49
|
-
--font: var(--ts-text-md-medium-font);
|
|
50
|
-
--ls: var(--ts-text-md-medium-ls);
|
|
51
|
-
--opsz: var(--ts-text-md-medium-opsz);
|
|
52
|
-
}
|
|
53
|
-
.rpt-panel-meta {
|
|
54
|
-
display: flex;
|
|
55
|
-
flex-wrap: wrap;
|
|
56
|
-
align-items: center;
|
|
57
|
-
gap: var(--space-lg);
|
|
58
|
-
min-width: 0;
|
|
59
|
-
}
|
|
60
|
-
.rpt-panel-note {
|
|
61
|
-
color: var(--color-border-500);
|
|
62
|
-
}
|
|
63
|
-
@container (--rt) {
|
|
64
|
-
.rpt-panel-head {
|
|
65
|
-
flex-direction: row;
|
|
66
|
-
flex-wrap: wrap;
|
|
67
|
-
align-items: baseline;
|
|
68
|
-
justify-content: space-between;
|
|
69
|
-
gap: var(--space-xl);
|
|
70
|
-
padding: var(--space-2xl) var(--space-3xl);
|
|
71
|
-
}
|
|
72
|
-
.rpt-panel-title {
|
|
73
|
-
--font: var(--ts-text-lg-medium-font);
|
|
74
|
-
--ls: var(--ts-text-lg-medium-ls);
|
|
75
|
-
--opsz: var(--ts-text-lg-medium-opsz);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/* ---- fact ---- */
|
|
80
|
-
|
|
81
|
-
.rpt-fact {
|
|
82
|
-
display: flex;
|
|
83
|
-
flex-direction: column;
|
|
84
|
-
gap: var(--space-xs);
|
|
85
|
-
min-width: 0;
|
|
86
|
-
}
|
|
87
|
-
.rpt-fact-label {
|
|
88
|
-
margin: var(--space-none);
|
|
89
|
-
color: var(--color-border-500);
|
|
90
|
-
}
|
|
91
|
-
.rpt-fact-value {
|
|
92
|
-
margin: var(--space-none);
|
|
93
|
-
color: var(--color-text-000);
|
|
94
|
-
overflow-wrap: anywhere;
|
|
95
|
-
}
|
|
96
|
-
.rpt-fact-detail {
|
|
97
|
-
color: var(--color-border-500);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/* ---- fact chip ---- */
|
|
101
|
-
|
|
102
|
-
/* A long fact wraps inside its column; the flag keeps to the first line. */
|
|
103
|
-
.rpt-fact-chip {
|
|
104
|
-
display: inline-flex;
|
|
105
|
-
align-items: flex-start;
|
|
106
|
-
gap: var(--space-sm);
|
|
107
|
-
box-sizing: border-box;
|
|
108
|
-
min-height: 30px;
|
|
109
|
-
max-width: 100%;
|
|
110
|
-
padding: var(--space-xs) var(--space-lg);
|
|
111
|
-
border-radius: var(--radius-xs);
|
|
112
|
-
background: var(--color-bg-200);
|
|
113
|
-
color: var(--color-text-200);
|
|
114
|
-
}
|
|
115
|
-
.rpt-fact-chip[data-tone="flag"] {
|
|
116
|
-
background: var(--color-red-100);
|
|
117
|
-
color: var(--color-red-500);
|
|
118
|
-
}
|
|
119
|
-
/* The area a finding belongs to (ks-Grader grader/area-chip 170:3454):
|
|
120
|
-
22 tall, the badge's brown tint behind its brown ink, squared off. */
|
|
121
|
-
.rpt-area-chip {
|
|
122
|
-
display: inline-flex;
|
|
123
|
-
align-items: center;
|
|
124
|
-
box-sizing: border-box;
|
|
125
|
-
height: 22px;
|
|
126
|
-
padding-inline: var(--space-md);
|
|
127
|
-
border-radius: var(--radius-xs);
|
|
128
|
-
background: var(--color-brown-200);
|
|
129
|
-
color: var(--color-brown-600);
|
|
130
|
-
white-space: nowrap;
|
|
131
|
-
}
|
|
132
|
-
/* The flag is a plain triangle: CSS, not a file. */
|
|
133
|
-
.rpt-fact-chip-flag {
|
|
134
|
-
flex: none;
|
|
135
|
-
width: var(--rpt-flag-size);
|
|
136
|
-
height: var(--rpt-flag-size);
|
|
137
|
-
margin-top: calc((1lh - var(--rpt-flag-size)) / 2);
|
|
138
|
-
background: var(--color-red-400);
|
|
139
|
-
clip-path: polygon(50% 15%, 90% 85%, 10% 85%);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
/* ---- locked chip, you badge, report link ---- */
|
|
143
|
-
|
|
144
|
-
.rpt-locked {
|
|
145
|
-
display: inline-flex;
|
|
146
|
-
align-items: center;
|
|
147
|
-
gap: var(--space-sm);
|
|
148
|
-
padding: var(--space-xs) var(--space-sm) var(--space-xs) var(--space-xs);
|
|
149
|
-
border-radius: var(--radius-xs);
|
|
150
|
-
background: var(--color-bg-200);
|
|
151
|
-
color: var(--color-text-300);
|
|
152
|
-
white-space: nowrap;
|
|
153
|
-
}
|
|
154
|
-
.rpt-locked > svg {
|
|
155
|
-
flex: none;
|
|
156
|
-
color: var(--color-text-500);
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.rpt-rank {
|
|
160
|
-
display: inline-block;
|
|
161
|
-
padding-inline: var(--space-sm);
|
|
162
|
-
line-height: var(--rpt-rank-height);
|
|
163
|
-
border-radius: var(--radius-xs);
|
|
164
|
-
white-space: nowrap;
|
|
165
|
-
}
|
|
166
|
-
.rpt-rank[data-tier="first"] {
|
|
167
|
-
background: var(--color-teal-400);
|
|
168
|
-
color: var(--color-teal-800);
|
|
169
|
-
}
|
|
170
|
-
.rpt-rank[data-tier="top"] {
|
|
171
|
-
background: var(--color-teal-250);
|
|
172
|
-
color: var(--color-teal-700);
|
|
173
|
-
}
|
|
174
|
-
.rpt-rank[data-tier="placed"] {
|
|
175
|
-
background: var(--color-yellow-300);
|
|
176
|
-
color: var(--color-yellow-700);
|
|
177
|
-
}
|
|
178
|
-
.rpt-rank[data-tier="none"] {
|
|
179
|
-
background: var(--color-danger-200);
|
|
180
|
-
color: var(--color-danger-500);
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.rpt-scale {
|
|
184
|
-
position: relative;
|
|
185
|
-
display: flex;
|
|
186
|
-
gap: 2px;
|
|
187
|
-
width: 100%;
|
|
188
|
-
height: var(--rpt-scale-mark-h);
|
|
189
|
-
align-items: center;
|
|
190
|
-
}
|
|
191
|
-
.rpt-scale-seg {
|
|
192
|
-
flex: 1 1 0;
|
|
193
|
-
height: var(--rpt-scale-h);
|
|
194
|
-
border-radius: var(--radius-full);
|
|
195
|
-
}
|
|
196
|
-
.rpt-scale-seg[data-tone="good"] { background: var(--color-teal-500); }
|
|
197
|
-
.rpt-scale-seg[data-tone="fair"] { background: var(--color-yellow-400); }
|
|
198
|
-
.rpt-scale-seg[data-tone="poor"] { background: var(--color-red-400); }
|
|
199
|
-
.rpt-scale-seg[data-tone="neutral"] { background: var(--color-bg-300); }
|
|
200
|
-
.rpt-scale-mark {
|
|
201
|
-
position: absolute;
|
|
202
|
-
top: 0;
|
|
203
|
-
left: calc(var(--at) * 100%);
|
|
204
|
-
width: var(--rpt-scale-mark-w);
|
|
205
|
-
height: 100%;
|
|
206
|
-
border-radius: 1px;
|
|
207
|
-
background: var(--color-text-100);
|
|
208
|
-
transform: translateX(-50%);
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.rpt-you {
|
|
212
|
-
display: inline-flex;
|
|
213
|
-
align-items: center;
|
|
214
|
-
vertical-align: middle;
|
|
215
|
-
padding: var(--space-2xs) var(--space-md);
|
|
216
|
-
border-radius: var(--radius-full);
|
|
217
|
-
background: var(--color-teal-250);
|
|
218
|
-
color: var(--color-teal-700);
|
|
219
|
-
white-space: nowrap;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.rpt-link {
|
|
223
|
-
display: inline-flex;
|
|
224
|
-
align-items: center;
|
|
225
|
-
gap: var(--space-sm);
|
|
226
|
-
padding-block: var(--space-xs);
|
|
227
|
-
color: var(--color-text-200);
|
|
228
|
-
text-decoration: none;
|
|
229
|
-
white-space: nowrap;
|
|
230
|
-
transition: color var(--motion-hover-duration) var(--motion-hover-ease);
|
|
231
|
-
}
|
|
232
|
-
.rpt-link > svg {
|
|
233
|
-
flex: none;
|
|
234
|
-
transition: translate var(--motion-hover-duration) var(--motion-hover-ease);
|
|
235
|
-
}
|
|
236
|
-
@media (hover: hover) {
|
|
237
|
-
.rpt-link:hover {
|
|
238
|
-
color: var(--color-text-000);
|
|
239
|
-
}
|
|
240
|
-
.rpt-link:hover > svg {
|
|
241
|
-
translate: 2px 0;
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
.rpt-link:focus-visible {
|
|
245
|
-
outline: none;
|
|
246
|
-
box-shadow: 0 0 0 var(--ring-w) var(--color-border-200);
|
|
247
|
-
border-radius: var(--radius-xs);
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
/* ---- area card ---- */
|
|
251
|
-
|
|
252
|
-
.rpt-areas {
|
|
253
|
-
display: flex;
|
|
254
|
-
flex-direction: column;
|
|
255
|
-
}
|
|
256
|
-
.rpt-area {
|
|
257
|
-
display: flex;
|
|
258
|
-
flex-direction: column;
|
|
259
|
-
gap: var(--space-lg);
|
|
260
|
-
box-sizing: border-box;
|
|
261
|
-
min-width: 0;
|
|
262
|
-
padding: var(--space-xl);
|
|
263
|
-
background: var(--color-bg-050);
|
|
264
|
-
}
|
|
265
|
-
/* Stacked cards share a hairline; once they stand in a grid each wears its
|
|
266
|
-
own border, which hover may recolour on all four sides. */
|
|
267
|
-
@container (--below-rt) {
|
|
268
|
-
.rpt-areas > .rpt-area + .rpt-area {
|
|
269
|
-
border-top: 1px solid var(--color-border-000);
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
/* A card that is the link: plain ink, its border deepening on hover and
|
|
273
|
-
its footer cue answering as the link would. */
|
|
274
|
-
a.rpt-area {
|
|
275
|
-
color: inherit;
|
|
276
|
-
text-decoration: none;
|
|
277
|
-
transition: border-color var(--motion-hover-duration) var(--motion-hover-ease);
|
|
278
|
-
}
|
|
279
|
-
a.rpt-area:focus-visible {
|
|
280
|
-
outline: none;
|
|
281
|
-
box-shadow: inset 0 0 0 var(--ring-w) var(--color-border-200);
|
|
282
|
-
}
|
|
283
|
-
@media (hover: hover) {
|
|
284
|
-
a.rpt-area:hover {
|
|
285
|
-
border-color: var(--color-border-200);
|
|
286
|
-
}
|
|
287
|
-
a.rpt-area:hover .rpt-link {
|
|
288
|
-
color: var(--color-text-000);
|
|
289
|
-
}
|
|
290
|
-
a.rpt-area:hover .rpt-link > svg {
|
|
291
|
-
translate: 2px 0;
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
/* The title wraps between its words beside the ring; when its longest word
|
|
295
|
-
(or its pill) and the ring cannot share the row, the ring drops under it
|
|
296
|
-
rather than over it. */
|
|
297
|
-
.rpt-area-head {
|
|
298
|
-
display: flex;
|
|
299
|
-
flex-wrap: wrap;
|
|
300
|
-
justify-content: space-between;
|
|
301
|
-
align-items: flex-start;
|
|
302
|
-
gap: var(--space-lg);
|
|
303
|
-
}
|
|
304
|
-
.rpt-area-title {
|
|
305
|
-
display: flex;
|
|
306
|
-
flex: 1 1 0;
|
|
307
|
-
flex-direction: column;
|
|
308
|
-
align-items: flex-start;
|
|
309
|
-
gap: var(--space-md);
|
|
310
|
-
min-width: min-content;
|
|
311
|
-
}
|
|
312
|
-
.rpt-area-name {
|
|
313
|
-
margin: var(--space-none);
|
|
314
|
-
color: var(--color-text-200);
|
|
315
|
-
}
|
|
316
|
-
.rpt-area-summary {
|
|
317
|
-
margin: var(--space-none);
|
|
318
|
-
color: var(--color-text-200);
|
|
319
|
-
display: -webkit-box;
|
|
320
|
-
-webkit-box-orient: vertical;
|
|
321
|
-
-webkit-line-clamp: var(--rpt-area-clamp);
|
|
322
|
-
overflow: hidden;
|
|
323
|
-
}
|
|
324
|
-
.rpt-area-footer {
|
|
325
|
-
display: flex;
|
|
326
|
-
align-items: center;
|
|
327
|
-
margin-top: auto;
|
|
328
|
-
padding-top: var(--space-xs);
|
|
329
|
-
}
|
|
330
|
-
@container (--rt) {
|
|
331
|
-
.rpt-areas {
|
|
332
|
-
display: grid;
|
|
333
|
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
334
|
-
gap: var(--space-lg);
|
|
335
|
-
}
|
|
336
|
-
.rpt-area {
|
|
337
|
-
padding: var(--space-xl);
|
|
338
|
-
border: 1px solid var(--color-border-000);
|
|
339
|
-
border-radius: var(--radius-xl);
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
/* ---- score row ---- */
|
|
344
|
-
|
|
345
|
-
.rpt-score-row {
|
|
346
|
-
border-top: 1px solid var(--color-border-000);
|
|
347
|
-
}
|
|
348
|
-
.rpt-score-row:first-child,
|
|
349
|
-
.rpt-score-head + .rpt-score-row {
|
|
350
|
-
border-top: 0;
|
|
351
|
-
}
|
|
352
|
-
/* The column heads over a list of rows share its columns and gaps. */
|
|
353
|
-
.rpt-score-head {
|
|
354
|
-
border-bottom: 1px solid var(--color-border-000);
|
|
355
|
-
color: var(--color-text-500);
|
|
356
|
-
}
|
|
357
|
-
.rpt-score-head::after {
|
|
358
|
-
content: "";
|
|
359
|
-
flex: none;
|
|
360
|
-
width: var(--rpt-row-chevron);
|
|
361
|
-
}
|
|
362
|
-
.rpt-score-head,
|
|
363
|
-
.rpt-score-row:not(details),
|
|
364
|
-
.rpt-score-summary {
|
|
365
|
-
display: flex;
|
|
366
|
-
align-items: center;
|
|
367
|
-
gap: var(--space-lg);
|
|
368
|
-
min-height: 56px;
|
|
369
|
-
padding-block: var(--space-md);
|
|
370
|
-
box-sizing: border-box;
|
|
371
|
-
}
|
|
372
|
-
.rpt-score-summary {
|
|
373
|
-
list-style: none;
|
|
374
|
-
cursor: pointer;
|
|
375
|
-
}
|
|
376
|
-
.rpt-score-summary::-webkit-details-marker {
|
|
377
|
-
display: none;
|
|
378
|
-
}
|
|
379
|
-
.rpt-score-head > :first-child,
|
|
380
|
-
.rpt-score-area {
|
|
381
|
-
flex: 1 1 auto;
|
|
382
|
-
min-width: 0;
|
|
383
|
-
}
|
|
384
|
-
.rpt-score-area {
|
|
385
|
-
color: var(--color-text-000);
|
|
386
|
-
--font: var(--ts-text-md-regular-font);
|
|
387
|
-
--ls: var(--ts-text-md-regular-ls);
|
|
388
|
-
--opsz: var(--ts-text-md-regular-opsz);
|
|
389
|
-
}
|
|
390
|
-
.rpt-score-head-value,
|
|
391
|
-
.rpt-score-value {
|
|
392
|
-
flex: none;
|
|
393
|
-
width: var(--rpt-score-col-phone);
|
|
394
|
-
text-align: right;
|
|
395
|
-
}
|
|
396
|
-
.rpt-score-value {
|
|
397
|
-
color: var(--color-text-000);
|
|
398
|
-
font-variant-numeric: tabular-nums;
|
|
399
|
-
}
|
|
400
|
-
.rpt-score-head-grade,
|
|
401
|
-
.rpt-score-grade {
|
|
402
|
-
flex: none;
|
|
403
|
-
width: var(--rpt-grade-col-phone);
|
|
404
|
-
}
|
|
405
|
-
.rpt-score-head-grade {
|
|
406
|
-
text-align: right;
|
|
407
|
-
}
|
|
408
|
-
.rpt-score-grade {
|
|
409
|
-
display: flex;
|
|
410
|
-
justify-content: flex-end;
|
|
411
|
-
}
|
|
412
|
-
.rpt-row-chevron {
|
|
413
|
-
flex: none;
|
|
414
|
-
width: var(--rpt-row-chevron);
|
|
415
|
-
color: var(--color-border-300);
|
|
416
|
-
transition: rotate var(--motion-drawer-duration) var(--motion-drawer-ease);
|
|
417
|
-
}
|
|
418
|
-
details[open] > summary .rpt-row-chevron {
|
|
419
|
-
rotate: 180deg;
|
|
420
|
-
}
|
|
421
|
-
.rpt-score-summary:focus-visible,
|
|
422
|
-
.rpt-finding-summary:focus-visible {
|
|
423
|
-
outline: none;
|
|
424
|
-
box-shadow: inset 0 0 0 var(--ring-w) var(--color-border-200);
|
|
425
|
-
}
|
|
426
|
-
@container (--rt) {
|
|
427
|
-
.rpt-score-head,
|
|
428
|
-
.rpt-score-row:not(details),
|
|
429
|
-
.rpt-score-summary {
|
|
430
|
-
gap: var(--space-2xl);
|
|
431
|
-
}
|
|
432
|
-
.rpt-score-row:not(details),
|
|
433
|
-
.rpt-score-summary {
|
|
434
|
-
min-height: 60px;
|
|
435
|
-
}
|
|
436
|
-
.rpt-score-area {
|
|
437
|
-
--font: var(--ts-text-lg-regular-font);
|
|
438
|
-
--ls: var(--ts-text-lg-regular-ls);
|
|
439
|
-
--opsz: var(--ts-text-lg-regular-opsz);
|
|
440
|
-
}
|
|
441
|
-
.rpt-score-head-value,
|
|
442
|
-
.rpt-score-value {
|
|
443
|
-
width: var(--rpt-score-col);
|
|
444
|
-
}
|
|
445
|
-
.rpt-score-head-grade,
|
|
446
|
-
.rpt-score-grade {
|
|
447
|
-
width: var(--rpt-grade-col);
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
/* The body a row opens to: the finding, then its fix, in a reading measure. */
|
|
452
|
-
.rpt-row-body {
|
|
453
|
-
display: flex;
|
|
454
|
-
flex-direction: column;
|
|
455
|
-
gap: var(--space-lg);
|
|
456
|
-
max-width: var(--rpt-row-body-measure);
|
|
457
|
-
padding: var(--space-2xs) 0 var(--space-3xl);
|
|
458
|
-
}
|
|
459
|
-
.rpt-row-body > p {
|
|
460
|
-
margin: var(--space-none);
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
/* ---- finding row ---- */
|
|
464
|
-
|
|
465
|
-
.rpt-finding-row {
|
|
466
|
-
border-top: 1px solid var(--color-border-000);
|
|
467
|
-
}
|
|
468
|
-
.rpt-finding-row:first-child {
|
|
469
|
-
border-top: 0;
|
|
470
|
-
}
|
|
471
|
-
.rpt-finding-row:not(details),
|
|
472
|
-
.rpt-finding-summary {
|
|
473
|
-
display: flex;
|
|
474
|
-
flex-wrap: wrap;
|
|
475
|
-
align-items: center;
|
|
476
|
-
gap: var(--space-md) var(--space-lg);
|
|
477
|
-
padding-block: var(--space-lg);
|
|
478
|
-
}
|
|
479
|
-
.rpt-finding-summary {
|
|
480
|
-
list-style: none;
|
|
481
|
-
cursor: pointer;
|
|
482
|
-
}
|
|
483
|
-
.rpt-finding-summary::-webkit-details-marker {
|
|
484
|
-
display: none;
|
|
485
|
-
}
|
|
486
|
-
.rpt-finding-number {
|
|
487
|
-
flex: none;
|
|
488
|
-
width: var(--rpt-finding-number);
|
|
489
|
-
color: var(--color-border-500);
|
|
490
|
-
font-variant-numeric: tabular-nums;
|
|
491
|
-
}
|
|
492
|
-
/* The finding wraps where its fix does: the fix body's measure less the
|
|
493
|
-
indent they share. Whatever follows takes the room left over. */
|
|
494
|
-
.rpt-finding-text {
|
|
495
|
-
flex: 1 1 0;
|
|
496
|
-
min-width: 0;
|
|
497
|
-
max-width: calc(var(--rpt-finding-measure) - var(--rpt-finding-number) - var(--space-lg));
|
|
498
|
-
color: var(--color-text-000);
|
|
499
|
-
}
|
|
500
|
-
.rpt-finding-text + * {
|
|
501
|
-
margin-inline-start: auto;
|
|
502
|
-
}
|
|
503
|
-
/* On a phone the chip takes a line of its own under the finding. */
|
|
504
|
-
.rpt-finding-chip {
|
|
505
|
-
flex: none;
|
|
506
|
-
order: 3;
|
|
507
|
-
width: 100%;
|
|
508
|
-
padding-left: calc(var(--rpt-finding-number) + var(--space-lg));
|
|
509
|
-
}
|
|
510
|
-
.rpt-finding-row .rpt-row-chevron {
|
|
511
|
-
order: 2;
|
|
512
|
-
}
|
|
513
|
-
.rpt-finding-body {
|
|
514
|
-
max-width: var(--rpt-finding-measure);
|
|
515
|
-
padding: 0 0 var(--space-2xl) calc(var(--rpt-finding-number) + var(--space-lg));
|
|
516
|
-
}
|
|
517
|
-
@container (--rt) {
|
|
518
|
-
.rpt-finding-row:not(details),
|
|
519
|
-
.rpt-finding-summary {
|
|
520
|
-
flex-wrap: nowrap;
|
|
521
|
-
gap: var(--space-xl);
|
|
522
|
-
}
|
|
523
|
-
.rpt-finding-text {
|
|
524
|
-
max-width: calc(var(--rpt-finding-measure) - var(--rpt-finding-number) - var(--space-xl));
|
|
525
|
-
}
|
|
526
|
-
.rpt-finding-chip {
|
|
527
|
-
order: 0;
|
|
528
|
-
width: auto;
|
|
529
|
-
padding-left: 0;
|
|
530
|
-
}
|
|
531
|
-
.rpt-finding-row .rpt-row-chevron {
|
|
532
|
-
order: 0;
|
|
533
|
-
}
|
|
534
|
-
.rpt-finding-body {
|
|
535
|
-
padding-left: calc(var(--rpt-finding-number) + var(--space-xl));
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
/* ---- stat card ---- */
|
|
540
|
-
|
|
541
|
-
.rpt-stats {
|
|
542
|
-
display: flex;
|
|
543
|
-
flex-direction: column;
|
|
544
|
-
}
|
|
545
|
-
.rpt-stat {
|
|
546
|
-
display: flex;
|
|
547
|
-
flex-direction: column;
|
|
548
|
-
gap: var(--space-lg);
|
|
549
|
-
box-sizing: border-box;
|
|
550
|
-
min-width: 0;
|
|
551
|
-
padding: var(--space-xl);
|
|
552
|
-
}
|
|
553
|
-
.rpt-stats > .rpt-stat + .rpt-stat {
|
|
554
|
-
border-top: 1px solid var(--color-border-000);
|
|
555
|
-
}
|
|
556
|
-
.rpt-stat-label {
|
|
557
|
-
color: var(--color-text-200);
|
|
558
|
-
}
|
|
559
|
-
.rpt-stat-value {
|
|
560
|
-
color: var(--color-text-000);
|
|
561
|
-
font-variant-numeric: tabular-nums;
|
|
562
|
-
--fs-rm: 36;
|
|
563
|
-
--lh-rm: 42;
|
|
564
|
-
--fs-rd1: 40;
|
|
565
|
-
--lh-rd1: 48;
|
|
566
|
-
--fs-rd2: 40;
|
|
567
|
-
--lh-rd2: 48;
|
|
568
|
-
--fs-rt-to: var(--fs-rd1);
|
|
569
|
-
--lh-rt-to: var(--lh-rd1);
|
|
570
|
-
}
|
|
571
|
-
.rpt-stat-sub {
|
|
572
|
-
display: flex;
|
|
573
|
-
align-items: center;
|
|
574
|
-
gap: var(--space-sm);
|
|
575
|
-
min-width: 0;
|
|
576
|
-
color: var(--color-text-000);
|
|
577
|
-
}
|
|
578
|
-
.rpt-stat-note {
|
|
579
|
-
color: var(--color-border-500);
|
|
580
|
-
}
|
|
581
|
-
@container (--rt) {
|
|
582
|
-
.rpt-stat {
|
|
583
|
-
padding: var(--space-3xl);
|
|
584
|
-
}
|
|
585
|
-
}
|
|
586
|
-
@container (--rd1) {
|
|
587
|
-
.rpt-stats {
|
|
588
|
-
display: grid;
|
|
589
|
-
grid-template-columns: repeat(var(--rpt-stat-cols), minmax(0, 1fr));
|
|
590
|
-
gap: var(--space-lg);
|
|
591
|
-
padding: var(--space-3xl);
|
|
592
|
-
}
|
|
593
|
-
.rpt-stat {
|
|
594
|
-
padding: var(--space-xl);
|
|
595
|
-
border: 1px solid var(--color-border-000);
|
|
596
|
-
border-radius: var(--radius-xl);
|
|
597
|
-
}
|
|
598
|
-
.rpt-stats > .rpt-stat + .rpt-stat {
|
|
599
|
-
border-top: 1px solid var(--color-border-000);
|
|
600
|
-
}
|
|
601
|
-
}
|