@atelic-action/ui 8.4.0 → 8.6.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 +65 -5
- package/dist/lib/contactLinks.d.ts +31 -0
- package/dist/lib/contactLinks.js +55 -0
- package/dist/scripts/check-contacts.d.ts +17 -0
- package/dist/scripts/check-contacts.js +162 -0
- package/package.json +10 -13
- package/src/chrome/Footer.tsx +4 -3
- package/src/chrome/SiteHeader.tsx +7 -6
- package/src/chrome/SiteMenu.tsx +11 -9
- package/src/chrome/StickyCTABar.tsx +5 -3
- package/src/components/GateLogin.tsx +2 -1
- package/src/components/MultiSelect.tsx +225 -0
- package/src/components/index.ts +1 -0
- package/src/lib/contactForm.ts +184 -0
- package/src/lib/contactLinks.ts +57 -0
- package/src/lib/googlePlaces.ts +392 -0
- package/src/lib/latestOnly.ts +47 -0
- package/src/primitives/AddressSearch.tsx +440 -0
- package/src/primitives/EmailLink.tsx +55 -0
- package/src/primitives/ExpandableText.tsx +161 -0
- package/src/primitives/GoogleMapsAttribution.tsx +14 -0
- package/src/primitives/PhoneLink.tsx +73 -0
- package/src/primitives/index.ts +18 -0
- package/src/scripts/check-base-path.ts +15 -0
- package/src/scripts/check-contacts.ts +177 -0
- package/src/sections/ContactForm.tsx +685 -87
- package/src/sections/ContactInfoCard.tsx +20 -5
- package/src/sections/ContactSection.tsx +72 -0
- package/src/sections/InfoRows.tsx +103 -0
- package/src/sections/LocationSection.tsx +5 -2
- package/src/sections/Locations.tsx +3 -2
- package/src/sections/PageHero.tsx +22 -5
- package/src/sections/index.ts +24 -1
- package/src/styles/components.css +123 -0
- package/src/styles/defaults.css +42 -1
- package/src/styles/fields.css +33 -0
- package/src/styles/primitives.css +172 -0
- package/src/styles/sections.css +350 -19
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@import "./defaults.css";
|
|
2
|
+
@import "./fields.css";
|
|
2
3
|
/* The primitives under src/primitives: the button, the chip, the bubble, the
|
|
3
4
|
eyebrow, the lead paragraph, and the section heading. Every value is a theme token.
|
|
4
5
|
They sit in the package's layer like every sheet here, so any rule a site
|
|
@@ -625,4 +626,175 @@
|
|
|
625
626
|
place-items: center;
|
|
626
627
|
box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--primary) 45%, transparent);
|
|
627
628
|
}
|
|
629
|
+
|
|
630
|
+
/* ---- AddressSearch: a text field with a pin that offers addresses as
|
|
631
|
+
they are typed, the suggestions dropping beneath it. Specific enough to
|
|
632
|
+
hold its padding against a form's .field input rule. ---- */
|
|
633
|
+
.atelic-ui .address-search {
|
|
634
|
+
position: relative;
|
|
635
|
+
display: flex;
|
|
636
|
+
flex-direction: column;
|
|
637
|
+
gap: 7px;
|
|
638
|
+
min-width: 0;
|
|
639
|
+
}
|
|
640
|
+
.atelic-ui .address-search-bar {
|
|
641
|
+
position: relative;
|
|
642
|
+
}
|
|
643
|
+
.atelic-ui .address-search-pin {
|
|
644
|
+
position: absolute;
|
|
645
|
+
left: 14px;
|
|
646
|
+
top: 50%;
|
|
647
|
+
transform: translateY(-50%);
|
|
648
|
+
color: var(--primary-ink, var(--primary));
|
|
649
|
+
pointer-events: none;
|
|
650
|
+
}
|
|
651
|
+
.atelic-ui .address-search .address-search-input {
|
|
652
|
+
box-sizing: border-box;
|
|
653
|
+
width: 100%;
|
|
654
|
+
font: inherit;
|
|
655
|
+
padding: var(--field-padding-block) var(--field-padding-inline) var(--field-padding-block) 44px;
|
|
656
|
+
border: 1.5px solid var(--field-border, var(--neutral-200));
|
|
657
|
+
border-radius: var(--radius-md);
|
|
658
|
+
background: var(--card);
|
|
659
|
+
color: var(--ink);
|
|
660
|
+
}
|
|
661
|
+
.atelic-ui .address-search .address-search-input:focus {
|
|
662
|
+
outline: none;
|
|
663
|
+
border-color: var(--primary);
|
|
664
|
+
box-shadow: 0 0 0 4px var(--primary-focus-ring);
|
|
665
|
+
}
|
|
666
|
+
.atelic-ui .address-search-popup:not([hidden]) {
|
|
667
|
+
position: absolute;
|
|
668
|
+
left: 0;
|
|
669
|
+
right: 0;
|
|
670
|
+
top: 100%;
|
|
671
|
+
z-index: 20;
|
|
672
|
+
margin-top: 4px;
|
|
673
|
+
padding: 6px;
|
|
674
|
+
display: flex;
|
|
675
|
+
flex-direction: column;
|
|
676
|
+
background: var(--card);
|
|
677
|
+
border: 1.5px solid var(--field-border, var(--neutral-200));
|
|
678
|
+
border-radius: var(--radius-md);
|
|
679
|
+
box-shadow: var(--shadow-md);
|
|
680
|
+
}
|
|
681
|
+
.atelic-ui .address-search-list {
|
|
682
|
+
display: flex;
|
|
683
|
+
flex-direction: column;
|
|
684
|
+
}
|
|
685
|
+
.atelic-ui .address-search-option {
|
|
686
|
+
display: flex;
|
|
687
|
+
flex-direction: column;
|
|
688
|
+
gap: 1px;
|
|
689
|
+
padding: 10px 12px;
|
|
690
|
+
border-radius: var(--radius-sm);
|
|
691
|
+
line-height: 1.35;
|
|
692
|
+
color: var(--ink);
|
|
693
|
+
cursor: pointer;
|
|
694
|
+
}
|
|
695
|
+
.atelic-ui .address-search-option:hover,
|
|
696
|
+
.atelic-ui .address-search-option[aria-selected="true"] {
|
|
697
|
+
background: var(--primary-tint);
|
|
698
|
+
}
|
|
699
|
+
.atelic-ui .address-search-option-secondary {
|
|
700
|
+
font-size: 0.92em;
|
|
701
|
+
color: var(--ink-soft);
|
|
702
|
+
}
|
|
703
|
+
/* Google's attribution, as its terms set it: never wrapped, a regular
|
|
704
|
+
weight, 12 to 16 pixels, 4.5 to 1 against the list. */
|
|
705
|
+
.atelic-ui .google-maps-attribution {
|
|
706
|
+
white-space: nowrap;
|
|
707
|
+
font-size: 13px;
|
|
708
|
+
font-weight: var(--weight-regular);
|
|
709
|
+
color: var(--neutral-600);
|
|
710
|
+
}
|
|
711
|
+
.atelic-ui .address-search-attribution {
|
|
712
|
+
padding: 8px 12px 4px;
|
|
713
|
+
font-size: 0.8rem;
|
|
714
|
+
color: var(--neutral-600);
|
|
715
|
+
text-align: right;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
/* ---- ExpandableText: long text drawn to a few lines, the rest a Show
|
|
719
|
+
more away. The cut is a line clamp, so every word stays in the page. ---- */
|
|
720
|
+
.atelic-ui .expandable-text {
|
|
721
|
+
min-width: 0;
|
|
722
|
+
}
|
|
723
|
+
.atelic-ui .expandable-text-body {
|
|
724
|
+
display: block;
|
|
725
|
+
}
|
|
726
|
+
.atelic-ui .expandable-text-body.is-clamped {
|
|
727
|
+
display: -webkit-box;
|
|
728
|
+
-webkit-box-orient: vertical;
|
|
729
|
+
-webkit-line-clamp: var(--expandable-lines, 3);
|
|
730
|
+
line-clamp: var(--expandable-lines, 3);
|
|
731
|
+
overflow: hidden;
|
|
732
|
+
}
|
|
733
|
+
.atelic-ui .expandable-text-more:not([hidden]) {
|
|
734
|
+
display: block;
|
|
735
|
+
margin-top: 4px;
|
|
736
|
+
}
|
|
737
|
+
.atelic-ui .expandable-text-toggle {
|
|
738
|
+
margin-top: 2px;
|
|
739
|
+
padding: 0;
|
|
740
|
+
border: 0;
|
|
741
|
+
background: none;
|
|
742
|
+
font: inherit;
|
|
743
|
+
color: inherit;
|
|
744
|
+
cursor: pointer;
|
|
745
|
+
}
|
|
746
|
+
/* The words carry the link look, so an inline control's ellipsis (below)
|
|
747
|
+
reads in the text's own color. */
|
|
748
|
+
.atelic-ui .expandable-text-toggle-label {
|
|
749
|
+
font-weight: var(--weight-bold);
|
|
750
|
+
color: var(--primary-ink, var(--primary));
|
|
751
|
+
text-decoration: underline;
|
|
752
|
+
}
|
|
753
|
+
/* inline (8.5.0). Closed, the control is out of the flow from the first
|
|
754
|
+
paint, over the end of the last line, so measuring the text never moves
|
|
755
|
+
the page (8.6.0): unseen until the text is measured as cut (.is-cut),
|
|
756
|
+
then shown on a fade of the ground, after an ellipsis whose empty
|
|
757
|
+
alternative text keeps it out of the control's name. Text that fits
|
|
758
|
+
draws no control. */
|
|
759
|
+
.atelic-ui .expandable-text.is-inline {
|
|
760
|
+
position: relative;
|
|
761
|
+
}
|
|
762
|
+
.atelic-ui .expandable-text.is-inline .expandable-text-body.is-clamped + .expandable-text-toggle {
|
|
763
|
+
position: absolute;
|
|
764
|
+
right: 0;
|
|
765
|
+
bottom: 0;
|
|
766
|
+
margin: 0;
|
|
767
|
+
padding-left: 1.25em;
|
|
768
|
+
visibility: hidden;
|
|
769
|
+
background: linear-gradient(
|
|
770
|
+
to right,
|
|
771
|
+
transparent,
|
|
772
|
+
var(--expandable-ground, var(--surface)) 1em
|
|
773
|
+
);
|
|
774
|
+
}
|
|
775
|
+
.atelic-ui .expandable-text.is-inline .expandable-text-body.is-cut + .expandable-text-toggle {
|
|
776
|
+
visibility: visible;
|
|
777
|
+
}
|
|
778
|
+
.atelic-ui
|
|
779
|
+
.expandable-text.is-inline
|
|
780
|
+
.expandable-text-body.is-cut
|
|
781
|
+
+ .expandable-text-toggle::before {
|
|
782
|
+
content: "\2026\00a0" / "";
|
|
783
|
+
display: inline-block;
|
|
784
|
+
}
|
|
785
|
+
/* Open: the text runs inline and the control follows its last word. */
|
|
786
|
+
.atelic-ui .expandable-text.is-inline .expandable-text-body:not(.is-clamped) {
|
|
787
|
+
display: inline;
|
|
788
|
+
}
|
|
789
|
+
.atelic-ui
|
|
790
|
+
.expandable-text.is-inline
|
|
791
|
+
.expandable-text-body:not(.is-clamped)
|
|
792
|
+
+ .expandable-text-toggle {
|
|
793
|
+
margin: 0 0 0 0.35em;
|
|
794
|
+
}
|
|
795
|
+
.atelic-ui .expandable-text-toggle:focus-visible {
|
|
796
|
+
outline: 2px solid var(--primary);
|
|
797
|
+
outline-offset: 2px;
|
|
798
|
+
border-radius: 2px;
|
|
799
|
+
}
|
|
628
800
|
}
|
package/src/styles/sections.css
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@import "./defaults.css";
|
|
2
|
+
@import "./fields.css";
|
|
2
3
|
/* The marketing sections under src/sections, one block each, the sheets that
|
|
3
4
|
lived beside each component in template-marketing until 0.19.0 (ATE-643).
|
|
4
5
|
A section that composes another comes after it, the order the template's
|
|
@@ -290,20 +291,15 @@
|
|
|
290
291
|
gap: 7px;
|
|
291
292
|
margin-bottom: 18px;
|
|
292
293
|
}
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
font-size: 0.74rem;
|
|
296
|
-
letter-spacing: 0.1em;
|
|
297
|
-
text-transform: uppercase;
|
|
298
|
-
color: var(--neutral-600);
|
|
299
|
-
}
|
|
294
|
+
/* A field's label and the note beside it are in fields.css, with the
|
|
295
|
+
pickers' labels (8.5.0). */
|
|
300
296
|
.atelic-ui .field input,
|
|
301
297
|
.atelic-ui .field textarea,
|
|
302
298
|
.atelic-ui .field select {
|
|
303
299
|
font: inherit;
|
|
304
|
-
padding:
|
|
300
|
+
padding: var(--field-padding-block) var(--field-padding-inline);
|
|
305
301
|
border-radius: var(--radius-md);
|
|
306
|
-
border: 1.5px solid var(--neutral-200);
|
|
302
|
+
border: 1.5px solid var(--field-border, var(--neutral-200));
|
|
307
303
|
background: var(--card);
|
|
308
304
|
color: var(--ink);
|
|
309
305
|
transition:
|
|
@@ -333,17 +329,168 @@
|
|
|
333
329
|
}
|
|
334
330
|
/* The error words read the primary's ink, which clears 4.5 to 1 on the
|
|
335
331
|
surface and on the tint (--primary-deep, a fill, read 4.17 and 3.96). */
|
|
332
|
+
/* --field-error, --field-error-border, and --field-error-bg (8.5.0) let a
|
|
333
|
+
theme set the errors in its own color (the tone palette's bad, say);
|
|
334
|
+
unset, each reads in place what it always did. */
|
|
336
335
|
.atelic-ui .field .err {
|
|
337
|
-
color: var(--primary-ink, var(--primary));
|
|
338
|
-
font-size:
|
|
336
|
+
color: var(--field-error, var(--primary-ink, var(--primary)));
|
|
337
|
+
font-size: var(--field-error-size);
|
|
338
|
+
font-weight: var(--field-error-weight, inherit);
|
|
339
339
|
display: none;
|
|
340
340
|
}
|
|
341
341
|
.atelic-ui .field.invalid .err {
|
|
342
342
|
display: block;
|
|
343
343
|
}
|
|
344
344
|
.atelic-ui .field.invalid input,
|
|
345
|
-
.atelic-ui .field.invalid textarea
|
|
346
|
-
|
|
345
|
+
.atelic-ui .field.invalid textarea,
|
|
346
|
+
.atelic-ui .field.invalid select {
|
|
347
|
+
border-color: var(--field-error-border, var(--primary-deep));
|
|
348
|
+
border-width: var(--field-error-border-width);
|
|
349
|
+
}
|
|
350
|
+
/* Fields that share a line where there is room: a first and a last name,
|
|
351
|
+
a phone and an email (two up), a city, a state, and a ZIP (three up).
|
|
352
|
+
Each wraps to its own line before it would go narrower than it reads. */
|
|
353
|
+
.atelic-ui .field-row {
|
|
354
|
+
display: grid;
|
|
355
|
+
grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
|
|
356
|
+
gap: 0 14px;
|
|
357
|
+
}
|
|
358
|
+
.atelic-ui .field-row > * {
|
|
359
|
+
min-width: 0;
|
|
360
|
+
}
|
|
361
|
+
.atelic-ui .field-row.field-row-3 {
|
|
362
|
+
grid-template-columns: repeat(auto-fit, minmax(min(100%, 104px), 1fr));
|
|
363
|
+
}
|
|
364
|
+
/* The line under the send button (footnote): its size and space, its
|
|
365
|
+
alignment, and its links' weight and color, each by token (8.5.0). */
|
|
366
|
+
.atelic-ui .form-footnote {
|
|
367
|
+
margin-top: 14px;
|
|
368
|
+
font-size: var(--form-footnote-size);
|
|
369
|
+
text-align: var(--form-footnote-align, inherit);
|
|
370
|
+
}
|
|
371
|
+
.atelic-ui .form-footnote a {
|
|
372
|
+
font-weight: var(--form-footnote-link-weight, inherit);
|
|
373
|
+
color: var(--form-footnote-link-color, inherit);
|
|
374
|
+
}
|
|
375
|
+
/* The count of fields to fix, over the form after a refused send. */
|
|
376
|
+
.atelic-ui .form-alert {
|
|
377
|
+
background: var(--field-error-bg, var(--primary-tint));
|
|
378
|
+
border: 1.5px solid var(--field-error-border, var(--primary-deep));
|
|
379
|
+
color: var(--field-error, var(--primary-ink, var(--primary)));
|
|
380
|
+
padding: 14px 16px;
|
|
381
|
+
border-radius: var(--radius-md);
|
|
382
|
+
font-weight: var(--weight-semibold);
|
|
383
|
+
margin-bottom: 18px;
|
|
384
|
+
}
|
|
385
|
+
/* The consent line: a checkbox beside its wording, which opens behind Show more. */
|
|
386
|
+
.atelic-ui .contact-consent {
|
|
387
|
+
display: flex;
|
|
388
|
+
gap: 10px;
|
|
389
|
+
align-items: flex-start;
|
|
390
|
+
margin: 0 0 18px;
|
|
391
|
+
font-size: 0.9rem;
|
|
392
|
+
line-height: 1.45;
|
|
393
|
+
color: var(--ink-soft);
|
|
394
|
+
}
|
|
395
|
+
.atelic-ui .contact-consent-box {
|
|
396
|
+
flex: none;
|
|
397
|
+
width: 20px;
|
|
398
|
+
height: 20px;
|
|
399
|
+
margin: 1px 0 0;
|
|
400
|
+
accent-color: var(--primary);
|
|
401
|
+
}
|
|
402
|
+
.atelic-ui .contact-consent > .expandable-text {
|
|
403
|
+
min-width: 0;
|
|
404
|
+
flex: 1;
|
|
405
|
+
}
|
|
406
|
+
.atelic-ui .contact-consent .expandable-text-body {
|
|
407
|
+
cursor: pointer;
|
|
408
|
+
}
|
|
409
|
+
.atelic-ui .contact-consent-links {
|
|
410
|
+
display: flex;
|
|
411
|
+
flex-wrap: wrap;
|
|
412
|
+
gap: 6px 16px;
|
|
413
|
+
}
|
|
414
|
+
.atelic-ui .contact-consent-links a {
|
|
415
|
+
color: var(--primary-ink, var(--primary));
|
|
416
|
+
}
|
|
417
|
+
/* The thanks that replaces the form once it is sent (thanks). */
|
|
418
|
+
.atelic-ui .contact-thanks-mark {
|
|
419
|
+
width: 48px;
|
|
420
|
+
height: 48px;
|
|
421
|
+
display: grid;
|
|
422
|
+
place-items: center;
|
|
423
|
+
border-radius: 50%;
|
|
424
|
+
background: var(--tone-good-bg);
|
|
425
|
+
color: var(--tone-good);
|
|
426
|
+
}
|
|
427
|
+
.atelic-ui .contact-thanks-title {
|
|
428
|
+
margin: 14px 0 0;
|
|
429
|
+
font-size: clamp(1.35rem, 2.4vw, 1.7rem);
|
|
430
|
+
font-weight: var(--weight-bold);
|
|
431
|
+
line-height: 1.2;
|
|
432
|
+
color: var(--primary-ink, var(--primary));
|
|
433
|
+
}
|
|
434
|
+
/* Focus lands on the heading so a screen reader reads it; it is not a
|
|
435
|
+
control, so it draws no ring. */
|
|
436
|
+
.atelic-ui .contact-thanks-title:focus {
|
|
437
|
+
outline: none;
|
|
438
|
+
}
|
|
439
|
+
.atelic-ui .contact-thanks-lead {
|
|
440
|
+
margin: 8px 0 0;
|
|
441
|
+
line-height: 1.5;
|
|
442
|
+
color: var(--ink-soft);
|
|
443
|
+
}
|
|
444
|
+
.atelic-ui .contact-thanks-summary {
|
|
445
|
+
margin: 20px 0 0;
|
|
446
|
+
padding: 4px 16px;
|
|
447
|
+
border: 1px solid var(--hairline-strong);
|
|
448
|
+
border-radius: var(--radius-md);
|
|
449
|
+
}
|
|
450
|
+
.atelic-ui .contact-thanks-summary > div {
|
|
451
|
+
display: flex;
|
|
452
|
+
gap: 14px;
|
|
453
|
+
padding: 11px 0;
|
|
454
|
+
border-bottom: 1px solid var(--hairline);
|
|
455
|
+
line-height: 1.4;
|
|
456
|
+
}
|
|
457
|
+
.atelic-ui .contact-thanks-summary > div:last-child {
|
|
458
|
+
border-bottom: 0;
|
|
459
|
+
}
|
|
460
|
+
.atelic-ui .contact-thanks-summary dt {
|
|
461
|
+
flex: 0 0 96px;
|
|
462
|
+
font-weight: var(--weight-bold);
|
|
463
|
+
}
|
|
464
|
+
.atelic-ui .contact-thanks-summary dd {
|
|
465
|
+
margin: 0;
|
|
466
|
+
min-width: 0;
|
|
467
|
+
}
|
|
468
|
+
.atelic-ui .contact-thanks-steps-head {
|
|
469
|
+
margin: 22px 0 0;
|
|
470
|
+
font-weight: var(--weight-bold);
|
|
471
|
+
}
|
|
472
|
+
.atelic-ui .contact-thanks-steps {
|
|
473
|
+
margin: 8px 0 0;
|
|
474
|
+
padding-left: 22px;
|
|
475
|
+
display: flex;
|
|
476
|
+
flex-direction: column;
|
|
477
|
+
gap: 6px;
|
|
478
|
+
line-height: 1.45;
|
|
479
|
+
}
|
|
480
|
+
.atelic-ui .contact-thanks-again {
|
|
481
|
+
margin-top: 20px;
|
|
482
|
+
padding: 0;
|
|
483
|
+
border: 0;
|
|
484
|
+
background: none;
|
|
485
|
+
color: var(--primary-ink, var(--primary));
|
|
486
|
+
font: inherit;
|
|
487
|
+
font-weight: var(--weight-bold);
|
|
488
|
+
text-decoration: underline;
|
|
489
|
+
cursor: pointer;
|
|
490
|
+
}
|
|
491
|
+
.atelic-ui .contact-thanks-again:focus-visible {
|
|
492
|
+
outline: 2px solid var(--primary);
|
|
493
|
+
outline-offset: 3px;
|
|
347
494
|
}
|
|
348
495
|
.atelic-ui .form-status {
|
|
349
496
|
display: block;
|
|
@@ -421,6 +568,169 @@
|
|
|
421
568
|
min-width: 0;
|
|
422
569
|
overflow-wrap: anywhere;
|
|
423
570
|
}
|
|
571
|
+
/* layout="stacked" (8.5.0): the label over its value in the body face,
|
|
572
|
+
and each number set large, for labels that are places. */
|
|
573
|
+
.atelic-ui .contact-info-card.is-stacked .ci-row {
|
|
574
|
+
flex-direction: column;
|
|
575
|
+
gap: 2px;
|
|
576
|
+
padding: 14px 0;
|
|
577
|
+
}
|
|
578
|
+
.atelic-ui .contact-info-card.is-stacked .ci-row .k {
|
|
579
|
+
flex: none;
|
|
580
|
+
padding: 0;
|
|
581
|
+
font-family: inherit;
|
|
582
|
+
font-size: 0.9rem;
|
|
583
|
+
letter-spacing: normal;
|
|
584
|
+
text-transform: none;
|
|
585
|
+
color: var(--on-dark);
|
|
586
|
+
}
|
|
587
|
+
.atelic-ui .contact-info-card.is-stacked .ci-row .v {
|
|
588
|
+
color: var(--on-dark);
|
|
589
|
+
line-height: 1.4;
|
|
590
|
+
}
|
|
591
|
+
.atelic-ui .contact-info-card.is-stacked .ci-row .v a[href^="tel:"] {
|
|
592
|
+
font-size: 1.3rem;
|
|
593
|
+
font-weight: var(--weight-bold);
|
|
594
|
+
text-decoration: none;
|
|
595
|
+
}
|
|
596
|
+
.atelic-ui .contact-info-card.is-stacked .ci-row .v a[href^="tel:"]:hover {
|
|
597
|
+
text-decoration: underline;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
/* ---- ContactSection (8.6.0) ----
|
|
601
|
+
The form's card beside the side column. The columns are flex items that
|
|
602
|
+
grow in the ratio of --contact-section-main and --contact-section-side
|
|
603
|
+
from their bases; they stand side by side while both bases and the gap
|
|
604
|
+
fit, and wrap, the card first, below that, so the stacking follows the
|
|
605
|
+
width the section is given rather than a viewport breakpoint (the
|
|
606
|
+
defaults stack it below about 900px on a site's default gutter). */
|
|
607
|
+
.atelic-ui .contact-section-layout {
|
|
608
|
+
display: flex;
|
|
609
|
+
flex-wrap: wrap;
|
|
610
|
+
align-items: flex-start;
|
|
611
|
+
gap: var(--contact-section-gap);
|
|
612
|
+
}
|
|
613
|
+
.atelic-ui .contact-section-main {
|
|
614
|
+
flex: var(--contact-section-main) 1 var(--contact-section-main-basis);
|
|
615
|
+
min-width: 0;
|
|
616
|
+
}
|
|
617
|
+
.atelic-ui .contact-section-side {
|
|
618
|
+
flex: var(--contact-section-side) 1 var(--contact-section-side-basis);
|
|
619
|
+
min-width: 0;
|
|
620
|
+
display: flex;
|
|
621
|
+
flex-direction: column;
|
|
622
|
+
gap: var(--contact-section-side-gap);
|
|
623
|
+
}
|
|
624
|
+
.atelic-ui .contact-section-card {
|
|
625
|
+
padding: var(--contact-section-card-pad);
|
|
626
|
+
background: var(--ui-card, var(--card));
|
|
627
|
+
border: 1px solid var(--hairline-strong);
|
|
628
|
+
border-radius: var(--radius-lg);
|
|
629
|
+
/* An inline Show more in the form fades over the card's own ground. */
|
|
630
|
+
--expandable-ground: var(--ui-card, var(--card));
|
|
631
|
+
}
|
|
632
|
+
.atelic-ui .contact-section-title {
|
|
633
|
+
margin: 0 0 4px;
|
|
634
|
+
font-size: clamp(1.4rem, 2.4vw, 1.8rem);
|
|
635
|
+
line-height: 1.15;
|
|
636
|
+
}
|
|
637
|
+
.atelic-ui .contact-section-lead {
|
|
638
|
+
margin: 0 0 22px;
|
|
639
|
+
font-size: 1.03rem;
|
|
640
|
+
line-height: 1.5;
|
|
641
|
+
color: var(--ink-soft);
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
/* ---- InfoRows ---- */
|
|
645
|
+
/* A title over a few lines, with one action on the right, the way a map
|
|
646
|
+
pack lists a place: an office and its directions. */
|
|
647
|
+
.atelic-ui .info-rows {
|
|
648
|
+
list-style: none;
|
|
649
|
+
margin: 0;
|
|
650
|
+
padding: 0;
|
|
651
|
+
display: flex;
|
|
652
|
+
flex-direction: column;
|
|
653
|
+
}
|
|
654
|
+
.atelic-ui .info-row {
|
|
655
|
+
display: flex;
|
|
656
|
+
align-items: center;
|
|
657
|
+
gap: 16px;
|
|
658
|
+
padding: 18px 0;
|
|
659
|
+
border-bottom: 1px solid var(--hairline);
|
|
660
|
+
}
|
|
661
|
+
.atelic-ui .info-row:first-child {
|
|
662
|
+
padding-top: 0;
|
|
663
|
+
}
|
|
664
|
+
/* A row with more under its lines (an office's hours) keeps its action
|
|
665
|
+
beside its title and address, not centered on the whole row. */
|
|
666
|
+
.atelic-ui .info-row.has-detail {
|
|
667
|
+
align-items: flex-start;
|
|
668
|
+
}
|
|
669
|
+
.atelic-ui .info-row-icon {
|
|
670
|
+
flex: none;
|
|
671
|
+
align-self: flex-start;
|
|
672
|
+
color: var(--primary-ink, var(--primary));
|
|
673
|
+
}
|
|
674
|
+
.atelic-ui .info-row-text {
|
|
675
|
+
flex: 1;
|
|
676
|
+
min-width: 0;
|
|
677
|
+
}
|
|
678
|
+
.atelic-ui .info-row-title {
|
|
679
|
+
margin: 0 0 4px;
|
|
680
|
+
font-family: var(--font-heading, inherit);
|
|
681
|
+
font-size: 1.15rem;
|
|
682
|
+
font-weight: var(--weight-bold);
|
|
683
|
+
line-height: 1.25;
|
|
684
|
+
color: var(--ink);
|
|
685
|
+
}
|
|
686
|
+
.atelic-ui .info-row-lines {
|
|
687
|
+
margin: 0;
|
|
688
|
+
line-height: 1.5;
|
|
689
|
+
color: var(--ink-soft);
|
|
690
|
+
}
|
|
691
|
+
.atelic-ui .info-row-lines > span {
|
|
692
|
+
display: block;
|
|
693
|
+
}
|
|
694
|
+
.atelic-ui .info-row-detail {
|
|
695
|
+
margin-top: 8px;
|
|
696
|
+
}
|
|
697
|
+
.atelic-ui .info-row-action {
|
|
698
|
+
flex: none;
|
|
699
|
+
width: 84px;
|
|
700
|
+
display: flex;
|
|
701
|
+
flex-direction: column;
|
|
702
|
+
align-items: center;
|
|
703
|
+
gap: 6px;
|
|
704
|
+
font-size: 0.84rem;
|
|
705
|
+
font-weight: var(--weight-bold);
|
|
706
|
+
line-height: 1.2;
|
|
707
|
+
color: var(--primary-ink, var(--primary));
|
|
708
|
+
text-align: center;
|
|
709
|
+
text-decoration: none;
|
|
710
|
+
}
|
|
711
|
+
.atelic-ui .info-row-action-icon {
|
|
712
|
+
width: 48px;
|
|
713
|
+
height: 48px;
|
|
714
|
+
display: grid;
|
|
715
|
+
place-items: center;
|
|
716
|
+
border-radius: 50%;
|
|
717
|
+
background: var(--primary-fill, var(--primary));
|
|
718
|
+
color: var(--on-primary);
|
|
719
|
+
transition: background 0.15s;
|
|
720
|
+
}
|
|
721
|
+
.atelic-ui .info-row-action:hover .info-row-action-icon {
|
|
722
|
+
background: var(--primary-deep);
|
|
723
|
+
}
|
|
724
|
+
.atelic-ui .info-row-action:focus-visible {
|
|
725
|
+
outline: 2px solid var(--primary);
|
|
726
|
+
outline-offset: 3px;
|
|
727
|
+
border-radius: var(--radius-sm);
|
|
728
|
+
}
|
|
729
|
+
@media (prefers-reduced-motion: reduce) {
|
|
730
|
+
.atelic-ui .info-row-action-icon {
|
|
731
|
+
transition: none;
|
|
732
|
+
}
|
|
733
|
+
}
|
|
424
734
|
|
|
425
735
|
/* ---- CredentialList (credential-list.css) ---- */
|
|
426
736
|
.atelic-ui .cert-list {
|
|
@@ -571,22 +881,42 @@
|
|
|
571
881
|
}
|
|
572
882
|
|
|
573
883
|
/* ---- PageHero (page-hero.css) ---- */
|
|
884
|
+
/* --page-hero-pad-block (8.5.0) sets the band's top and bottom padding
|
|
885
|
+
alike; unset, each keeps its own, read in place. */
|
|
574
886
|
.atelic-ui .page-hero {
|
|
575
|
-
padding-top: calc(var(--section-space) * 0.72);
|
|
576
|
-
padding-bottom: calc(var(--section-space) * 0.5);
|
|
887
|
+
padding-top: var(--page-hero-pad-block, calc(var(--section-space) * 0.72));
|
|
888
|
+
padding-bottom: var(--page-hero-pad-block, calc(var(--section-space) * 0.5));
|
|
577
889
|
background: var(--surface-alt);
|
|
578
890
|
}
|
|
579
891
|
.atelic-ui .page-hero.surface-default {
|
|
580
892
|
background: var(--surface);
|
|
581
893
|
}
|
|
582
894
|
.atelic-ui .page-hero h1 {
|
|
583
|
-
font-size:
|
|
895
|
+
font-size: var(--page-hero-title-size);
|
|
584
896
|
margin: 16px 0 0;
|
|
585
897
|
}
|
|
586
898
|
.atelic-ui .page-hero .lead {
|
|
587
899
|
margin-top: 22px;
|
|
588
900
|
max-width: 56ch;
|
|
589
901
|
}
|
|
902
|
+
/* The kicker, at the eyebrow primitive's own look (its private
|
|
903
|
+
properties, primitives.css) unless a theme sets the page hero's kicker
|
|
904
|
+
tokens, as the hero's are set (8.5.0). */
|
|
905
|
+
.atelic-ui .page-hero .eyebrow {
|
|
906
|
+
font-family: var(--page-hero-kicker-font, var(--font-mono));
|
|
907
|
+
font-size: var(--page-hero-kicker-size, var(--_eyebrow-size));
|
|
908
|
+
font-weight: var(--page-hero-kicker-weight, var(--_eyebrow-weight));
|
|
909
|
+
letter-spacing: var(--page-hero-kicker-tracking, var(--_eyebrow-tracking));
|
|
910
|
+
}
|
|
911
|
+
/* surface="primary" (8.5.0): the band on the primary fill, every word in
|
|
912
|
+
--on-primary (the kicker by .on-primary, the heading by the ground). */
|
|
913
|
+
.atelic-ui .page-hero[data-ground="primary"] {
|
|
914
|
+
background: var(--primary-fill, var(--primary));
|
|
915
|
+
color: var(--on-primary);
|
|
916
|
+
}
|
|
917
|
+
.atelic-ui .page-hero[data-ground="primary"] .lead {
|
|
918
|
+
color: var(--on-primary);
|
|
919
|
+
}
|
|
590
920
|
|
|
591
921
|
/* ---- FAQBrowser (faq-browser.css) ---- */
|
|
592
922
|
/* =================================================================
|
|
@@ -1306,7 +1636,8 @@
|
|
|
1306
1636
|
justify-content: space-between;
|
|
1307
1637
|
gap: 16px;
|
|
1308
1638
|
padding: 9px 0;
|
|
1309
|
-
|
|
1639
|
+
/* --hours-rule (8.5.0): the line under each row, dashed unless set. */
|
|
1640
|
+
border-bottom: var(--hours-rule, 1px dashed var(--neutral-200));
|
|
1310
1641
|
font-size: 0.95rem;
|
|
1311
1642
|
}
|
|
1312
1643
|
.atelic-ui .hours-row.closed {
|
|
@@ -1316,8 +1647,8 @@
|
|
|
1316
1647
|
font-weight: var(--weight-semibold);
|
|
1317
1648
|
}
|
|
1318
1649
|
.atelic-ui .hours-row .time {
|
|
1319
|
-
font-family: var(--font-mono);
|
|
1320
|
-
font-size:
|
|
1650
|
+
font-family: var(--hours-time-font, var(--font-mono));
|
|
1651
|
+
font-size: var(--hours-time-size);
|
|
1321
1652
|
}
|
|
1322
1653
|
|
|
1323
1654
|
/* ---- LegalPage (legal-page.css) ---- */
|