@atelic-action/ui 8.1.0 → 8.3.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 +117 -34
- package/dist/monitoring/server.d.ts +58 -1
- package/dist/monitoring/server.js +129 -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 +50 -12
- package/src/chrome/NavMegaPanel.tsx +6 -12
- package/src/chrome/SiteHeader.tsx +39 -17
- package/src/chrome/SiteMenu.tsx +211 -76
- package/src/chrome/SiteShell.tsx +9 -2
- package/src/chrome/StickyCTABar.tsx +48 -20
- package/src/chrome/index.ts +3 -0
- package/src/components/DataTable.tsx +1 -1
- package/src/components/ReportCard.tsx +3 -3
- package/src/lib/hours.ts +9 -2
- 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 +158 -1
- package/src/primitives/Button.tsx +2 -2
- package/src/routing/index.ts +10 -32
- package/src/routing/miss.ts +14 -3
- package/src/routing/routerErrors.tsx +57 -0
- package/src/routing/staticNotFound.tsx +77 -0
- package/src/scripts/check-sentry.ts +22 -1
- package/src/sections/CalloutPanel.tsx +4 -1
- package/src/sections/ContactInfoCard.tsx +9 -2
- package/src/sections/FeatureGrid.tsx +31 -7
- package/src/sections/Hero.tsx +2 -2
- package/src/sections/HoursTable.tsx +5 -3
- package/src/sections/LocationSection.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/ReviewWall.tsx +2 -2
- package/src/sections/index.ts +1 -0
- package/src/sections/siteConfig.ts +57 -0
- package/src/styles/base.css +34 -17
- package/src/styles/chrome.css +358 -42
- package/src/styles/components.css +0 -22
- package/src/styles/defaults.css +90 -3
- package/src/styles/primitives.css +9 -3
- package/src/styles/sections.css +46 -26
- package/src/types.ts +38 -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,7 +1349,15 @@
|
|
|
1148
1349
|
align-items: flex-end;
|
|
1149
1350
|
gap: 12px;
|
|
1150
1351
|
}
|
|
1151
|
-
/*
|
|
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
|
+
}
|
|
1358
|
+
/* Positioned, so on a phone it paints over the dock's own panel, a fixed
|
|
1359
|
+
sheet across the bottom that leaves room for it as its close button.
|
|
1360
|
+
It never shows over the phone menu's sheet, which hides it (above). */
|
|
1152
1361
|
.atelic-ui .cd-launch {
|
|
1153
1362
|
position: relative;
|
|
1154
1363
|
display: inline-flex;
|
|
@@ -1348,7 +1557,15 @@
|
|
|
1348
1557
|
}
|
|
1349
1558
|
/* biome-ignore lint/style/noDescendingSpecificity: scoped to .footer, so it never meets the header's link rules */
|
|
1350
1559
|
.atelic-ui .footer a:hover {
|
|
1351
|
-
color: var(--on-dark);
|
|
1560
|
+
color: var(--footer-link-hover, var(--on-dark));
|
|
1561
|
+
}
|
|
1562
|
+
/* A theme whose links are the hover's color already marks the hover by a
|
|
1563
|
+
line instead (--footer-link-hover-decoration: underline), on the column
|
|
1564
|
+
links and the contact lines; the rating link keeps its own underline. */
|
|
1565
|
+
/* biome-ignore lint/style/noDescendingSpecificity: scoped to the footer, so it never meets the header's link rules */
|
|
1566
|
+
.atelic-ui .footer :is(nav, .nap) a:hover {
|
|
1567
|
+
text-decoration-line: var(--footer-link-hover-decoration);
|
|
1568
|
+
text-underline-offset: 4px;
|
|
1352
1569
|
}
|
|
1353
1570
|
/* One grid: the brand column, then the link columns, however many the
|
|
1354
1571
|
footer was given. A phone stacks the brand column over two across. */
|
|
@@ -1375,7 +1592,7 @@
|
|
|
1375
1592
|
margin: 0 0 14px;
|
|
1376
1593
|
}
|
|
1377
1594
|
.atelic-ui .footer-brand img {
|
|
1378
|
-
height: var(--footer-mark-height
|
|
1595
|
+
height: var(--footer-mark-height);
|
|
1379
1596
|
margin-bottom: 18px;
|
|
1380
1597
|
}
|
|
1381
1598
|
.atelic-ui .footer-rating {
|
|
@@ -1422,20 +1639,59 @@
|
|
|
1422
1639
|
flex-wrap: wrap;
|
|
1423
1640
|
column-gap: 8px;
|
|
1424
1641
|
}
|
|
1425
|
-
.atelic-ui .footer-hours dt {
|
|
1642
|
+
.atelic-ui :is(.footer-hours, .footer-brand-hours) dt {
|
|
1426
1643
|
color: var(--on-dark);
|
|
1427
1644
|
font-weight: var(--weight-medium);
|
|
1428
1645
|
}
|
|
1429
|
-
.atelic-ui .footer-hours dd {
|
|
1646
|
+
.atelic-ui :is(.footer-hours, .footer-brand-hours) dd {
|
|
1430
1647
|
margin: 0;
|
|
1431
1648
|
color: var(--neutral-200);
|
|
1432
1649
|
}
|
|
1650
|
+
/* Two across (a phone), the cells under the brand column pair up with none
|
|
1651
|
+
left alone. Beside an even count of link columns the hours take the
|
|
1652
|
+
row's whole width, their rows laid two across, and the link columns pair
|
|
1653
|
+
under them; beside an odd count the hours stay a column of their own,
|
|
1654
|
+
rows stacked, paired with the first link column, so the count of cells
|
|
1655
|
+
is even either way. Footer.tsx marks the even count from the columns it
|
|
1656
|
+
draws. */
|
|
1657
|
+
@media (max-width: 759px) {
|
|
1658
|
+
.atelic-ui .footer-grid.has-even-columns > .footer-hours {
|
|
1659
|
+
grid-column: 1 / -1;
|
|
1660
|
+
}
|
|
1661
|
+
.atelic-ui .footer-grid.has-even-columns .footer-hours dl {
|
|
1662
|
+
display: grid;
|
|
1663
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1664
|
+
gap: 8px 32px;
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
/* The hours inside the brand column (hoursPlacement "brand"): a small
|
|
1668
|
+
label over a compact list, the days in one column and the ranges in
|
|
1669
|
+
the next, under the address, the phone, and the email. */
|
|
1670
|
+
.atelic-ui .footer-brand-hours {
|
|
1671
|
+
margin-top: 20px;
|
|
1672
|
+
}
|
|
1673
|
+
.atelic-ui .footer .footer-brand-hours .footer-heading {
|
|
1674
|
+
font-size: 0.72rem;
|
|
1675
|
+
margin-bottom: 8px;
|
|
1676
|
+
}
|
|
1677
|
+
.atelic-ui .footer-brand-hours dl {
|
|
1678
|
+
display: grid;
|
|
1679
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
1680
|
+
gap: 4px 16px;
|
|
1681
|
+
margin: 0;
|
|
1682
|
+
font-size: 0.9rem;
|
|
1683
|
+
line-height: 1.4;
|
|
1684
|
+
}
|
|
1685
|
+
.atelic-ui .footer-brand-hours dl > div {
|
|
1686
|
+
display: contents;
|
|
1687
|
+
}
|
|
1433
1688
|
.atelic-ui .footer nav a {
|
|
1434
1689
|
display: flex;
|
|
1435
1690
|
align-items: center;
|
|
1436
1691
|
gap: 10px;
|
|
1437
1692
|
padding: 6px 0;
|
|
1438
|
-
|
|
1693
|
+
font-size: var(--footer-link-size);
|
|
1694
|
+
color: var(--footer-link, var(--neutral-200));
|
|
1439
1695
|
font-weight: var(--weight-medium);
|
|
1440
1696
|
}
|
|
1441
1697
|
.atelic-ui .footer nav a svg {
|
|
@@ -1449,6 +1705,9 @@
|
|
|
1449
1705
|
font-style: normal;
|
|
1450
1706
|
color: var(--neutral-200);
|
|
1451
1707
|
}
|
|
1708
|
+
/* --footer-nap-weight keeps its defaults at the reads: the links' is
|
|
1709
|
+
semibold and the plain address's is inherited, two looks one token
|
|
1710
|
+
restyles together, and no custom property can hold inherit. */
|
|
1452
1711
|
.atelic-ui .footer .nap a {
|
|
1453
1712
|
color: var(--on-dark);
|
|
1454
1713
|
font-weight: var(--footer-nap-weight, var(--weight-semibold));
|
|
@@ -1483,20 +1742,60 @@
|
|
|
1483
1742
|
.atelic-ui .footer-grid > * {
|
|
1484
1743
|
flex: 1 1 0;
|
|
1485
1744
|
}
|
|
1745
|
+
/* The brand column's share of the row, a link column's being 1:
|
|
1746
|
+
--footer-brand-width, else 1.4 (2 beside the hours from 1100px). */
|
|
1486
1747
|
.atelic-ui .footer-grid > .footer-brand {
|
|
1487
|
-
flex-grow: 1.4;
|
|
1748
|
+
flex-grow: var(--footer-brand-width, 1.4);
|
|
1488
1749
|
}
|
|
1489
1750
|
/* With the hours beside the four link columns a tablet has no room for
|
|
1490
1751
|
the brand column too, so it keeps the row above them until 1100px. */
|
|
1491
1752
|
.atelic-ui .footer-grid.has-hours > .footer-brand {
|
|
1492
1753
|
flex-basis: 100%;
|
|
1493
1754
|
}
|
|
1755
|
+
/* With the hours in the brand column the row is the brand column and
|
|
1756
|
+
four link columns, each link column a floor of 10em (about twenty
|
|
1757
|
+
characters) and never narrower than its longest label, the brand
|
|
1758
|
+
column a floor of 17em (an ordinary email address on one line), the
|
|
1759
|
+
columns 24px apart. While the row holds every floor they share
|
|
1760
|
+
it; when it cannot, the brand column takes a row of its own and the
|
|
1761
|
+
link columns sit under it, four across while their floors fit and two
|
|
1762
|
+
by two below that. One measure drives both steps, the floors against
|
|
1763
|
+
the row's own width (a basis of the floor, or of the whole row once
|
|
1764
|
+
the floors outrun it), so no breakpoint can disagree with it. A font
|
|
1765
|
+
a few percent wider than a site was drawn in still sets an ordinary
|
|
1766
|
+
three word label on one line. */
|
|
1767
|
+
.atelic-ui .footer-grid.has-brand-hours {
|
|
1768
|
+
--_link-floor: 10em;
|
|
1769
|
+
--_brand-floor: 17em;
|
|
1770
|
+
--_links-need: calc(
|
|
1771
|
+
var(--_link-count, 4) *
|
|
1772
|
+
var(--_link-floor) +
|
|
1773
|
+
(var(--_link-count, 4) - 1) *
|
|
1774
|
+
24px
|
|
1775
|
+
);
|
|
1776
|
+
--_row-need: calc(var(--_brand-floor) + 24px + var(--_links-need));
|
|
1777
|
+
column-gap: 24px;
|
|
1778
|
+
}
|
|
1779
|
+
.atelic-ui .footer-grid.has-brand-hours > .footer-brand {
|
|
1780
|
+
flex: var(--footer-brand-width, 1.4) 1
|
|
1781
|
+
max(var(--_brand-floor), calc((var(--_row-need) - 100%) * 999));
|
|
1782
|
+
}
|
|
1783
|
+
/* min-width: max-content departs from Component Rules 5 (zero the
|
|
1784
|
+
min-width chain around wide content) on purpose: these labels are
|
|
1785
|
+
short words a design sets whole, and the floor is what keeps a label
|
|
1786
|
+
whole on a machine whose font runs a few percent wider; the row wraps
|
|
1787
|
+
a column instead, so nothing scrolls sideways. */
|
|
1788
|
+
.atelic-ui .footer-grid.has-brand-hours > .footer-column {
|
|
1789
|
+
flex: 1 1
|
|
1790
|
+
min(calc(50% - 16px), max(var(--_link-floor), calc((var(--_links-need) - 100%) * 999)));
|
|
1791
|
+
min-width: max-content;
|
|
1792
|
+
}
|
|
1494
1793
|
}
|
|
1495
1794
|
/* One row from 1100px, the brand column a little wider than without the
|
|
1496
1795
|
hours, so the lockup and the rating keep a line each. */
|
|
1497
1796
|
@media (min-width: 1100px) {
|
|
1498
1797
|
.atelic-ui .footer-grid.has-hours > .footer-brand {
|
|
1499
|
-
flex: 2 1 0;
|
|
1798
|
+
flex: var(--footer-brand-width, 2) 1 0;
|
|
1500
1799
|
}
|
|
1501
1800
|
}
|
|
1502
1801
|
/* Text wordmark for a site with no mark image. */
|
|
@@ -1529,9 +1828,13 @@
|
|
|
1529
1828
|
alone. Token themed: the hairline and hover lift derive from --surface
|
|
1530
1829
|
through color-mix and the words read --on-dark-faint, so it rebrands
|
|
1531
1830
|
with theme.css on any page it renders under, light or dark. */
|
|
1831
|
+
/* The rule above the closing bar is drawn in its top border's place, so
|
|
1832
|
+
it can sit inside the content's width (--closing-rule-inset, from each
|
|
1833
|
+
side) while the bar keeps its full width and its height. */
|
|
1532
1834
|
.atelic-ui .closing-bar {
|
|
1835
|
+
position: relative;
|
|
1533
1836
|
background: var(--surface-dark);
|
|
1534
|
-
border-top: 1px solid
|
|
1837
|
+
border-top: 1px solid transparent;
|
|
1535
1838
|
color: var(--on-dark-faint);
|
|
1536
1839
|
font-size: 0.82rem;
|
|
1537
1840
|
padding-block: 18px;
|
|
@@ -1540,6 +1843,21 @@
|
|
|
1540
1843
|
below everything, so nothing on screen moves when it appears. */
|
|
1541
1844
|
padding-bottom: calc(18px + var(--sticky-cta-space, 0px));
|
|
1542
1845
|
}
|
|
1846
|
+
.atelic-ui .closing-bar::before {
|
|
1847
|
+
content: "";
|
|
1848
|
+
position: absolute;
|
|
1849
|
+
top: -1px;
|
|
1850
|
+
left: var(--closing-rule-inset);
|
|
1851
|
+
right: var(--closing-rule-inset);
|
|
1852
|
+
height: 1px;
|
|
1853
|
+
background: color-mix(in srgb, var(--surface) 10%, transparent);
|
|
1854
|
+
}
|
|
1855
|
+
/* The two sides share one line, the copyright at the start and the credit
|
|
1856
|
+
at the end, while they fit; when they do not, the credit wraps under
|
|
1857
|
+
the copyright and both start at the same edge. That is space-between
|
|
1858
|
+
alone: a line holding one side sets it at the start, so no width
|
|
1859
|
+
decides it and a long attribution on a tablet stacks the same way. A
|
|
1860
|
+
side longer than the line wraps inside itself (min-width 0). */
|
|
1543
1861
|
.atelic-ui .closing-bar-line {
|
|
1544
1862
|
display: flex;
|
|
1545
1863
|
flex-wrap: wrap;
|
|
@@ -1547,19 +1865,17 @@
|
|
|
1547
1865
|
align-items: center;
|
|
1548
1866
|
justify-content: space-between;
|
|
1549
1867
|
}
|
|
1868
|
+
.atelic-ui .closing-bar-left,
|
|
1550
1869
|
.atelic-ui .closing-bar-right {
|
|
1551
|
-
|
|
1870
|
+
min-width: 0;
|
|
1552
1871
|
}
|
|
1553
1872
|
.atelic-ui .closing-bar.is-solo .closing-bar-line {
|
|
1554
1873
|
justify-content: center;
|
|
1555
1874
|
text-align: center;
|
|
1556
1875
|
}
|
|
1557
|
-
.atelic-ui .closing-bar.is-solo .closing-bar-right {
|
|
1558
|
-
margin-left: 0;
|
|
1559
|
-
}
|
|
1560
1876
|
/* biome-ignore lint/style/noDescendingSpecificity: scoped to .closing-bar, so it never meets the footer's link rules */
|
|
1561
1877
|
.atelic-ui .closing-bar a {
|
|
1562
|
-
color: var(--neutral-300);
|
|
1878
|
+
color: var(--closing-link, var(--neutral-300));
|
|
1563
1879
|
font-weight: var(--weight-medium);
|
|
1564
1880
|
}
|
|
1565
1881
|
/* The credit's link sits inside a sentence, so it is underlined, never
|
|
@@ -1570,6 +1886,6 @@
|
|
|
1570
1886
|
}
|
|
1571
1887
|
/* biome-ignore lint/style/noDescendingSpecificity: scoped to .closing-bar, so it never meets the header's link rules */
|
|
1572
1888
|
.atelic-ui .closing-bar a:hover {
|
|
1573
|
-
color: color-mix(in srgb, var(--surface) 96%, var(--on-dark));
|
|
1889
|
+
color: var(--closing-link-hover, color-mix(in srgb, var(--surface) 96%, var(--on-dark)));
|
|
1574
1890
|
}
|
|
1575
1891
|
}
|
|
@@ -776,17 +776,6 @@
|
|
|
776
776
|
grid-row: 1 / span 2;
|
|
777
777
|
color: var(--neutral-500);
|
|
778
778
|
}
|
|
779
|
-
.atelic-ui .rc-sr {
|
|
780
|
-
position: absolute;
|
|
781
|
-
width: 1px;
|
|
782
|
-
height: 1px;
|
|
783
|
-
margin: -1px;
|
|
784
|
-
padding: 0;
|
|
785
|
-
overflow: hidden;
|
|
786
|
-
clip: rect(0, 0, 0, 0);
|
|
787
|
-
white-space: nowrap;
|
|
788
|
-
border: 0;
|
|
789
|
-
}
|
|
790
779
|
@media print, (min-width: 721px) {
|
|
791
780
|
.atelic-ui .rc-card {
|
|
792
781
|
grid-template-columns: auto 232px minmax(0, 1fr) auto;
|
|
@@ -1235,17 +1224,6 @@
|
|
|
1235
1224
|
vertical-align: 0.3em;
|
|
1236
1225
|
border-top: 1.5px solid var(--neutral-300);
|
|
1237
1226
|
}
|
|
1238
|
-
.atelic-ui .data-table-empty-label {
|
|
1239
|
-
position: absolute;
|
|
1240
|
-
width: 1px;
|
|
1241
|
-
height: 1px;
|
|
1242
|
-
margin: -1px;
|
|
1243
|
-
padding: 0;
|
|
1244
|
-
overflow: hidden;
|
|
1245
|
-
clip: rect(0, 0, 0, 0);
|
|
1246
|
-
white-space: nowrap;
|
|
1247
|
-
border: 0;
|
|
1248
|
-
}
|
|
1249
1227
|
@media print, (min-width: 721px) {
|
|
1250
1228
|
.atelic-ui .data-table-sort {
|
|
1251
1229
|
display: none;
|