@lets-ship/site 3.3.0 → 3.5.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/dist/i18n/tables/de.d.ts.map +1 -1
- package/dist/i18n/tables/de.js +23 -0
- package/dist/i18n/tables/de.js.map +1 -1
- package/dist/i18n/tables/en.d.ts.map +1 -1
- package/dist/i18n/tables/en.js +23 -0
- package/dist/i18n/tables/en.js.map +1 -1
- package/dist/i18n/tables/es.d.ts.map +1 -1
- package/dist/i18n/tables/es.js +23 -0
- package/dist/i18n/tables/es.js.map +1 -1
- package/dist/i18n/tables/fr.d.ts.map +1 -1
- package/dist/i18n/tables/fr.js +23 -0
- package/dist/i18n/tables/fr.js.map +1 -1
- package/dist/i18n/tables/nl.d.ts.map +1 -1
- package/dist/i18n/tables/nl.js +23 -0
- package/dist/i18n/tables/nl.js.map +1 -1
- package/dist/i18n/tables/pt.d.ts.map +1 -1
- package/dist/i18n/tables/pt.js +23 -0
- package/dist/i18n/tables/pt.js.map +1 -1
- package/dist/i18n/tables/tr.d.ts.map +1 -1
- package/dist/i18n/tables/tr.js +23 -0
- package/dist/i18n/tables/tr.js.map +1 -1
- package/dist/i18n/types.d.ts +29 -0
- package/dist/i18n/types.d.ts.map +1 -1
- package/dist/mdx/allow-list.d.ts +1 -1
- package/dist/mdx/allow-list.d.ts.map +1 -1
- package/dist/mdx/allow-list.js +4 -0
- package/dist/mdx/allow-list.js.map +1 -1
- package/dist/mdx/components.d.ts.map +1 -1
- package/dist/mdx/components.js +8 -2
- package/dist/mdx/components.js.map +1 -1
- package/dist/website/blocks/app-views.d.ts +32 -0
- package/dist/website/blocks/app-views.d.ts.map +1 -0
- package/dist/website/blocks/app-views.js +42 -0
- package/dist/website/blocks/app-views.js.map +1 -0
- package/dist/website/blocks/app.d.ts +7 -0
- package/dist/website/blocks/app.d.ts.map +1 -0
- package/dist/website/blocks/app.js +7 -0
- package/dist/website/blocks/app.js.map +1 -0
- package/dist/website/blocks/booking-fields.d.ts +39 -0
- package/dist/website/blocks/booking-fields.d.ts.map +1 -0
- package/dist/website/blocks/booking-fields.js +44 -0
- package/dist/website/blocks/booking-fields.js.map +1 -0
- package/dist/website/blocks/booking-request.d.ts +22 -0
- package/dist/website/blocks/booking-request.d.ts.map +1 -0
- package/dist/website/blocks/booking-request.js +42 -0
- package/dist/website/blocks/booking-request.js.map +1 -0
- package/dist/website/blocks/booking-slot-picker.d.ts +23 -0
- package/dist/website/blocks/booking-slot-picker.d.ts.map +1 -0
- package/dist/website/blocks/booking-slot-picker.js +63 -0
- package/dist/website/blocks/booking-slot-picker.js.map +1 -0
- package/dist/website/blocks/booking-slots.d.ts +63 -0
- package/dist/website/blocks/booking-slots.d.ts.map +1 -0
- package/dist/website/blocks/booking-slots.js +127 -0
- package/dist/website/blocks/booking-slots.js.map +1 -0
- package/dist/website/blocks/booking-views.d.ts +42 -0
- package/dist/website/blocks/booking-views.d.ts.map +1 -0
- package/dist/website/blocks/booking-views.js +52 -0
- package/dist/website/blocks/booking-views.js.map +1 -0
- package/dist/website/blocks/call-to-action-views.d.ts.map +1 -1
- package/dist/website/blocks/call-to-action-views.js +1 -1
- package/dist/website/blocks/call-to-action-views.js.map +1 -1
- package/dist/website/blocks/card-grid-views.d.ts +5 -4
- package/dist/website/blocks/card-grid-views.d.ts.map +1 -1
- package/dist/website/blocks/card-grid-views.js +15 -3
- package/dist/website/blocks/card-grid-views.js.map +1 -1
- package/dist/website/blocks/catalog.d.ts +6 -2
- package/dist/website/blocks/catalog.d.ts.map +1 -1
- package/dist/website/blocks/catalog.js +6 -2
- package/dist/website/blocks/catalog.js.map +1 -1
- package/dist/website/blocks/commerce.d.ts.map +1 -1
- package/dist/website/blocks/commerce.js +2 -1
- package/dist/website/blocks/commerce.js.map +1 -1
- package/dist/website/blocks/contact-views.d.ts.map +1 -1
- package/dist/website/blocks/contact-views.js +7 -4
- package/dist/website/blocks/contact-views.js.map +1 -1
- package/dist/website/blocks/empty-state-views.d.ts.map +1 -1
- package/dist/website/blocks/empty-state-views.js +1 -1
- package/dist/website/blocks/empty-state-views.js.map +1 -1
- package/dist/website/blocks/event-dates.d.ts +42 -0
- package/dist/website/blocks/event-dates.d.ts.map +1 -0
- package/dist/website/blocks/event-dates.js +80 -0
- package/dist/website/blocks/event-dates.js.map +1 -0
- package/dist/website/blocks/event-list.d.ts +16 -0
- package/dist/website/blocks/event-list.d.ts.map +1 -0
- package/dist/website/blocks/event-list.js +37 -0
- package/dist/website/blocks/event-list.js.map +1 -0
- package/dist/website/blocks/event-rows.d.ts +9 -0
- package/dist/website/blocks/event-rows.d.ts.map +1 -0
- package/dist/website/blocks/event-rows.js +13 -0
- package/dist/website/blocks/event-rows.js.map +1 -0
- package/dist/website/blocks/event-visitor.d.ts +14 -0
- package/dist/website/blocks/event-visitor.d.ts.map +1 -0
- package/dist/website/blocks/event-visitor.js +16 -0
- package/dist/website/blocks/event-visitor.js.map +1 -0
- package/dist/website/blocks/faq-views.d.ts.map +1 -1
- package/dist/website/blocks/faq-views.js +7 -7
- package/dist/website/blocks/faq-views.js.map +1 -1
- package/dist/website/blocks/hero-views.js +1 -1
- package/dist/website/blocks/hero-views.js.map +1 -1
- package/dist/website/blocks/icons.d.ts +2 -0
- package/dist/website/blocks/icons.d.ts.map +1 -1
- package/dist/website/blocks/icons.js +3 -1
- package/dist/website/blocks/icons.js.map +1 -1
- package/dist/website/blocks/local-views.d.ts +27 -2
- package/dist/website/blocks/local-views.d.ts.map +1 -1
- package/dist/website/blocks/local-views.js +20 -5
- package/dist/website/blocks/local-views.js.map +1 -1
- package/dist/website/blocks/local.d.ts +10 -0
- package/dist/website/blocks/local.d.ts.map +1 -1
- package/dist/website/blocks/local.js +10 -0
- package/dist/website/blocks/local.js.map +1 -1
- package/dist/website/blocks/logo-stats-views.d.ts.map +1 -1
- package/dist/website/blocks/logo-stats-views.js +3 -1
- package/dist/website/blocks/logo-stats-views.js.map +1 -1
- package/dist/website/blocks/media-views.js +1 -1
- package/dist/website/blocks/media-views.js.map +1 -1
- package/dist/website/blocks/menu-views.d.ts +44 -0
- package/dist/website/blocks/menu-views.d.ts.map +1 -0
- package/dist/website/blocks/menu-views.js +47 -0
- package/dist/website/blocks/menu-views.js.map +1 -0
- package/dist/website/blocks/newsletter-views.d.ts +3 -2
- package/dist/website/blocks/newsletter-views.d.ts.map +1 -1
- package/dist/website/blocks/newsletter-views.js +15 -27
- package/dist/website/blocks/newsletter-views.js.map +1 -1
- package/dist/website/blocks/products-views.d.ts +38 -0
- package/dist/website/blocks/products-views.d.ts.map +1 -0
- package/dist/website/blocks/products-views.js +65 -0
- package/dist/website/blocks/products-views.js.map +1 -0
- package/dist/website/blocks/shop.d.ts +7 -0
- package/dist/website/blocks/shop.d.ts.map +1 -0
- package/dist/website/blocks/shop.js +7 -0
- package/dist/website/blocks/shop.js.map +1 -0
- package/dist/website/blocks/signup.d.ts +42 -0
- package/dist/website/blocks/signup.d.ts.map +1 -0
- package/dist/website/blocks/signup.js +39 -0
- package/dist/website/blocks/signup.js.map +1 -0
- package/dist/website/blocks/ticks.d.ts +10 -0
- package/dist/website/blocks/ticks.d.ts.map +1 -0
- package/dist/website/blocks/ticks.js +9 -0
- package/dist/website/blocks/ticks.js.map +1 -0
- package/dist/website/blocks/visitor-date.d.ts +2 -0
- package/dist/website/blocks/visitor-date.d.ts.map +1 -0
- package/dist/website/blocks/visitor-date.js +10 -0
- package/dist/website/blocks/visitor-date.js.map +1 -0
- package/package.json +1 -1
- package/styles.css +1138 -20
package/styles.css
CHANGED
|
@@ -639,6 +639,21 @@
|
|
|
639
639
|
background: var(--dna-component-card-bg);
|
|
640
640
|
}
|
|
641
641
|
|
|
642
|
+
/* A plan: its button sits at the foot of the card, so the buttons of a row line up. */
|
|
643
|
+
.site-plan {
|
|
644
|
+
display: flex;
|
|
645
|
+
flex-direction: column;
|
|
646
|
+
align-items: flex-start;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
.site-plan-features {
|
|
650
|
+
flex: 1 1 auto;
|
|
651
|
+
align-content: start;
|
|
652
|
+
margin-block: var(--dna-space-md) var(--dna-space-lg);
|
|
653
|
+
font-size: var(--dna-type-body-sm-size);
|
|
654
|
+
line-height: var(--dna-type-body-sm-line-height);
|
|
655
|
+
}
|
|
656
|
+
|
|
642
657
|
.site-card-highlight {
|
|
643
658
|
border-color: var(--site-brand);
|
|
644
659
|
border-top-width: var(--dna-border-width-thick);
|
|
@@ -662,11 +677,20 @@
|
|
|
662
677
|
border-color: var(--site-brand);
|
|
663
678
|
}
|
|
664
679
|
|
|
680
|
+
/* Every logo at one height, so a long word mark and a short one read at the same size. On a phone
|
|
681
|
+
the height and the cell padding drop, so a wide mark in a half-width cell keeps that height
|
|
682
|
+
instead of shrinking to its cell. */
|
|
665
683
|
.site-logo {
|
|
666
|
-
height:
|
|
684
|
+
height: 24px;
|
|
667
685
|
width: auto;
|
|
668
686
|
}
|
|
669
687
|
|
|
688
|
+
@media (min-width: 40rem) {
|
|
689
|
+
.site-logo {
|
|
690
|
+
height: 32px;
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
|
|
670
694
|
.site-avatar {
|
|
671
695
|
width: 64px;
|
|
672
696
|
height: 64px;
|
|
@@ -1160,6 +1184,139 @@ details[open] > .site-faq-summary .site-faq-caret {
|
|
|
1160
1184
|
outline-offset: 1px;
|
|
1161
1185
|
}
|
|
1162
1186
|
|
|
1187
|
+
/* A sign-up is one control: the field and its button share one edge, and the button sits inside
|
|
1188
|
+
it. The control takes the brand's button radius, grown by its own inset, so the two curves stay
|
|
1189
|
+
parallel. On a narrow screen the button moves under the field. */
|
|
1190
|
+
.site-signup-fields {
|
|
1191
|
+
width: 100%;
|
|
1192
|
+
max-width: 34rem;
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
.site-signup-center .site-signup-fields {
|
|
1196
|
+
margin-inline: auto;
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
.site-signup {
|
|
1200
|
+
--site-signup-inset: 4px;
|
|
1201
|
+
display: flex;
|
|
1202
|
+
align-items: center;
|
|
1203
|
+
gap: var(--site-signup-inset);
|
|
1204
|
+
padding: var(--site-signup-inset);
|
|
1205
|
+
border: var(--dna-border-width-thin) solid var(--site-border);
|
|
1206
|
+
border-radius: calc(var(--dna-component-button-primary-radius) + var(--site-signup-inset));
|
|
1207
|
+
background: var(--color-fd-background);
|
|
1208
|
+
transition: border-color var(--dna-motion-fast) var(--dna-motion-ease);
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
.site-signup:hover {
|
|
1212
|
+
border-color: color-mix(in oklab, var(--site-border), var(--site-fg) 30%);
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
/* The ring goes around the whole control, so the field never shows a second edge inside it. */
|
|
1216
|
+
.site-signup:has(.site-signup-input:focus-visible) {
|
|
1217
|
+
outline: var(--dna-focus-width) solid var(--dna-focus-color);
|
|
1218
|
+
outline-offset: var(--dna-focus-offset);
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
.site-signup[data-invalid] {
|
|
1222
|
+
border-color: var(--site-fg);
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
.site-signup-input {
|
|
1226
|
+
flex: 1;
|
|
1227
|
+
min-width: 0;
|
|
1228
|
+
min-height: var(--dna-control-height-md);
|
|
1229
|
+
padding: 0 12px;
|
|
1230
|
+
border: 0;
|
|
1231
|
+
background: transparent;
|
|
1232
|
+
color: var(--color-fd-foreground);
|
|
1233
|
+
font: inherit;
|
|
1234
|
+
outline: none;
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
.site-signup-input::placeholder {
|
|
1238
|
+
color: var(--color-fd-muted-foreground);
|
|
1239
|
+
opacity: 1;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
.site-signup-button {
|
|
1243
|
+
flex: none;
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
.site-signup-button:disabled {
|
|
1247
|
+
cursor: default;
|
|
1248
|
+
opacity: 0.6;
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
.site-signup-message,
|
|
1252
|
+
.site-signup-note {
|
|
1253
|
+
margin-top: 10px;
|
|
1254
|
+
font-size: var(--dna-type-body-sm-size);
|
|
1255
|
+
line-height: var(--dna-type-body-sm-line-height);
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
.site-signup-message {
|
|
1259
|
+
font-weight: 600;
|
|
1260
|
+
color: var(--site-fg);
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
.site-signup-note {
|
|
1264
|
+
color: var(--site-fg-muted);
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
/* A check that the visitor is a person takes room only when it shows something. */
|
|
1268
|
+
.site-signup-check:not(:empty) {
|
|
1269
|
+
margin-top: 10px;
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
/* After a sign-up the control's own box stays, so the page does not move. */
|
|
1273
|
+
.site-signup-done {
|
|
1274
|
+
display: flex;
|
|
1275
|
+
align-items: center;
|
|
1276
|
+
gap: 10px;
|
|
1277
|
+
min-height: calc(var(--dna-control-height-md) + 2 * 4px + 2 * var(--dna-border-width-thin));
|
|
1278
|
+
padding: 8px 16px;
|
|
1279
|
+
border: var(--dna-border-width-thin) solid var(--site-border);
|
|
1280
|
+
border-radius: calc(var(--dna-component-button-primary-radius) + 4px);
|
|
1281
|
+
background: var(--color-fd-background);
|
|
1282
|
+
color: var(--color-fd-foreground);
|
|
1283
|
+
font-weight: 500;
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
.site-signup-done-icon {
|
|
1287
|
+
flex: none;
|
|
1288
|
+
width: 20px;
|
|
1289
|
+
height: 20px;
|
|
1290
|
+
color: var(--color-fd-primary);
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
/* The words on one side and the form on the other, in a rounded panel. */
|
|
1294
|
+
.site-signup-panel {
|
|
1295
|
+
display: grid;
|
|
1296
|
+
align-items: center;
|
|
1297
|
+
gap: 24px;
|
|
1298
|
+
padding: 32px;
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1301
|
+
@media (min-width: 768px) {
|
|
1302
|
+
.site-signup-panel {
|
|
1303
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
1304
|
+
gap: 48px;
|
|
1305
|
+
padding: 48px;
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
@media (max-width: 479px) {
|
|
1310
|
+
.site-signup {
|
|
1311
|
+
flex-direction: column;
|
|
1312
|
+
align-items: stretch;
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
.site-signup-input {
|
|
1316
|
+
padding: 0 10px;
|
|
1317
|
+
}
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1163
1320
|
.site-contact-detail {
|
|
1164
1321
|
color: var(--site-fg);
|
|
1165
1322
|
font-weight: 500;
|
|
@@ -1291,6 +1448,46 @@ details[open] > .site-faq-summary .site-faq-caret {
|
|
|
1291
1448
|
outline-offset: 2px;
|
|
1292
1449
|
}
|
|
1293
1450
|
|
|
1451
|
+
/* A portfolio: pieces in columns, each picture at its own shape, so a tall poster and a wide
|
|
1452
|
+
screen sit side by side with no crop. Columns read top to bottom, then left to right; one column
|
|
1453
|
+
on a phone, up to data-cols on a wide screen. */
|
|
1454
|
+
.site-works {
|
|
1455
|
+
column-count: 1;
|
|
1456
|
+
column-gap: var(--dna-grid-gutter);
|
|
1457
|
+
}
|
|
1458
|
+
|
|
1459
|
+
.site-works > .site-work {
|
|
1460
|
+
break-inside: avoid;
|
|
1461
|
+
margin-bottom: calc(var(--dna-grid-gutter) * 4 / 3);
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
@media (min-width: 40rem) {
|
|
1465
|
+
.site-works:not([data-cols="1"]) {
|
|
1466
|
+
column-count: 2;
|
|
1467
|
+
}
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
@media (min-width: 64rem) {
|
|
1471
|
+
.site-works:is([data-cols="3"], [data-cols="5"], [data-cols="6"]) {
|
|
1472
|
+
column-count: 3;
|
|
1473
|
+
}
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
/* The picture keeps its ratio; a thin edge in the card border colour turns the brand colour when
|
|
1477
|
+
the piece is a link and the pointer is on it. No lift or zoom: the piece stays still. */
|
|
1478
|
+
.site-work-image {
|
|
1479
|
+
display: block;
|
|
1480
|
+
width: 100%;
|
|
1481
|
+
height: auto;
|
|
1482
|
+
border: var(--dna-border-width-thin) solid var(--dna-component-card-border);
|
|
1483
|
+
border-radius: var(--dna-media-radius);
|
|
1484
|
+
transition: border-color 150ms ease;
|
|
1485
|
+
}
|
|
1486
|
+
|
|
1487
|
+
.site-work-linked:hover .site-work-image {
|
|
1488
|
+
border-color: var(--site-brand);
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1294
1491
|
.site-card-meta {
|
|
1295
1492
|
font-size: var(--dna-type-caption-size);
|
|
1296
1493
|
color: var(--site-fg-muted);
|
|
@@ -1310,14 +1507,22 @@ details[open] > .site-faq-summary .site-faq-caret {
|
|
|
1310
1507
|
}
|
|
1311
1508
|
|
|
1312
1509
|
/* The text colour, not the brand's: brand text on its own tint is too close to AA for small type
|
|
1313
|
-
on some brands (4.48:1 on one fixture brand).
|
|
1510
|
+
on some brands (4.48:1 on one fixture brand).
|
|
1511
|
+
A tag sits on its row at its own width and wraps only when it is wider than the row, so a long
|
|
1512
|
+
tag stays inside its box. */
|
|
1314
1513
|
.site-tag {
|
|
1514
|
+
max-width: 100%;
|
|
1315
1515
|
padding: 2px 10px;
|
|
1316
1516
|
border-radius: var(--dna-radius-full);
|
|
1317
1517
|
background: var(--site-brand-tint);
|
|
1318
1518
|
color: var(--site-fg);
|
|
1319
1519
|
font-size: var(--dna-type-caption-size);
|
|
1320
|
-
|
|
1520
|
+
}
|
|
1521
|
+
|
|
1522
|
+
/* The brand tint is a light wash: on a tint band it is the band itself, and on an inverse or a brand
|
|
1523
|
+
band it puts the band's light text on a light chip. A tag on any band takes a shade of the text. */
|
|
1524
|
+
.site-block[data-tone] .site-tag {
|
|
1525
|
+
background: color-mix(in oklab, var(--site-fg) 8%, transparent);
|
|
1321
1526
|
}
|
|
1322
1527
|
|
|
1323
1528
|
/* The words of an overlay card sit on the brand colour, a pair the brand keeps readable, and
|
|
@@ -1601,6 +1806,26 @@ details[open] > .site-faq-summary .site-faq-caret {
|
|
|
1601
1806
|
width: 100%;
|
|
1602
1807
|
}
|
|
1603
1808
|
|
|
1809
|
+
/* The picture under a column hero's words. .site-media sets no margin of its own, and a utility
|
|
1810
|
+
class cannot add one over it, so the space is set here. */
|
|
1811
|
+
.site-hero-image {
|
|
1812
|
+
margin-top: var(--dna-space-2xl);
|
|
1813
|
+
}
|
|
1814
|
+
|
|
1815
|
+
/* A picture across the whole column (a column hero, a stacked section or location). The brand's
|
|
1816
|
+
own shape can be near square, which across a wide screen is taller than the window; from a
|
|
1817
|
+
tablet up the picture takes a wide crop, so it reads as a band and the next block stays in view.
|
|
1818
|
+
A phone keeps the brand's shape. The hero's band is a little taller, as the page's first picture. */
|
|
1819
|
+
@media (min-width: 48rem) {
|
|
1820
|
+
.site-media-band .site-media-img {
|
|
1821
|
+
aspect-ratio: var(--site-media-band-aspect, 21 / 9);
|
|
1822
|
+
}
|
|
1823
|
+
|
|
1824
|
+
.site-hero-image.site-media-band {
|
|
1825
|
+
--site-media-band-aspect: 16 / 9;
|
|
1826
|
+
}
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1604
1829
|
.site-hero-media {
|
|
1605
1830
|
align-self: stretch;
|
|
1606
1831
|
}
|
|
@@ -1669,7 +1894,8 @@ details[open] > .site-faq-summary .site-faq-caret {
|
|
|
1669
1894
|
color: var(--site-fg);
|
|
1670
1895
|
}
|
|
1671
1896
|
|
|
1672
|
-
.site-price-note
|
|
1897
|
+
.site-price-note,
|
|
1898
|
+
.site-price-duration {
|
|
1673
1899
|
display: block;
|
|
1674
1900
|
font-family: var(--dna-type-caption-family);
|
|
1675
1901
|
font-size: var(--dna-type-caption-size);
|
|
@@ -1677,6 +1903,160 @@ details[open] > .site-faq-summary .site-faq-caret {
|
|
|
1677
1903
|
color: var(--site-fg-muted);
|
|
1678
1904
|
}
|
|
1679
1905
|
|
|
1906
|
+
/* A service: the staff under its text, and its duration under the price, both quiet. */
|
|
1907
|
+
.site-price-staff {
|
|
1908
|
+
margin-top: var(--dna-space-xs);
|
|
1909
|
+
font-family: var(--dna-type-caption-family);
|
|
1910
|
+
font-size: var(--dna-type-caption-size);
|
|
1911
|
+
font-weight: var(--dna-type-caption-weight);
|
|
1912
|
+
color: var(--site-fg-muted);
|
|
1913
|
+
}
|
|
1914
|
+
|
|
1915
|
+
[data-variant="services"] .site-price-amount {
|
|
1916
|
+
line-height: var(--dna-type-h4-line-height);
|
|
1917
|
+
}
|
|
1918
|
+
|
|
1919
|
+
/* Dated events: a calendar leaf, the event's words, and the price over the ticket link. On a phone
|
|
1920
|
+
the leaf and the words share a row and the price and the link take the row under them. A past
|
|
1921
|
+
row dims by switching to the muted text colour, never by opacity, so it keeps its contrast. */
|
|
1922
|
+
.site-event-list {
|
|
1923
|
+
border-top: var(--dna-border-width-thick) solid var(--site-fg);
|
|
1924
|
+
}
|
|
1925
|
+
|
|
1926
|
+
/* No dates to show: the same top rule as the list, so the band keeps its shape. */
|
|
1927
|
+
.site-event-none {
|
|
1928
|
+
padding-block: var(--dna-space-lg);
|
|
1929
|
+
border-top: var(--dna-border-width-thick) solid var(--site-fg);
|
|
1930
|
+
font-size: var(--dna-type-body-size);
|
|
1931
|
+
line-height: var(--dna-type-body-line-height);
|
|
1932
|
+
color: var(--site-fg-muted);
|
|
1933
|
+
}
|
|
1934
|
+
|
|
1935
|
+
.site-event-row {
|
|
1936
|
+
display: grid;
|
|
1937
|
+
grid-template-columns: 4.5rem minmax(0, 1fr);
|
|
1938
|
+
align-items: start;
|
|
1939
|
+
column-gap: var(--dna-space-lg);
|
|
1940
|
+
row-gap: var(--dna-space-md);
|
|
1941
|
+
padding-block: var(--dna-space-lg);
|
|
1942
|
+
border-bottom: var(--dna-border-width-thin) solid var(--site-border);
|
|
1943
|
+
}
|
|
1944
|
+
|
|
1945
|
+
.site-event-date {
|
|
1946
|
+
display: grid;
|
|
1947
|
+
justify-items: center;
|
|
1948
|
+
padding: var(--dna-space-sm) 0;
|
|
1949
|
+
border: var(--dna-border-width-thin) solid var(--site-border);
|
|
1950
|
+
border-radius: var(--dna-radius-md);
|
|
1951
|
+
font-variant-numeric: var(--dna-numerals);
|
|
1952
|
+
line-height: 1.2;
|
|
1953
|
+
color: var(--site-fg);
|
|
1954
|
+
}
|
|
1955
|
+
|
|
1956
|
+
.site-event-month,
|
|
1957
|
+
.site-event-weekday {
|
|
1958
|
+
font-family: var(--dna-type-caption-family);
|
|
1959
|
+
font-size: var(--dna-type-caption-size);
|
|
1960
|
+
font-weight: var(--dna-type-caption-weight);
|
|
1961
|
+
letter-spacing: 0.06em;
|
|
1962
|
+
text-transform: uppercase;
|
|
1963
|
+
color: var(--site-fg-muted);
|
|
1964
|
+
}
|
|
1965
|
+
|
|
1966
|
+
.site-event-day {
|
|
1967
|
+
font-family: var(--dna-type-h2-family);
|
|
1968
|
+
font-size: var(--dna-type-h2-size);
|
|
1969
|
+
font-weight: var(--dna-type-h2-weight);
|
|
1970
|
+
line-height: 1.1;
|
|
1971
|
+
}
|
|
1972
|
+
|
|
1973
|
+
.site-event-body {
|
|
1974
|
+
min-width: 0;
|
|
1975
|
+
}
|
|
1976
|
+
|
|
1977
|
+
.site-event-meta {
|
|
1978
|
+
display: flex;
|
|
1979
|
+
flex-wrap: wrap;
|
|
1980
|
+
column-gap: var(--dna-space-md);
|
|
1981
|
+
row-gap: var(--dna-space-xs);
|
|
1982
|
+
margin-bottom: var(--dna-space-xs);
|
|
1983
|
+
font-size: var(--dna-type-caption-size);
|
|
1984
|
+
color: var(--site-fg);
|
|
1985
|
+
}
|
|
1986
|
+
|
|
1987
|
+
.site-event-time {
|
|
1988
|
+
font-weight: 600;
|
|
1989
|
+
font-variant-numeric: var(--dna-numerals);
|
|
1990
|
+
}
|
|
1991
|
+
|
|
1992
|
+
.site-event-action {
|
|
1993
|
+
grid-column: 1 / -1;
|
|
1994
|
+
display: flex;
|
|
1995
|
+
align-items: center;
|
|
1996
|
+
justify-content: space-between;
|
|
1997
|
+
gap: var(--dna-space-md);
|
|
1998
|
+
}
|
|
1999
|
+
|
|
2000
|
+
/* A long price or note wraps in its own share of the row, even a word with no place to break. */
|
|
2001
|
+
.site-event-action .site-price-amount {
|
|
2002
|
+
flex: 1 1 0;
|
|
2003
|
+
min-width: 0;
|
|
2004
|
+
max-width: none;
|
|
2005
|
+
overflow-wrap: anywhere;
|
|
2006
|
+
text-align: start;
|
|
2007
|
+
}
|
|
2008
|
+
|
|
2009
|
+
.site-event-tickets {
|
|
2010
|
+
flex: 0 1 auto;
|
|
2011
|
+
min-width: 0;
|
|
2012
|
+
}
|
|
2013
|
+
|
|
2014
|
+
.site-event-status {
|
|
2015
|
+
flex: 1 1 auto;
|
|
2016
|
+
text-align: end;
|
|
2017
|
+
font-family: var(--dna-type-caption-family);
|
|
2018
|
+
font-size: var(--dna-type-caption-size);
|
|
2019
|
+
font-weight: 600;
|
|
2020
|
+
letter-spacing: 0.06em;
|
|
2021
|
+
text-transform: uppercase;
|
|
2022
|
+
color: var(--site-fg);
|
|
2023
|
+
}
|
|
2024
|
+
|
|
2025
|
+
.site-event-row[data-state="past"]
|
|
2026
|
+
:is(.site-event-day, .site-price-name, .site-price-amount, .site-event-meta, .site-event-status) {
|
|
2027
|
+
color: var(--site-fg-muted);
|
|
2028
|
+
}
|
|
2029
|
+
|
|
2030
|
+
@media (min-width: 48rem) {
|
|
2031
|
+
.site-event-row {
|
|
2032
|
+
grid-template-columns: 4.5rem minmax(0, 1fr) minmax(9rem, 14rem);
|
|
2033
|
+
align-items: center;
|
|
2034
|
+
}
|
|
2035
|
+
|
|
2036
|
+
.site-event-action {
|
|
2037
|
+
grid-column: auto;
|
|
2038
|
+
flex-direction: column;
|
|
2039
|
+
align-items: flex-end;
|
|
2040
|
+
min-width: 0;
|
|
2041
|
+
}
|
|
2042
|
+
|
|
2043
|
+
.site-event-action .site-price-amount {
|
|
2044
|
+
flex: 0 1 auto;
|
|
2045
|
+
max-width: 100%;
|
|
2046
|
+
text-align: end;
|
|
2047
|
+
}
|
|
2048
|
+
|
|
2049
|
+
.site-event-tickets {
|
|
2050
|
+
flex: 0 0 auto;
|
|
2051
|
+
min-width: 9rem;
|
|
2052
|
+
max-width: 100%;
|
|
2053
|
+
}
|
|
2054
|
+
|
|
2055
|
+
.site-event-status {
|
|
2056
|
+
flex: 0 0 auto;
|
|
2057
|
+
}
|
|
2058
|
+
}
|
|
2059
|
+
|
|
1680
2060
|
@media (min-width: 64rem) {
|
|
1681
2061
|
.site-price-columns .site-price-list {
|
|
1682
2062
|
columns: 2;
|
|
@@ -1688,31 +2068,769 @@ details[open] > .site-faq-summary .site-faq-caret {
|
|
|
1688
2068
|
}
|
|
1689
2069
|
}
|
|
1690
2070
|
|
|
1691
|
-
/*
|
|
1692
|
-
.
|
|
2071
|
+
/* A menu: sections of dishes, each a row of its name and words with the price at the end, between
|
|
2072
|
+
rules, the way a printed menu reads. The sections sit in two columns on a wide screen. */
|
|
2073
|
+
.site-menu {
|
|
1693
2074
|
display: grid;
|
|
1694
|
-
|
|
1695
|
-
line-height: var(--dna-type-body-line-height);
|
|
1696
|
-
font-variant-numeric: var(--dna-numerals);
|
|
2075
|
+
gap: var(--dna-space-2xl);
|
|
1697
2076
|
}
|
|
1698
2077
|
|
|
1699
|
-
|
|
2078
|
+
@media (min-width: 64rem) {
|
|
2079
|
+
.site-menu[data-cols="2"] {
|
|
2080
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
2081
|
+
column-gap: calc(var(--dna-space-2xl) * 1.5);
|
|
2082
|
+
}
|
|
2083
|
+
}
|
|
2084
|
+
|
|
2085
|
+
.site-menu-section {
|
|
2086
|
+
min-width: 0;
|
|
2087
|
+
}
|
|
2088
|
+
|
|
2089
|
+
.site-menu-heading {
|
|
2090
|
+
font-family: var(--dna-type-h3-family);
|
|
2091
|
+
font-size: var(--dna-type-h3-size);
|
|
2092
|
+
font-weight: var(--dna-type-h3-weight);
|
|
2093
|
+
line-height: var(--dna-type-h3-line-height);
|
|
2094
|
+
letter-spacing: var(--dna-type-h3-tracking);
|
|
2095
|
+
color: var(--site-fg);
|
|
2096
|
+
}
|
|
2097
|
+
|
|
2098
|
+
.site-menu-section-text {
|
|
2099
|
+
margin-top: var(--dna-space-xs);
|
|
2100
|
+
max-width: var(--dna-measure-body);
|
|
2101
|
+
}
|
|
2102
|
+
|
|
2103
|
+
.site-menu-list {
|
|
2104
|
+
margin-top: var(--dna-space-md);
|
|
2105
|
+
border-top: var(--dna-border-width-thick) solid var(--site-fg);
|
|
2106
|
+
}
|
|
2107
|
+
|
|
2108
|
+
.site-menu-dish {
|
|
1700
2109
|
display: flex;
|
|
1701
|
-
|
|
1702
|
-
gap: var(--dna-space-
|
|
1703
|
-
padding-block: var(--dna-space-
|
|
2110
|
+
align-items: flex-start;
|
|
2111
|
+
gap: var(--dna-space-md);
|
|
2112
|
+
padding-block: var(--dna-space-lg);
|
|
1704
2113
|
border-bottom: var(--dna-border-width-thin) solid var(--site-border);
|
|
1705
2114
|
}
|
|
1706
2115
|
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
overflow-wrap: break-word;
|
|
1711
|
-
color: var(--site-fg);
|
|
2116
|
+
.site-menu-words {
|
|
2117
|
+
flex: 1 1 auto;
|
|
2118
|
+
min-width: 0;
|
|
1712
2119
|
}
|
|
1713
2120
|
|
|
1714
|
-
.site-
|
|
1715
|
-
margin:
|
|
2121
|
+
.site-menu-words > .site-card-text {
|
|
2122
|
+
margin-top: var(--dna-space-xs);
|
|
2123
|
+
}
|
|
2124
|
+
|
|
2125
|
+
.site-menu-name {
|
|
2126
|
+
font-family: var(--dna-type-h4-family);
|
|
2127
|
+
font-size: var(--dna-type-h4-size);
|
|
2128
|
+
font-weight: var(--dna-type-h4-weight);
|
|
2129
|
+
line-height: var(--dna-type-h4-line-height);
|
|
2130
|
+
color: var(--site-fg);
|
|
2131
|
+
}
|
|
2132
|
+
|
|
2133
|
+
/* The price lines up with the dish's name, whatever the name's face. */
|
|
2134
|
+
.site-menu .site-price-amount {
|
|
2135
|
+
line-height: var(--dna-type-h4-line-height);
|
|
2136
|
+
}
|
|
2137
|
+
|
|
2138
|
+
.site-menu-thumb {
|
|
2139
|
+
flex: 0 0 auto;
|
|
2140
|
+
width: 4.5rem;
|
|
2141
|
+
height: 4.5rem;
|
|
2142
|
+
object-fit: cover;
|
|
2143
|
+
border-radius: var(--dna-media-radius);
|
|
2144
|
+
}
|
|
2145
|
+
|
|
2146
|
+
.site-menu-tags {
|
|
2147
|
+
display: flex;
|
|
2148
|
+
flex-wrap: wrap;
|
|
2149
|
+
gap: var(--dna-space-xs);
|
|
2150
|
+
margin-top: var(--dna-space-sm);
|
|
2151
|
+
}
|
|
2152
|
+
|
|
2153
|
+
/* The photos layout: a rule under each section's name, then a card per dish with its picture. */
|
|
2154
|
+
.site-menu[data-variant="photos"] .site-menu-heading {
|
|
2155
|
+
padding-bottom: var(--dna-space-sm);
|
|
2156
|
+
border-bottom: var(--dna-border-width-thick) solid var(--site-fg);
|
|
2157
|
+
}
|
|
2158
|
+
|
|
2159
|
+
/* A short last row starts under the section's name, as the rows of a printed menu do, instead of
|
|
2160
|
+
sitting in the middle as other grids' rows do. */
|
|
2161
|
+
.site-menu-cards {
|
|
2162
|
+
justify-content: flex-start;
|
|
2163
|
+
margin-top: var(--dna-space-lg);
|
|
2164
|
+
}
|
|
2165
|
+
|
|
2166
|
+
.site-menu-card {
|
|
2167
|
+
display: flex;
|
|
2168
|
+
flex-direction: column;
|
|
2169
|
+
}
|
|
2170
|
+
|
|
2171
|
+
.site-menu-photo {
|
|
2172
|
+
width: 100%;
|
|
2173
|
+
aspect-ratio: 4 / 3;
|
|
2174
|
+
object-fit: cover;
|
|
2175
|
+
border-radius: var(--dna-media-radius);
|
|
2176
|
+
}
|
|
2177
|
+
|
|
2178
|
+
.site-menu-card-head {
|
|
2179
|
+
display: flex;
|
|
2180
|
+
align-items: flex-start;
|
|
2181
|
+
justify-content: space-between;
|
|
2182
|
+
gap: var(--dna-space-md);
|
|
2183
|
+
margin-top: var(--dna-space-md);
|
|
2184
|
+
}
|
|
2185
|
+
|
|
2186
|
+
.site-menu-card > .site-card-text {
|
|
2187
|
+
margin-top: var(--dna-space-xs);
|
|
2188
|
+
}
|
|
2189
|
+
|
|
2190
|
+
.site-menu-note {
|
|
2191
|
+
margin-top: var(--dna-space-xl);
|
|
2192
|
+
max-width: var(--dna-measure-body);
|
|
2193
|
+
font-size: var(--dna-type-body-sm-size);
|
|
2194
|
+
line-height: var(--dna-type-body-sm-line-height);
|
|
2195
|
+
color: var(--site-fg-muted);
|
|
2196
|
+
}
|
|
2197
|
+
|
|
2198
|
+
/* The split layout keeps its heading and its buttons in view while a long menu scrolls past. */
|
|
2199
|
+
@media (min-width: 48rem) {
|
|
2200
|
+
.site-menu-side {
|
|
2201
|
+
position: sticky;
|
|
2202
|
+
top: calc(var(--site-header-height) + var(--dna-space-xl));
|
|
2203
|
+
align-self: start;
|
|
2204
|
+
}
|
|
2205
|
+
}
|
|
2206
|
+
|
|
2207
|
+
/* Products: a grid of pictures with a name and a price under each, no card frame, so the photos
|
|
2208
|
+
carry the block. A photo is cut to 4:5, the shape of a product shot, with the media radius. The
|
|
2209
|
+
link of a card covers the card (`site-card-link`), so the card is the positioning box. */
|
|
2210
|
+
.site-product {
|
|
2211
|
+
position: relative;
|
|
2212
|
+
}
|
|
2213
|
+
|
|
2214
|
+
.site-product-photo {
|
|
2215
|
+
position: relative;
|
|
2216
|
+
overflow: hidden;
|
|
2217
|
+
aspect-ratio: 4 / 5;
|
|
2218
|
+
border-radius: var(--dna-media-radius);
|
|
2219
|
+
background: var(--site-brand-tint);
|
|
2220
|
+
}
|
|
2221
|
+
|
|
2222
|
+
.site-product-img {
|
|
2223
|
+
display: block;
|
|
2224
|
+
width: 100%;
|
|
2225
|
+
height: 100%;
|
|
2226
|
+
object-fit: cover;
|
|
2227
|
+
}
|
|
2228
|
+
|
|
2229
|
+
/* The badge sits on a picture, so it keeps its own solid chip: the wash that other tags take on a
|
|
2230
|
+
band would let the photo show through the word. The band's background and text are a pair the
|
|
2231
|
+
brand keeps readable on that band. */
|
|
2232
|
+
.site-product-photo > .site-product-badge.site-tag {
|
|
2233
|
+
position: absolute;
|
|
2234
|
+
inset-block-start: var(--dna-space-sm);
|
|
2235
|
+
inset-inline-start: var(--dna-space-sm);
|
|
2236
|
+
max-width: calc(100% - 2 * var(--dna-space-sm));
|
|
2237
|
+
background: var(--color-fd-background);
|
|
2238
|
+
color: var(--site-fg);
|
|
2239
|
+
}
|
|
2240
|
+
|
|
2241
|
+
.site-product-head {
|
|
2242
|
+
display: flex;
|
|
2243
|
+
align-items: baseline;
|
|
2244
|
+
justify-content: space-between;
|
|
2245
|
+
gap: var(--dna-space-md);
|
|
2246
|
+
margin-top: var(--dna-space-md);
|
|
2247
|
+
}
|
|
2248
|
+
|
|
2249
|
+
.site-product-name {
|
|
2250
|
+
min-width: 0;
|
|
2251
|
+
font-family: var(--dna-type-h4-family);
|
|
2252
|
+
font-size: var(--dna-type-h4-size);
|
|
2253
|
+
font-weight: var(--dna-type-h4-weight);
|
|
2254
|
+
line-height: var(--dna-type-h4-line-height);
|
|
2255
|
+
color: var(--site-fg);
|
|
2256
|
+
}
|
|
2257
|
+
|
|
2258
|
+
.site-product .site-price-amount,
|
|
2259
|
+
.site-product-info .site-price-amount {
|
|
2260
|
+
line-height: var(--dna-type-h4-line-height);
|
|
2261
|
+
}
|
|
2262
|
+
|
|
2263
|
+
.site-products-more {
|
|
2264
|
+
display: flex;
|
|
2265
|
+
justify-content: center;
|
|
2266
|
+
margin-top: var(--dna-space-2xl);
|
|
2267
|
+
}
|
|
2268
|
+
|
|
2269
|
+
/* One product: the photos on one side, the words and the buy form on the other. The photo column
|
|
2270
|
+
is the brand's wide split column. On a phone the photos come first. */
|
|
2271
|
+
.site-product-detail {
|
|
2272
|
+
display: grid;
|
|
2273
|
+
grid-template-columns: minmax(0, 1fr);
|
|
2274
|
+
gap: var(--dna-space-xl);
|
|
2275
|
+
}
|
|
2276
|
+
|
|
2277
|
+
@media (min-width: 48rem) {
|
|
2278
|
+
.site-product-detail {
|
|
2279
|
+
grid-template-columns: minmax(0, var(--dna-split-wide)) minmax(0, var(--dna-split-narrow));
|
|
2280
|
+
column-gap: clamp(var(--dna-space-xl), 6vw, calc(var(--dna-space-2xl) * 1.5));
|
|
2281
|
+
align-items: start;
|
|
2282
|
+
}
|
|
2283
|
+
}
|
|
2284
|
+
|
|
2285
|
+
.site-block-title + .site-product-detail {
|
|
2286
|
+
margin-top: var(--dna-space-xl);
|
|
2287
|
+
}
|
|
2288
|
+
|
|
2289
|
+
.site-product-gallery {
|
|
2290
|
+
display: grid;
|
|
2291
|
+
gap: var(--dna-space-md);
|
|
2292
|
+
min-width: 0;
|
|
2293
|
+
}
|
|
2294
|
+
|
|
2295
|
+
/* The other photos: a row that scrolls with scroll-snap, as the carousel does, with no script. The
|
|
2296
|
+
row pads by the width of a focus ring and takes it back with a margin. */
|
|
2297
|
+
.site-product-thumbs {
|
|
2298
|
+
display: flex;
|
|
2299
|
+
gap: var(--dna-space-sm);
|
|
2300
|
+
margin-block: -4px;
|
|
2301
|
+
padding-block: 4px;
|
|
2302
|
+
overflow-x: auto;
|
|
2303
|
+
overscroll-behavior-x: contain;
|
|
2304
|
+
scroll-snap-type: x mandatory;
|
|
2305
|
+
scrollbar-width: thin;
|
|
2306
|
+
}
|
|
2307
|
+
|
|
2308
|
+
.site-product-thumbs:focus-visible {
|
|
2309
|
+
outline: 2px solid var(--color-fd-ring);
|
|
2310
|
+
outline-offset: 2px;
|
|
2311
|
+
}
|
|
2312
|
+
|
|
2313
|
+
.site-product-thumb {
|
|
2314
|
+
flex: 0 0 calc((100% - 3 * var(--dna-space-sm)) / 4);
|
|
2315
|
+
min-width: 5rem;
|
|
2316
|
+
aspect-ratio: 4 / 5;
|
|
2317
|
+
overflow: hidden;
|
|
2318
|
+
scroll-snap-align: start;
|
|
2319
|
+
border-radius: var(--dna-media-radius);
|
|
2320
|
+
}
|
|
2321
|
+
|
|
2322
|
+
.site-product-info {
|
|
2323
|
+
display: flex;
|
|
2324
|
+
flex-direction: column;
|
|
2325
|
+
align-items: flex-start;
|
|
2326
|
+
gap: var(--dna-space-md);
|
|
2327
|
+
min-width: 0;
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2330
|
+
.site-product-title {
|
|
2331
|
+
font-family: var(--dna-type-h2-family);
|
|
2332
|
+
font-size: var(--dna-type-h2-size);
|
|
2333
|
+
font-weight: var(--dna-type-h2-weight);
|
|
2334
|
+
line-height: var(--dna-type-h3-line-height);
|
|
2335
|
+
color: var(--site-fg);
|
|
2336
|
+
text-wrap: balance;
|
|
2337
|
+
}
|
|
2338
|
+
|
|
2339
|
+
.site-product-info .site-price-amount {
|
|
2340
|
+
max-width: none;
|
|
2341
|
+
text-align: start;
|
|
2342
|
+
}
|
|
2343
|
+
|
|
2344
|
+
.site-product-form {
|
|
2345
|
+
display: grid;
|
|
2346
|
+
gap: var(--dna-space-lg);
|
|
2347
|
+
width: 100%;
|
|
2348
|
+
max-width: 24rem;
|
|
2349
|
+
margin-top: var(--dna-space-sm);
|
|
2350
|
+
}
|
|
2351
|
+
|
|
2352
|
+
/* Booking: the request form in a card of its own, one object rather than an item of a list, so it
|
|
2353
|
+
keeps the card look on every brand. Its fields sit two to a row on a wider card. */
|
|
2354
|
+
.site-booking-form {
|
|
2355
|
+
display: grid;
|
|
2356
|
+
gap: var(--dna-space-lg);
|
|
2357
|
+
max-width: 44rem;
|
|
2358
|
+
}
|
|
2359
|
+
|
|
2360
|
+
.site-booking-card {
|
|
2361
|
+
min-width: 0;
|
|
2362
|
+
padding: var(--dna-component-card-padding-y) var(--dna-component-card-padding-x);
|
|
2363
|
+
border: var(--dna-border-width-thin) solid var(--dna-component-card-border);
|
|
2364
|
+
border-radius: var(--dna-component-card-radius);
|
|
2365
|
+
background: var(--dna-component-card-bg);
|
|
2366
|
+
color: var(--site-fg);
|
|
2367
|
+
}
|
|
2368
|
+
|
|
2369
|
+
/* On a dark or a brand band the card takes the band's own surface, so its fields and words keep
|
|
2370
|
+
the band's colours. */
|
|
2371
|
+
.site-block:is([data-tone="inverse"], [data-tone="brand"]) .site-booking-card {
|
|
2372
|
+
border-color: var(--site-border);
|
|
2373
|
+
background: var(--site-surface);
|
|
2374
|
+
}
|
|
2375
|
+
|
|
2376
|
+
.site-booking-fields {
|
|
2377
|
+
display: grid;
|
|
2378
|
+
grid-template-columns: minmax(0, 1fr);
|
|
2379
|
+
gap: var(--dna-space-md);
|
|
2380
|
+
}
|
|
2381
|
+
|
|
2382
|
+
@media (min-width: 40rem) {
|
|
2383
|
+
.site-booking-fields {
|
|
2384
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
2385
|
+
}
|
|
2386
|
+
|
|
2387
|
+
.site-booking-wide {
|
|
2388
|
+
grid-column: 1 / -1;
|
|
2389
|
+
}
|
|
2390
|
+
}
|
|
2391
|
+
|
|
2392
|
+
/* The party, the date and the time share one row on a wide card: three short answers to one
|
|
2393
|
+
question, when. */
|
|
2394
|
+
.site-booking-when {
|
|
2395
|
+
display: grid;
|
|
2396
|
+
grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
|
|
2397
|
+
gap: var(--dna-space-md);
|
|
2398
|
+
}
|
|
2399
|
+
|
|
2400
|
+
.site-booking-button {
|
|
2401
|
+
width: 100%;
|
|
2402
|
+
justify-content: center;
|
|
2403
|
+
margin-top: var(--dna-space-xs);
|
|
2404
|
+
}
|
|
2405
|
+
|
|
2406
|
+
.site-booking-button:disabled {
|
|
2407
|
+
cursor: progress;
|
|
2408
|
+
opacity: 0.7;
|
|
2409
|
+
}
|
|
2410
|
+
|
|
2411
|
+
.site-booking-message {
|
|
2412
|
+
margin-bottom: var(--dna-space-sm);
|
|
2413
|
+
font-size: var(--dna-type-body-sm-size);
|
|
2414
|
+
font-weight: 600;
|
|
2415
|
+
color: var(--site-fg);
|
|
2416
|
+
}
|
|
2417
|
+
|
|
2418
|
+
/* The sent line takes the fields' place in the same card, so the page does not jump. */
|
|
2419
|
+
.site-booking-done {
|
|
2420
|
+
display: flex;
|
|
2421
|
+
align-items: center;
|
|
2422
|
+
gap: var(--dna-space-sm);
|
|
2423
|
+
min-height: 12rem;
|
|
2424
|
+
justify-content: center;
|
|
2425
|
+
font-family: var(--dna-type-h4-family);
|
|
2426
|
+
font-size: var(--dna-type-h4-size);
|
|
2427
|
+
font-weight: var(--dna-type-h4-weight);
|
|
2428
|
+
line-height: var(--dna-type-h4-line-height);
|
|
2429
|
+
text-align: center;
|
|
2430
|
+
color: var(--site-fg);
|
|
2431
|
+
}
|
|
2432
|
+
|
|
2433
|
+
.site-booking-done-icon {
|
|
2434
|
+
flex: 0 0 auto;
|
|
2435
|
+
width: 1.5em;
|
|
2436
|
+
height: 1.5em;
|
|
2437
|
+
color: var(--site-link);
|
|
2438
|
+
}
|
|
2439
|
+
|
|
2440
|
+
.site-booking-side {
|
|
2441
|
+
min-width: 0;
|
|
2442
|
+
}
|
|
2443
|
+
|
|
2444
|
+
.site-booking-side > .site-booking-details {
|
|
2445
|
+
margin-top: var(--dna-space-xl);
|
|
2446
|
+
}
|
|
2447
|
+
|
|
2448
|
+
.site-booking-note {
|
|
2449
|
+
margin-top: var(--dna-space-md);
|
|
2450
|
+
max-width: var(--dna-measure-body);
|
|
2451
|
+
font-size: var(--dna-type-body-sm-size);
|
|
2452
|
+
line-height: var(--dna-type-body-sm-line-height);
|
|
2453
|
+
color: var(--site-fg-muted);
|
|
2454
|
+
}
|
|
2455
|
+
|
|
2456
|
+
.site-booking-form > .site-booking-note {
|
|
2457
|
+
margin-top: 0;
|
|
2458
|
+
}
|
|
2459
|
+
|
|
2460
|
+
.site-booking-calendar {
|
|
2461
|
+
min-width: 0;
|
|
2462
|
+
align-self: center;
|
|
2463
|
+
}
|
|
2464
|
+
|
|
2465
|
+
.site-booking-action {
|
|
2466
|
+
margin-top: var(--dna-space-xl);
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2469
|
+
/* The booking calendar: the month beside the times of the day picked on a wide card, one over the
|
|
2470
|
+
other on a phone. Days and times are radio buttons drawn as cells. A picked cell takes a ring in
|
|
2471
|
+
the text colour and an open day a shade of it, so both read on every band. */
|
|
2472
|
+
.site-booking-form[data-variant="slots"] {
|
|
2473
|
+
max-width: 60rem;
|
|
2474
|
+
}
|
|
2475
|
+
|
|
2476
|
+
.site-slots {
|
|
2477
|
+
display: grid;
|
|
2478
|
+
gap: var(--dna-space-xl);
|
|
2479
|
+
min-height: 20rem;
|
|
2480
|
+
}
|
|
2481
|
+
|
|
2482
|
+
@media (min-width: 48rem) {
|
|
2483
|
+
.site-slots {
|
|
2484
|
+
grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
|
|
2485
|
+
}
|
|
2486
|
+
}
|
|
2487
|
+
|
|
2488
|
+
.site-slots-days,
|
|
2489
|
+
.site-slots-times {
|
|
2490
|
+
min-width: 0;
|
|
2491
|
+
margin: 0;
|
|
2492
|
+
padding: 0;
|
|
2493
|
+
border: 0;
|
|
2494
|
+
}
|
|
2495
|
+
|
|
2496
|
+
.site-slots-legend {
|
|
2497
|
+
margin-bottom: var(--dna-space-sm);
|
|
2498
|
+
padding: 0;
|
|
2499
|
+
font-size: var(--dna-type-body-sm-size);
|
|
2500
|
+
font-weight: 600;
|
|
2501
|
+
color: var(--site-fg);
|
|
2502
|
+
}
|
|
2503
|
+
|
|
2504
|
+
.site-slots-head {
|
|
2505
|
+
display: flex;
|
|
2506
|
+
align-items: center;
|
|
2507
|
+
justify-content: space-between;
|
|
2508
|
+
gap: var(--dna-space-sm);
|
|
2509
|
+
margin-bottom: var(--dna-space-sm);
|
|
2510
|
+
}
|
|
2511
|
+
|
|
2512
|
+
.site-slots-month {
|
|
2513
|
+
flex: 1 1 auto;
|
|
2514
|
+
text-align: center;
|
|
2515
|
+
white-space: nowrap;
|
|
2516
|
+
font-family: var(--dna-type-h4-family);
|
|
2517
|
+
font-size: var(--dna-type-h4-size);
|
|
2518
|
+
font-weight: var(--dna-type-h4-weight);
|
|
2519
|
+
line-height: var(--dna-type-h4-line-height);
|
|
2520
|
+
color: var(--site-fg);
|
|
2521
|
+
}
|
|
2522
|
+
|
|
2523
|
+
.site-slots-step {
|
|
2524
|
+
display: inline-flex;
|
|
2525
|
+
flex: 0 0 auto;
|
|
2526
|
+
align-items: center;
|
|
2527
|
+
justify-content: center;
|
|
2528
|
+
width: var(--dna-control-height-md);
|
|
2529
|
+
height: var(--dna-control-height-md);
|
|
2530
|
+
border: var(--dna-border-width-thin) solid var(--site-border);
|
|
2531
|
+
border-radius: var(--dna-radius-full);
|
|
2532
|
+
background: transparent;
|
|
2533
|
+
color: var(--site-fg);
|
|
2534
|
+
cursor: pointer;
|
|
2535
|
+
}
|
|
2536
|
+
|
|
2537
|
+
.site-slots-step:disabled {
|
|
2538
|
+
border-style: dashed;
|
|
2539
|
+
color: var(--site-fg-muted);
|
|
2540
|
+
cursor: default;
|
|
2541
|
+
}
|
|
2542
|
+
|
|
2543
|
+
.site-slots-grid {
|
|
2544
|
+
display: grid;
|
|
2545
|
+
grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
2546
|
+
gap: var(--dna-space-xs);
|
|
2547
|
+
}
|
|
2548
|
+
|
|
2549
|
+
.site-slots-weekday {
|
|
2550
|
+
padding-block: var(--dna-space-xs);
|
|
2551
|
+
text-align: center;
|
|
2552
|
+
font-size: var(--dna-type-caption-size);
|
|
2553
|
+
color: var(--site-fg-muted);
|
|
2554
|
+
overflow-wrap: normal;
|
|
2555
|
+
}
|
|
2556
|
+
|
|
2557
|
+
.site-slot-day {
|
|
2558
|
+
display: flex;
|
|
2559
|
+
align-items: center;
|
|
2560
|
+
justify-content: center;
|
|
2561
|
+
height: var(--dna-control-height-md);
|
|
2562
|
+
border-radius: var(--dna-radius-md);
|
|
2563
|
+
font-variant-numeric: var(--dna-numerals);
|
|
2564
|
+
color: var(--site-fg-muted);
|
|
2565
|
+
}
|
|
2566
|
+
|
|
2567
|
+
.site-slot-day[data-state="open"] {
|
|
2568
|
+
background: color-mix(in oklab, var(--site-fg) 7%, transparent);
|
|
2569
|
+
color: var(--site-fg);
|
|
2570
|
+
font-weight: 600;
|
|
2571
|
+
cursor: pointer;
|
|
2572
|
+
}
|
|
2573
|
+
|
|
2574
|
+
.site-slot-day[data-state="open"]:hover {
|
|
2575
|
+
background: color-mix(in oklab, var(--site-fg) 14%, transparent);
|
|
2576
|
+
}
|
|
2577
|
+
|
|
2578
|
+
.site-slot-day[data-state="full"] {
|
|
2579
|
+
text-decoration: line-through;
|
|
2580
|
+
}
|
|
2581
|
+
|
|
2582
|
+
.site-slot-day:has(input:checked),
|
|
2583
|
+
.site-slot-time:has(input:checked) {
|
|
2584
|
+
box-shadow: inset 0 0 0 var(--dna-border-width-thick) var(--site-fg);
|
|
2585
|
+
}
|
|
2586
|
+
|
|
2587
|
+
.site-slot-day:has(input:focus-visible),
|
|
2588
|
+
.site-slot-time:has(input:focus-visible),
|
|
2589
|
+
.site-slots-step:focus-visible {
|
|
2590
|
+
outline: var(--dna-focus-width) solid var(--dna-focus-color);
|
|
2591
|
+
outline-offset: var(--dna-focus-offset);
|
|
2592
|
+
}
|
|
2593
|
+
|
|
2594
|
+
.site-slots-time-list {
|
|
2595
|
+
display: grid;
|
|
2596
|
+
grid-template-columns: repeat(auto-fill, minmax(6rem, 1fr));
|
|
2597
|
+
gap: var(--dna-space-xs);
|
|
2598
|
+
}
|
|
2599
|
+
|
|
2600
|
+
.site-slot-time {
|
|
2601
|
+
display: flex;
|
|
2602
|
+
flex-direction: column;
|
|
2603
|
+
align-items: center;
|
|
2604
|
+
justify-content: center;
|
|
2605
|
+
min-height: var(--dna-control-height-lg);
|
|
2606
|
+
padding: var(--dna-space-xs) var(--dna-space-sm);
|
|
2607
|
+
border: var(--dna-border-width-thin) solid var(--site-border);
|
|
2608
|
+
border-radius: var(--dna-radius-md);
|
|
2609
|
+
font-variant-numeric: var(--dna-numerals);
|
|
2610
|
+
color: var(--site-fg);
|
|
2611
|
+
cursor: pointer;
|
|
2612
|
+
}
|
|
2613
|
+
|
|
2614
|
+
.site-slot-time:hover {
|
|
2615
|
+
border-color: var(--site-fg);
|
|
2616
|
+
}
|
|
2617
|
+
|
|
2618
|
+
.site-slot-time-value {
|
|
2619
|
+
font-weight: 600;
|
|
2620
|
+
}
|
|
2621
|
+
|
|
2622
|
+
.site-slot-time-left {
|
|
2623
|
+
font-size: var(--dna-type-caption-size);
|
|
2624
|
+
color: var(--site-fg-muted);
|
|
2625
|
+
}
|
|
2626
|
+
|
|
2627
|
+
.site-slot-time[data-state="full"] {
|
|
2628
|
+
border-style: dashed;
|
|
2629
|
+
color: var(--site-fg-muted);
|
|
2630
|
+
cursor: default;
|
|
2631
|
+
}
|
|
2632
|
+
|
|
2633
|
+
.site-slot-time[data-state="full"]:hover {
|
|
2634
|
+
border-color: var(--site-border);
|
|
2635
|
+
}
|
|
2636
|
+
|
|
2637
|
+
.site-slot-time[data-state="full"] .site-slot-time-value {
|
|
2638
|
+
text-decoration: line-through;
|
|
2639
|
+
}
|
|
2640
|
+
|
|
2641
|
+
.site-slots-empty {
|
|
2642
|
+
font-size: var(--dna-type-body-sm-size);
|
|
2643
|
+
color: var(--site-fg-muted);
|
|
2644
|
+
}
|
|
2645
|
+
|
|
2646
|
+
/* An app's download section. Each store has a button of the engine's own: the store's logo, a
|
|
2647
|
+
small line over the store's name, in the band's text colour with the band's background as its
|
|
2648
|
+
words, so it reads on every band and needs no store artwork. Both buttons share one height. */
|
|
2649
|
+
.site-store-badges {
|
|
2650
|
+
display: flex;
|
|
2651
|
+
flex-wrap: wrap;
|
|
2652
|
+
align-items: center;
|
|
2653
|
+
gap: var(--dna-space-sm);
|
|
2654
|
+
margin-top: var(--dna-space-xl);
|
|
2655
|
+
}
|
|
2656
|
+
|
|
2657
|
+
.site-store-badges[data-center] {
|
|
2658
|
+
justify-content: center;
|
|
2659
|
+
}
|
|
2660
|
+
|
|
2661
|
+
.site-store-button {
|
|
2662
|
+
display: inline-flex;
|
|
2663
|
+
align-items: center;
|
|
2664
|
+
gap: var(--dna-space-sm);
|
|
2665
|
+
min-height: max(2.75rem, var(--dna-control-height-lg));
|
|
2666
|
+
padding-inline: var(--dna-space-md) calc(var(--dna-space-md) * 1.25);
|
|
2667
|
+
border-radius: var(--dna-radius-md);
|
|
2668
|
+
background: var(--site-fg);
|
|
2669
|
+
color: var(--color-fd-background);
|
|
2670
|
+
text-decoration: none;
|
|
2671
|
+
}
|
|
2672
|
+
|
|
2673
|
+
.site-store-button:hover {
|
|
2674
|
+
background: color-mix(in oklab, var(--site-fg) 84%, var(--color-fd-background));
|
|
2675
|
+
}
|
|
2676
|
+
|
|
2677
|
+
.site-store-button:focus-visible {
|
|
2678
|
+
outline: var(--dna-focus-width) solid var(--dna-focus-color);
|
|
2679
|
+
outline-offset: var(--dna-focus-offset);
|
|
2680
|
+
}
|
|
2681
|
+
|
|
2682
|
+
.site-store-icon {
|
|
2683
|
+
flex: 0 0 auto;
|
|
2684
|
+
width: 1.75em;
|
|
2685
|
+
height: 1.75em;
|
|
2686
|
+
}
|
|
2687
|
+
|
|
2688
|
+
.site-store-words {
|
|
2689
|
+
display: grid;
|
|
2690
|
+
line-height: 1.15;
|
|
2691
|
+
text-align: start;
|
|
2692
|
+
}
|
|
2693
|
+
|
|
2694
|
+
.site-store-lead {
|
|
2695
|
+
font-size: var(--dna-type-caption-size);
|
|
2696
|
+
}
|
|
2697
|
+
|
|
2698
|
+
.site-store-name {
|
|
2699
|
+
font-size: calc(var(--dna-type-body-size) * 1.2);
|
|
2700
|
+
font-weight: 600;
|
|
2701
|
+
white-space: nowrap;
|
|
2702
|
+
}
|
|
2703
|
+
|
|
2704
|
+
.site-app-centered .site-app-note {
|
|
2705
|
+
text-align: center;
|
|
2706
|
+
}
|
|
2707
|
+
|
|
2708
|
+
.site-app-words {
|
|
2709
|
+
min-width: 0;
|
|
2710
|
+
}
|
|
2711
|
+
|
|
2712
|
+
/* A list of short lines after ticks (blocks/ticks.tsx): an app's points, a plan's features. */
|
|
2713
|
+
.site-ticks {
|
|
2714
|
+
display: grid;
|
|
2715
|
+
gap: var(--dna-space-sm);
|
|
2716
|
+
}
|
|
2717
|
+
|
|
2718
|
+
.site-app-points {
|
|
2719
|
+
margin-top: var(--dna-space-lg);
|
|
2720
|
+
}
|
|
2721
|
+
|
|
2722
|
+
.site-tick {
|
|
2723
|
+
display: flex;
|
|
2724
|
+
align-items: flex-start;
|
|
2725
|
+
gap: var(--dna-space-sm);
|
|
2726
|
+
color: var(--site-fg);
|
|
2727
|
+
}
|
|
2728
|
+
|
|
2729
|
+
.site-tick-icon {
|
|
2730
|
+
flex: 0 0 auto;
|
|
2731
|
+
width: 1.25em;
|
|
2732
|
+
height: 1.25em;
|
|
2733
|
+
margin-top: 0.15em;
|
|
2734
|
+
color: var(--site-link);
|
|
2735
|
+
}
|
|
2736
|
+
|
|
2737
|
+
.site-app-note {
|
|
2738
|
+
margin-top: var(--dna-space-md);
|
|
2739
|
+
font-size: var(--dna-type-body-sm-size);
|
|
2740
|
+
color: var(--site-fg-muted);
|
|
2741
|
+
}
|
|
2742
|
+
|
|
2743
|
+
.site-app-centered {
|
|
2744
|
+
display: grid;
|
|
2745
|
+
justify-items: center;
|
|
2746
|
+
gap: var(--dna-space-2xl);
|
|
2747
|
+
}
|
|
2748
|
+
|
|
2749
|
+
.site-app-banner {
|
|
2750
|
+
display: grid;
|
|
2751
|
+
align-items: center;
|
|
2752
|
+
gap: var(--dna-space-lg);
|
|
2753
|
+
padding: var(--dna-space-xl);
|
|
2754
|
+
}
|
|
2755
|
+
|
|
2756
|
+
.site-app-banner .site-store-badges {
|
|
2757
|
+
margin-top: 0;
|
|
2758
|
+
}
|
|
2759
|
+
|
|
2760
|
+
@media (min-width: 48rem) {
|
|
2761
|
+
.site-app-banner {
|
|
2762
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
2763
|
+
gap: var(--dna-space-2xl);
|
|
2764
|
+
padding: var(--dna-space-2xl);
|
|
2765
|
+
}
|
|
2766
|
+
}
|
|
2767
|
+
|
|
2768
|
+
/* Screenshots in a drawn phone: a frame in the band's text colour, rounded like a handset, the
|
|
2769
|
+
screen inside it. Two phones step down one beside the other; of three, the middle one rises. */
|
|
2770
|
+
.site-phones {
|
|
2771
|
+
display: flex;
|
|
2772
|
+
justify-content: center;
|
|
2773
|
+
align-items: flex-start;
|
|
2774
|
+
gap: var(--dna-space-lg);
|
|
2775
|
+
width: 100%;
|
|
2776
|
+
}
|
|
2777
|
+
|
|
2778
|
+
.site-phone {
|
|
2779
|
+
flex: 0 1 15rem;
|
|
2780
|
+
min-width: 0;
|
|
2781
|
+
aspect-ratio: 9 / 19.5;
|
|
2782
|
+
padding: 3%;
|
|
2783
|
+
border-radius: 16% / 7.4%;
|
|
2784
|
+
background: color-mix(in oklab, var(--site-fg) 88%, transparent);
|
|
2785
|
+
}
|
|
2786
|
+
|
|
2787
|
+
.site-phone-screen {
|
|
2788
|
+
display: block;
|
|
2789
|
+
width: 100%;
|
|
2790
|
+
height: 100%;
|
|
2791
|
+
object-fit: cover;
|
|
2792
|
+
border-radius: 13% / 6%;
|
|
2793
|
+
}
|
|
2794
|
+
|
|
2795
|
+
.site-phones[data-count="2"] > .site-phone:nth-child(2) {
|
|
2796
|
+
margin-top: var(--dna-space-2xl);
|
|
2797
|
+
}
|
|
2798
|
+
|
|
2799
|
+
.site-phones[data-count="3"] > .site-phone:not(:nth-child(2)) {
|
|
2800
|
+
margin-top: var(--dna-space-2xl);
|
|
2801
|
+
}
|
|
2802
|
+
|
|
2803
|
+
/* Opening hours and the facts of a place: a label and a value on each line. */
|
|
2804
|
+
.site-hours {
|
|
2805
|
+
display: grid;
|
|
2806
|
+
font-size: var(--dna-type-body-size);
|
|
2807
|
+
line-height: var(--dna-type-body-line-height);
|
|
2808
|
+
font-variant-numeric: var(--dna-numerals);
|
|
2809
|
+
}
|
|
2810
|
+
|
|
2811
|
+
/* When the label and the value do not fit on one line, the value moves to its own line under the
|
|
2812
|
+
label rather than shrinking to a sliver beside it. */
|
|
2813
|
+
.site-hours-row {
|
|
2814
|
+
display: flex;
|
|
2815
|
+
flex-wrap: wrap;
|
|
2816
|
+
justify-content: space-between;
|
|
2817
|
+
column-gap: var(--dna-space-lg);
|
|
2818
|
+
row-gap: var(--dna-space-xs);
|
|
2819
|
+
padding-block: var(--dna-space-sm);
|
|
2820
|
+
border-bottom: var(--dna-border-width-thin) solid var(--site-border);
|
|
2821
|
+
}
|
|
2822
|
+
|
|
2823
|
+
/* A label never breaks inside a word ("Reservatio / ns"): its longest word is the least it shrinks
|
|
2824
|
+
to, so the value beside it wraps first. */
|
|
2825
|
+
.site-hours-row > dt {
|
|
2826
|
+
overflow-wrap: break-word;
|
|
2827
|
+
color: var(--site-fg);
|
|
2828
|
+
}
|
|
2829
|
+
|
|
2830
|
+
.site-hours-row > dd {
|
|
2831
|
+
margin: 0;
|
|
2832
|
+
margin-inline-start: auto;
|
|
2833
|
+
max-width: 100%;
|
|
1716
2834
|
text-align: end;
|
|
1717
2835
|
color: var(--site-fg-muted);
|
|
1718
2836
|
}
|