@atelic-action/ui 8.1.0 → 8.2.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 +72 -28
- package/dist/monitoring/server.d.ts +51 -1
- package/dist/monitoring/server.js +102 -1
- package/package.json +1 -1
- package/src/chrome/BrandLockup.tsx +12 -3
- package/src/chrome/ContactDock.tsx +16 -2
- package/src/chrome/Footer.tsx +2 -5
- package/src/chrome/NavMegaPanel.tsx +6 -12
- package/src/chrome/SiteHeader.tsx +39 -17
- package/src/chrome/SiteMenu.tsx +207 -75
- package/src/chrome/SiteShell.tsx +3 -1
- package/src/chrome/StickyCTABar.tsx +12 -0
- package/src/chrome/index.ts +2 -0
- package/src/lib/phoneText.tsx +9 -0
- package/src/monitoring/ErrorCatcherScript.tsx +17 -6
- package/src/monitoring/index.ts +1 -1
- package/src/monitoring/server.ts +125 -1
- package/src/primitives/Button.tsx +2 -2
- package/src/routing/index.ts +10 -32
- package/src/routing/routerErrors.tsx +57 -0
- package/src/routing/staticNotFound.tsx +64 -0
- package/src/scripts/check-sentry.ts +22 -1
- package/src/sections/CalloutPanel.tsx +4 -1
- package/src/sections/ContactInfoCard.tsx +1 -1
- package/src/sections/Hero.tsx +2 -2
- package/src/sections/LogoMarquee.tsx +1 -1
- package/src/sections/PricingBand.tsx +1 -1
- package/src/sections/ProcessSteps.tsx +1 -1
- package/src/sections/siteConfig.ts +32 -0
- package/src/styles/base.css +23 -17
- package/src/styles/chrome.css +250 -32
- package/src/styles/defaults.css +59 -3
- package/src/styles/primitives.css +9 -3
- package/src/styles/sections.css +30 -10
- package/src/types.ts +32 -1
package/src/styles/chrome.css
CHANGED
|
@@ -84,6 +84,11 @@
|
|
|
84
84
|
|
|
85
85
|
/* Fixed header: transparent over a hero, solid once scrolled, or dark. */
|
|
86
86
|
.atelic-ui .nav {
|
|
87
|
+
/* The bar's and its panels' width and gutter, resolved here, on the
|
|
88
|
+
header, so a band around it that restates the named tokens reaches
|
|
89
|
+
both. */
|
|
90
|
+
--_header-max: var(--header-max, var(--max-width));
|
|
91
|
+
--_header-gutter: var(--header-gutter, var(--gutter));
|
|
87
92
|
position: fixed;
|
|
88
93
|
top: 0;
|
|
89
94
|
left: 0;
|
|
@@ -101,9 +106,9 @@
|
|
|
101
106
|
sets --header-max and --header-gutter to run them wider. */
|
|
102
107
|
.atelic-ui .nav-inner {
|
|
103
108
|
width: 100%;
|
|
104
|
-
max-width: var(--
|
|
109
|
+
max-width: var(--_header-max);
|
|
105
110
|
margin-inline: auto;
|
|
106
|
-
padding-inline: var(--
|
|
111
|
+
padding-inline: var(--_header-gutter);
|
|
107
112
|
display: flex;
|
|
108
113
|
align-items: center;
|
|
109
114
|
justify-content: space-between;
|
|
@@ -188,7 +193,7 @@
|
|
|
188
193
|
theme sets --nav-open-bg and --nav-open-ink. */
|
|
189
194
|
.atelic-ui .nav-links .nav-group-btn[aria-expanded="true"] {
|
|
190
195
|
background: var(--nav-open-bg, var(--hover-tint));
|
|
191
|
-
color: var(--nav-open-ink
|
|
196
|
+
color: var(--nav-open-ink);
|
|
192
197
|
}
|
|
193
198
|
/* The entry for where the reader is: a page's scroll spied stop, the
|
|
194
199
|
page being read, or the group holding it. Words on the bar's surface,
|
|
@@ -265,6 +270,22 @@
|
|
|
265
270
|
height: auto;
|
|
266
271
|
background: none;
|
|
267
272
|
}
|
|
273
|
+
/* The lines before the words (menu.burger.labelAfter), and the burger in
|
|
274
|
+
an outlined pill (menu.burger.outlined). */
|
|
275
|
+
.atelic-ui .nav-burger.has-label.is-label-after {
|
|
276
|
+
flex-direction: row-reverse;
|
|
277
|
+
}
|
|
278
|
+
.atelic-ui .nav-burger.is-outlined {
|
|
279
|
+
align-items: center;
|
|
280
|
+
justify-content: center;
|
|
281
|
+
min-height: 44px;
|
|
282
|
+
padding: 8px 16px;
|
|
283
|
+
border-radius: var(--radius-pill);
|
|
284
|
+
box-shadow: inset 0 0 0 1.5px var(--neutral-300);
|
|
285
|
+
}
|
|
286
|
+
.atelic-ui .nav-burger.is-outlined:hover {
|
|
287
|
+
box-shadow: inset 0 0 0 1.5px currentColor;
|
|
288
|
+
}
|
|
268
289
|
/* A mark drawn on a surface it was not cut for is flattened to that
|
|
269
290
|
surface's silhouette (resolveMark): to ink on the light bar (a single
|
|
270
291
|
light mark, logo.src, as before, or a dark only cut), and to white on a
|
|
@@ -367,7 +388,7 @@
|
|
|
367
388
|
left: 0;
|
|
368
389
|
right: 0;
|
|
369
390
|
top: 100%;
|
|
370
|
-
padding: 10px var(--
|
|
391
|
+
padding: 10px var(--_header-gutter) 0;
|
|
371
392
|
color: var(--ink);
|
|
372
393
|
max-height: calc(100vh - var(--nav-height));
|
|
373
394
|
overflow-y: auto;
|
|
@@ -378,7 +399,7 @@
|
|
|
378
399
|
.atelic-ui .nav-mega-card {
|
|
379
400
|
box-sizing: border-box;
|
|
380
401
|
width: 100%;
|
|
381
|
-
max-width: calc(var(--
|
|
402
|
+
max-width: calc(var(--_header-max) - 2 * var(--_header-gutter));
|
|
382
403
|
margin-inline: auto;
|
|
383
404
|
display: flex;
|
|
384
405
|
align-items: stretch;
|
|
@@ -712,8 +733,10 @@
|
|
|
712
733
|
flex-direction: column;
|
|
713
734
|
overflow: hidden;
|
|
714
735
|
border-radius: var(--radius-md);
|
|
715
|
-
|
|
716
|
-
|
|
736
|
+
/* The card's words, resolved on the card, below any band. */
|
|
737
|
+
--_menu-card-ink: var(--menu-card-ink, var(--on-primary));
|
|
738
|
+
background: var(--menu-card-bg, var(--primary-deep));
|
|
739
|
+
color: var(--_menu-card-ink);
|
|
717
740
|
}
|
|
718
741
|
.atelic-ui .nav-feature-img {
|
|
719
742
|
flex: 1 1 0;
|
|
@@ -736,7 +759,7 @@
|
|
|
736
759
|
letter-spacing: 0.1em;
|
|
737
760
|
text-transform: uppercase;
|
|
738
761
|
/* The bright primary on the card's deep primary is under 2 to 1. */
|
|
739
|
-
color: var(--
|
|
762
|
+
color: var(--_menu-card-ink);
|
|
740
763
|
}
|
|
741
764
|
.atelic-ui .nav-feature-title {
|
|
742
765
|
font-size: 1.3rem;
|
|
@@ -748,7 +771,7 @@
|
|
|
748
771
|
.atelic-ui .nav-feature-text {
|
|
749
772
|
font-size: 0.95rem;
|
|
750
773
|
line-height: 1.45;
|
|
751
|
-
color: var(--
|
|
774
|
+
color: var(--_menu-card-ink);
|
|
752
775
|
}
|
|
753
776
|
/* The ticked points: the tick bare and the words both in the card's own
|
|
754
777
|
words color, since the bright primary all but vanishes on the deep
|
|
@@ -761,7 +784,7 @@
|
|
|
761
784
|
}
|
|
762
785
|
.atelic-ui .nav-feature .nav-feature-points li {
|
|
763
786
|
gap: 10px;
|
|
764
|
-
color: var(--
|
|
787
|
+
color: var(--_menu-card-ink);
|
|
765
788
|
}
|
|
766
789
|
.atelic-ui .nav-feature .nav-feature-points .tick {
|
|
767
790
|
width: 16px;
|
|
@@ -769,7 +792,7 @@
|
|
|
769
792
|
margin-top: 3px;
|
|
770
793
|
background: none;
|
|
771
794
|
box-shadow: none;
|
|
772
|
-
color: var(--
|
|
795
|
+
color: var(--_menu-card-ink);
|
|
773
796
|
}
|
|
774
797
|
.atelic-ui .nav-feature-cta {
|
|
775
798
|
margin-top: 8px;
|
|
@@ -785,7 +808,7 @@
|
|
|
785
808
|
display: inline-flex;
|
|
786
809
|
align-items: center;
|
|
787
810
|
gap: 8px;
|
|
788
|
-
padding: var(--nav-phone-pad
|
|
811
|
+
padding: var(--nav-phone-pad);
|
|
789
812
|
border-radius: var(--radius-pill);
|
|
790
813
|
box-shadow: inset 0 0 0 1.5px var(--neutral-300);
|
|
791
814
|
white-space: nowrap;
|
|
@@ -811,7 +834,7 @@
|
|
|
811
834
|
}
|
|
812
835
|
.atelic-ui .nav-phone-number {
|
|
813
836
|
font-weight: var(--weight-bold);
|
|
814
|
-
font-size: var(--nav-phone-size
|
|
837
|
+
font-size: var(--nav-phone-size);
|
|
815
838
|
}
|
|
816
839
|
.atelic-ui .nav-call {
|
|
817
840
|
display: inline-flex;
|
|
@@ -869,13 +892,16 @@
|
|
|
869
892
|
|
|
870
893
|
/* The burger folds into an X while the menu is open. State lives on the
|
|
871
894
|
button's own aria-expanded, so no extra class plumbing. */
|
|
872
|
-
.atelic-ui .nav-burger[aria-expanded="true"] span:nth-child(1)
|
|
895
|
+
.atelic-ui .nav-burger[aria-expanded="true"]:not(.has-label) > span:nth-child(1),
|
|
896
|
+
.atelic-ui .nav-burger[aria-expanded="true"] > .nav-burger-lines > span:nth-child(1) {
|
|
873
897
|
transform: translateY(7px) rotate(45deg);
|
|
874
898
|
}
|
|
875
|
-
.atelic-ui .nav-burger[aria-expanded="true"] span:nth-child(2)
|
|
899
|
+
.atelic-ui .nav-burger[aria-expanded="true"]:not(.has-label) > span:nth-child(2),
|
|
900
|
+
.atelic-ui .nav-burger[aria-expanded="true"] > .nav-burger-lines > span:nth-child(2) {
|
|
876
901
|
opacity: 0;
|
|
877
902
|
}
|
|
878
|
-
.atelic-ui .nav-burger[aria-expanded="true"] span:nth-child(3)
|
|
903
|
+
.atelic-ui .nav-burger[aria-expanded="true"]:not(.has-label) > span:nth-child(3),
|
|
904
|
+
.atelic-ui .nav-burger[aria-expanded="true"] > .nav-burger-lines > span:nth-child(3) {
|
|
879
905
|
transform: translateY(-7px) rotate(-45deg);
|
|
880
906
|
}
|
|
881
907
|
|
|
@@ -894,6 +920,9 @@
|
|
|
894
920
|
border: 0;
|
|
895
921
|
background: var(--surface-dark);
|
|
896
922
|
color: var(--surface);
|
|
923
|
+
/* The call to action's fill, read three times (rest, hover, press),
|
|
924
|
+
resolved once here on the sheet, below any band. */
|
|
925
|
+
--_menu-cta-bg: var(--menu-cta-bg, var(--primary-fill, var(--primary)));
|
|
897
926
|
flex-direction: column;
|
|
898
927
|
padding: calc(var(--nav-height) + 20px) var(--gutter) 40px;
|
|
899
928
|
overflow-y: auto;
|
|
@@ -936,9 +965,11 @@
|
|
|
936
965
|
background: currentColor;
|
|
937
966
|
border-radius: 2px;
|
|
938
967
|
}
|
|
968
|
+
/* biome-ignore lint/style/noDescendingSpecificity: scoped to the menu's close button, which never meets the burger's lines */
|
|
939
969
|
.atelic-ui .mobile-menu .mm-close span:nth-child(1) {
|
|
940
970
|
transform: translateY(3.5px) rotate(45deg);
|
|
941
971
|
}
|
|
972
|
+
/* biome-ignore lint/style/noDescendingSpecificity: scoped to the menu's close button, which never meets the burger's lines */
|
|
942
973
|
.atelic-ui .mobile-menu .mm-close span:nth-child(2) {
|
|
943
974
|
transform: translateY(-3.5px) rotate(-45deg);
|
|
944
975
|
}
|
|
@@ -968,22 +999,14 @@
|
|
|
968
999
|
ground is its primary sets them to --on-primary and --primary-ink, or
|
|
969
1000
|
the button vanishes into the sheet. */
|
|
970
1001
|
.atelic-ui .mobile-menu .mm-cta.btn-primary {
|
|
971
|
-
background: var(--
|
|
1002
|
+
background: var(--_menu-cta-bg);
|
|
972
1003
|
color: var(--menu-cta-ink, var(--on-primary));
|
|
973
1004
|
}
|
|
974
1005
|
.atelic-ui .mobile-menu .mm-cta.btn-primary:hover {
|
|
975
|
-
background: color-mix(
|
|
976
|
-
in srgb,
|
|
977
|
-
var(--menu-cta-bg, var(--primary-fill, var(--primary))) 84%,
|
|
978
|
-
var(--shade)
|
|
979
|
-
);
|
|
1006
|
+
background: color-mix(in srgb, var(--_menu-cta-bg) 84%, var(--shade));
|
|
980
1007
|
}
|
|
981
1008
|
.atelic-ui .mobile-menu .mm-cta.btn-primary:active {
|
|
982
|
-
background: color-mix(
|
|
983
|
-
in srgb,
|
|
984
|
-
var(--menu-cta-bg, var(--primary-fill, var(--primary))) 74%,
|
|
985
|
-
var(--shade)
|
|
986
|
-
);
|
|
1009
|
+
background: color-mix(in srgb, var(--_menu-cta-bg) 74%, var(--shade));
|
|
987
1010
|
}
|
|
988
1011
|
.atelic-ui .mobile-menu .mm-contact {
|
|
989
1012
|
margin-top: auto;
|
|
@@ -1101,6 +1124,184 @@
|
|
|
1101
1124
|
text-transform: uppercase;
|
|
1102
1125
|
}
|
|
1103
1126
|
|
|
1127
|
+
/* The link to the page being read is marked for the eye as well as by
|
|
1128
|
+
aria-current, on either sheet: the 2px underline the bar marks its
|
|
1129
|
+
current entry with, under the words alone (a plain entry's number and
|
|
1130
|
+
a link's badge stay clear of it). */
|
|
1131
|
+
.atelic-ui
|
|
1132
|
+
.mobile-menu
|
|
1133
|
+
:is(.mm-link, .mm-group-link, .mm-group-sub)[aria-current="page"]
|
|
1134
|
+
.mm-label,
|
|
1135
|
+
.atelic-ui .mobile-menu .mm-group-all[aria-current="page"] {
|
|
1136
|
+
text-decoration-line: underline;
|
|
1137
|
+
text-decoration-thickness: 2px;
|
|
1138
|
+
text-underline-offset: 6px;
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
/* ---- The light menu sheet (SiteMenu surface="light") ----
|
|
1142
|
+
The page's own ground and ink: the lockup and a round close button
|
|
1143
|
+
across the top, the entries as rows under hairlines, and a foot on the
|
|
1144
|
+
alternate ground, pushed to the sheet's bottom when the list is short
|
|
1145
|
+
and following it when an open group runs long. Every rule restyles the
|
|
1146
|
+
dark sheet's own classes, so the two share their markup and behavior. */
|
|
1147
|
+
.atelic-ui .mobile-menu.is-light {
|
|
1148
|
+
/* The bar's own width and gutter, so the top row sits where the bar's
|
|
1149
|
+
lockup and burger sit, and the row dividers' rule. */
|
|
1150
|
+
--_header-max: var(--header-max, var(--max-width));
|
|
1151
|
+
--_header-gutter: var(--header-gutter, var(--gutter));
|
|
1152
|
+
--_menu-rule: var(--menu-rule, var(--hairline));
|
|
1153
|
+
background: var(--surface);
|
|
1154
|
+
color: var(--ink);
|
|
1155
|
+
padding: 0;
|
|
1156
|
+
}
|
|
1157
|
+
/* The top row is the bar: as tall, its content inset as the bar's wrap
|
|
1158
|
+
insets it, so opening the sheet moves neither the lockup nor the
|
|
1159
|
+
button under the reader's thumb. The rule under it is a shadow, as the
|
|
1160
|
+
bar's is, so it takes none of the height. */
|
|
1161
|
+
.atelic-ui .mobile-menu.is-light .mm-top {
|
|
1162
|
+
flex: none;
|
|
1163
|
+
display: flex;
|
|
1164
|
+
align-items: center;
|
|
1165
|
+
justify-content: space-between;
|
|
1166
|
+
gap: 16px;
|
|
1167
|
+
height: var(--nav-height);
|
|
1168
|
+
padding-block: 0;
|
|
1169
|
+
padding-inline: max(
|
|
1170
|
+
var(--_header-gutter),
|
|
1171
|
+
calc((100% - var(--_header-max)) / 2 + var(--_header-gutter))
|
|
1172
|
+
);
|
|
1173
|
+
box-shadow: 0 1px 0 var(--hairline-strong);
|
|
1174
|
+
}
|
|
1175
|
+
/* The lockup's mark drawn for the light ground, flattened to ink when the
|
|
1176
|
+
brand gave only a light cut, as the light bar draws it. */
|
|
1177
|
+
/* biome-ignore lint/style/noDescendingSpecificity: scoped to the light sheet, so it never meets the header bar's tint rules */
|
|
1178
|
+
.atelic-ui .mobile-menu.is-light .nav-logo .mark.is-tinted {
|
|
1179
|
+
filter: brightness(0) saturate(1);
|
|
1180
|
+
}
|
|
1181
|
+
.atelic-ui .mobile-menu.is-light .mm-close {
|
|
1182
|
+
position: static;
|
|
1183
|
+
flex: none;
|
|
1184
|
+
align-items: center;
|
|
1185
|
+
justify-content: center;
|
|
1186
|
+
width: 44px;
|
|
1187
|
+
height: 44px;
|
|
1188
|
+
padding: 0;
|
|
1189
|
+
margin-left: auto;
|
|
1190
|
+
border-radius: 50%;
|
|
1191
|
+
box-shadow: inset 0 0 0 1.5px var(--neutral-300);
|
|
1192
|
+
color: var(--ink);
|
|
1193
|
+
}
|
|
1194
|
+
.atelic-ui .mobile-menu.is-light .mm-close:hover {
|
|
1195
|
+
box-shadow: inset 0 0 0 1.5px var(--ink);
|
|
1196
|
+
}
|
|
1197
|
+
.atelic-ui .mobile-menu.is-light .mm-list {
|
|
1198
|
+
padding: 4px var(--gutter) 24px;
|
|
1199
|
+
}
|
|
1200
|
+
/* A row: the group's label (or a plain entry) bold in ink at a moderate
|
|
1201
|
+
size, a chevron at the right, a hairline under it. */
|
|
1202
|
+
.atelic-ui .mobile-menu.is-light .mm-link {
|
|
1203
|
+
min-height: 60px;
|
|
1204
|
+
padding: 12px 0;
|
|
1205
|
+
gap: 12px;
|
|
1206
|
+
font-size: 1.3rem;
|
|
1207
|
+
font-weight: var(--weight-bold);
|
|
1208
|
+
letter-spacing: -0.01em;
|
|
1209
|
+
border-bottom: 1px solid var(--_menu-rule);
|
|
1210
|
+
}
|
|
1211
|
+
.atelic-ui .mobile-menu.is-light .mm-group {
|
|
1212
|
+
border-bottom: 1px solid var(--_menu-rule);
|
|
1213
|
+
}
|
|
1214
|
+
.atelic-ui .mobile-menu.is-light .mm-group-btn {
|
|
1215
|
+
border-bottom: 0;
|
|
1216
|
+
}
|
|
1217
|
+
/* biome-ignore lint/style/noDescendingSpecificity: scoped to the light sheet, where it restyles the dark sheet's chevron */
|
|
1218
|
+
.atelic-ui .mobile-menu.is-light .mm-chevron {
|
|
1219
|
+
color: var(--ink-soft);
|
|
1220
|
+
}
|
|
1221
|
+
/* The open group's label and chevron take the primary's words. */
|
|
1222
|
+
.atelic-ui .mobile-menu.is-light .mm-group-btn[aria-expanded="true"],
|
|
1223
|
+
.atelic-ui .mobile-menu.is-light .mm-group-btn[aria-expanded="true"] .mm-chevron {
|
|
1224
|
+
color: var(--primary-ink, var(--primary));
|
|
1225
|
+
}
|
|
1226
|
+
.atelic-ui .mobile-menu.is-light .mm-group-panel {
|
|
1227
|
+
gap: 14px;
|
|
1228
|
+
padding: 0 0 18px;
|
|
1229
|
+
}
|
|
1230
|
+
.atelic-ui .mobile-menu.is-light .mm-group-all {
|
|
1231
|
+
font-size: 1.06rem;
|
|
1232
|
+
font-weight: var(--weight-semibold);
|
|
1233
|
+
color: var(--primary-ink, var(--primary));
|
|
1234
|
+
}
|
|
1235
|
+
/* A section's heading: a small quiet caps label. */
|
|
1236
|
+
.atelic-ui .mobile-menu.is-light .mm-group-head {
|
|
1237
|
+
color: var(--ink-soft);
|
|
1238
|
+
font-size: 0.72rem;
|
|
1239
|
+
}
|
|
1240
|
+
.atelic-ui .mobile-menu.is-light .mm-group-link {
|
|
1241
|
+
font-size: 1.06rem;
|
|
1242
|
+
color: var(--ink);
|
|
1243
|
+
}
|
|
1244
|
+
.atelic-ui .mobile-menu.is-light .mm-group-sub {
|
|
1245
|
+
color: var(--ink-soft);
|
|
1246
|
+
font-size: 1rem;
|
|
1247
|
+
}
|
|
1248
|
+
.atelic-ui .mobile-menu.is-light .mm-group-sub::before {
|
|
1249
|
+
border-color: var(--neutral-300);
|
|
1250
|
+
}
|
|
1251
|
+
/* A quiet link (the towns under a region): the softer words and the
|
|
1252
|
+
regular weight, as the desktop panel sets it. */
|
|
1253
|
+
.atelic-ui .mobile-menu.is-light .mm-group-link.is-quiet {
|
|
1254
|
+
font-weight: var(--weight-regular);
|
|
1255
|
+
color: var(--ink-soft);
|
|
1256
|
+
}
|
|
1257
|
+
/* The current page keeps the primary's words on the light ground, where
|
|
1258
|
+
the bright primary the dark sheet uses would vanish. */
|
|
1259
|
+
.atelic-ui .mobile-menu.is-light .mm-group-link[aria-current="page"],
|
|
1260
|
+
.atelic-ui .mobile-menu.is-light .mm-group-sub[aria-current="page"] {
|
|
1261
|
+
color: var(--primary-ink, var(--primary));
|
|
1262
|
+
}
|
|
1263
|
+
.atelic-ui .mobile-menu.is-light .mm-foot {
|
|
1264
|
+
margin-top: auto;
|
|
1265
|
+
display: flex;
|
|
1266
|
+
flex-direction: column;
|
|
1267
|
+
gap: 12px;
|
|
1268
|
+
padding: 16px var(--gutter) max(24px, env(safe-area-inset-bottom));
|
|
1269
|
+
background: var(--surface-alt);
|
|
1270
|
+
border-top: 1px solid var(--hairline-strong);
|
|
1271
|
+
}
|
|
1272
|
+
.atelic-ui .mobile-menu.is-light .mm-cta {
|
|
1273
|
+
width: 100%;
|
|
1274
|
+
margin-top: 0;
|
|
1275
|
+
justify-content: center;
|
|
1276
|
+
}
|
|
1277
|
+
/* A number's card: an outlined card, the number's words as a small caps
|
|
1278
|
+
line over the number, the whole card one tel link. */
|
|
1279
|
+
.atelic-ui .mobile-menu.is-light .mm-phone-card {
|
|
1280
|
+
display: flex;
|
|
1281
|
+
flex-direction: column;
|
|
1282
|
+
gap: 2px;
|
|
1283
|
+
padding: 10px 14px;
|
|
1284
|
+
border-radius: var(--radius-md);
|
|
1285
|
+
box-shadow: inset 0 0 0 1.5px var(--neutral-300);
|
|
1286
|
+
background: var(--card);
|
|
1287
|
+
color: var(--ink);
|
|
1288
|
+
}
|
|
1289
|
+
.atelic-ui .mobile-menu.is-light .mm-phone-card:hover {
|
|
1290
|
+
box-shadow: inset 0 0 0 1.5px var(--ink);
|
|
1291
|
+
}
|
|
1292
|
+
.atelic-ui .mobile-menu.is-light .mm-phone-label {
|
|
1293
|
+
font-family: var(--font-mono);
|
|
1294
|
+
font-size: 0.68rem;
|
|
1295
|
+
font-weight: var(--weight-medium);
|
|
1296
|
+
letter-spacing: 0.08em;
|
|
1297
|
+
text-transform: uppercase;
|
|
1298
|
+
color: var(--ink-soft);
|
|
1299
|
+
}
|
|
1300
|
+
.atelic-ui .mobile-menu.is-light .mm-phone-number {
|
|
1301
|
+
font-size: 1rem;
|
|
1302
|
+
font-weight: var(--weight-bold);
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1104
1305
|
/* ---- Sticky CTA bar (phones only) ---- */
|
|
1105
1306
|
.atelic-ui .sticky-cta {
|
|
1106
1307
|
position: fixed;
|
|
@@ -1148,6 +1349,12 @@
|
|
|
1148
1349
|
align-items: flex-end;
|
|
1149
1350
|
gap: 12px;
|
|
1150
1351
|
}
|
|
1352
|
+
/* The launcher steps aside while either phone menu sheet is open. The
|
|
1353
|
+
sheet already covers it from the top layer; hidden, it never shows
|
|
1354
|
+
through the slide in, and is out of reach as well as out of sight. */
|
|
1355
|
+
.atelic-ui:has(dialog.mobile-menu[open]) .contact-dock {
|
|
1356
|
+
visibility: hidden;
|
|
1357
|
+
}
|
|
1151
1358
|
/* Positioned, so it paints over the phone's sheet, which is fixed. */
|
|
1152
1359
|
.atelic-ui .cd-launch {
|
|
1153
1360
|
position: relative;
|
|
@@ -1348,7 +1555,15 @@
|
|
|
1348
1555
|
}
|
|
1349
1556
|
/* biome-ignore lint/style/noDescendingSpecificity: scoped to .footer, so it never meets the header's link rules */
|
|
1350
1557
|
.atelic-ui .footer a:hover {
|
|
1351
|
-
color: var(--on-dark);
|
|
1558
|
+
color: var(--footer-link-hover, var(--on-dark));
|
|
1559
|
+
}
|
|
1560
|
+
/* A theme whose links are the hover's color already marks the hover by a
|
|
1561
|
+
line instead (--footer-link-hover-decoration: underline), on the column
|
|
1562
|
+
links and the contact lines; the rating link keeps its own underline. */
|
|
1563
|
+
/* biome-ignore lint/style/noDescendingSpecificity: scoped to the footer, so it never meets the header's link rules */
|
|
1564
|
+
.atelic-ui .footer :is(nav, .nap) a:hover {
|
|
1565
|
+
text-decoration-line: var(--footer-link-hover-decoration);
|
|
1566
|
+
text-underline-offset: 4px;
|
|
1352
1567
|
}
|
|
1353
1568
|
/* One grid: the brand column, then the link columns, however many the
|
|
1354
1569
|
footer was given. A phone stacks the brand column over two across. */
|
|
@@ -1375,7 +1590,7 @@
|
|
|
1375
1590
|
margin: 0 0 14px;
|
|
1376
1591
|
}
|
|
1377
1592
|
.atelic-ui .footer-brand img {
|
|
1378
|
-
height: var(--footer-mark-height
|
|
1593
|
+
height: var(--footer-mark-height);
|
|
1379
1594
|
margin-bottom: 18px;
|
|
1380
1595
|
}
|
|
1381
1596
|
.atelic-ui .footer-rating {
|
|
@@ -1435,7 +1650,7 @@
|
|
|
1435
1650
|
align-items: center;
|
|
1436
1651
|
gap: 10px;
|
|
1437
1652
|
padding: 6px 0;
|
|
1438
|
-
color: var(--neutral-200);
|
|
1653
|
+
color: var(--footer-link, var(--neutral-200));
|
|
1439
1654
|
font-weight: var(--weight-medium);
|
|
1440
1655
|
}
|
|
1441
1656
|
.atelic-ui .footer nav a svg {
|
|
@@ -1449,6 +1664,9 @@
|
|
|
1449
1664
|
font-style: normal;
|
|
1450
1665
|
color: var(--neutral-200);
|
|
1451
1666
|
}
|
|
1667
|
+
/* --footer-nap-weight keeps its defaults at the reads: the links' is
|
|
1668
|
+
semibold and the plain address's is inherited, two looks one token
|
|
1669
|
+
restyles together, and no custom property can hold inherit. */
|
|
1452
1670
|
.atelic-ui .footer .nap a {
|
|
1453
1671
|
color: var(--on-dark);
|
|
1454
1672
|
font-weight: var(--footer-nap-weight, var(--weight-semibold));
|
|
@@ -1559,7 +1777,7 @@
|
|
|
1559
1777
|
}
|
|
1560
1778
|
/* biome-ignore lint/style/noDescendingSpecificity: scoped to .closing-bar, so it never meets the footer's link rules */
|
|
1561
1779
|
.atelic-ui .closing-bar a {
|
|
1562
|
-
color: var(--neutral-300);
|
|
1780
|
+
color: var(--closing-link, var(--neutral-300));
|
|
1563
1781
|
font-weight: var(--weight-medium);
|
|
1564
1782
|
}
|
|
1565
1783
|
/* The credit's link sits inside a sentence, so it is underlined, never
|
|
@@ -1570,6 +1788,6 @@
|
|
|
1570
1788
|
}
|
|
1571
1789
|
/* biome-ignore lint/style/noDescendingSpecificity: scoped to .closing-bar, so it never meets the header's link rules */
|
|
1572
1790
|
.atelic-ui .closing-bar a:hover {
|
|
1573
|
-
color: color-mix(in srgb, var(--surface) 96%, var(--on-dark));
|
|
1791
|
+
color: var(--closing-link-hover, color-mix(in srgb, var(--surface) 96%, var(--on-dark)));
|
|
1574
1792
|
}
|
|
1575
1793
|
}
|
package/src/styles/defaults.css
CHANGED
|
@@ -99,6 +99,60 @@
|
|
|
99
99
|
--section-space: clamp(56px, 9vw, 120px);
|
|
100
100
|
--block-gap: 44px;
|
|
101
101
|
--card-min: 240px;
|
|
102
|
+
|
|
103
|
+
/* The optional tokens a theme sets to restyle one piece, each at the
|
|
104
|
+
look the piece had before it was a token (README.md, Tokens): the
|
|
105
|
+
ones whose default is a literal value or a system keyword. A color
|
|
106
|
+
whose old look was the inherited one is currentColor, which as a
|
|
107
|
+
color is exactly the inherited value.
|
|
108
|
+
|
|
109
|
+
A default that names another token is never declared here: it stays
|
|
110
|
+
an inline fallback where it is read, as --primary-fill and
|
|
111
|
+
--primary-ink always have, so it resolves on the element that reads
|
|
112
|
+
it, below any band that restates the named token. Declared here it
|
|
113
|
+
would resolve once, on the root, and a band restating --primary
|
|
114
|
+
would no longer reach it. Those defaults, each read in place (a
|
|
115
|
+
chain read more than once is written once, as a private property
|
|
116
|
+
on the component's own root): --header-max (--max-width) and
|
|
117
|
+
--header-gutter (--gutter), on .nav; --nav-open-bg (--hover-tint);
|
|
118
|
+
--menu-card-bg (--primary-deep) and --menu-card-ink (--on-primary),
|
|
119
|
+
the ink on .nav-feature; --menu-badge-bg and --menu-cta-bg
|
|
120
|
+
(--primary-fill, then --primary) and --menu-badge-ink and
|
|
121
|
+
--menu-cta-ink (--on-primary), the call to action's on
|
|
122
|
+
.mobile-menu; --heading-weight (--weight-heavy); the hero's
|
|
123
|
+
--hero-kicker-weight, --hero-kicker-tracking, and
|
|
124
|
+
--hero-kicker-size (the eyebrow's own, on .eyebrow);
|
|
125
|
+
--proof-star-fill (--primary); --footer-link (--neutral-200),
|
|
126
|
+
--footer-link-hover (--on-dark), --closing-link (--neutral-300),
|
|
127
|
+
and --closing-link-hover (--surface mixed with --on-dark);
|
|
128
|
+
--menu-rule (--hairline), on the light sheet. --hero-stack-gap has
|
|
129
|
+
no default of its own: unset, each gap in the hero keeps the value
|
|
130
|
+
it always had, in place. */
|
|
131
|
+
/* The open group's pill's words on the bar. */
|
|
132
|
+
--nav-open-ink: currentColor;
|
|
133
|
+
/* The header phone pill's padding and its number's size. */
|
|
134
|
+
--nav-phone-pad: 6px 16px 6px 12px;
|
|
135
|
+
--nav-phone-size: 0.95rem;
|
|
136
|
+
/* The page and section headings (h1, h2), and the smaller ones (h3 at
|
|
137
|
+
the tracking, h4 at two thirds of it). */
|
|
138
|
+
--heading-transform: none;
|
|
139
|
+
--heading-tracking: -0.02em;
|
|
140
|
+
--heading-color: currentColor;
|
|
141
|
+
--subheading-tracking: -0.015em;
|
|
142
|
+
/* The hero's lead paragraph: its size and its measure. */
|
|
143
|
+
--hero-lead-size: clamp(1.05rem, 2.2vw, 1.35rem);
|
|
144
|
+
--hero-lead-measure: 52ch;
|
|
145
|
+
/* A FeatureGrid card's title. */
|
|
146
|
+
--card-title-color: currentColor;
|
|
147
|
+
/* A CalloutPanel title's case, and its subtitle's case and tracking. */
|
|
148
|
+
--callout-transform: none;
|
|
149
|
+
--callout-sub-transform: none;
|
|
150
|
+
--callout-sub-tracking: normal;
|
|
151
|
+
/* The least a LinkColumns column narrows to. */
|
|
152
|
+
--link-columns-min: 170px;
|
|
153
|
+
/* The footer lockup's mark, and the line its links take on hover. */
|
|
154
|
+
--footer-mark-height: 38px;
|
|
155
|
+
--footer-link-hover-decoration: none;
|
|
102
156
|
}
|
|
103
157
|
|
|
104
158
|
/* ---- Long words ----
|
|
@@ -124,9 +178,11 @@
|
|
|
124
178
|
/* A phone number is one thing to read and dial, so it never breaks, at
|
|
125
179
|
its spaces or its hyphen, wherever it is set (Component Rules 17). The
|
|
126
180
|
rule holds the number, never a whole row that links to a call: a tel
|
|
127
|
-
link of words alone is the number, and
|
|
128
|
-
|
|
129
|
-
|
|
181
|
+
link of words alone is the number, and so is one of an icon beside the
|
|
182
|
+
words (every element in it an svg), held with its icon; a tel link
|
|
183
|
+
with more in it (a dock row, a label over the number) marks the number
|
|
184
|
+
.tel-number, which every such link the package draws does. */
|
|
185
|
+
:where(.atelic-ui a[href^="tel:"]:not(:has(:not(svg, svg *))), .atelic-ui .tel-number) {
|
|
130
186
|
white-space: nowrap;
|
|
131
187
|
}
|
|
132
188
|
|
|
@@ -229,10 +229,16 @@
|
|
|
229
229
|
right — the wordmark's signature, in the brand's primary. This fade is
|
|
230
230
|
the only rendering; the old leading-dash mode is retired. */
|
|
231
231
|
.atelic-ui .eyebrow {
|
|
232
|
+
/* The eyebrow's own size, weight, and tracking, named once so a
|
|
233
|
+
context that restyles it (the hero's kicker tokens) falls back to
|
|
234
|
+
them rather than copying the values. */
|
|
235
|
+
--_eyebrow-size: 0.74rem;
|
|
236
|
+
--_eyebrow-weight: var(--weight-medium);
|
|
237
|
+
--_eyebrow-tracking: 0.18em;
|
|
232
238
|
font-family: var(--font-mono);
|
|
233
|
-
font-size:
|
|
234
|
-
font-weight: var(--weight
|
|
235
|
-
letter-spacing:
|
|
239
|
+
font-size: var(--_eyebrow-size);
|
|
240
|
+
font-weight: var(--_eyebrow-weight);
|
|
241
|
+
letter-spacing: var(--_eyebrow-tracking);
|
|
236
242
|
text-transform: uppercase;
|
|
237
243
|
color: var(--primary-ink, var(--primary));
|
|
238
244
|
/* Inline, so the rule follows the last line of a kicker that wraps
|
package/src/styles/sections.css
CHANGED
|
@@ -934,7 +934,7 @@
|
|
|
934
934
|
}
|
|
935
935
|
.atelic-ui .feature-card h3 {
|
|
936
936
|
margin: 14px 0 10px;
|
|
937
|
-
color: var(--card-title-color
|
|
937
|
+
color: var(--card-title-color);
|
|
938
938
|
}
|
|
939
939
|
.atelic-ui .feature-card p {
|
|
940
940
|
color: var(--ink-soft);
|
|
@@ -1073,14 +1073,26 @@
|
|
|
1073
1073
|
padding-bottom: clamp(48px, 9vh, 110px);
|
|
1074
1074
|
padding-top: calc(var(--nav-height) + 30px);
|
|
1075
1075
|
}
|
|
1076
|
+
/* The room between the hero's kicker, headline, lead, and actions: each
|
|
1077
|
+
its own as it always was (18, 22, and 32px; 12, 22, and 26px on the
|
|
1078
|
+
split hero), or one --hero-stack-gap for all three when a theme sets
|
|
1079
|
+
it, so each read keeps its own default in place. */
|
|
1076
1080
|
.atelic-ui .hero h1 {
|
|
1077
1081
|
color: var(--on-dark);
|
|
1078
|
-
margin: 18px 0 0;
|
|
1082
|
+
margin: var(--hero-stack-gap, 18px) 0 0;
|
|
1079
1083
|
text-shadow: 0 2px 30px color-mix(in srgb, var(--shade) 25%, transparent);
|
|
1080
1084
|
}
|
|
1081
1085
|
.atelic-ui .hero h1 .serif {
|
|
1082
1086
|
color: var(--primary-bright);
|
|
1083
1087
|
}
|
|
1088
|
+
/* The hero's eyebrow line, at the eyebrow primitive's own look (its
|
|
1089
|
+
private properties, primitives.css) unless a theme sets the hero's
|
|
1090
|
+
kicker tokens. */
|
|
1091
|
+
.atelic-ui .hero .eyebrow {
|
|
1092
|
+
font-size: var(--hero-kicker-size, var(--_eyebrow-size));
|
|
1093
|
+
font-weight: var(--hero-kicker-weight, var(--_eyebrow-weight));
|
|
1094
|
+
letter-spacing: var(--hero-kicker-tracking, var(--_eyebrow-tracking));
|
|
1095
|
+
}
|
|
1084
1096
|
/* On the split hero the headline sits on the primary field, where the
|
|
1085
1097
|
bright primary all but vanishes (1.38 to 1 on the practice's palette):
|
|
1086
1098
|
the accent keeps its italic and takes the field's own words. */
|
|
@@ -1089,9 +1101,9 @@
|
|
|
1089
1101
|
color: var(--on-primary);
|
|
1090
1102
|
}
|
|
1091
1103
|
.atelic-ui .hero-sub {
|
|
1092
|
-
font-size:
|
|
1093
|
-
max-width:
|
|
1094
|
-
margin-top: 22px;
|
|
1104
|
+
font-size: var(--hero-lead-size);
|
|
1105
|
+
max-width: var(--hero-lead-measure);
|
|
1106
|
+
margin-top: var(--hero-stack-gap, 22px);
|
|
1095
1107
|
color: color-mix(in srgb, var(--on-dark) 92%, transparent);
|
|
1096
1108
|
line-height: 1.55;
|
|
1097
1109
|
}
|
|
@@ -1182,7 +1194,8 @@
|
|
|
1182
1194
|
--hero-split-edge: max(var(--gutter), calc((100cqw - var(--max-width)) / 2 + var(--gutter)));
|
|
1183
1195
|
width: 100%;
|
|
1184
1196
|
/* --hero-split-pad sets the copy's sides outright, for a design that
|
|
1185
|
-
wants them tighter than the wrap's edge.
|
|
1197
|
+
wants them tighter than the wrap's edge. Its default is the edge
|
|
1198
|
+
computed on this element, so it stays at the read. */
|
|
1186
1199
|
padding: var(--section-space) var(--hero-split-pad, var(--hero-split-edge));
|
|
1187
1200
|
}
|
|
1188
1201
|
/* From 900px the copy sits beside the photo under the transparent header;
|
|
@@ -1196,14 +1209,17 @@
|
|
|
1196
1209
|
.atelic-ui .hero.is-split h1 {
|
|
1197
1210
|
font-size: clamp(2.1rem, 4vw, 3.3rem);
|
|
1198
1211
|
line-height: 1.05;
|
|
1199
|
-
margin-top: 12px;
|
|
1212
|
+
margin-top: var(--hero-stack-gap, 12px);
|
|
1200
1213
|
text-shadow: none;
|
|
1201
1214
|
}
|
|
1202
1215
|
.atelic-ui .hero.is-split .hero-sub {
|
|
1203
1216
|
color: var(--on-primary);
|
|
1204
1217
|
}
|
|
1218
|
+
.atelic-ui .hero .cta-row {
|
|
1219
|
+
margin-top: var(--hero-stack-gap, 32px);
|
|
1220
|
+
}
|
|
1205
1221
|
.atelic-ui .hero.is-split .cta-row {
|
|
1206
|
-
margin-top: 26px;
|
|
1222
|
+
margin-top: var(--hero-stack-gap, 26px);
|
|
1207
1223
|
}
|
|
1208
1224
|
.atelic-ui .hero-split-media {
|
|
1209
1225
|
position: relative;
|
|
@@ -1694,7 +1710,7 @@
|
|
|
1694
1710
|
aligned on its line in tabular numerals. */
|
|
1695
1711
|
.atelic-ui .link-columns {
|
|
1696
1712
|
display: grid;
|
|
1697
|
-
grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--link-columns-min
|
|
1713
|
+
grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--link-columns-min)), 1fr));
|
|
1698
1714
|
gap: 24px 28px;
|
|
1699
1715
|
}
|
|
1700
1716
|
.atelic-ui * + .link-columns {
|
|
@@ -1763,7 +1779,7 @@
|
|
|
1763
1779
|
min-width: 0;
|
|
1764
1780
|
}
|
|
1765
1781
|
.atelic-ui .callout-panel-title {
|
|
1766
|
-
text-transform: var(--callout-transform
|
|
1782
|
+
text-transform: var(--callout-transform);
|
|
1767
1783
|
font-family: var(--font-condensed, var(--font-heading, var(--font-sans)));
|
|
1768
1784
|
font-size: clamp(1.35rem, 2.15vw, 1.9rem);
|
|
1769
1785
|
font-weight: var(--weight-heavy);
|
|
@@ -1772,7 +1788,11 @@
|
|
|
1772
1788
|
text-wrap: balance;
|
|
1773
1789
|
}
|
|
1774
1790
|
.atelic-ui .callout-panel-sub {
|
|
1791
|
+
/* Inherited unless a theme sets it: no custom property can hold
|
|
1792
|
+
inherit as a default, so the fallback stays at the read. */
|
|
1775
1793
|
font-family: var(--callout-sub-font, inherit);
|
|
1794
|
+
text-transform: var(--callout-sub-transform);
|
|
1795
|
+
letter-spacing: var(--callout-sub-tracking);
|
|
1776
1796
|
font-size: clamp(0.85rem, 1.1vw, 1rem);
|
|
1777
1797
|
line-height: 1.3;
|
|
1778
1798
|
color: var(--on-primary);
|