@brandlab-digital/site-next 3.8.0 → 3.10.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 +33 -0
- package/dist/contact/attachments-client.d.ts +3 -0
- package/dist/contact/attachments-client.d.ts.map +1 -1
- package/dist/contact/attachments-client.js +31 -8
- package/dist/contact/attachments-client.js.map +1 -1
- package/dist/contact/client-entry.d.ts +1 -1
- package/dist/contact/client-entry.d.ts.map +1 -1
- package/dist/contact/client-entry.js.map +1 -1
- package/dist/contact/contract.d.ts.map +1 -1
- package/dist/contact/contract.js +2 -2
- package/dist/contact/contract.js.map +1 -1
- package/dist/contact/email.d.ts.map +1 -1
- package/dist/contact/email.js +9 -0
- package/dist/contact/email.js.map +1 -1
- package/dist/contact/form-client.d.ts +4 -2
- package/dist/contact/form-client.d.ts.map +1 -1
- package/dist/contact/form-client.js +49 -13
- package/dist/contact/form-client.js.map +1 -1
- package/dist/contact/rate-limit.d.ts +59 -0
- package/dist/contact/rate-limit.d.ts.map +1 -0
- package/dist/contact/rate-limit.js +109 -0
- package/dist/contact/rate-limit.js.map +1 -0
- package/dist/contact/route-handler.d.ts +6 -0
- package/dist/contact/route-handler.d.ts.map +1 -1
- package/dist/contact/route-handler.js +4 -0
- package/dist/contact/route-handler.js.map +1 -1
- package/dist/contact/server-entry.d.ts +1 -1
- package/dist/contact/server-entry.d.ts.map +1 -1
- package/dist/contact/server-entry.js +1 -1
- package/dist/contact/server-entry.js.map +1 -1
- package/dist/contact/server.d.ts +9 -0
- package/dist/contact/server.d.ts.map +1 -1
- package/dist/contact/server.js +71 -7
- package/dist/contact/server.js.map +1 -1
- package/dist/contact/shared.d.ts +11 -0
- package/dist/contact/shared.d.ts.map +1 -1
- package/dist/contact/shared.js +11 -0
- package/dist/contact/shared.js.map +1 -1
- package/dist/contact/testing.d.ts +5 -0
- package/dist/contact/testing.d.ts.map +1 -1
- package/dist/contact/testing.js +1 -0
- package/dist/contact/testing.js.map +1 -1
- package/dist/instrumentation-client.d.ts +23 -4
- package/dist/instrumentation-client.d.ts.map +1 -1
- package/dist/instrumentation-client.js +65 -3
- package/dist/instrumentation-client.js.map +1 -1
- package/dist/lead-reporting.d.ts +6 -0
- package/dist/lead-reporting.d.ts.map +1 -1
- package/dist/lead-reporting.js +13 -1
- package/dist/lead-reporting.js.map +1 -1
- package/dist/navigation/constants.d.ts +25 -0
- package/dist/navigation/constants.d.ts.map +1 -0
- package/dist/navigation/constants.js +30 -0
- package/dist/navigation/constants.js.map +1 -0
- package/dist/navigation/index.d.ts +11 -0
- package/dist/navigation/index.d.ts.map +1 -0
- package/dist/navigation/index.js +11 -0
- package/dist/navigation/index.js.map +1 -0
- package/dist/navigation/use-back-to-top.d.ts +5 -0
- package/dist/navigation/use-back-to-top.d.ts.map +1 -0
- package/dist/navigation/use-back-to-top.js +32 -0
- package/dist/navigation/use-back-to-top.js.map +1 -0
- package/dist/navigation/use-header-metrics.d.ts +17 -0
- package/dist/navigation/use-header-metrics.d.ts.map +1 -0
- package/dist/navigation/use-header-metrics.js +52 -0
- package/dist/navigation/use-header-metrics.js.map +1 -0
- package/dist/navigation/use-navigation-menu.d.ts +39 -0
- package/dist/navigation/use-navigation-menu.d.ts.map +1 -0
- package/dist/navigation/use-navigation-menu.js +206 -0
- package/dist/navigation/use-navigation-menu.js.map +1 -0
- package/dist/navigation/use-sticky-call-bar.d.ts +15 -0
- package/dist/navigation/use-sticky-call-bar.d.ts.map +1 -0
- package/dist/navigation/use-sticky-call-bar.js +110 -0
- package/dist/navigation/use-sticky-call-bar.js.map +1 -0
- package/dist/ui-kit/brandlab-skin.d.ts +22 -0
- package/dist/ui-kit/brandlab-skin.d.ts.map +1 -1
- package/dist/ui-kit/brandlab-skin.js.map +1 -1
- package/dist/ui-kit/form/copy.d.ts +3 -0
- package/dist/ui-kit/form/copy.d.ts.map +1 -0
- package/dist/ui-kit/form/copy.js +5 -0
- package/dist/ui-kit/form/copy.js.map +1 -0
- package/dist/ui-kit/form/dialog.d.ts +24 -0
- package/dist/ui-kit/form/dialog.d.ts.map +1 -0
- package/dist/ui-kit/form/dialog.js +17 -0
- package/dist/ui-kit/form/dialog.js.map +1 -0
- package/dist/ui-kit/form/field.d.ts +30 -0
- package/dist/ui-kit/form/field.d.ts.map +1 -0
- package/dist/ui-kit/form/field.js +11 -0
- package/dist/ui-kit/form/field.js.map +1 -0
- package/dist/ui-kit/form/index.d.ts +7 -0
- package/dist/ui-kit/form/index.d.ts.map +1 -0
- package/dist/ui-kit/form/index.js +7 -0
- package/dist/ui-kit/form/index.js.map +1 -0
- package/dist/ui-kit/form/photo-upload.d.ts +37 -0
- package/dist/ui-kit/form/photo-upload.d.ts.map +1 -0
- package/dist/ui-kit/form/photo-upload.js +19 -0
- package/dist/ui-kit/form/photo-upload.js.map +1 -0
- package/dist/ui-kit/form/quote-dialog.d.ts +15 -0
- package/dist/ui-kit/form/quote-dialog.d.ts.map +1 -0
- package/dist/ui-kit/form/quote-dialog.js +68 -0
- package/dist/ui-kit/form/quote-dialog.js.map +1 -0
- package/dist/ui-kit/form/quote-form.d.ts +165 -0
- package/dist/ui-kit/form/quote-form.d.ts.map +1 -0
- package/dist/ui-kit/form/quote-form.js +235 -0
- package/dist/ui-kit/form/quote-form.js.map +1 -0
- package/dist/ui-kit/form/thank-you.d.ts +37 -0
- package/dist/ui-kit/form/thank-you.d.ts.map +1 -0
- package/dist/ui-kit/form/thank-you.js +36 -0
- package/dist/ui-kit/form/thank-you.js.map +1 -0
- package/dist/ui-kit/shell/back-to-top-client.d.ts +9 -0
- package/dist/ui-kit/shell/back-to-top-client.d.ts.map +1 -0
- package/dist/ui-kit/shell/back-to-top-client.js +8 -0
- package/dist/ui-kit/shell/back-to-top-client.js.map +1 -0
- package/dist/ui-kit/shell/back-to-top.d.ts +13 -0
- package/dist/ui-kit/shell/back-to-top.d.ts.map +1 -0
- package/dist/ui-kit/shell/back-to-top.js +14 -0
- package/dist/ui-kit/shell/back-to-top.js.map +1 -0
- package/dist/ui-kit/shell/call-bar-client.d.ts +7 -0
- package/dist/ui-kit/shell/call-bar-client.d.ts.map +1 -0
- package/dist/ui-kit/shell/call-bar-client.js +13 -0
- package/dist/ui-kit/shell/call-bar-client.js.map +1 -0
- package/dist/ui-kit/shell/current-link.d.ts +15 -0
- package/dist/ui-kit/shell/current-link.d.ts.map +1 -0
- package/dist/ui-kit/shell/current-link.js +34 -0
- package/dist/ui-kit/shell/current-link.js.map +1 -0
- package/dist/ui-kit/shell/drawer-client.d.ts +22 -0
- package/dist/ui-kit/shell/drawer-client.d.ts.map +1 -0
- package/dist/ui-kit/shell/drawer-client.js +70 -0
- package/dist/ui-kit/shell/drawer-client.js.map +1 -0
- package/dist/ui-kit/shell/header-client.d.ts +44 -0
- package/dist/ui-kit/shell/header-client.d.ts.map +1 -0
- package/dist/ui-kit/shell/header-client.js +59 -0
- package/dist/ui-kit/shell/header-client.js.map +1 -0
- package/dist/ui-kit/shell/index.d.ts +6 -0
- package/dist/ui-kit/shell/index.d.ts.map +1 -0
- package/dist/ui-kit/shell/index.js +6 -0
- package/dist/ui-kit/shell/index.js.map +1 -0
- package/dist/ui-kit/shell/mobile-call-bar.d.ts +16 -0
- package/dist/ui-kit/shell/mobile-call-bar.d.ts.map +1 -0
- package/dist/ui-kit/shell/mobile-call-bar.js +15 -0
- package/dist/ui-kit/shell/mobile-call-bar.js.map +1 -0
- package/dist/ui-kit/shell/mobile-drawer.d.ts +37 -0
- package/dist/ui-kit/shell/mobile-drawer.d.ts.map +1 -0
- package/dist/ui-kit/shell/mobile-drawer.js +25 -0
- package/dist/ui-kit/shell/mobile-drawer.js.map +1 -0
- package/dist/ui-kit/shell/shell-context.d.ts +3 -0
- package/dist/ui-kit/shell/shell-context.d.ts.map +1 -0
- package/dist/ui-kit/shell/shell-context.js +5 -0
- package/dist/ui-kit/shell/shell-context.js.map +1 -0
- package/dist/ui-kit/shell/site-header.d.ts +52 -0
- package/dist/ui-kit/shell/site-header.d.ts.map +1 -0
- package/dist/ui-kit/shell/site-header.js +36 -0
- package/dist/ui-kit/shell/site-header.js.map +1 -0
- package/dist/ui-kit/shell/social-links.d.ts +8 -0
- package/dist/ui-kit/shell/social-links.d.ts.map +1 -0
- package/dist/ui-kit/shell/social-links.js +9 -0
- package/dist/ui-kit/shell/social-links.js.map +1 -0
- package/dist/ui-kit/shell/utility-bar.d.ts +30 -0
- package/dist/ui-kit/shell/utility-bar.d.ts.map +1 -0
- package/dist/ui-kit/shell/utility-bar.js +15 -0
- package/dist/ui-kit/shell/utility-bar.js.map +1 -0
- package/dist/ui-kit/structure.css +791 -0
- package/dist/ui.d.ts +10 -1
- package/dist/ui.d.ts.map +1 -1
- package/dist/ui.js +3 -3
- package/dist/ui.js.map +1 -1
- package/package.json +14 -2
|
@@ -120,4 +120,795 @@
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
+
/* 10-header.css */
|
|
124
|
+
/*
|
|
125
|
+
* F2 header and F3 panels: sticky and solid, modes by the header's own width, panels always in the HTML. The drawer's
|
|
126
|
+
* dialog sits inside the header's actions, so header rules reach their parts by structure, never by a bare slot name.
|
|
127
|
+
*/
|
|
128
|
+
|
|
129
|
+
:where([data-bl='header'], [data-bl='drawer'], [data-bl='utility']) :where(ul) {
|
|
130
|
+
list-style: none;
|
|
131
|
+
margin: 0;
|
|
132
|
+
padding: 0;
|
|
133
|
+
}
|
|
134
|
+
:where([data-bl='header'], [data-bl='drawer'], [data-bl='utility']) :where(p) {
|
|
135
|
+
margin: 0;
|
|
136
|
+
}
|
|
137
|
+
:where([data-bl='header'], [data-bl='drawer'], [data-bl='utility']) :where(a) {
|
|
138
|
+
color: inherit;
|
|
139
|
+
}
|
|
140
|
+
:where([data-bl='header'], [data-bl='drawer']) :where(button),
|
|
141
|
+
:where([data-bl='back-to-top']) {
|
|
142
|
+
font: inherit;
|
|
143
|
+
color: inherit;
|
|
144
|
+
letter-spacing: inherit;
|
|
145
|
+
text-transform: inherit;
|
|
146
|
+
background: none;
|
|
147
|
+
border: 0;
|
|
148
|
+
padding: 0;
|
|
149
|
+
cursor: pointer;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/* F12: the skip link is the first focusable element, visible on focus. */
|
|
153
|
+
[data-bl='skip'] {
|
|
154
|
+
position: absolute;
|
|
155
|
+
inset-inline-start: 1rem;
|
|
156
|
+
top: 0.75rem;
|
|
157
|
+
z-index: 100;
|
|
158
|
+
translate: 0 -200%;
|
|
159
|
+
padding: 0.75rem 1rem;
|
|
160
|
+
background: var(--bl-color-canvas, Canvas);
|
|
161
|
+
color: var(--bl-color-ink, CanvasText);
|
|
162
|
+
}
|
|
163
|
+
[data-bl='skip']:focus {
|
|
164
|
+
translate: 0 0;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/* The header never hides on scroll; its background is solid (a skin sets the colour, never transparency). */
|
|
168
|
+
[data-bl='header'] {
|
|
169
|
+
position: sticky;
|
|
170
|
+
top: 0;
|
|
171
|
+
z-index: 40;
|
|
172
|
+
container: bl-header / inline-size;
|
|
173
|
+
background: var(--bl-color-canvas, Canvas);
|
|
174
|
+
color: var(--bl-color-ink, CanvasText);
|
|
175
|
+
}
|
|
176
|
+
[data-bl='header'] > [data-slot='bar'] > [data-slot='inner'] {
|
|
177
|
+
display: flex;
|
|
178
|
+
align-items: center;
|
|
179
|
+
gap: 0.75rem;
|
|
180
|
+
max-width: var(--bl-container, 80rem);
|
|
181
|
+
min-height: var(--bl-header-bar-phone, 4rem);
|
|
182
|
+
margin-inline: auto;
|
|
183
|
+
padding-inline: var(--bl-gutter, 1.25rem);
|
|
184
|
+
}
|
|
185
|
+
[data-bl='header'] [data-slot='inner'] > [data-slot='logo'] {
|
|
186
|
+
display: inline-flex;
|
|
187
|
+
align-items: center;
|
|
188
|
+
flex-shrink: 0;
|
|
189
|
+
text-decoration: none;
|
|
190
|
+
}
|
|
191
|
+
[data-bl='header'] [data-slot='inner'] > [data-slot='logo'] :is(img, svg) {
|
|
192
|
+
display: block;
|
|
193
|
+
width: auto;
|
|
194
|
+
height: var(--bl-logo-h-phone, 40px);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/* The menu: hidden below 1280 px (the drawer takes over). */
|
|
198
|
+
[data-bl='header'] [data-slot='inner'] > [data-slot='nav'] {
|
|
199
|
+
display: none;
|
|
200
|
+
flex: 1;
|
|
201
|
+
min-width: 0;
|
|
202
|
+
}
|
|
203
|
+
[data-bl='header'] [data-slot='inner'] > [data-slot='nav'] > [data-slot='list'] {
|
|
204
|
+
display: flex;
|
|
205
|
+
align-items: center;
|
|
206
|
+
justify-content: center;
|
|
207
|
+
gap: 0.125rem;
|
|
208
|
+
}
|
|
209
|
+
[data-bl='header'][data-nav-align='end'] [data-slot='inner'] > [data-slot='nav'] > [data-slot='list'] {
|
|
210
|
+
justify-content: flex-end;
|
|
211
|
+
}
|
|
212
|
+
[data-bl='header'] [data-slot='item'] {
|
|
213
|
+
position: relative;
|
|
214
|
+
}
|
|
215
|
+
[data-bl='header'] [data-slot='itemRow'] {
|
|
216
|
+
display: flex;
|
|
217
|
+
align-items: center;
|
|
218
|
+
}
|
|
219
|
+
[data-bl='header'] [data-slot='item'] [data-slot='link'] {
|
|
220
|
+
display: inline-flex;
|
|
221
|
+
align-items: center;
|
|
222
|
+
min-height: 40px;
|
|
223
|
+
white-space: nowrap;
|
|
224
|
+
text-decoration: none;
|
|
225
|
+
}
|
|
226
|
+
[data-bl='header'] [data-slot='trigger'] {
|
|
227
|
+
display: inline-flex;
|
|
228
|
+
align-items: center;
|
|
229
|
+
justify-content: center;
|
|
230
|
+
min-width: 24px;
|
|
231
|
+
min-height: 40px;
|
|
232
|
+
}
|
|
233
|
+
[data-bl='header'] [data-slot='trigger'] svg {
|
|
234
|
+
width: 1rem;
|
|
235
|
+
height: 1rem;
|
|
236
|
+
transition: rotate 150ms ease;
|
|
237
|
+
}
|
|
238
|
+
[data-bl='header'] [data-slot='trigger'][aria-expanded='true'] svg {
|
|
239
|
+
rotate: 180deg;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/*
|
|
243
|
+
* F3 panels: always in the server HTML. Closed panels are visibility: hidden (and inert once scripts run); before
|
|
244
|
+
* hydration, :hover and :focus-within open them. The offset gap is padding inside the panel's hover box, never a
|
|
245
|
+
* margin, so the pointer never crosses a dead gap. The 150 ms fade never decides hoverability: visibility flips at once.
|
|
246
|
+
*/
|
|
247
|
+
[data-bl='header'] [data-slot='item'] > [data-slot='panel'] {
|
|
248
|
+
position: absolute;
|
|
249
|
+
top: 100%;
|
|
250
|
+
left: 50%;
|
|
251
|
+
z-index: 50;
|
|
252
|
+
translate: -50% 0;
|
|
253
|
+
padding-top: var(--bl-panel-gap, 0.75rem);
|
|
254
|
+
visibility: hidden;
|
|
255
|
+
opacity: 0;
|
|
256
|
+
transition: opacity 150ms ease;
|
|
257
|
+
}
|
|
258
|
+
[data-bl='header'] [data-slot='item'] > [data-slot='panel'][data-state='open'],
|
|
259
|
+
[data-bl='header']:not([data-hydrated='true']) [data-slot='item']:is(:hover, :focus-within) > [data-slot='panel'] {
|
|
260
|
+
visibility: visible;
|
|
261
|
+
opacity: 1;
|
|
262
|
+
}
|
|
263
|
+
[data-bl='header'] [data-slot='panelBody'] {
|
|
264
|
+
width: 22rem;
|
|
265
|
+
max-width: calc(100vw - 2 * var(--bl-gutter, 1.25rem));
|
|
266
|
+
background: var(--bl-color-canvas, Canvas);
|
|
267
|
+
color: var(--bl-color-ink, CanvasText);
|
|
268
|
+
}
|
|
269
|
+
[data-bl='header'] [data-slot='panelLink'] {
|
|
270
|
+
display: flex;
|
|
271
|
+
flex-wrap: wrap;
|
|
272
|
+
align-items: center;
|
|
273
|
+
justify-content: space-between;
|
|
274
|
+
gap: 0.15rem 0.75rem;
|
|
275
|
+
min-height: 40px;
|
|
276
|
+
text-decoration: none;
|
|
277
|
+
}
|
|
278
|
+
[data-bl='header'] [data-slot='panelLink'] svg {
|
|
279
|
+
width: 1rem;
|
|
280
|
+
height: 1rem;
|
|
281
|
+
}
|
|
282
|
+
[data-bl='header'] [data-slot='panelText'] {
|
|
283
|
+
flex-basis: 100%;
|
|
284
|
+
}
|
|
285
|
+
[data-bl='header'] [data-slot='item'] > [data-slot='panel'][data-variant='columns'] [data-slot='panelBody'] {
|
|
286
|
+
display: grid;
|
|
287
|
+
grid-template-columns: repeat(var(--bl-panel-columns, 2), minmax(0, 1fr));
|
|
288
|
+
gap: 0 1.5rem;
|
|
289
|
+
width: 34rem;
|
|
290
|
+
}
|
|
291
|
+
[data-bl='header'] [data-slot='item'] > [data-slot='panel'][data-variant='columns'][data-columns='3'] [data-slot='panelBody'] {
|
|
292
|
+
--bl-panel-columns: 3;
|
|
293
|
+
width: 46rem;
|
|
294
|
+
}
|
|
295
|
+
[data-bl='header'] [data-slot='item'] > [data-slot='panel'][data-variant='columns'] [data-slot='panelBody'] > [data-slot='panelList']:first-child {
|
|
296
|
+
grid-column: 1 / -1;
|
|
297
|
+
}
|
|
298
|
+
/* A columns panel without groups balances its one list. */
|
|
299
|
+
[data-bl='header'] [data-slot='item'] > [data-slot='panel'][data-variant='columns']:not([data-columns]) [data-slot='panelList'] {
|
|
300
|
+
columns: 2;
|
|
301
|
+
column-gap: 1.5rem;
|
|
302
|
+
}
|
|
303
|
+
[data-bl='header'] [data-slot='item'] > [data-slot='panel'][data-variant='columns']:not([data-columns]) [data-slot='panelList'] > li {
|
|
304
|
+
break-inside: avoid;
|
|
305
|
+
}
|
|
306
|
+
[data-bl='header'] [data-slot='item'] > [data-slot='panel'][data-variant='featured'] [data-slot='panelBody'] {
|
|
307
|
+
display: grid;
|
|
308
|
+
grid-template-columns: 15rem minmax(0, 1fr);
|
|
309
|
+
gap: 1.25rem;
|
|
310
|
+
width: 38rem;
|
|
311
|
+
}
|
|
312
|
+
[data-bl='header'] [data-slot='featured'] {
|
|
313
|
+
display: grid;
|
|
314
|
+
align-content: start;
|
|
315
|
+
gap: 0.4rem;
|
|
316
|
+
text-decoration: none;
|
|
317
|
+
}
|
|
318
|
+
[data-bl='header'] [data-slot='featuredMedia'] {
|
|
319
|
+
display: block;
|
|
320
|
+
overflow: hidden;
|
|
321
|
+
aspect-ratio: 4 / 3;
|
|
322
|
+
}
|
|
323
|
+
[data-bl='header'] [data-slot='featuredMedia'] img {
|
|
324
|
+
display: block;
|
|
325
|
+
width: 100%;
|
|
326
|
+
height: 100%;
|
|
327
|
+
object-fit: cover;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
/* Actions: phone (icon left, its label above the number), quote, Menu. Below 1024 px a 44 px call button and Menu. */
|
|
331
|
+
[data-bl='header'] [data-slot='inner'] > [data-slot='actions'] {
|
|
332
|
+
display: flex;
|
|
333
|
+
align-items: center;
|
|
334
|
+
gap: 0.5rem;
|
|
335
|
+
margin-inline-start: auto;
|
|
336
|
+
}
|
|
337
|
+
[data-bl='header'] [data-slot='inner'] > [data-slot='actions'] > [data-bl='phone-link'] {
|
|
338
|
+
justify-content: center;
|
|
339
|
+
min-width: 44px;
|
|
340
|
+
min-height: 44px;
|
|
341
|
+
white-space: nowrap;
|
|
342
|
+
text-decoration: none;
|
|
343
|
+
}
|
|
344
|
+
[data-bl='header'][data-variant='standard'] [data-slot='inner'] > [data-slot='actions'] > [data-bl='phone-link'] :is([data-slot='label'], [data-slot='number']),
|
|
345
|
+
[data-bl='header'] [data-slot='inner'] > [data-slot='actions'] > [data-bl='phone-link'] [data-slot='label'],
|
|
346
|
+
[data-bl='header'] [data-slot='inner'] > [data-slot='actions'] > [data-slot='menuButton'] [data-slot='menuLabel'] {
|
|
347
|
+
position: absolute;
|
|
348
|
+
width: 1px;
|
|
349
|
+
height: 1px;
|
|
350
|
+
overflow: hidden;
|
|
351
|
+
clip-path: inset(50%);
|
|
352
|
+
white-space: nowrap;
|
|
353
|
+
}
|
|
354
|
+
[data-bl='header'] [data-slot='inner'] > [data-slot='actions'] > [data-bl='quote-button'] {
|
|
355
|
+
display: none;
|
|
356
|
+
white-space: nowrap;
|
|
357
|
+
}
|
|
358
|
+
[data-bl='header'] [data-slot='inner'] > [data-slot='actions'] > [data-slot='menuButton'] {
|
|
359
|
+
display: inline-flex;
|
|
360
|
+
align-items: center;
|
|
361
|
+
justify-content: center;
|
|
362
|
+
gap: 0.4rem;
|
|
363
|
+
min-width: 44px;
|
|
364
|
+
min-height: 44px;
|
|
365
|
+
}
|
|
366
|
+
[data-bl='header'] [data-slot='inner'] > [data-slot='actions'] > :is([data-bl='phone-link'], [data-bl='quote-button'], [data-slot='menuButton']) svg {
|
|
367
|
+
width: 1.25rem;
|
|
368
|
+
height: 1.25rem;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
/* 1024 to 1279 px: the compact band. Logo, phone with its number, quote and Menu. */
|
|
372
|
+
@container bl-header (min-width: 1024px) {
|
|
373
|
+
[data-bl='header'] > [data-slot='bar'] > [data-slot='inner'] {
|
|
374
|
+
min-height: var(--bl-header-bar, 5rem);
|
|
375
|
+
gap: 1rem;
|
|
376
|
+
}
|
|
377
|
+
[data-bl='header'] [data-slot='inner'] > [data-slot='logo'] :is(img, svg) {
|
|
378
|
+
height: var(--bl-logo-h, 52px);
|
|
379
|
+
}
|
|
380
|
+
[data-bl='header'] [data-slot='inner'] > [data-slot='actions'] > [data-bl='phone-link'] {
|
|
381
|
+
display: inline-grid;
|
|
382
|
+
grid-template-columns: auto auto;
|
|
383
|
+
column-gap: 0.6rem;
|
|
384
|
+
align-items: center;
|
|
385
|
+
justify-content: start;
|
|
386
|
+
text-align: start;
|
|
387
|
+
}
|
|
388
|
+
[data-bl='header'] [data-slot='inner'] > [data-slot='actions'] > [data-bl='phone-link'] [data-slot='icon'] {
|
|
389
|
+
grid-row: span 2;
|
|
390
|
+
}
|
|
391
|
+
[data-bl='header'] [data-slot='inner'] > [data-slot='actions'] > [data-bl='phone-link'] :is([data-slot='label'], [data-slot='number']),
|
|
392
|
+
[data-bl='header'][data-variant='standard'] [data-slot='inner'] > [data-slot='actions'] > [data-bl='phone-link'] :is([data-slot='label'], [data-slot='number']),
|
|
393
|
+
[data-bl='header'] [data-slot='inner'] > [data-slot='actions'] > [data-slot='menuButton'] [data-slot='menuLabel'] {
|
|
394
|
+
position: static;
|
|
395
|
+
width: auto;
|
|
396
|
+
height: auto;
|
|
397
|
+
overflow: visible;
|
|
398
|
+
clip-path: none;
|
|
399
|
+
}
|
|
400
|
+
[data-bl='header'] [data-slot='inner'] > [data-slot='actions'] > [data-bl='phone-link'] [data-slot='label'] {
|
|
401
|
+
grid-column: 2;
|
|
402
|
+
}
|
|
403
|
+
[data-bl='header'] [data-slot='inner'] > [data-slot='actions'] > [data-bl='phone-link'] [data-slot='number'] {
|
|
404
|
+
grid-column: 2;
|
|
405
|
+
}
|
|
406
|
+
[data-bl='header'] [data-slot='inner'] > [data-slot='actions'] > [data-bl='quote-button'] {
|
|
407
|
+
display: inline-flex;
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
/* 1280 px and up: the full menu. */
|
|
412
|
+
@container bl-header (min-width: 1280px) {
|
|
413
|
+
[data-bl='header'] [data-slot='inner'] > [data-slot='nav'] {
|
|
414
|
+
display: block;
|
|
415
|
+
}
|
|
416
|
+
[data-bl='header'] [data-slot='inner'] > [data-slot='actions'] {
|
|
417
|
+
margin-inline-start: 0;
|
|
418
|
+
}
|
|
419
|
+
[data-bl='header'] [data-slot='inner'] > [data-slot='actions'] > [data-slot='menuButton'] {
|
|
420
|
+
display: none;
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
/* 11-utility.css */
|
|
425
|
+
/* F5 utility bar: optional, above the header, scrolls away with the page; hidden below 768 px of its own width. */
|
|
426
|
+
|
|
427
|
+
[data-bl='utility'] {
|
|
428
|
+
container: bl-utility / inline-size;
|
|
429
|
+
}
|
|
430
|
+
[data-bl='utility'] > [data-slot='inner'] {
|
|
431
|
+
display: none;
|
|
432
|
+
}
|
|
433
|
+
@container bl-utility (min-width: 768px) {
|
|
434
|
+
[data-bl='utility'] > [data-slot='inner'] {
|
|
435
|
+
display: flex;
|
|
436
|
+
align-items: center;
|
|
437
|
+
justify-content: space-between;
|
|
438
|
+
gap: 1.5rem;
|
|
439
|
+
max-width: var(--bl-container, 80rem);
|
|
440
|
+
min-height: 2.25rem;
|
|
441
|
+
margin-inline: auto;
|
|
442
|
+
padding-inline: var(--bl-gutter, 1.25rem);
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
[data-bl='utility'][data-reverse='true'] > [data-slot='inner'] {
|
|
446
|
+
flex-direction: row-reverse;
|
|
447
|
+
}
|
|
448
|
+
[data-bl='utility'] [data-slot='left'],
|
|
449
|
+
[data-bl='utility'] [data-slot='social'] {
|
|
450
|
+
display: flex;
|
|
451
|
+
flex-wrap: wrap;
|
|
452
|
+
align-items: center;
|
|
453
|
+
gap: 0.25rem 1.25rem;
|
|
454
|
+
}
|
|
455
|
+
[data-bl='utility'] :is([data-slot='rating'], [data-slot='licence']) {
|
|
456
|
+
display: inline-flex;
|
|
457
|
+
align-items: center;
|
|
458
|
+
gap: 0.4rem;
|
|
459
|
+
min-height: 24px;
|
|
460
|
+
text-decoration: none;
|
|
461
|
+
}
|
|
462
|
+
[data-bl='utility'] [data-slot='social'] {
|
|
463
|
+
gap: 0.25rem;
|
|
464
|
+
}
|
|
465
|
+
[data-bl='utility'] [data-slot='socialLink'] {
|
|
466
|
+
display: inline-flex;
|
|
467
|
+
align-items: center;
|
|
468
|
+
justify-content: center;
|
|
469
|
+
min-width: 24px;
|
|
470
|
+
min-height: 24px;
|
|
471
|
+
}
|
|
472
|
+
[data-bl='utility'] [data-slot='social'] svg {
|
|
473
|
+
width: 1rem;
|
|
474
|
+
height: 1rem;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
/* 12-drawer.css */
|
|
478
|
+
/*
|
|
479
|
+
* F4 drawer: a modal dialog of min(100%, 420px) from the end side (or full screen), its own scroll container. The page
|
|
480
|
+
* behind it is inert (native modal) and doesn't scroll while it is open.
|
|
481
|
+
*/
|
|
482
|
+
|
|
483
|
+
/* The gutter stays when the scrollbar goes, so the header's width (and its mode) never changes as the drawer opens. */
|
|
484
|
+
:root:has(dialog[data-bl='drawer'][open]) {
|
|
485
|
+
overflow: hidden;
|
|
486
|
+
scrollbar-gutter: stable;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
dialog[data-bl='drawer'] {
|
|
490
|
+
inset-block: 0;
|
|
491
|
+
width: min(100%, 420px);
|
|
492
|
+
max-width: 100%;
|
|
493
|
+
height: 100dvh;
|
|
494
|
+
max-height: 100dvh;
|
|
495
|
+
margin: 0;
|
|
496
|
+
margin-inline-start: auto;
|
|
497
|
+
padding: 0;
|
|
498
|
+
border: 0;
|
|
499
|
+
overflow: hidden;
|
|
500
|
+
overscroll-behavior: contain;
|
|
501
|
+
background: var(--bl-color-canvas, Canvas);
|
|
502
|
+
color: var(--bl-color-ink, CanvasText);
|
|
503
|
+
}
|
|
504
|
+
dialog[data-bl='drawer'][data-side='start'] {
|
|
505
|
+
margin-inline: 0 auto;
|
|
506
|
+
}
|
|
507
|
+
dialog[data-bl='drawer'][data-variant='full'] {
|
|
508
|
+
width: 100%;
|
|
509
|
+
margin-inline: 0;
|
|
510
|
+
}
|
|
511
|
+
dialog[data-bl='drawer'] > [data-slot='panel'] {
|
|
512
|
+
display: flex;
|
|
513
|
+
flex-direction: column;
|
|
514
|
+
height: 100%;
|
|
515
|
+
padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
|
|
516
|
+
overflow-y: auto;
|
|
517
|
+
overscroll-behavior: contain;
|
|
518
|
+
}
|
|
519
|
+
dialog[data-bl='drawer'][open] > [data-slot='panel'] {
|
|
520
|
+
animation: bl-drawer-in 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
521
|
+
}
|
|
522
|
+
dialog[data-bl='drawer'][data-side='start'][open] > [data-slot='panel'] {
|
|
523
|
+
animation-name: bl-drawer-in-start;
|
|
524
|
+
}
|
|
525
|
+
@keyframes bl-drawer-in {
|
|
526
|
+
from {
|
|
527
|
+
translate: 2rem 0;
|
|
528
|
+
opacity: 0;
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
@keyframes bl-drawer-in-start {
|
|
532
|
+
from {
|
|
533
|
+
translate: -2rem 0;
|
|
534
|
+
opacity: 0;
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
/* The close button comes first in the DOM and focus order; the row shows it at the end. */
|
|
539
|
+
dialog[data-bl='drawer'] [data-slot='top'] {
|
|
540
|
+
display: flex;
|
|
541
|
+
flex-direction: row-reverse;
|
|
542
|
+
align-items: center;
|
|
543
|
+
gap: 1rem;
|
|
544
|
+
padding: 0.75rem var(--bl-gutter, 1.25rem);
|
|
545
|
+
}
|
|
546
|
+
dialog[data-bl='drawer'] [data-slot='close'] {
|
|
547
|
+
display: inline-flex;
|
|
548
|
+
align-items: center;
|
|
549
|
+
justify-content: center;
|
|
550
|
+
width: 44px;
|
|
551
|
+
height: 44px;
|
|
552
|
+
}
|
|
553
|
+
dialog[data-bl='drawer'] [data-slot='close'] svg {
|
|
554
|
+
width: 1.4rem;
|
|
555
|
+
height: 1.4rem;
|
|
556
|
+
}
|
|
557
|
+
dialog[data-bl='drawer'] [data-slot='title'] {
|
|
558
|
+
margin-inline-end: auto;
|
|
559
|
+
}
|
|
560
|
+
dialog[data-bl='drawer'] [data-slot='top'] > [data-slot='logo'] :is(img, svg) {
|
|
561
|
+
display: block;
|
|
562
|
+
width: auto;
|
|
563
|
+
height: 36px;
|
|
564
|
+
}
|
|
565
|
+
dialog[data-bl='drawer'] [data-slot='nav'] {
|
|
566
|
+
padding: 0.5rem var(--bl-gutter, 1.25rem) 1rem;
|
|
567
|
+
}
|
|
568
|
+
dialog[data-bl='drawer'] [data-slot='groupTrigger'] {
|
|
569
|
+
display: flex;
|
|
570
|
+
align-items: center;
|
|
571
|
+
justify-content: space-between;
|
|
572
|
+
gap: 1rem;
|
|
573
|
+
min-height: 52px;
|
|
574
|
+
list-style: none;
|
|
575
|
+
cursor: pointer;
|
|
576
|
+
}
|
|
577
|
+
dialog[data-bl='drawer'] [data-slot='groupTrigger']::-webkit-details-marker {
|
|
578
|
+
display: none;
|
|
579
|
+
}
|
|
580
|
+
dialog[data-bl='drawer'] [data-slot='groupTrigger'] svg {
|
|
581
|
+
width: 1.1rem;
|
|
582
|
+
height: 1.1rem;
|
|
583
|
+
transition: rotate 150ms ease;
|
|
584
|
+
}
|
|
585
|
+
dialog[data-bl='drawer'] [data-slot='group'][open] > [data-slot='groupTrigger'] svg {
|
|
586
|
+
rotate: 180deg;
|
|
587
|
+
}
|
|
588
|
+
dialog[data-bl='drawer'] :is([data-slot='link'], [data-slot='groupLink']) {
|
|
589
|
+
display: flex;
|
|
590
|
+
align-items: center;
|
|
591
|
+
min-height: 44px;
|
|
592
|
+
text-decoration: none;
|
|
593
|
+
}
|
|
594
|
+
dialog[data-bl='drawer'] [data-slot='actions'] {
|
|
595
|
+
display: grid;
|
|
596
|
+
gap: 0.75rem;
|
|
597
|
+
margin-top: auto;
|
|
598
|
+
padding: 0.5rem var(--bl-gutter, 1.25rem) 1.25rem;
|
|
599
|
+
}
|
|
600
|
+
dialog[data-bl='drawer'] [data-slot='actions'] > :is([data-bl='phone-link'], [data-bl='quote-button']) {
|
|
601
|
+
display: flex;
|
|
602
|
+
justify-content: center;
|
|
603
|
+
min-height: 52px;
|
|
604
|
+
text-decoration: none;
|
|
605
|
+
}
|
|
606
|
+
dialog[data-bl='drawer'] [data-slot='actions'] svg {
|
|
607
|
+
width: 1.15rem;
|
|
608
|
+
height: 1.15rem;
|
|
609
|
+
}
|
|
610
|
+
dialog[data-bl='drawer'] [data-slot='social'] {
|
|
611
|
+
display: flex;
|
|
612
|
+
flex-wrap: wrap;
|
|
613
|
+
gap: 0.5rem;
|
|
614
|
+
padding: 0 var(--bl-gutter, 1.25rem);
|
|
615
|
+
}
|
|
616
|
+
dialog[data-bl='drawer'] [data-slot='socialLink'] {
|
|
617
|
+
display: inline-flex;
|
|
618
|
+
align-items: center;
|
|
619
|
+
justify-content: center;
|
|
620
|
+
width: 44px;
|
|
621
|
+
height: 44px;
|
|
622
|
+
}
|
|
623
|
+
dialog[data-bl='drawer'] [data-slot='social'] svg {
|
|
624
|
+
width: 1.1rem;
|
|
625
|
+
height: 1.1rem;
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
/* 13-callbar.css */
|
|
629
|
+
/*
|
|
630
|
+
* F6 call bar: below 1024 px only, fixed to the bottom above the safe area. Hidden until the hero's call paths have
|
|
631
|
+
* scrolled out; the component sets --bl-callbar-height while it shows (scroll padding and back-to-top use it).
|
|
632
|
+
*/
|
|
633
|
+
|
|
634
|
+
[data-bl='callbar'] {
|
|
635
|
+
position: fixed;
|
|
636
|
+
inset-inline: 0;
|
|
637
|
+
bottom: 0;
|
|
638
|
+
z-index: 30;
|
|
639
|
+
display: flex;
|
|
640
|
+
gap: 0.5rem;
|
|
641
|
+
padding: 0.5rem var(--bl-gutter, 1.25rem) max(0.5rem, env(safe-area-inset-bottom));
|
|
642
|
+
background: var(--bl-color-canvas, Canvas);
|
|
643
|
+
color: var(--bl-color-ink, CanvasText);
|
|
644
|
+
transition: translate 200ms ease, visibility 0s;
|
|
645
|
+
}
|
|
646
|
+
[data-bl='callbar'] > :is([data-bl='phone-link'], [data-bl='quote-button']) {
|
|
647
|
+
flex: 1 1 0;
|
|
648
|
+
justify-content: center;
|
|
649
|
+
min-width: 0;
|
|
650
|
+
min-height: 48px;
|
|
651
|
+
text-decoration: none;
|
|
652
|
+
}
|
|
653
|
+
[data-bl='callbar'][data-variant='float'] {
|
|
654
|
+
inset-inline: auto 0;
|
|
655
|
+
justify-content: flex-end;
|
|
656
|
+
background: none;
|
|
657
|
+
}
|
|
658
|
+
[data-bl='callbar'][data-variant='float'] > :is([data-bl='phone-link'], [data-bl='quote-button']) {
|
|
659
|
+
flex: none;
|
|
660
|
+
}
|
|
661
|
+
[data-bl='callbar'][data-state='hidden'] {
|
|
662
|
+
visibility: hidden;
|
|
663
|
+
translate: 0 100%;
|
|
664
|
+
transition: translate 200ms ease, visibility 0s linear 200ms;
|
|
665
|
+
}
|
|
666
|
+
@media (min-width: 1024px) {
|
|
667
|
+
[data-bl='callbar'] {
|
|
668
|
+
display: none;
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
/* 14-back-to-top.css */
|
|
673
|
+
/* F7 back-to-top: a 44 px button in a bottom corner, above the call bar while it shows. */
|
|
674
|
+
|
|
675
|
+
[data-bl='back-to-top'] {
|
|
676
|
+
--bl-back-to-top-offset: 1.25rem;
|
|
677
|
+
position: fixed;
|
|
678
|
+
inset-inline-end: var(--bl-back-to-top-offset);
|
|
679
|
+
bottom: max(
|
|
680
|
+
calc(var(--bl-callbar-height, 0px) + var(--bl-back-to-top-offset)),
|
|
681
|
+
calc(env(safe-area-inset-bottom) + var(--bl-back-to-top-offset))
|
|
682
|
+
);
|
|
683
|
+
z-index: 30;
|
|
684
|
+
display: inline-flex;
|
|
685
|
+
align-items: center;
|
|
686
|
+
justify-content: center;
|
|
687
|
+
min-width: 44px;
|
|
688
|
+
min-height: 44px;
|
|
689
|
+
background: var(--bl-color-canvas, Canvas);
|
|
690
|
+
color: var(--bl-color-ink, CanvasText);
|
|
691
|
+
transition: opacity 150ms ease, bottom 200ms ease, visibility 0s;
|
|
692
|
+
}
|
|
693
|
+
[data-bl='back-to-top'][data-corner='start'] {
|
|
694
|
+
inset-inline: var(--bl-back-to-top-offset) auto;
|
|
695
|
+
}
|
|
696
|
+
[data-bl='back-to-top'][data-offset='small'] {
|
|
697
|
+
--bl-back-to-top-offset: 0.75rem;
|
|
698
|
+
}
|
|
699
|
+
[data-bl='back-to-top'][data-offset='large'] {
|
|
700
|
+
--bl-back-to-top-offset: 2rem;
|
|
701
|
+
}
|
|
702
|
+
[data-bl='back-to-top'][data-state='hidden'] {
|
|
703
|
+
visibility: hidden;
|
|
704
|
+
opacity: 0;
|
|
705
|
+
transition: opacity 150ms ease, bottom 200ms ease, visibility 0s linear 150ms;
|
|
706
|
+
}
|
|
707
|
+
[data-bl='back-to-top'] svg {
|
|
708
|
+
width: 1.25rem;
|
|
709
|
+
height: 1.25rem;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
/* The skip-link and back-to-top target takes focus without a ring: it is a landmark, not a control. */
|
|
713
|
+
#main[tabindex='-1']:focus {
|
|
714
|
+
outline: none;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
/* 20-form.css */
|
|
718
|
+
/* Quote form, photo upload and fields: layout and behaviour only. Labels sit above fields; one column below 640 px. */
|
|
719
|
+
|
|
720
|
+
/* A size container can't take its width from its content, so it fills its parent even inside a shrink-to-fit box. */
|
|
721
|
+
[data-bl='quote-form'] {
|
|
722
|
+
display: grid;
|
|
723
|
+
gap: 1.25rem;
|
|
724
|
+
inline-size: 100%;
|
|
725
|
+
container-type: inline-size;
|
|
726
|
+
}
|
|
727
|
+
[data-bl='quote-form'][data-density='compact'] {
|
|
728
|
+
gap: 0.875rem;
|
|
729
|
+
}
|
|
730
|
+
[data-bl='quote-form'] [data-slot='row'] {
|
|
731
|
+
display: grid;
|
|
732
|
+
gap: inherit;
|
|
733
|
+
grid-template-columns: minmax(0, 1fr);
|
|
734
|
+
}
|
|
735
|
+
@media (min-width: 640px) {
|
|
736
|
+
@container (min-width: 28rem) {
|
|
737
|
+
[data-bl='quote-form'] [data-slot='row'] {
|
|
738
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
:where([data-bl='quote-form'], [data-bl='field'], [data-bl='photo-upload']) {
|
|
744
|
+
min-width: 0;
|
|
745
|
+
}
|
|
746
|
+
[data-bl='field'],
|
|
747
|
+
[data-bl='photo-upload'] {
|
|
748
|
+
display: grid;
|
|
749
|
+
gap: 0.375rem;
|
|
750
|
+
align-content: start;
|
|
751
|
+
}
|
|
752
|
+
:where([data-bl='quote-form'], [data-bl='field']) :where(input:not([type='file']), textarea, select) {
|
|
753
|
+
width: 100%;
|
|
754
|
+
min-height: 44px;
|
|
755
|
+
font: inherit;
|
|
756
|
+
}
|
|
757
|
+
:where([data-bl='quote-form'], [data-bl='field']) textarea {
|
|
758
|
+
resize: vertical;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
/* The drop box: the label covers the whole box, so a tap anywhere opens the picker; the hidden input keeps focus. */
|
|
762
|
+
[data-bl='photo-upload'] [data-slot='drop'] {
|
|
763
|
+
position: relative;
|
|
764
|
+
display: flex;
|
|
765
|
+
flex-wrap: wrap;
|
|
766
|
+
align-items: center;
|
|
767
|
+
justify-content: space-between;
|
|
768
|
+
gap: 0.5rem 1rem;
|
|
769
|
+
min-height: 44px;
|
|
770
|
+
padding: 0.75rem 1rem;
|
|
771
|
+
border: 1px dashed var(--bl-color-line, currentColor);
|
|
772
|
+
border-radius: var(--bl-radius-control, 0);
|
|
773
|
+
cursor: pointer;
|
|
774
|
+
}
|
|
775
|
+
[data-bl='photo-upload'] [data-slot='drop'][data-disabled='true'] {
|
|
776
|
+
cursor: not-allowed;
|
|
777
|
+
}
|
|
778
|
+
[data-bl='photo-upload'] [data-slot='drop'][data-state='busy'] {
|
|
779
|
+
cursor: progress;
|
|
780
|
+
}
|
|
781
|
+
[data-bl='photo-upload'] [data-slot='drop']:has(input:focus-visible) {
|
|
782
|
+
outline: 2px solid var(--bl-color-focus, currentColor);
|
|
783
|
+
outline-offset: 3px;
|
|
784
|
+
}
|
|
785
|
+
[data-bl='photo-upload'] [data-slot='drop'] [data-slot='label'] {
|
|
786
|
+
display: inline-flex;
|
|
787
|
+
align-items: center;
|
|
788
|
+
gap: 0.5rem;
|
|
789
|
+
cursor: inherit;
|
|
790
|
+
}
|
|
791
|
+
[data-bl='photo-upload'] [data-slot='drop'] [data-slot='label']::after {
|
|
792
|
+
content: '';
|
|
793
|
+
position: absolute;
|
|
794
|
+
inset: 0;
|
|
795
|
+
}
|
|
796
|
+
[data-bl='photo-upload'] [data-slot='dropIcon'] svg {
|
|
797
|
+
width: 1.5em;
|
|
798
|
+
height: 1.5em;
|
|
799
|
+
}
|
|
800
|
+
[data-bl='photo-upload'] [data-slot='photos'] {
|
|
801
|
+
display: flex;
|
|
802
|
+
flex-wrap: wrap;
|
|
803
|
+
gap: 0.75rem;
|
|
804
|
+
margin: 0;
|
|
805
|
+
padding: 0;
|
|
806
|
+
list-style: none;
|
|
807
|
+
}
|
|
808
|
+
[data-bl='photo-upload'] [data-slot='photo'] {
|
|
809
|
+
position: relative;
|
|
810
|
+
}
|
|
811
|
+
[data-bl='photo-upload'] [data-slot='thumb'] {
|
|
812
|
+
display: block;
|
|
813
|
+
width: 4rem;
|
|
814
|
+
height: 4rem;
|
|
815
|
+
object-fit: cover;
|
|
816
|
+
border-radius: var(--bl-radius-control, 0);
|
|
817
|
+
}
|
|
818
|
+
[data-bl='photo-upload'] [data-slot='remove'] {
|
|
819
|
+
position: absolute;
|
|
820
|
+
inset-block-start: -0.75rem;
|
|
821
|
+
inset-inline-end: -0.75rem;
|
|
822
|
+
display: inline-flex;
|
|
823
|
+
align-items: center;
|
|
824
|
+
justify-content: center;
|
|
825
|
+
min-width: 44px;
|
|
826
|
+
min-height: 44px;
|
|
827
|
+
padding: 0;
|
|
828
|
+
border: 0;
|
|
829
|
+
background: none;
|
|
830
|
+
color: inherit;
|
|
831
|
+
cursor: pointer;
|
|
832
|
+
}
|
|
833
|
+
[data-bl='photo-upload'] [data-slot='remove'] svg {
|
|
834
|
+
width: 1.25rem;
|
|
835
|
+
height: 1.25rem;
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
[data-bl='quote-form'] [data-slot='submit'] {
|
|
839
|
+
display: inline-flex;
|
|
840
|
+
align-items: center;
|
|
841
|
+
justify-content: center;
|
|
842
|
+
gap: 0.5rem;
|
|
843
|
+
min-height: 44px;
|
|
844
|
+
justify-self: start;
|
|
845
|
+
}
|
|
846
|
+
[data-bl='quote-form'][data-variant='card'] [data-slot='submit'],
|
|
847
|
+
[data-bl='quote-form'][data-variant='inline'] [data-slot='submit'] {
|
|
848
|
+
justify-self: stretch;
|
|
849
|
+
}
|
|
850
|
+
[data-bl='quote-form'] [data-slot='submit'][data-state='busy'] {
|
|
851
|
+
cursor: progress;
|
|
852
|
+
}
|
|
853
|
+
[data-bl='quote-form'] :where([data-slot='consent'], [data-slot='status']) {
|
|
854
|
+
margin: 0;
|
|
855
|
+
}
|
|
856
|
+
/* Empty, the status region stays in the accessibility tree (visually hidden), so its next message is announced. */
|
|
857
|
+
[data-bl='quote-form'] [data-slot='status']:empty {
|
|
858
|
+
position: absolute;
|
|
859
|
+
width: 1px;
|
|
860
|
+
height: 1px;
|
|
861
|
+
overflow: hidden;
|
|
862
|
+
clip-path: inset(50%);
|
|
863
|
+
white-space: nowrap;
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
/* 21-dialog.css */
|
|
867
|
+
/* Dialog: a native modal. The page behind doesn't scroll; the body scrolls inside the panel on short screens. */
|
|
868
|
+
|
|
869
|
+
[data-bl='dialog'] {
|
|
870
|
+
width: min(40rem, calc(100% - 2 * var(--bl-gutter, 1rem)));
|
|
871
|
+
max-height: calc(100dvh - 2rem);
|
|
872
|
+
padding: 0;
|
|
873
|
+
border: 0;
|
|
874
|
+
overflow: auto;
|
|
875
|
+
background: var(--bl-color-surface, Canvas);
|
|
876
|
+
color: var(--bl-color-ink, CanvasText);
|
|
877
|
+
border-radius: var(--bl-radius-card, 0);
|
|
878
|
+
box-shadow: var(--bl-shadow-overlay, none);
|
|
879
|
+
}
|
|
880
|
+
:root:has([data-bl='dialog'][open]) {
|
|
881
|
+
overflow: hidden;
|
|
882
|
+
}
|
|
883
|
+
[data-bl='dialog'] [data-slot='header'] {
|
|
884
|
+
display: flex;
|
|
885
|
+
align-items: flex-start;
|
|
886
|
+
justify-content: space-between;
|
|
887
|
+
gap: 1rem;
|
|
888
|
+
padding: 1rem var(--bl-gutter, 1.25rem) 0;
|
|
889
|
+
}
|
|
890
|
+
[data-bl='dialog'] [data-slot='title'] {
|
|
891
|
+
margin: 0;
|
|
892
|
+
}
|
|
893
|
+
[data-bl='dialog'] [data-slot='close'] {
|
|
894
|
+
display: inline-flex;
|
|
895
|
+
align-items: center;
|
|
896
|
+
justify-content: center;
|
|
897
|
+
flex-shrink: 0;
|
|
898
|
+
min-width: 44px;
|
|
899
|
+
min-height: 44px;
|
|
900
|
+
padding: 0;
|
|
901
|
+
border: 0;
|
|
902
|
+
background: none;
|
|
903
|
+
color: inherit;
|
|
904
|
+
cursor: pointer;
|
|
905
|
+
}
|
|
906
|
+
[data-bl='dialog'] [data-slot='close'] svg {
|
|
907
|
+
width: 1.5rem;
|
|
908
|
+
height: 1.5rem;
|
|
909
|
+
}
|
|
910
|
+
[data-bl='dialog'] [data-slot='body'] {
|
|
911
|
+
padding: 1rem var(--bl-gutter, 1.25rem) var(--bl-gutter, 1.25rem);
|
|
912
|
+
}
|
|
913
|
+
|
|
123
914
|
}
|