@utrecht/component-library-css 1.0.0-alpha.51 → 1.0.0-alpha.510

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/html.css CHANGED
@@ -12,20 +12,17 @@
12
12
  * @license EUPL-1.2
13
13
  * Copyright (c) 2021 Robbert Broersma
14
14
  */
15
- /* stylelint-disable-next-line block-no-empty */
16
- /* stylelint-disable-next-line block-no-empty */
15
+ /* Collection of all semantic HTML styles in the component library */
17
16
  /**
18
17
  * @license EUPL-1.2
19
- * Copyright (c) 2021 Robbert Broersma
18
+ * Copyright (c) 2020-2022 Gemeente Utrecht
19
+ * Copyright (c) 2020-2022 Frameless B.V.
20
20
  */
21
21
  /**
22
22
  * @license EUPL-1.2
23
- * Copyright (c) 2021 Robbert Broersma
23
+ * Copyright (c) 2020-2022 Gemeente Utrecht
24
+ * Copyright (c) 2020-2022 Frameless B.V.
24
25
  */
25
- .utrecht-article, .utrecht-html article {
26
- max-inline-size: var(--utrecht-article-max-inline-size);
27
- }
28
-
29
26
  /**
30
27
  * @license EUPL-1.2
31
28
  * Copyright (c) 2021 Robbert Broersma
@@ -34,30 +31,6 @@
34
31
  * @license EUPL-1.2
35
32
  * Copyright (c) 2021 Robbert Broersma
36
33
  */
37
- .utrecht-blockquote, .utrecht-html blockquote {
38
- font-family: var(--utrecht-document-font-family);
39
- font-size: var(--utrecht-blockquote-font-size);
40
- margin-inline-start: var(--utrecht-blockquote-margin-inline-start);
41
- margin-inline-end: var(--utrecht-blockquote-margin-inline-end);
42
- }
43
-
44
- .utrecht-blockquote__attribution {
45
- color: var(--utrecht-blockquote-attribution-color, inherit);
46
- font-size: var(--utrecht-blockquote-attribution-font-size, inherit);
47
- }
48
-
49
- .utrecht-blockquote__content, .utrecht-html blockquote {
50
- --utrecht-document-color: var(--utrecht-blockquote-content-color, inherit);
51
- --utrecht-paragraph-font-size: var(--utrecht-blockquote-content-font-size, inherit);
52
- color: var(--utrecht-blockquote-content-color, inherit);
53
- font-size: var(--utrecht-blockquote-content-font-size, inherit);
54
- }
55
-
56
- .utrecht-blockquote--distanced, .utrecht-html blockquote {
57
- margin-block-start: var(--utrecht-blockquote-margin-block-start);
58
- margin-block-end: var(--utrecht-blockquote-margin-block-end);
59
- }
60
-
61
34
  /**
62
35
  * @license EUPL-1.2
63
36
  * Copyright (c) 2021 Robbert Broersma
@@ -67,273 +40,107 @@
67
40
  * Copyright (c) 2021 The Knights Who Say NIH! B.V.
68
41
  * Copyright (c) 2021 Gemeente Utrecht
69
42
  */
70
- .utrecht-button, .utrecht-html button {
71
- color: var(--utrecht-button-primary-action-color);
72
- font-size: var(--utrecht-button-font-size, var(--utrecht-document-font-family));
73
- font-family: var(--utrecht-button-font-family, var(--utrecht-document-font-family));
74
- font-weight: var(--utrecht-button-font-weight);
75
- background-color: var(--utrecht-button-primary-action-background-color);
76
- border-radius: var(--utrecht-button-border-radius);
77
- border-width: var(--utrecht-button-border-width);
78
- letter-spacing: var(--utrecht-button-letter-spacing);
79
- padding-inline-start: var(--utrecht-button-padding-inline-start);
80
- padding-inline-end: var(--utrecht-button-padding-inline-end);
81
- padding-block-start: var(--utrecht-button-padding-block-start);
82
- padding-block-end: var(--utrecht-button-padding-block-end);
83
- text-transform: var(--utrecht-button-text-transform);
84
- }
85
-
86
- .utrecht-button--distanced, .utrecht-html button {
87
- margin-inline-start: var(--utrecht-button-margin-inline-start);
88
- margin-inline-end: var(--utrecht-button-margin-inline-end);
89
- margin-block-start: var(--utrecht-button-margin-block-start);
90
- margin-block-end: var(--utrecht-button-margin-block-end);
91
- }
92
-
93
- .utrecht-button:disabled, .utrecht-html button:disabled,
94
- .utrecht-button--disabled {
95
- color: var(--utrecht-button-disabled-color);
96
- background-color: var(--utrecht-button-disabled-background-color);
97
- }
98
-
99
- .utrecht-button--focus, .utrecht-html button:focus,
100
- .utrecht-button:not(.utrecht-button--disabled):focus {
101
- outline-width: var(--utrecht-focus-outline-width, 0);
102
- outline-style: var(--utrecht-focus-outline-style, solid);
103
- outline-color: var(--utrecht-focus-outline-color, transparent);
104
- color: var(--utrecht-focus-color, inherit);
105
- box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
106
- outline-offset: 0;
107
- background-color: var(--utrecht-focus-background-color);
108
- }
109
-
110
- .utrecht-button--hover:not(:disabled), .utrecht-html button:not(:disabled):hover,
111
- .utrecht-button:hover:not(:disabled):not(.utrecht-button--disabled) {
112
- color: var(--utrecht-button-primary-action-color);
113
- background-color: var(--utrecht-button-primary-action-hover-background-color);
114
- transform: scale(var(--utrecht-button-focus-transform-scale, 1));
115
- }
116
-
117
43
  /**
118
44
  * @license EUPL-1.2
45
+ * Copyright (c) 2021 Gemeente Utrecht
119
46
  * Copyright (c) 2021 Robbert Broersma
120
47
  */
48
+ /* stylelint-disable-next-line block-no-empty */
121
49
  /**
122
50
  * @license EUPL-1.2
123
51
  * Copyright (c) 2021 Robbert Broersma
124
52
  */
125
- .utrecht-checkbox, .utrecht-html input[type=checkbox] {
126
- /* reset native margin for input[type="checkbox"] */
127
- margin-block-start: 0;
128
- margin-block-end: 0;
129
- margin-inline-start: 0;
130
- margin-inline-end: 0;
131
- }
132
-
133
53
  /**
134
54
  * @license EUPL-1.2
135
55
  * Copyright (c) 2021 Robbert Broersma
136
56
  */
137
57
  /**
138
58
  * @license EUPL-1.2
59
+ * Copyright (c) 2021 Gemeente Utrecht
139
60
  * Copyright (c) 2021 Robbert Broersma
140
61
  */
141
- .utrecht-emphasis--stressed, .utrecht-html em {
142
- font-style: var(--utrecht-emphasis-stressed-font-style, italic);
143
- }
144
-
145
- .utrecht-emphasis--strong, .utrecht-html strong {
146
- font-weight: var(--utrecht-emphasis-strong-font-weight, bold);
147
- }
148
-
62
+ /* stylelint-disable-next-line block-no-empty */
63
+ /* stylelint-disable-next-line block-no-empty */
149
64
  /**
150
65
  * @license EUPL-1.2
151
- * Copyright (c) 2021 Robbert Broersma
66
+ * Copyright (c) 2020-2022 Gemeente Utrecht
67
+ * Copyright (c) 2020-2022 Frameless B.V.
152
68
  */
153
69
  /**
154
70
  * @license EUPL-1.2
155
- * Copyright (c) 2021 Robbert Broersma
71
+ * Copyright (c) 2020-2022 Gemeente Utrecht
72
+ * Copyright (c) 2020-2022 Frameless B.V.
156
73
  */
157
- .utrecht-form-fieldset--distanced, .utrecht-html fieldset {
158
- margin-block-start: var(--utrecht-form-fieldset-margin-block-start, 0);
159
- margin-block-end: var(--utrecht-form-fieldset-margin-block-end, 0);
160
- }
161
-
162
- .utrecht-form-fieldset__legend, .utrecht-html legend {
163
- font-family: var(--utrecht-form-fieldset-legend-font-family, var(--utrecht-document-font-family));
164
- font-size: var(--utrecht-form-fieldset-legend-font-size);
165
- font-weight: var(--utrecht-form-fieldset-legend-font-weight);
166
- line-height: var(--utrecht-form-fieldset-legend-line-height);
167
- color: var(--utrecht-form-fieldset-legend-color, var(--utrecht-document-color, inherit));
168
- }
169
-
170
- .utrecht-form-fieldset__legend--distanced, .utrecht-html legend {
171
- margin-block-start: var(--utrecht-form-fieldset-legend-margin-block-start);
172
- margin-block-end: var(--utrecht-form-fieldset-legend-margin-block-end);
173
- }
174
-
175
- .utrecht-html fieldset {
176
- border: 0;
177
- margin-inline-start: 0;
178
- margin-inline-end: 0;
179
- min-width: 0;
180
- padding-block-end: 0;
181
- padding-block-start: 0.01em;
182
- padding-inline-end: 0;
183
- padding-inline-start: 0;
184
- }
185
-
186
- .utrecht-html legend {
187
- padding-inline-end: 0;
188
- padding-inline-start: 0;
189
- }
190
-
191
74
  /**
192
75
  * @license EUPL-1.2
193
- * Copyright (c) 2021 Robbert Broersma
76
+ * Copyright (c) 2020-2022 Gemeente Utrecht
77
+ * Copyright (c) 2020-2022 Frameless B.V.
78
+ */
79
+ /**
80
+ * @license EUPL-1.2
81
+ * Copyright (c) 2020-2022 Gemeente Utrecht
82
+ * Copyright (c) 2020-2022 Frameless B.V.
83
+ */
84
+ /**
85
+ * @license EUPL-1.2
86
+ * Copyright (c) 2020-2022 Gemeente Utrecht
87
+ * Copyright (c) 2020-2022 Frameless B.V.
194
88
  */
195
89
  /**
196
90
  * @license EUPL-1.2
197
91
  * Copyright (c) 2021 Robbert Broersma
198
92
  */
199
- .utrecht-form-label, .utrecht-html label {
200
- font-weight: var(--utrecht-form-label-font-weight);
201
- font-size: var(--utrecht-form-label-font-size);
202
- }
203
-
204
- .utrecht-form-label--checkbox, .utrecht-html input[type=checkbox] ~ label {
205
- font-weight: var(--utrecht-form-label-checkbox-font-weight, var(--utrecht-form-label-font-weight));
206
- }
207
-
208
- .utrecht-form-label--radio, .utrecht-html input[type=radio] ~ label {
209
- font-weight: var(--utrecht-form-label-radio-font-weight, var(--utrecht-form-label-font-weight));
210
- }
211
-
212
93
  /**
213
94
  * @license EUPL-1.2
214
95
  * Copyright (c) 2021 Robbert Broersma
215
96
  */
216
97
  /**
217
98
  * @license EUPL-1.2
218
- * Copyright (c) 2021 Gemeente Utrecht
219
99
  * Copyright (c) 2021 Robbert Broersma
220
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
221
100
  */
222
- .utrecht-heading-1, .utrecht-html h1 {
223
- font-family: var(--utrecht-heading-1-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
224
- font-size: var(--utrecht-heading-1-font-size);
225
- font-weight: var(--utrecht-heading-1-font-weight, var(--utrecht-heading-font-weight, bold));
226
- letter-spacing: var(--utrecht-heading-1-letter-spacing);
227
- line-height: var(--utrecht-heading-1-line-height);
228
- text-transform: var(--utrecht-heading-1-text-transform, inherit);
229
- color: var(--utrecht-heading-1-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
230
- }
231
-
232
- .utrecht-heading-1--distanced, .utrecht-html h1 {
233
- margin-block-start: var(--utrecht-heading-1-margin-block-start);
234
- margin-block-end: var(--utrecht-heading-1-margin-block-end);
235
- }
236
-
237
101
  /**
238
102
  * @license EUPL-1.2
239
103
  * Copyright (c) 2021 Robbert Broersma
240
104
  */
241
105
  /**
242
106
  * @license EUPL-1.2
243
- * Copyright (c) 2021 Gemeente Utrecht
244
107
  * Copyright (c) 2021 Robbert Broersma
245
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
246
108
  */
247
- .utrecht-heading-2, .utrecht-html h2 {
248
- font-family: var(--utrecht-heading-2-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
249
- font-size: var(--utrecht-heading-2-font-size);
250
- font-weight: var(--utrecht-heading-2-font-weight, var(--utrecht-heading-font-weight, bold));
251
- letter-spacing: var(--utrecht-heading-2-letter-spacing);
252
- line-height: var(--utrecht-heading-2-line-height);
253
- text-transform: var(--utrecht-heading-2-text-transform, inherit);
254
- color: var(--utrecht-heading-2-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
255
- }
256
-
257
- .utrecht-heading-2--distanced, .utrecht-html h2 {
258
- margin-block-start: var(--utrecht-heading-2-margin-block-start);
259
- margin-block-end: var(--utrecht-heading-2-margin-block-end);
260
- }
261
-
262
109
  /**
263
110
  * @license EUPL-1.2
264
111
  * Copyright (c) 2021 Robbert Broersma
265
112
  */
266
113
  /**
267
114
  * @license EUPL-1.2
268
- * Copyright (c) 2021 Gemeente Utrecht
115
+ * Copyright (c) 2020-2022 Gemeente Utrecht
116
+ * Copyright (c) 2020-2022 Frameless B.V.
117
+ */
118
+ /**
119
+ * @license EUPL-1.2
120
+ * Copyright (c) 2020-2022 Gemeente Utrecht
121
+ * Copyright (c) 2020-2022 Frameless B.V.
122
+ */
123
+ /**
124
+ * @license EUPL-1.2
269
125
  * Copyright (c) 2021 Robbert Broersma
270
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
271
126
  */
272
- .utrecht-heading-3, .utrecht-html h3 {
273
- font-family: var(--utrecht-heading-3-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
274
- font-size: var(--utrecht-heading-3-font-size);
275
- font-weight: var(--utrecht-heading-3-font-weight, var(--utrecht-heading-font-weight, bold));
276
- letter-spacing: var(--utrecht-heading-3-letter-spacing);
277
- line-height: var(--utrecht-heading-3-line-height);
278
- text-transform: var(--utrecht-heading-3-text-transform, inherit);
279
- color: var(--utrecht-heading-3-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
280
- }
281
-
282
- .utrecht-heading-3--distanced, .utrecht-html h3 {
283
- margin-block-start: var(--utrecht-heading-3-margin-block-start);
284
- margin-block-end: var(--utrecht-heading-3-margin-block-end);
285
- }
286
-
287
127
  /**
288
128
  * @license EUPL-1.2
289
129
  * Copyright (c) 2021 Robbert Broersma
290
130
  */
291
131
  /**
292
132
  * @license EUPL-1.2
293
- * Copyright (c) 2021 Gemeente Utrecht
294
133
  * Copyright (c) 2021 Robbert Broersma
295
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
296
134
  */
297
- .utrecht-heading-4, .utrecht-html h4 {
298
- font-family: var(--utrecht-heading-4-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
299
- font-size: var(--utrecht-heading-4-font-size);
300
- font-weight: var(--utrecht-heading-4-font-weight, var(--utrecht-heading-font-weight, bold));
301
- letter-spacing: var(--utrecht-heading-4-letter-spacing);
302
- line-height: var(--utrecht-heading-4-line-height);
303
- text-transform: var(--utrecht-heading-4-text-transform, inherit);
304
- color: var(--utrecht-heading-4-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
305
- }
306
-
307
- .utrecht-heading-4--distanced, .utrecht-html h4 {
308
- margin-block-start: var(--utrecht-heading-4-margin-block-start);
309
- margin-block-end: var(--utrecht-heading-4-margin-block-end);
310
- }
311
-
135
+ /* stylelint-disable-next-line block-no-empty */
312
136
  /**
313
137
  * @license EUPL-1.2
314
138
  * Copyright (c) 2021 Robbert Broersma
315
139
  */
316
140
  /**
317
141
  * @license EUPL-1.2
318
- * Copyright (c) 2021 Gemeente Utrecht
319
142
  * Copyright (c) 2021 Robbert Broersma
320
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
321
143
  */
322
- .utrecht-heading-5, .utrecht-html h5 {
323
- font-family: var(--utrecht-heading-5-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
324
- font-size: var(--utrecht-heading-5-font-size);
325
- font-weight: var(--utrecht-heading-5-font-weight, var(--utrecht-heading-font-weight, bold));
326
- letter-spacing: var(--utrecht-heading-5-letter-spacing);
327
- line-height: var(--utrecht-heading-5-line-height);
328
- text-transform: var(--utrecht-heading-5-text-transform, inherit);
329
- color: var(--utrecht-heading-5-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
330
- }
331
-
332
- .utrecht-heading-5--distanced, .utrecht-html h5 {
333
- margin-block-start: var(--utrecht-heading-5-margin-block-start);
334
- margin-block-end: var(--utrecht-heading-5-margin-block-end);
335
- }
336
-
337
144
  /**
338
145
  * @license EUPL-1.2
339
146
  * Copyright (c) 2021 Robbert Broersma
@@ -344,281 +151,170 @@
344
151
  * Copyright (c) 2021 Robbert Broersma
345
152
  * Copyright (c) 2021 The Knights Who Say NIH! B.V.
346
153
  */
347
- .utrecht-heading-6, .utrecht-html h6 {
348
- font-family: var(--utrecht-heading-6-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
349
- font-size: var(--utrecht-heading-6-font-size);
350
- font-weight: var(--utrecht-heading-6-font-weight, var(--utrecht-heading-font-weight, bold));
351
- letter-spacing: var(--utrecht-heading-6-letter-spacing);
352
- line-height: var(--utrecht-heading-6-line-height);
353
- text-transform: var(--utrecht-heading-6-text-transform, inherit);
354
- color: var(--utrecht-heading-6-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
355
- }
356
-
357
- .utrecht-heading-6--distanced, .utrecht-html h6 {
358
- margin-block-start: var(--utrecht-heading-6-margin-block-start);
359
- margin-block-end: var(--utrecht-heading-6-margin-block-end);
360
- }
361
-
362
154
  /**
363
155
  * @license EUPL-1.2
364
- * Copyright (c) 2021 Robbert Broersma
156
+ * Copyright (c) 2021-2022 Frameless B.V.
365
157
  */
366
- /* Collection of all semantic HTML styles in the component library */
367
158
  /**
368
159
  * @license EUPL-1.2
369
160
  * Copyright (c) 2021 Robbert Broersma
370
161
  */
371
162
  /**
372
163
  * @license EUPL-1.2
164
+ * Copyright (c) 2021 Gemeente Utrecht
373
165
  * Copyright (c) 2021 Robbert Broersma
166
+ * Copyright (c) 2021 The Knights Who Say NIH! B.V.
374
167
  */
375
- /* stylelint-disable-next-line block-no-empty */
376
- /* stylelint-disable-next-line block-no-empty */
377
168
  /**
378
169
  * @license EUPL-1.2
379
- * Copyright (c) 2021 Robbert Broersma
170
+ * Copyright (c) 2021-2022 Frameless B.V.
380
171
  */
381
172
  /**
382
173
  * @license EUPL-1.2
383
174
  * Copyright (c) 2021 Robbert Broersma
384
175
  */
385
- .utrecht-article, .utrecht-html article {
386
- max-inline-size: var(--utrecht-article-max-inline-size);
387
- }
388
-
389
176
  /**
390
177
  * @license EUPL-1.2
178
+ * Copyright (c) 2021 Gemeente Utrecht
391
179
  * Copyright (c) 2021 Robbert Broersma
180
+ * Copyright (c) 2021 The Knights Who Say NIH! B.V.
392
181
  */
393
182
  /**
394
183
  * @license EUPL-1.2
395
- * Copyright (c) 2021 Robbert Broersma
184
+ * Copyright (c) 2021-2022 Frameless B.V.
396
185
  */
397
- .utrecht-blockquote, .utrecht-html blockquote {
398
- font-family: var(--utrecht-document-font-family);
399
- font-size: var(--utrecht-blockquote-font-size);
400
- margin-inline-start: var(--utrecht-blockquote-margin-inline-start);
401
- margin-inline-end: var(--utrecht-blockquote-margin-inline-end);
402
- }
403
-
404
- .utrecht-blockquote__attribution {
405
- color: var(--utrecht-blockquote-attribution-color, inherit);
406
- font-size: var(--utrecht-blockquote-attribution-font-size, inherit);
407
- }
408
-
409
- .utrecht-blockquote__content, .utrecht-html blockquote {
410
- --utrecht-document-color: var(--utrecht-blockquote-content-color, inherit);
411
- --utrecht-paragraph-font-size: var(--utrecht-blockquote-content-font-size, inherit);
412
- color: var(--utrecht-blockquote-content-color, inherit);
413
- font-size: var(--utrecht-blockquote-content-font-size, inherit);
414
- }
415
-
416
- .utrecht-blockquote--distanced, .utrecht-html blockquote {
417
- margin-block-start: var(--utrecht-blockquote-margin-block-start);
418
- margin-block-end: var(--utrecht-blockquote-margin-block-end);
419
- }
420
-
421
186
  /**
422
187
  * @license EUPL-1.2
423
188
  * Copyright (c) 2021 Robbert Broersma
424
189
  */
425
190
  /**
426
191
  * @license EUPL-1.2
427
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
428
192
  * Copyright (c) 2021 Gemeente Utrecht
193
+ * Copyright (c) 2021 Robbert Broersma
194
+ * Copyright (c) 2021 The Knights Who Say NIH! B.V.
429
195
  */
430
- .utrecht-button, .utrecht-html button {
431
- color: var(--utrecht-button-primary-action-color);
432
- font-size: var(--utrecht-button-font-size, var(--utrecht-document-font-family));
433
- font-family: var(--utrecht-button-font-family, var(--utrecht-document-font-family));
434
- font-weight: var(--utrecht-button-font-weight);
435
- background-color: var(--utrecht-button-primary-action-background-color);
436
- border-radius: var(--utrecht-button-border-radius);
437
- border-width: var(--utrecht-button-border-width);
438
- letter-spacing: var(--utrecht-button-letter-spacing);
439
- padding-inline-start: var(--utrecht-button-padding-inline-start);
440
- padding-inline-end: var(--utrecht-button-padding-inline-end);
441
- padding-block-start: var(--utrecht-button-padding-block-start);
442
- padding-block-end: var(--utrecht-button-padding-block-end);
443
- text-transform: var(--utrecht-button-text-transform);
444
- }
445
-
446
- .utrecht-button--distanced, .utrecht-html button {
447
- margin-inline-start: var(--utrecht-button-margin-inline-start);
448
- margin-inline-end: var(--utrecht-button-margin-inline-end);
449
- margin-block-start: var(--utrecht-button-margin-block-start);
450
- margin-block-end: var(--utrecht-button-margin-block-end);
451
- }
452
-
453
- .utrecht-button:disabled, .utrecht-html button:disabled,
454
- .utrecht-button--disabled {
455
- color: var(--utrecht-button-disabled-color);
456
- background-color: var(--utrecht-button-disabled-background-color);
457
- }
458
-
459
- .utrecht-button--focus, .utrecht-html button:focus,
460
- .utrecht-button:not(.utrecht-button--disabled):focus {
461
- outline-width: var(--utrecht-focus-outline-width, 0);
462
- outline-style: var(--utrecht-focus-outline-style, solid);
463
- outline-color: var(--utrecht-focus-outline-color, transparent);
464
- color: var(--utrecht-focus-color, inherit);
465
- box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
466
- outline-offset: 0;
467
- background-color: var(--utrecht-focus-background-color);
468
- }
469
-
470
- .utrecht-button--hover:not(:disabled), .utrecht-html button:not(:disabled):hover,
471
- .utrecht-button:hover:not(:disabled):not(.utrecht-button--disabled) {
472
- color: var(--utrecht-button-primary-action-color);
473
- background-color: var(--utrecht-button-primary-action-hover-background-color);
474
- transform: scale(var(--utrecht-button-focus-transform-scale, 1));
475
- }
476
-
477
196
  /**
478
197
  * @license EUPL-1.2
479
- * Copyright (c) 2021 Robbert Broersma
198
+ * Copyright (c) 2021-2022 Frameless B.V.
480
199
  */
481
200
  /**
482
201
  * @license EUPL-1.2
483
202
  * Copyright (c) 2021 Robbert Broersma
484
203
  */
485
- .utrecht-checkbox, .utrecht-html input[type=checkbox] {
486
- /* reset native margin for input[type="checkbox"] */
487
- margin-block-start: 0;
488
- margin-block-end: 0;
489
- margin-inline-start: 0;
490
- margin-inline-end: 0;
491
- }
492
-
493
204
  /**
494
205
  * @license EUPL-1.2
206
+ * Copyright (c) 2021 Gemeente Utrecht
495
207
  * Copyright (c) 2021 Robbert Broersma
208
+ * Copyright (c) 2021 The Knights Who Say NIH! B.V.
496
209
  */
497
210
  /**
498
211
  * @license EUPL-1.2
499
- * Copyright (c) 2021 Robbert Broersma
212
+ * Copyright (c) 2021-2022 Frameless B.V.
500
213
  */
501
- .utrecht-emphasis--stressed, .utrecht-html em {
502
- font-style: var(--utrecht-emphasis-stressed-font-style, italic);
503
- }
504
-
505
- .utrecht-emphasis--strong, .utrecht-html strong {
506
- font-weight: var(--utrecht-emphasis-strong-font-weight, bold);
507
- }
508
-
509
214
  /**
510
215
  * @license EUPL-1.2
511
216
  * Copyright (c) 2021 Robbert Broersma
512
217
  */
513
218
  /**
514
219
  * @license EUPL-1.2
220
+ * Copyright (c) 2021 Gemeente Utrecht
515
221
  * Copyright (c) 2021 Robbert Broersma
222
+ * Copyright (c) 2021 The Knights Who Say NIH! B.V.
516
223
  */
517
- .utrecht-form-fieldset--distanced, .utrecht-html fieldset {
518
- margin-block-start: var(--utrecht-form-fieldset-margin-block-start, 0);
519
- margin-block-end: var(--utrecht-form-fieldset-margin-block-end, 0);
520
- }
521
-
522
- .utrecht-form-fieldset__legend, .utrecht-html legend {
523
- font-family: var(--utrecht-form-fieldset-legend-font-family, var(--utrecht-document-font-family));
524
- font-size: var(--utrecht-form-fieldset-legend-font-size);
525
- font-weight: var(--utrecht-form-fieldset-legend-font-weight);
526
- line-height: var(--utrecht-form-fieldset-legend-line-height);
527
- color: var(--utrecht-form-fieldset-legend-color, var(--utrecht-document-color, inherit));
528
- }
529
-
530
- .utrecht-form-fieldset__legend--distanced, .utrecht-html legend {
531
- margin-block-start: var(--utrecht-form-fieldset-legend-margin-block-start);
532
- margin-block-end: var(--utrecht-form-fieldset-legend-margin-block-end);
533
- }
534
-
535
- .utrecht-html fieldset {
536
- border: 0;
537
- margin-inline-start: 0;
538
- margin-inline-end: 0;
539
- min-width: 0;
540
- padding-block-end: 0;
541
- padding-block-start: 0.01em;
542
- padding-inline-end: 0;
543
- padding-inline-start: 0;
544
- }
545
-
546
- .utrecht-html legend {
547
- padding-inline-end: 0;
548
- padding-inline-start: 0;
549
- }
550
-
551
224
  /**
552
225
  * @license EUPL-1.2
553
- * Copyright (c) 2021 Robbert Broersma
226
+ * Copyright (c) 2021-2022 Frameless B.V.
554
227
  */
555
228
  /**
556
229
  * @license EUPL-1.2
557
230
  * Copyright (c) 2021 Robbert Broersma
558
231
  */
559
- .utrecht-form-label, .utrecht-html label {
560
- font-weight: var(--utrecht-form-label-font-weight);
561
- font-size: var(--utrecht-form-label-font-size);
562
- }
563
-
564
- .utrecht-form-label--checkbox, .utrecht-html input[type=checkbox] ~ label {
565
- font-weight: var(--utrecht-form-label-checkbox-font-weight, var(--utrecht-form-label-font-weight));
566
- }
567
-
568
- .utrecht-form-label--radio, .utrecht-html input[type=radio] ~ label {
569
- font-weight: var(--utrecht-form-label-radio-font-weight, var(--utrecht-form-label-font-weight));
570
- }
571
-
572
232
  /**
573
233
  * @license EUPL-1.2
574
- * Copyright (c) 2021 Robbert Broersma
234
+ * Copyright (c) 2022 Gemeente Utrecht
235
+ * Copyright (c) 2022 Robbert Broersma
236
+ * Copyright (c) 2022 The Knights Who Say NIH! B.V.
575
237
  */
576
238
  /**
577
239
  * @license EUPL-1.2
578
- * Copyright (c) 2021 Gemeente Utrecht
579
240
  * Copyright (c) 2021 Robbert Broersma
580
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
581
241
  */
582
- .utrecht-heading-1, .utrecht-html h1 {
583
- font-family: var(--utrecht-heading-1-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
584
- font-size: var(--utrecht-heading-1-font-size);
585
- font-weight: var(--utrecht-heading-1-font-weight, var(--utrecht-heading-font-weight, bold));
586
- letter-spacing: var(--utrecht-heading-1-letter-spacing);
587
- line-height: var(--utrecht-heading-1-line-height);
588
- text-transform: var(--utrecht-heading-1-text-transform, inherit);
589
- color: var(--utrecht-heading-1-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
590
- }
591
-
592
- .utrecht-heading-1--distanced, .utrecht-html h1 {
593
- margin-block-start: var(--utrecht-heading-1-margin-block-start);
594
- margin-block-end: var(--utrecht-heading-1-margin-block-end);
595
- }
596
-
597
242
  /**
598
243
  * @license EUPL-1.2
599
- * Copyright (c) 2021 Robbert Broersma
244
+ * Copyright (c) 2021 The Knights Who Say NIH! B.V.
245
+ * Copyright (c) 2021 Gemeente Utrecht
600
246
  */
247
+ /* stylelint-disable scss/no-global-function-names */
601
248
  /**
602
249
  * @license EUPL-1.2
603
250
  * Copyright (c) 2021 Gemeente Utrecht
604
251
  * Copyright (c) 2021 Robbert Broersma
605
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
606
252
  */
607
- .utrecht-heading-2, .utrecht-html h2 {
608
- font-family: var(--utrecht-heading-2-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
609
- font-size: var(--utrecht-heading-2-font-size);
610
- font-weight: var(--utrecht-heading-2-font-weight, var(--utrecht-heading-font-weight, bold));
611
- letter-spacing: var(--utrecht-heading-2-letter-spacing);
612
- line-height: var(--utrecht-heading-2-line-height);
613
- text-transform: var(--utrecht-heading-2-text-transform, inherit);
614
- color: var(--utrecht-heading-2-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
615
- }
253
+ /* stylelint-disable-next-line block-no-empty */
254
+ /*
616
255
 
617
- .utrecht-heading-2--distanced, .utrecht-html h2 {
618
- margin-block-start: var(--utrecht-heading-2-margin-block-start);
619
- margin-block-end: var(--utrecht-heading-2-margin-block-end);
620
- }
256
+ # CSS implementation
257
+
258
+ ## `text-decoration-skip`
259
+
260
+ `text-decoration-skip` can be helpful to avoid making some texts unreadable.
261
+ For example by obscuring Arabic diacritics.
262
+
263
+ However, the combination of a greater thickness and skipping this thick underline
264
+ leads to a very unappealing rendering of the underline. To avoid this,
265
+ `text-decoration-skip` is disabled for interactive states.
266
+
267
+ For design token configurations that have identical thickness for normal and interactive
268
+ states, this will lead to the (undesirable) effect that the focus/hover effect is switching
269
+ from an interrupted to an uninterrupted underline (for some texts).
270
+
271
+ Apart from making `skip-ink` configurable for normal/focus/hover, there is no good solution yet.
272
+
273
+ ---
274
+
275
+ Disabling `text-decoration-skip` for interactive states obscures some texts, and we assume for now
276
+ that moving the pointer away from a link or having focus elsewhere first is simple enough to
277
+ not make this too inconvenient.
278
+
279
+ ---
280
+
281
+ Some folks implement the underline of links using `border-bottom` or even using a finely crafted
282
+ `linear-gradient()` with a solid color at the bottom and transparent behind the text. These approaches
283
+ would unfortunately not be able to provide the improved readability of `text-decoration-skip`.
284
+
285
+ ## `text-decoration-thickness`
286
+
287
+ Varying `text-decoration-thickness` can be used to distinguish interactive states.
288
+
289
+ ---
290
+
291
+ `text-decoration-thickness` appears to have rendering differences between Chrome and Safari.
292
+ In Safari the line becomes thicker with extra pixels added to the bottom, while in Chrome
293
+ the underline offset also seems to increase along with the thickness, which effectively means
294
+ the underline is closer to the next line than in Safari.
295
+
296
+ ---
621
297
 
298
+ It might be nice to use font-relative units for `text-decoration-thickness`, and that is why we
299
+ use the `max()` function to ensure the underline remains visible for every font size.
300
+
301
+ ## `transition`
302
+
303
+ `text-decoration-thickness` could be a candidate for animating between interactive states,
304
+ however browsers don't seem to have implemented great looking supixel tweening yet.
305
+
306
+ `text-decoration-skip` also makes the transition more challenging to implement.
307
+
308
+ */
309
+ /* stylelint-disable-next-line block-no-empty */
310
+ /* stylelint-disable-next-line block-no-empty */
311
+ /* stylelint-disable-next-line block-no-empty */
312
+ /* stylelint-disable-next-line block-no-empty */
313
+ /**
314
+ * Link for elements such as `<img>` or `<article>`, that are not inline elements or plain text.
315
+ *
316
+ * Changing `display: inline` to `inline-block` ensures the focus outline is rendered around the entire box.
317
+ */
622
318
  /**
623
319
  * @license EUPL-1.2
624
320
  * Copyright (c) 2021 Robbert Broersma
@@ -627,48 +323,28 @@
627
323
  * @license EUPL-1.2
628
324
  * Copyright (c) 2021 Gemeente Utrecht
629
325
  * Copyright (c) 2021 Robbert Broersma
630
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
631
326
  */
632
- .utrecht-heading-3, .utrecht-html h3 {
633
- font-family: var(--utrecht-heading-3-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
634
- font-size: var(--utrecht-heading-3-font-size);
635
- font-weight: var(--utrecht-heading-3-font-weight, var(--utrecht-heading-font-weight, bold));
636
- letter-spacing: var(--utrecht-heading-3-letter-spacing);
637
- line-height: var(--utrecht-heading-3-line-height);
638
- text-transform: var(--utrecht-heading-3-text-transform, inherit);
639
- color: var(--utrecht-heading-3-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
640
- }
641
-
642
- .utrecht-heading-3--distanced, .utrecht-html h3 {
643
- margin-block-start: var(--utrecht-heading-3-margin-block-start);
644
- margin-block-end: var(--utrecht-heading-3-margin-block-end);
645
- }
646
-
647
327
  /**
648
328
  * @license EUPL-1.2
649
329
  * Copyright (c) 2021 Robbert Broersma
650
330
  */
651
331
  /**
652
332
  * @license EUPL-1.2
333
+ * Copyright (c) 2021 Robbert Broersma
653
334
  * Copyright (c) 2021 Gemeente Utrecht
335
+ */
336
+ /**
337
+ * @license EUPL-1.2
654
338
  * Copyright (c) 2021 Robbert Broersma
339
+ */
340
+ /**
341
+ * @license EUPL-1.2
655
342
  * Copyright (c) 2021 The Knights Who Say NIH! B.V.
656
343
  */
657
- .utrecht-heading-4, .utrecht-html h4 {
658
- font-family: var(--utrecht-heading-4-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
659
- font-size: var(--utrecht-heading-4-font-size);
660
- font-weight: var(--utrecht-heading-4-font-weight, var(--utrecht-heading-font-weight, bold));
661
- letter-spacing: var(--utrecht-heading-4-letter-spacing);
662
- line-height: var(--utrecht-heading-4-line-height);
663
- text-transform: var(--utrecht-heading-4-text-transform, inherit);
664
- color: var(--utrecht-heading-4-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
665
- }
666
-
667
- .utrecht-heading-4--distanced, .utrecht-html h4 {
668
- margin-block-start: var(--utrecht-heading-4-margin-block-start);
669
- margin-block-end: var(--utrecht-heading-4-margin-block-end);
670
- }
671
-
344
+ /**
345
+ * @license EUPL-1.2
346
+ * Copyright (c) 2021 Gemeente Utrecht
347
+ */
672
348
  /**
673
349
  * @license EUPL-1.2
674
350
  * Copyright (c) 2021 Robbert Broersma
@@ -677,23 +353,13 @@
677
353
  * @license EUPL-1.2
678
354
  * Copyright (c) 2021 Gemeente Utrecht
679
355
  * Copyright (c) 2021 Robbert Broersma
680
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
681
356
  */
682
- .utrecht-heading-5, .utrecht-html h5 {
683
- font-family: var(--utrecht-heading-5-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
684
- font-size: var(--utrecht-heading-5-font-size);
685
- font-weight: var(--utrecht-heading-5-font-weight, var(--utrecht-heading-font-weight, bold));
686
- letter-spacing: var(--utrecht-heading-5-letter-spacing);
687
- line-height: var(--utrecht-heading-5-line-height);
688
- text-transform: var(--utrecht-heading-5-text-transform, inherit);
689
- color: var(--utrecht-heading-5-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
690
- }
691
-
692
- .utrecht-heading-5--distanced, .utrecht-html h5 {
693
- margin-block-start: var(--utrecht-heading-5-margin-block-start);
694
- margin-block-end: var(--utrecht-heading-5-margin-block-end);
695
- }
696
-
357
+ /* stylelint-disable-next-line block-no-empty */
358
+ /* stylelint-disable-next-line block-no-empty */
359
+ /**
360
+ * @license EUPL-1.2
361
+ * Copyright (c) 2021 Robbert Broersma
362
+ */
697
363
  /**
698
364
  * @license EUPL-1.2
699
365
  * Copyright (c) 2021 Robbert Broersma
@@ -702,75 +368,19 @@
702
368
  * @license EUPL-1.2
703
369
  * Copyright (c) 2021 Gemeente Utrecht
704
370
  * Copyright (c) 2021 Robbert Broersma
705
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
706
371
  */
707
- .utrecht-heading-6, .utrecht-html h6 {
708
- font-family: var(--utrecht-heading-6-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
709
- font-size: var(--utrecht-heading-6-font-size);
710
- font-weight: var(--utrecht-heading-6-font-weight, var(--utrecht-heading-font-weight, bold));
711
- letter-spacing: var(--utrecht-heading-6-letter-spacing);
712
- line-height: var(--utrecht-heading-6-line-height);
713
- text-transform: var(--utrecht-heading-6-text-transform, inherit);
714
- color: var(--utrecht-heading-6-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
715
- }
716
-
717
- .utrecht-heading-6--distanced, .utrecht-html h6 {
718
- margin-block-start: var(--utrecht-heading-6-margin-block-start);
719
- margin-block-end: var(--utrecht-heading-6-margin-block-end);
720
- }
721
-
372
+ /* stylelint-disable-next-line block-no-empty */
373
+ /* stylelint-disable-next-line block-no-empty */
722
374
  /**
723
375
  * @license EUPL-1.2
724
376
  * Copyright (c) 2021 Robbert Broersma
725
377
  */
726
378
  /**
727
379
  * @license EUPL-1.2
728
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
729
380
  * Copyright (c) 2021 Gemeente Utrecht
381
+ * Copyright (c) 2021 Robbert Broersma
382
+ * Copyright (c) 2021 The Knights Who Say NIH! B.V.
730
383
  */
731
- .utrecht-link, .utrecht-html a:link {
732
- text-decoration: var(--utrecht-link-text-decoration, underline);
733
- color: var(--utrecht-link-color, blue);
734
- }
735
-
736
- .utrecht-link:visited,
737
- .utrecht-link--visited,
738
- .utrecht-html a:visited {
739
- color: var(--utrecht-link-visited-color, var(--utrecht-link-color));
740
- }
741
-
742
- .utrecht-link:hover,
743
- .utrecht-link--hover,
744
- .utrecht-html a:hover {
745
- color: var(--utrecht-link-hover-color, var(--utrecht-link-color));
746
- text-decoration: var(--utrecht-link-hover-text-decoration, var(--utrecht-link-text-decoration, underline));
747
- }
748
-
749
- .utrecht-link:active,
750
- .utrecht-link--active,
751
- .utrecht-html a:active {
752
- color: var(--utrecht-link-active-color, var(--utrecht-link-color));
753
- }
754
-
755
- .utrecht-link:focus,
756
- .utrecht-link--focus,
757
- .utrecht-html a:focus {
758
- color: var(--utrecht-link-focus-color, var(--utrecht-link-color));
759
- text-decoration: var(--utrecht-link-focus-text-decoration, var(--utrecht-link-text-decoration, underline));
760
- outline-width: var(--utrecht-focus-outline-width, 0);
761
- outline-style: var(--utrecht-focus-outline-style, solid);
762
- outline-color: var(--utrecht-focus-outline-color, transparent);
763
- color: var(--utrecht-focus-color, inherit);
764
- box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
765
- outline-offset: 0;
766
- background-color: var(--utrecht-focus-background-color);
767
- }
768
-
769
- /* stylelint-disable-next-line block-no-empty */
770
- .utrecht-link--telephone, .utrecht-html a[href^="tel:" i] {
771
- white-space: nowrap;
772
- }
773
-
774
384
  /**
775
385
  * @license EUPL-1.2
776
386
  * Copyright (c) 2021 Robbert Broersma
@@ -778,66 +388,28 @@
778
388
  /**
779
389
  * @license EUPL-1.2
780
390
  * Copyright (c) 2021 Robbert Broersma
781
- * Copyright (c) 2021 Gemeente Utrecht
782
391
  */
783
- .utrecht-ordered-list, .utrecht-html ol {
784
- font-family: var(--utrecht-document-font-family, inherit);
785
- }
786
-
787
- .utrecht-ordered-list--distanced, .utrecht-html ol {
788
- margin-block-end: var(--utrecht-ordered-list-margin-block-end);
789
- margin-block-start: var(--utrecht-ordered-list-margin-block-start);
790
- }
791
-
792
- .utrecht-ordered-list__item, .utrecht-html ol > li {
793
- margin-block-end: var(--utrecht-ordered-list-item-margin-block-end);
794
- margin-block-start: var(--utrecht-ordered-list-item-margin-block-start);
795
- }
796
-
392
+ /* stylelint-disable-next-line block-no-empty */
393
+ /* stylelint-disable-next-line block-no-empty */
394
+ /* stylelint-disable selector-class-pattern */
797
395
  /**
798
396
  * @license EUPL-1.2
799
397
  * Copyright (c) 2021 Robbert Broersma
800
398
  */
801
399
  /**
802
400
  * @license EUPL-1.2
803
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
401
+ * Copyright (c) 2021 Robbert Broersma
804
402
  */
805
- .utrecht-paragraph, .utrecht-html p {
806
- color: var(--utrecht-document-color, inherit);
807
- font-family: var(--utrecht-paragraph-font-family, var(--utrecht-document-font-family, inherit));
808
- font-size: var(--utrecht-paragraph-font-size, var(--utrecht-document-font-size, inherit));
809
- font-weight: var(--utrecht-paragraph-font-weight, inherit);
810
- line-height: var(--utrecht-paragraph-line-height, var(--utrecht-document-line-height, inherit));
811
- }
812
-
813
- .utrecht-paragraph--lead, .utrecht-html p.lead {
814
- font-size: var(--utrecht-paragraph-lead-font-size, inherit);
815
- font-weight: var(--utrecht-paragraph-lead-font-weight, inherit);
816
- line-height: var(--utrecht-paragraph-lead-line-height, inherit);
817
- }
818
-
819
- .utrecht-paragraph--distanced, .utrecht-html * ~ p {
820
- margin-block-start: var(--utrecht-paragraph-margin-block-start);
821
- margin-block-end: var(--utrecht-paragraph-margin-block-end);
822
- }
823
-
824
- /* stylelint-disable selector-class-pattern */
825
403
  /**
826
404
  * @license EUPL-1.2
827
405
  * Copyright (c) 2021 Gemeente Utrecht
406
+ * Copyright (c) 2021 Robbert Broersma
828
407
  */
408
+ /* stylelint-disable-next-line block-no-empty */
829
409
  /**
830
410
  * @license EUPL-1.2
831
- * Copyright (c) 2021 Gemeente Utrecht
411
+ * Copyright (c) 2021 Robbert Broersma
832
412
  */
833
- .utrecht-radio-button, .utrecht-html input[type=radio] {
834
- /* reset native margin for input[type="radio"] */
835
- margin-block-start: 0;
836
- margin-block-end: 0;
837
- margin-inline-start: 0;
838
- margin-inline-end: 0;
839
- }
840
-
841
413
  /**
842
414
  * @license EUPL-1.2
843
415
  * Copyright (c) 2021 Robbert Broersma
@@ -846,16 +418,8 @@
846
418
  * @license EUPL-1.2
847
419
  * Copyright (c) 2021 Gemeente Utrecht
848
420
  * Copyright (c) 2021 Robbert Broersma
849
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
850
421
  */
851
- .utrecht-separator, .utrecht-html hr {
852
- border-style: solid;
853
- border-color: var(--utrecht-separator-color);
854
- border-width: 0 0 var(--utrecht-separator-width) 0;
855
- margin-block-start: var(--utrecht-separator-margin-block-start);
856
- margin-block-end: var(--utrecht-separator-margin-block-end);
857
- }
858
-
422
+ /* stylelint-disable-next-line block-no-empty */
859
423
  /**
860
424
  * @license EUPL-1.2
861
425
  * Copyright (c) 2021 Robbert Broersma
@@ -863,652 +427,1293 @@
863
427
  /**
864
428
  * @license EUPL-1.2
865
429
  * Copyright (c) 2021 Robbert Broersma
430
+ * Copyright (c) 2021 Gemeente Utrecht
866
431
  */
867
- .utrecht-table, .utrecht-html table {
868
- border-collapse: collapse;
869
- width: 100%;
870
- }
871
-
872
- .utrecht-table--distanced, .utrecht-html table {
873
- margin-block-end: var(--utrecht-table-margin-block-end);
874
- margin-block-start: var(--utrecht-table-margin-block-start);
875
- }
876
-
877
- .utrecht-table__caption, .utrecht-html caption {
878
- font-weight: var(--utrecht-table-caption-font-weight);
879
- font-family: var(--utrecht-table-caption-font-family);
880
- font-size: var(--utrecht-table-caption-font-size);
881
- color: var(--utrecht-table-caption-color);
882
- line-height: var(--utrecht-table-caption-line-height);
883
- margin-block-end: var(--utrecht-table-caption-margin-block-end);
884
- text-align: var(--utrecht-table-caption-text-align, center);
885
- }
886
-
887
- .utrecht-table__header, .utrecht-html thead {
888
- font-weight: var(--utrecht-table-header-font-weight);
889
- color: var(--utrecht-table-header-color);
890
- text-transform: var(--utrecht-table-header-text-transform);
891
- vertical-align: bottom;
892
- }
893
-
894
- .utrecht-table__cell--last-header-row, .utrecht-html thead tr:last-child th {
895
- border-block-end-style: solid;
896
- border-block-end-color: var(--utrecht-table-header-border-block-end-color, transparent);
897
- border-block-end-width: var(--utrecht-table-header-border-block-end-width, 0);
898
- }
899
-
900
- .utrecht-table__body, .utrecht-html tbody {
901
- vertical-align: baseline;
432
+ /* Collection of all semantic HTML styles in the component library */
433
+ .utrecht-html {
434
+ /* override the `:focus` selector above */
435
+ /* stylelint-disable-next-line no-descending-specificity */
436
+ /* stylelint-disable selector-class-pattern */
437
+ --utrecht-space-around: 1;
902
438
  }
903
-
904
- .utrecht-table__heading, .utrecht-html th {
905
- font-weight: var(--utrecht-table-heading-font-weight);
906
- color: var(--utrecht-table-heading-color);
907
- text-transform: var(--utrecht-table-heading-text-transform);
439
+ .utrecht-html article {
440
+ max-inline-size: var(--utrecht-article-max-inline-size);
908
441
  }
909
-
910
- .utrecht-table__cell, .utrecht-html th,
911
- .utrecht-html td {
912
- border-block-end-style: solid;
913
- border-block-end-color: var(--utrecht-table-row-border-block-end-color, transparent);
914
- border-block-end-width: var(--utrecht-table-row-border-block-end-width, 0);
915
- line-height: var(--utrecht-table-cell-line-height, inherit);
916
- padding-inline-start: var(--utrecht-table-cell-padding-inline-start, 0);
917
- padding-inline-end: var(--utrecht-table-cell-padding-inline-end, 0);
918
- padding-block-start: var(--utrecht-table-cell-padding-block-start, 0);
919
- padding-block-end: var(--utrecht-table-cell-padding-block-end, 0);
920
- text-align: start;
921
- }
922
-
923
- .utrecht-table__cell--first, .utrecht-html td:first-child,
924
- .utrecht-html th:first-child {
925
- padding-inline-start: var(--utrecht-table-row-padding-inline-start, var(--utrecht-table-cell-padding-inline-start, 0));
442
+ .utrecht-html blockquote {
443
+ background-color: var(--utrecht-blockquote-background-color);
444
+ color: var(--utrecht-blockquote-color);
445
+ font-family: var(--utrecht-document-font-family);
446
+ font-size: var(--utrecht-blockquote-font-size);
447
+ font-style: var(--utrecht-blockquote-font-style);
448
+ margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-blockquote-margin-block-end, 0));
449
+ margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-blockquote-margin-block-start, 0));
450
+ margin-inline-end: var(--utrecht-blockquote-margin-inline-end);
451
+ margin-inline-start: var(--utrecht-blockquote-margin-inline-start);
452
+ padding-block-end: var(--utrecht-blockquote-padding-block-end);
453
+ padding-block-start: var(--utrecht-blockquote-padding-block-start);
454
+ padding-inline-end: var(--utrecht-blockquote-padding-inline-end);
455
+ padding-inline-start: var(--utrecht-blockquote-padding-inline-start);
456
+ --utrecht-document-color: var(--utrecht-blockquote-content-color, inherit);
457
+ --utrecht-paragraph-font-size: var(--utrecht-blockquote-content-font-size, inherit);
458
+ color: var(--utrecht-blockquote-content-color, inherit);
459
+ font-size: var(--utrecht-blockquote-content-font-size, inherit);
460
+ --utrecht-space-around: 1;
461
+ }
462
+ .utrecht-html input[type=button i],
463
+ .utrecht-html input[type=reset i],
464
+ .utrecht-html input[type=submit i],
465
+ .utrecht-html button {
466
+ /*
467
+ `--_utrecht-button-hint` is the internal prefix for the applied optional hint, it is not an API.
468
+ The hint color takes priority over the appearance color.
469
+
470
+ `--_utrecht-button-appearance` is the internal prefix for the appearance
471
+ (primary-action, secondary-action or subtle), it is not an API.
472
+ */
473
+ --_utrecht-button-background-color: var(
474
+ --_utrecht-button-hint-background-color,
475
+ var(--_utrecht-button-appearance-background-color, var(--utrecht-button-background-color))
476
+ );
477
+ --_utrecht-button-color: var(
478
+ --_utrecht-button-hint-color,
479
+ var(--_utrecht-button-appearance-color, var(--utrecht-button-color))
480
+ );
481
+ --_utrecht-button-border-color: var(
482
+ --_utrecht-button-hint-border-color,
483
+ var(--_utrecht-button-appearance-border-color, var(--utrecht-button-border-color, transparent))
484
+ );
485
+ --_utrecht-button-border-bottom-color: var(
486
+ --_utrecht-button-hint-border-bottom-color,
487
+ var(
488
+ --_utrecht-button-hint-border-color,
489
+ var(
490
+ --_utrecht-button-appearance-border-bottom-color,
491
+ var(
492
+ --_utrecht-button-appearance-border-color,
493
+ var(--utrecht-button-border-bottom-color, var(--utrecht-button-border-color, transparent))
494
+ )
495
+ )
496
+ )
497
+ );
498
+ --_utrecht-button-disabled-background-color: var(
499
+ --_utrecht-button-hint-disabled-background-color,
500
+ var(
501
+ --_utrecht-button-appearance-disabled-background-color,
502
+ var(--utrecht-button-disabled-background-color, var(--utrecht-button-background-color))
503
+ )
504
+ );
505
+ --_utrecht-button-disabled-border-color: var(
506
+ --_utrecht-button-hint-disabled-border-color,
507
+ var(
508
+ --_utrecht-button-appearance-disabled-border-color,
509
+ var(--utrecht-button-disabled-border-color, var(--utrecht-button-border-color))
510
+ )
511
+ );
512
+ --_utrecht-button-disabled-color: var(
513
+ --_utrecht-button-hint-disabled-color,
514
+ var(--_utrecht-button-appearance-disabled-color, var(--utrecht-button-disabled-color, var(--utrecht-button-color)))
515
+ );
516
+ --_utrecht-button-focus-background-color: var(
517
+ --_utrecht-button-hint-focus-background-color,
518
+ var(
519
+ --_utrecht-button-hint-background-color,
520
+ var(
521
+ --_utrecht-button-appearance-focus-background-color,
522
+ var(
523
+ --_utrecht-button-appearance-background-color,
524
+ var(--utrecht-button-focus-background-color, var(--utrecht-button-background-color))
525
+ )
526
+ )
527
+ )
528
+ );
529
+ --_utrecht-button-focus-border-color: var(
530
+ --_utrecht-button-hint-focus-border-color,
531
+ var(
532
+ --_utrecht-button-hint-border-color,
533
+ var(
534
+ --_utrecht-button-appearance-focus-border-color,
535
+ var(
536
+ --_utrecht-button-appearance-border-color,
537
+ var(--utrecht-button-focus-border-color, var(--utrecht-button-border-color))
538
+ )
539
+ )
540
+ )
541
+ );
542
+ --_utrecht-button-focus-color: var(
543
+ --_utrecht-button-hint-focus-color,
544
+ var(
545
+ --_utrecht-button-hint-color,
546
+ var(
547
+ --_utrecht-button-appearance-focus-color,
548
+ var(--_utrecht-button-appearance-color, var(--utrecht-button-focus-color, var(--utrecht-button-color)))
549
+ )
550
+ )
551
+ );
552
+ --_utrecht-button-hover-background-color: var(
553
+ --_utrecht-button-hint-hover-background-color,
554
+ var(
555
+ --_utrecht-button-hint-background-color,
556
+ var(
557
+ --_utrecht-button-appearance-hover-background-color,
558
+ var(
559
+ --_utrecht-button-appearance-background-color,
560
+ var(--utrecht-button-hover-background-color, var(--utrecht-button-background-color))
561
+ )
562
+ )
563
+ )
564
+ );
565
+ --_utrecht-button-hover-border-color: var(
566
+ --_utrecht-button-hint-hover-border-color,
567
+ var(
568
+ --_utrecht-button-hint-border-color,
569
+ var(
570
+ --_utrecht-button-appearance-hover-border-color,
571
+ var(
572
+ --_utrecht-button-appearance-border-color,
573
+ var(--utrecht-button-hover-border-color, var(--utrecht-button-border-color))
574
+ )
575
+ )
576
+ )
577
+ );
578
+ --_utrecht-button-hover-color: var(
579
+ --_utrecht-button-hint-hover-color,
580
+ var(
581
+ --_utrecht-button-hint-color,
582
+ var(
583
+ --_utrecht-button-appearance-hover-color,
584
+ var(--_utrecht-button-appearance-color, var(--utrecht-button-hover-color, var(--utrecht-button-color)))
585
+ )
586
+ )
587
+ );
588
+ --_utrecht-button-active-background-color: var(
589
+ --_utrecht-button-hint-active-background-color,
590
+ var(
591
+ --_utrecht-button-hint-background-color,
592
+ var(
593
+ --_utrecht-button-appearance-active-background-color,
594
+ var(
595
+ --_utrecht-button-appearance-background-color,
596
+ var(--utrecht-button-active-background-color, var(--utrecht-button-background-color))
597
+ )
598
+ )
599
+ )
600
+ );
601
+ --_utrecht-button-active-border-color: var(
602
+ --_utrecht-button-hint-active-border-color,
603
+ var(
604
+ --_utrecht-button-hint-border-color,
605
+ var(
606
+ --_utrecht-button-appearance-active-border-color,
607
+ var(
608
+ --_utrecht-button-appearance-border-color,
609
+ var(--utrecht-button-active-border-color, var(--utrecht-button-border-color))
610
+ )
611
+ )
612
+ )
613
+ );
614
+ --_utrecht-button-active-color: var(
615
+ --_utrecht-button-hint-active-color,
616
+ var(
617
+ --_utrecht-button-hint-color,
618
+ var(
619
+ --_utrecht-button-appearance-active-color,
620
+ var(--_utrecht-button-appearance-color, var(--utrecht-button-active-color, var(--utrecht-button-color)))
621
+ )
622
+ )
623
+ );
624
+ --_utrecht-button-border-width: var(--_utrecht-button-appearance-border-width, var(--utrecht-button-border-width, 0));
625
+ --_utrecht-button-border-bottom-width: var(
626
+ --utrecht-button-border-bottom-width,
627
+ var(--_utrecht-button-border-width, 0)
628
+ );
629
+ --utrecht-icon-size: var(--utrecht-button-icon-size, 1em);
630
+ align-items: center;
631
+ background-color: var(--_utrecht-button-background-color);
632
+ border-color: var(--_utrecht-button-border-color);
633
+ border-bottom-color: var(--_utrecht-button-border-bottom-color);
634
+ border-radius: var(--utrecht-button-border-radius);
635
+ border-style: solid;
636
+ border-width: var(--_utrecht-button-border-width);
637
+ border-bottom-width: var(--_utrecht-button-border-bottom-width);
638
+ box-sizing: border-box;
639
+ color: var(--_utrecht-button-color);
640
+ cursor: var(--utrecht-action-activate-cursor);
641
+ display: inline-flex;
642
+ font-family: var(--utrecht-button-font-family, var(--utrecht-document-font-family));
643
+ font-size: var(--utrecht-button-font-size, var(--utrecht-document-font-family, inherit));
644
+ font-weight: var(--_utrecht-button-appearance-font-weight, var(--utrecht-button-font-weight));
645
+ gap: var(--utrecht-button-icon-gap);
646
+ inline-size: var(--utrecht-button-inline-size, auto);
647
+ justify-content: center;
648
+ letter-spacing: var(--utrecht-button-letter-spacing);
649
+ line-height: var(--utrecht-button-line-height);
650
+ min-block-size: var(--utrecht-button-min-block-size, 44px);
651
+ min-inline-size: var(--utrecht-button-min-inline-size, 44px);
652
+ padding-block-end: var(--utrecht-button-padding-block-end);
653
+ padding-block-start: var(--utrecht-button-padding-block-start);
654
+ padding-inline-end: var(--utrecht-button-padding-inline-end);
655
+ padding-inline-start: var(--utrecht-button-padding-inline-start);
656
+ text-transform: var(--utrecht-button-text-transform);
657
+ -webkit-user-select: none;
658
+ user-select: none;
659
+ margin-block-end: var(--utrecht-button-margin-block-end);
660
+ margin-block-start: var(--utrecht-button-margin-block-start);
661
+ margin-inline-end: var(--utrecht-button-margin-inline-end);
662
+ margin-inline-start: var(--utrecht-button-margin-inline-start);
926
663
  }
927
-
928
- .utrecht-table__cell--last, .utrecht-html td:last-child,
929
- .utrecht-html th:last-child {
930
- padding-inline-end: var(--utrecht-table-row-padding-inline-end, var(--utrecht-table-cell-padding-inline-end, 0));
664
+ .utrecht-html button[type=submit i],
665
+ .utrecht-html input[type=submit i] {
666
+ cursor: var(--utrecht-action-submit-cursor);
667
+ }
668
+ .utrecht-html button:disabled,
669
+ .utrecht-html button[aria-disabled=true] {
670
+ background-color: var(--_utrecht-button-disabled-background-color);
671
+ border-color: var(--_utrecht-button-disabled-border-color);
672
+ color: var(--_utrecht-button-disabled-color);
673
+ cursor: var(--utrecht-action-disabled-cursor);
674
+ }
675
+ .utrecht-html button[aria-busy=true],
676
+ .utrecht-html button[aria-disabled=true][aria-busy=true],
677
+ .utrecht-html button:disabled[aria-busy=true] {
678
+ cursor: var(--utrecht-action-busy-cursor);
679
+ }
680
+ .utrecht-html button:active:not([aria-disabled=true], :disabled) {
681
+ background-color: var(--_utrecht-button-active-background-color);
682
+ border-color: var(--_utrecht-button-active-border-color);
683
+ color: var(--_utrecht-button-active-color);
684
+ }
685
+ .utrecht-html button:hover:not([aria-disabled=true], :disabled) {
686
+ background-color: var(--_utrecht-button-hover-background-color);
687
+ border-color: var(--_utrecht-button-hover-border-color);
688
+ color: var(--_utrecht-button-hover-color);
689
+ scale: var(--utrecht-button-hover-scale, 1);
690
+ }
691
+ .utrecht-html button:focus:not([aria-disabled=true], :disabled) {
692
+ background-color: var(--_utrecht-button-focus-background-color);
693
+ border-color: var(--_utrecht-button-focus-border-color);
694
+ color: var(--_utrecht-button-focus-color);
695
+ scale: var(--utrecht-button-focus-scale, 1);
696
+ }
697
+ .utrecht-html button:focus-visible {
698
+ /* the pseudo-class for `:focus-visible` is implemented via the mixin */
699
+ /* - The browser default focus ring should apply when these CSS custom properties are not set.
700
+ * - Make the `box-shadow` value available, so components that have their own `box-shadow`
701
+ * can combine it with the focus ring box shadow.
702
+ */
703
+ --_utrecht-focus-ring-box-shadow: 0 0 0 var(--utrecht-focus-outline-width, 0)
704
+ var(--utrecht-focus-inverse-outline-color, transparent);
705
+ box-shadow: var(--_utrecht-focus-ring-box-shadow);
706
+ outline-color: var(--utrecht-focus-outline-color, revert);
707
+ outline-offset: var(--utrecht-focus-outline-offset, revert);
708
+ outline-style: var(--utrecht-focus-outline-style, revert);
709
+ outline-width: var(--utrecht-focus-outline-width, revert);
710
+ }
711
+ .utrecht-html input[type=checkbox i] {
712
+ margin-block-end: 0; /* reset native margin for input[type="checkbox"] */
713
+ margin-block-start: 0;
714
+ margin-inline-end: 0;
715
+ margin-inline-start: 0;
716
+ cursor: var(--utrecht-action-activate-cursor, revert);
717
+ -webkit-user-select: none;
718
+ user-select: none;
719
+ }
720
+ .utrecht-html input[type=checkbox i]:disabled {
721
+ cursor: var(--utrecht-action-disabled-cursor, revert);
722
+ }
723
+ .utrecht-html input[type=checkbox i]:focus {
724
+ /* - The browser default focus ring should apply when these CSS custom properties are not set.
725
+ * - Make the `box-shadow` value available, so components that have their own `box-shadow`
726
+ * can combine it with the focus ring box shadow.
727
+ */
728
+ --_utrecht-focus-ring-box-shadow: 0 0 0 var(--utrecht-focus-outline-width, 0)
729
+ var(--utrecht-focus-inverse-outline-color, transparent);
730
+ box-shadow: var(--_utrecht-focus-ring-box-shadow);
731
+ outline-color: var(--utrecht-focus-outline-color, revert);
732
+ outline-offset: var(--utrecht-focus-outline-offset, revert);
733
+ outline-style: var(--utrecht-focus-outline-style, revert);
734
+ outline-width: var(--utrecht-focus-outline-width, revert);
735
+ }
736
+ .utrecht-html input[type=checkbox i]:focus:not(:focus-visible) {
737
+ /* undo focus ring */
738
+ box-shadow: none;
739
+ outline-style: revert;
740
+ }
741
+ .utrecht-html body {
742
+ /* reset `font-smoothing: antialiasing`, prefer automatic (`subpixel-antialiasing`) behavior for high-dpi screens */
743
+ color: var(--utrecht-document-color, inherit);
744
+ font-family: var(--utrecht-document-font-family, inherit);
745
+ font-size: var(--utrecht-document-font-size, inherit);
746
+ font-weight: var(--utrecht-document-font-weight, inherit);
747
+ line-height: var(--utrecht-document-line-height, inherit);
748
+ text-rendering: optimizeLegibility;
749
+ -moz-text-size-adjust: none;
750
+ -webkit-text-size-adjust: none;
751
+ text-size-adjust: none;
752
+ background-color: var(--utrecht-document-background-color, inherit);
753
+ }
754
+ .utrecht-html body :lang(ar) {
755
+ /* `letter-spacing` design tokens break Arabic text rendering, avoid that */
756
+ letter-spacing: 0 !important;
757
+ }
758
+ .utrecht-html code {
759
+ /* Use `monospace` as fallback both when the custom property isn't set and when the font is not available */
760
+ background-color: var(--utrecht-code-background-color);
761
+ color: var(--utrecht-code-color);
762
+ font-family: var(--utrecht-code-font-family, monospace), monospace;
763
+ font-size: var(--utrecht-code-font-size);
764
+ font-variant-ligatures: none;
765
+ line-height: var(--utrecht-code-line-height);
766
+ }
767
+ .utrecht-html em {
768
+ font-style: var(--utrecht-emphasis-stressed-font-style, italic);
931
769
  }
932
-
933
- .utrecht-table__cell--numeric, .utrecht-html th.numeric,
934
- .utrecht-html td.numeric {
935
- /* stylelint-disable-next-line declaration-property-value-disallowed-list */
936
- text-align: right;
770
+ .utrecht-html strong {
771
+ font-weight: var(--utrecht-emphasis-strong-font-weight, bold);
937
772
  }
938
-
939
- .utrecht-table__row--alternate-odd, .utrecht-html table.alternate-row-color > tbody > tr:nth-child(odd) > td, .utrecht-html table.alternate-row-color > tbody > tr:nth-child(odd) > th, .utrecht-html table.alternate-row-color > tr:nth-child(odd) > td, .utrecht-html table.alternate-row-color > tr:nth-child(odd) > th {
940
- background-color: var(--utrecht-table-row-alternate-odd-background-color);
941
- color: var(--utrecht-table-row-alternate-odd-color);
773
+ .utrecht-html fieldset {
774
+ margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-form-fieldset-margin-block-end, 0));
775
+ margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-form-fieldset-margin-block-start, 0));
776
+ all: revert;
777
+ border: 0;
778
+ margin-inline-end: 0;
779
+ margin-inline-start: 0;
780
+ min-width: 0;
781
+ padding-block-end: 0;
782
+ padding-block-start: 0.01em;
783
+ padding-inline-end: 0;
784
+ padding-inline-start: 0;
785
+ --utrecht-space-around: 1;
942
786
  }
943
-
944
- .utrecht-table__row--alternate-even, .utrecht-html table.alternate-row-color > tbody > tr:nth-child(even) > td, .utrecht-html table.alternate-row-color > tbody > tr:nth-child(even) > th, .utrecht-html table.alternate-row-color > tr:nth-child(even) > td, .utrecht-html table.alternate-row-color > tr:nth-child(even) > th {
945
- background-color: var(--utrecht-table-row-alternate-even-background-color);
946
- color: var(--utrecht-table-row-alternate-even-color);
787
+ .utrecht-html figure {
788
+ margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-figure-margin-block-end, 0));
789
+ margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-figure-margin-block-start, 0));
947
790
  }
948
-
949
- /* stylelint-disable selector-class-pattern */
950
- /**
951
- * @license EUPL-1.2
952
- * Copyright (c) 2021 Robbert Broersma
953
- */
954
- /**
955
- * @license EUPL-1.2
956
- * Copyright (c) 2021 Robbert Broersma
957
- */
958
- .utrecht-textarea, .utrecht-html textarea {
959
- border-width: var(--utrecht-textarea-border-width);
960
- border-bottom-width: var(--utrecht-textarea-border-bottom-width, var(--utrecht-textarea-border-width));
961
- border-color: var(--utrecht-textarea-border-color);
962
- border-radius: var(--utrecht-textarea-border-radius, 0);
963
- border-style: solid;
964
- color: var(--utrecht-textarea-color);
965
- font-family: var(--utrecht-textarea-font-family);
966
- font-size: var(--utrecht-textarea-font-size, 1em);
967
- max-width: var(--utrecht-textarea-max-width);
968
- padding-block-end: var(--utrecht-textarea-padding-block-end);
969
- padding-block-start: var(--utrecht-textarea-padding-block-start);
970
- padding-inline-end: var(--utrecht-textarea-padding-inline-end);
971
- padding-inline-start: var(--utrecht-textarea-padding-inline-start);
972
- width: 100%;
791
+ .utrecht-html figcaption {
792
+ color: var(--utrecht-figure-caption-color);
793
+ font-size: var(--utrecht-figure-caption-font-size);
794
+ line-height: var(--utrecht-figure-caption-line-height);
973
795
  }
974
-
975
- .utrecht-textarea--invalid, .utrecht-textarea--html-textarea:invalid, .utrecht-html textarea:invalid, .utrecht-textarea--html-textarea[aria-invalid=true], .utrecht-html textarea[aria-invalid=true] {
976
- border-color: var(--utrecht-textarea-invalid-border-color);
977
- border-width: var(--utrecht-textarea-invalid-border-width);
796
+ .utrecht-html form {
797
+ max-inline-size: var(--utrecht-form-max-inline-size);
978
798
  }
979
-
980
- .utrecht-textarea--disabled, .utrecht-textarea--html-textarea:disabled, .utrecht-html textarea:disabled {
981
- border-color: var(--utrecht-textarea-disabled-border-color);
982
- color: var(--utrecht-textarea-disabled-color);
799
+ .utrecht-html legend {
800
+ color: var(--utrecht-form-fieldset-legend-color, var(--utrecht-document-color, inherit));
801
+ font-family: var(--utrecht-form-fieldset-legend-font-family, var(--utrecht-document-font-family));
802
+ font-size: var(--utrecht-form-fieldset-legend-font-size);
803
+ font-weight: var(--utrecht-form-fieldset-legend-font-weight);
804
+ line-height: var(--utrecht-form-fieldset-legend-line-height);
805
+ page-break-after: avoid;
806
+ page-break-inside: avoid;
807
+ text-transform: var(--utrecht-form-fieldset-legend-text-transform);
808
+ display: table;
809
+ inline-size: 100%;
810
+ padding-inline-end: 0;
811
+ padding-inline-start: 0;
812
+ margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-form-fieldset-legend-margin-block-end, 0));
813
+ margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-form-fieldset-legend-margin-block-start, 0));
983
814
  }
984
-
985
- .utrecht-textarea--focus, .utrecht-textarea--html-textarea:focus, .utrecht-html textarea:focus {
986
- outline-width: var(--utrecht-focus-outline-width, 0);
987
- outline-style: var(--utrecht-focus-outline-style, solid);
988
- outline-color: var(--utrecht-focus-outline-color, transparent);
989
- color: var(--utrecht-focus-color, inherit);
990
- box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
991
- outline-offset: 0;
992
- background-color: var(--utrecht-focus-background-color);
815
+ .utrecht-html fieldset:disabled > legend {
816
+ color: var(--utrecht-form-fieldset-legend-disabled-color, var(--utrecht-form-fieldset-legend-color, var(--utrecht-document-color, inherit)));
993
817
  }
994
-
995
- .utrecht-textarea--read-only, .utrecht-textarea--html-textarea:read-only, .utrecht-html textarea:read-only {
996
- border-color: var(--utrecht-textarea-read-only-border-color);
997
- color: var(--utrecht-textarea-read-only-color);
818
+ .utrecht-html label {
819
+ color: var(--utrecht-form-label-color);
820
+ font-size: var(--utrecht-form-label-font-size);
821
+ font-weight: var(--utrecht-form-label-font-weight);
998
822
  }
999
-
1000
- /**
1001
- * @license EUPL-1.2
1002
- * Copyright (c) 2021 Robbert Broersma
1003
- */
1004
- /**
1005
- * @license EUPL-1.2
1006
- * Copyright (c) 2021 Robbert Broersma
1007
- */
1008
- .utrecht-textbox, .utrecht-html input[type=email],
1009
- .utrecht-html input[type=password],
1010
- .utrecht-html input[type=search],
1011
- .utrecht-html input[type=tel],
1012
- .utrecht-html input[type=text],
1013
- .utrecht-html input[type=url] {
1014
- border-width: var(--utrecht-textbox-border-width);
1015
- border-bottom-width: var(--utrecht-textbox-border-bottom-width, var(--utrecht-textbox-border-width));
1016
- border-color: var(--utrecht-textbox-border-color);
1017
- border-radius: var(--utrecht-textbox-border-radius, 0);
1018
- border-style: solid;
1019
- color: var(--utrecht-textbox-color);
1020
- font-family: var(--utrecht-textbox-font-family);
1021
- font-size: var(--utrecht-textbox-font-size, 1em);
1022
- max-width: var(--utrecht-textbox-max-width);
1023
- padding-block-end: var(--utrecht-textbox-padding-block-end);
1024
- padding-block-start: var(--utrecht-textbox-padding-block-start);
1025
- padding-inline-end: var(--utrecht-textbox-padding-inline-end);
1026
- padding-inline-start: var(--utrecht-textbox-padding-inline-start);
1027
- box-sizing: border-box;
1028
- width: 100%;
823
+ .utrecht-html input[type=checkbox i] ~ label {
824
+ color: var(--utrecht-form-label-checkbox-color, var(--utrecht-form-label-color));
825
+ cursor: var(--utrecht-action-activate-cursor, revert);
826
+ font-weight: var(--utrecht-form-label-checkbox-font-weight, var(--utrecht-form-label-font-weight));
1029
827
  }
1030
-
1031
- .utrecht-textbox--invalid, .utrecht-textbox--html-input:invalid, .utrecht-html input[type=email]:invalid,
1032
- .utrecht-html input[type=password]:invalid,
1033
- .utrecht-html input[type=search]:invalid,
1034
- .utrecht-html input[type=tel]:invalid,
1035
- .utrecht-html input[type=text]:invalid,
1036
- .utrecht-html input[type=url]:invalid, .utrecht-textbox--html-input[aria-invalid=true], .utrecht-html input[aria-invalid=true][type=email],
1037
- .utrecht-html input[aria-invalid=true][type=password],
1038
- .utrecht-html input[aria-invalid=true][type=search],
1039
- .utrecht-html input[aria-invalid=true][type=tel],
1040
- .utrecht-html input[aria-invalid=true][type=text],
1041
- .utrecht-html input[aria-invalid=true][type=url] {
1042
- border-color: var(--utrecht-textbox-invalid-border-color);
1043
- border-width: var(--utrecht-textbox-invalid-border-width);
828
+ .utrecht-html input[type=radio i] ~ label {
829
+ color: var(--utrecht-form-label-checkbox-color, var(--utrecht-form-label-color));
830
+ cursor: var(--utrecht-action-activate-cursor, revert);
831
+ font-weight: var(--utrecht-form-label-radio-font-weight, var(--utrecht-form-label-font-weight));
1044
832
  }
1045
-
1046
- .utrecht-textbox--disabled, .utrecht-textbox--html-input:disabled, .utrecht-html input[type=email]:disabled,
1047
- .utrecht-html input[type=password]:disabled,
1048
- .utrecht-html input[type=search]:disabled,
1049
- .utrecht-html input[type=tel]:disabled,
1050
- .utrecht-html input[type=text]:disabled,
1051
- .utrecht-html input[type=url]:disabled {
1052
- border-color: var(--utrecht-textbox-disabled-border-color);
1053
- color: var(--utrecht-textbox-disabled-color);
833
+ .utrecht-html mark {
834
+ background-color: var(--utrecht-mark-background-color, revert);
835
+ color: var(--utrecht-mark-color, revert);
836
+ }
837
+ @media print {
838
+ .utrecht-html mark {
839
+ outline-color: currentColor;
840
+ outline-style: dotted;
841
+ outline-width: 0.1em;
842
+ }
843
+ }
844
+ @media screen and (-ms-high-contrast: active) {
845
+ .utrecht-html mark {
846
+ background-color: Highlight;
847
+ color: HighlightText;
848
+ }
849
+ }
850
+ .utrecht-html h1 {
851
+ page-break-after: avoid;
852
+ page-break-inside: avoid;
853
+ color: var(--utrecht-heading-1-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
854
+ font-family: var(--utrecht-heading-1-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
855
+ font-size: var(--utrecht-heading-1-font-size, revert);
856
+ font-weight: var(--utrecht-heading-1-font-weight, var(--utrecht-heading-font-weight, bold));
857
+ letter-spacing: var(--utrecht-heading-1-letter-spacing);
858
+ line-height: var(--utrecht-heading-1-line-height);
859
+ margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-heading-1-margin-block-end, 0));
860
+ margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-heading-1-margin-block-start, 0));
861
+ page-break-after: avoid;
862
+ text-transform: var(--utrecht-heading-1-text-transform, inherit);
863
+ --utrecht-space-around: 1;
1054
864
  }
1055
-
1056
- .utrecht-textbox--focus, .utrecht-textbox--html-input:focus, .utrecht-html input[type=email]:focus,
1057
- .utrecht-html input[type=password]:focus,
1058
- .utrecht-html input[type=search]:focus,
1059
- .utrecht-html input[type=tel]:focus,
1060
- .utrecht-html input[type=text]:focus,
1061
- .utrecht-html input[type=url]:focus {
1062
- outline-width: var(--utrecht-focus-outline-width, 0);
1063
- outline-style: var(--utrecht-focus-outline-style, solid);
1064
- outline-color: var(--utrecht-focus-outline-color, transparent);
1065
- color: var(--utrecht-focus-color, inherit);
1066
- box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
1067
- outline-offset: 0;
1068
- background-color: var(--utrecht-focus-background-color);
865
+ .utrecht-html h2 {
866
+ page-break-after: avoid;
867
+ page-break-inside: avoid;
868
+ color: var(--utrecht-heading-2-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
869
+ font-family: var(--utrecht-heading-2-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
870
+ font-size: var(--utrecht-heading-2-font-size, revert);
871
+ font-weight: var(--utrecht-heading-2-font-weight, var(--utrecht-heading-font-weight, bold));
872
+ letter-spacing: var(--utrecht-heading-2-letter-spacing);
873
+ line-height: var(--utrecht-heading-2-line-height);
874
+ margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-heading-2-margin-block-end, 0));
875
+ margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-heading-2-margin-block-start, 0));
876
+ page-break-after: avoid;
877
+ text-transform: var(--utrecht-heading-2-text-transform, inherit);
878
+ --utrecht-space-around: 1;
1069
879
  }
1070
-
1071
- .utrecht-textbox--read-only, .utrecht-textbox--html-input:read-only, .utrecht-html input[type=email]:read-only,
1072
- .utrecht-html input[type=password]:read-only,
1073
- .utrecht-html input[type=search]:read-only,
1074
- .utrecht-html input[type=tel]:read-only,
1075
- .utrecht-html input[type=text]:read-only,
1076
- .utrecht-html input[type=url]:read-only {
1077
- border-color: var(--utrecht-textbox-read-only-border-color);
1078
- color: var(--utrecht-textbox-read-only-color);
880
+ .utrecht-html h3 {
881
+ page-break-after: avoid;
882
+ page-break-inside: avoid;
883
+ color: var(--utrecht-heading-3-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
884
+ font-family: var(--utrecht-heading-3-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
885
+ font-size: var(--utrecht-heading-3-font-size, revert);
886
+ font-weight: var(--utrecht-heading-3-font-weight, var(--utrecht-heading-font-weight, bold));
887
+ letter-spacing: var(--utrecht-heading-3-letter-spacing);
888
+ line-height: var(--utrecht-heading-3-line-height);
889
+ margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-heading-3-margin-block-end, 0));
890
+ margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-heading-3-margin-block-start, 0));
891
+ page-break-after: avoid;
892
+ text-transform: var(--utrecht-heading-3-text-transform, inherit);
893
+ --utrecht-space-around: 1;
1079
894
  }
1080
-
1081
- /**
1082
- * @license EUPL-1.2
1083
- * Copyright (c) 2021 Robbert Broersma
1084
- */
1085
- /**
1086
- * @license EUPL-1.2
1087
- * Copyright (c) 2021 Robbert Broersma
1088
- * Copyright (c) 2021 Gemeente Utrecht
1089
- */
1090
- .utrecht-unordered-list, .utrecht-html ul {
1091
- font-family: var(--utrecht-document-font-family, inherit);
1092
- font-size: var(--utrecht-document-font-size, inherit);
1093
- line-height: var(--utrecht-document-line-height, inherit);
1094
- padding-inline-start: 2ch;
895
+ .utrecht-html h4 {
896
+ page-break-after: avoid;
897
+ page-break-inside: avoid;
898
+ color: var(--utrecht-heading-4-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
899
+ font-family: var(--utrecht-heading-4-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
900
+ font-size: var(--utrecht-heading-4-font-size, revert);
901
+ font-weight: var(--utrecht-heading-4-font-weight, var(--utrecht-heading-font-weight, bold));
902
+ letter-spacing: var(--utrecht-heading-4-letter-spacing);
903
+ line-height: var(--utrecht-heading-4-line-height);
904
+ margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-heading-4-margin-block-end, 0));
905
+ margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-heading-4-margin-block-start, 0));
906
+ page-break-after: avoid;
907
+ text-transform: var(--utrecht-heading-4-text-transform, inherit);
908
+ --utrecht-space-around: 1;
1095
909
  }
1096
-
1097
- .utrecht-unordered-list--distanced, .utrecht-html ul {
1098
- margin-block-start: var(--utrecht-unordered-list-margin-block-start, var(--utrecht-paragraph-margin-block-start));
1099
- margin-block-end: var(--utrecht-unordered-list-margin-block-end, var(--utrecht-paragraph-margin-block-end));
910
+ .utrecht-html h5 {
911
+ page-break-after: avoid;
912
+ page-break-inside: avoid;
913
+ color: var(--utrecht-heading-5-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
914
+ font-family: var(--utrecht-heading-5-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
915
+ font-size: var(--utrecht-heading-5-font-size, revert);
916
+ font-weight: var(--utrecht-heading-5-font-weight, var(--utrecht-heading-font-weight, bold));
917
+ letter-spacing: var(--utrecht-heading-5-letter-spacing);
918
+ line-height: var(--utrecht-heading-5-line-height);
919
+ margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-heading-5-margin-block-end, 0));
920
+ margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-heading-5-margin-block-start, 0));
921
+ page-break-after: avoid;
922
+ text-transform: var(--utrecht-heading-5-text-transform, inherit);
923
+ --utrecht-space-around: 1;
1100
924
  }
1101
-
1102
- .utrecht-unordered-list--nested {
1103
- margin-inline-start: 2ch;
1104
- margin-block-end: 0;
925
+ .utrecht-html h6 {
926
+ page-break-after: avoid;
927
+ page-break-inside: avoid;
928
+ color: var(--utrecht-heading-6-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
929
+ font-family: var(--utrecht-heading-6-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
930
+ font-size: var(--utrecht-heading-6-font-size, revert);
931
+ font-weight: var(--utrecht-heading-6-font-weight, var(--utrecht-heading-font-weight, bold));
932
+ letter-spacing: var(--utrecht-heading-6-letter-spacing);
933
+ line-height: var(--utrecht-heading-6-line-height);
934
+ margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-heading-6-margin-block-end, 0));
935
+ margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-heading-6-margin-block-start, 0));
936
+ page-break-after: avoid;
937
+ text-transform: var(--utrecht-heading-6-text-transform, inherit);
938
+ --utrecht-space-around: 1;
1105
939
  }
1106
-
1107
- .utrecht-unordered-list__item, .utrecht-html ul > li {
1108
- padding-inline-start: 1ch;
1109
- margin-block-start: var(--utrecht-unordered-list-item-margin-block-start);
1110
- margin-block-end: var(--utrecht-unordered-list-item-margin-block-end);
940
+ .utrecht-html hgroup {
941
+ --utrecht-pre-heading-order: -1;
942
+ display: flex;
943
+ flex-direction: column;
944
+ margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-heading-group-margin-block-end, 0));
945
+ margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-heading-group-margin-block-start, 0));
946
+ --utrecht-space-around: 1;
1111
947
  }
1112
-
1113
- .utrecht-unordered-list__item::marker, .utrecht-html ul > li::marker,
1114
- .utrecht-unordered-list__marker {
1115
- color: var(--utrecht-unordered-list-marker-color);
1116
- content: "●";
948
+ .utrecht-html hgroup > * {
949
+ --utrecht-space-around: 0;
1117
950
  }
1118
-
1119
- /**
1120
- * @license EUPL-1.2
1121
- * Copyright (c) 2021 Robbert Broersma
1122
- */
1123
- /**
1124
- * @license EUPL-1.2
1125
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
1126
- * Copyright (c) 2021 Gemeente Utrecht
1127
- */
1128
- .utrecht-link, .utrecht-html a:link {
1129
- text-decoration: var(--utrecht-link-text-decoration, underline);
951
+ .utrecht-html a {
952
+ --utrecht-icon-size: var(--utrecht-link-icon-size, 1em);
1130
953
  color: var(--utrecht-link-color, blue);
954
+ text-decoration: var(--utrecht-link-text-decoration, underline);
955
+ text-decoration-color: var(--utrecht-link-text-decoration-color, currentColor);
956
+ text-decoration-skip-ink: all;
957
+ text-decoration-thickness: max(var(--utrecht-link-text-decoration-thickness), 1px);
958
+ text-underline-offset: var(--utrecht-link-text-underline-offset);
1131
959
  }
1132
-
1133
- .utrecht-link:visited,
1134
- .utrecht-link--visited,
1135
960
  .utrecht-html a:visited {
1136
961
  color: var(--utrecht-link-visited-color, var(--utrecht-link-color));
1137
962
  }
1138
-
1139
- .utrecht-link:hover,
1140
- .utrecht-link--hover,
1141
963
  .utrecht-html a:hover {
1142
964
  color: var(--utrecht-link-hover-color, var(--utrecht-link-color));
1143
965
  text-decoration: var(--utrecht-link-hover-text-decoration, var(--utrecht-link-text-decoration, underline));
966
+ text-decoration-skip: none;
967
+ text-decoration-skip-ink: none;
968
+ text-decoration-thickness: max(var(--utrecht-link-hover-text-decoration-thickness, var(--utrecht-link-text-decoration-thickness)), 1px);
1144
969
  }
1145
-
1146
- .utrecht-link:active,
1147
- .utrecht-link--active,
1148
970
  .utrecht-html a:active {
1149
971
  color: var(--utrecht-link-active-color, var(--utrecht-link-color));
1150
972
  }
1151
-
1152
- .utrecht-link:focus,
1153
- .utrecht-link--focus,
1154
973
  .utrecht-html a:focus {
974
+ background-color: var(--utrecht-link-focus-background-color, transparent);
1155
975
  color: var(--utrecht-link-focus-color, var(--utrecht-link-color));
1156
976
  text-decoration: var(--utrecht-link-focus-text-decoration, var(--utrecht-link-text-decoration, underline));
1157
- outline-width: var(--utrecht-focus-outline-width, 0);
1158
- outline-style: var(--utrecht-focus-outline-style, solid);
1159
- outline-color: var(--utrecht-focus-outline-color, transparent);
1160
- color: var(--utrecht-focus-color, inherit);
1161
- box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
1162
- outline-offset: 0;
1163
- background-color: var(--utrecht-focus-background-color);
1164
- }
1165
-
1166
- /* stylelint-disable-next-line block-no-empty */
1167
- .utrecht-link--telephone, .utrecht-html a[href^="tel:" i] {
977
+ text-decoration-skip: none;
978
+ text-decoration-skip-ink: none;
979
+ text-decoration-thickness: max(var(--utrecht-link-focus-text-decoration-thickness, var(--utrecht-link-text-decoration-thickness)), 1px);
980
+ /* - The browser default focus ring should apply when these CSS custom properties are not set.
981
+ * - Make the `box-shadow` value available, so components that have their own `box-shadow`
982
+ * can combine it with the focus ring box shadow.
983
+ */
984
+ --_utrecht-focus-ring-box-shadow: 0 0 0 var(--utrecht-focus-outline-width, 0)
985
+ var(--utrecht-focus-inverse-outline-color, transparent);
986
+ box-shadow: var(--_utrecht-focus-ring-box-shadow);
987
+ outline-color: var(--utrecht-focus-outline-color, revert);
988
+ outline-offset: var(--utrecht-focus-outline-offset, revert);
989
+ outline-style: var(--utrecht-focus-outline-style, revert);
990
+ outline-width: var(--utrecht-focus-outline-width, revert);
991
+ }
992
+ .utrecht-html a:focus:not(:focus-visible) {
993
+ /* undo focus ring */
994
+ box-shadow: none;
995
+ outline-style: revert;
996
+ }
997
+ .utrecht-html a[href^="tel:" i] {
1168
998
  white-space: nowrap;
1169
999
  }
1170
-
1171
- /**
1172
- * @license EUPL-1.2
1173
- * Copyright (c) 2021 Robbert Broersma
1174
- */
1175
- /**
1176
- * @license EUPL-1.2
1177
- * Copyright (c) 2021 Robbert Broersma
1178
- * Copyright (c) 2021 Gemeente Utrecht
1179
- */
1180
- .utrecht-ordered-list, .utrecht-html ol {
1000
+ .utrecht-html ol {
1001
+ /* Configure `width` and `text-align` for `--center` */
1181
1002
  font-family: var(--utrecht-document-font-family, inherit);
1003
+ font-size: var(--utrecht-ordered-list-font-size, var(--utrecht-unordered-list-font-size, var(--utrecht-document-font-size, inherit)));
1004
+ line-height: var(--utrecht-ordered-list-font-size, var(--utrecht-unordered-list-line-height, var(--utrecht-document-line-height, inherit)));
1005
+ margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-ordered-list-margin-block-end, var(--utrecht-unordered-list-margin-block-end, 0)));
1006
+ margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-ordered-list-margin-block-start, var(--utrecht-unordered-list-margin-block-start, 0)));
1007
+ padding-inline-start: var(--utrecht-ordered-list-padding-inline-start, var(--utrecht-unordered-list-padding-inline-start, 2ch));
1008
+ text-align: start;
1009
+ width: max-content;
1010
+ --utrecht-space-around: 1;
1182
1011
  }
1183
-
1184
- .utrecht-ordered-list--distanced, .utrecht-html ol {
1185
- margin-block-end: var(--utrecht-ordered-list-margin-block-end);
1186
- margin-block-start: var(--utrecht-ordered-list-margin-block-start);
1012
+ .utrecht-html ol > li {
1013
+ margin-block-end: var(--utrecht-ordered-list-item-margin-block-end, var(--utrecht-unordered-list-item-margin-block-end));
1014
+ margin-block-start: var(--utrecht-ordered-list-item-margin-block-start, var(--utrecht-unordered-list-item-margin-block-start));
1015
+ padding-inline-start: var(--utrecht-ordered-list-item-padding-inline-start, var(--utrecht-unordered-list-item-padding-inline-start, 1ch));
1187
1016
  }
1188
-
1189
- .utrecht-ordered-list__item, .utrecht-html ol > li {
1190
- margin-block-end: var(--utrecht-ordered-list-item-margin-block-end);
1191
- margin-block-start: var(--utrecht-ordered-list-item-margin-block-start);
1017
+ .utrecht-html ol:lang(ar) {
1018
+ list-style: arabic-indic;
1192
1019
  }
1193
-
1194
- /**
1195
- * @license EUPL-1.2
1196
- * Copyright (c) 2021 Robbert Broersma
1197
- */
1198
- /**
1199
- * @license EUPL-1.2
1200
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
1201
- */
1202
- .utrecht-paragraph, .utrecht-html p {
1203
- color: var(--utrecht-document-color, inherit);
1020
+ .utrecht-html p {
1021
+ color: var(--utrecht-paragraph-color, var(--utrecht-document-color, inherit));
1204
1022
  font-family: var(--utrecht-paragraph-font-family, var(--utrecht-document-font-family, inherit));
1205
1023
  font-size: var(--utrecht-paragraph-font-size, var(--utrecht-document-font-size, inherit));
1206
1024
  font-weight: var(--utrecht-paragraph-font-weight, inherit);
1207
1025
  line-height: var(--utrecht-paragraph-line-height, var(--utrecht-document-line-height, inherit));
1208
- }
1209
-
1210
- .utrecht-paragraph--lead, .utrecht-html p.lead {
1211
- font-size: var(--utrecht-paragraph-lead-font-size, inherit);
1212
- font-weight: var(--utrecht-paragraph-lead-font-weight, inherit);
1213
- line-height: var(--utrecht-paragraph-lead-line-height, inherit);
1214
- }
1215
-
1216
- .utrecht-paragraph--distanced, .utrecht-html * ~ p {
1217
- margin-block-start: var(--utrecht-paragraph-margin-block-start);
1218
- margin-block-end: var(--utrecht-paragraph-margin-block-end);
1219
- }
1220
-
1221
- /* stylelint-disable selector-class-pattern */
1222
- /**
1223
- * @license EUPL-1.2
1224
- * Copyright (c) 2021 Gemeente Utrecht
1225
- */
1226
- /**
1227
- * @license EUPL-1.2
1228
- * Copyright (c) 2021 Gemeente Utrecht
1229
- */
1230
- .utrecht-radio-button, .utrecht-html input[type=radio] {
1231
- /* reset native margin for input[type="radio"] */
1232
- margin-block-start: 0;
1026
+ margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-paragraph-margin-block-end, 0));
1027
+ margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-paragraph-margin-block-start, 0));
1028
+ }
1029
+ .utrecht-html p.lead {
1030
+ color: var(--utrecht-paragraph-lead-color, var(--utrecht-paragraph-color, var(--utrecht-document-color, inherit)));
1031
+ font-size: var(--utrecht-paragraph-lead-font-size, var(--utrecht-paragraph-font-size, inherit));
1032
+ font-weight: var(--utrecht-paragraph-lead-font-weight, var(--utrecht-paragraph-font-weight, inherit));
1033
+ line-height: var(--utrecht-paragraph-lead-line-height, var(--utrecht-paragraph-line-height, inherit));
1034
+ }
1035
+ .utrecht-html * ~ p {
1036
+ --utrecht-space-around: 1;
1037
+ }
1038
+ .utrecht-html p:has(> small:only-child) {
1039
+ color: var(--utrecht-paragraph-small-color, var(--utrecht-paragraph-color, var(--utrecht-document-color, inherit)));
1040
+ font-size: var(--utrecht-paragraph-small-font-size, var(--utrecht-paragraph-font-size, inherit));
1041
+ font-weight: var(--utrecht-paragraph-small-font-weight, var(--utrecht-paragraph-font-weight, inherit));
1042
+ line-height: var(--utrecht-paragraph-small-line-height, var(--utrecht-paragraph-line-height, inherit));
1043
+ }
1044
+ .utrecht-html p > small:only-child {
1045
+ font-size: inherit;
1046
+ }
1047
+ .utrecht-html pre:has(> code:only-child) {
1048
+ /* Use `monospace` as fallback both when the custom property isn't set and when the font is not available */
1049
+ background-color: var(--utrecht-code-background-color);
1050
+ color: var(--utrecht-code-color);
1051
+ font-family: var(--utrecht-code-font-family, monospace), monospace;
1052
+ font-size: var(--utrecht-code-font-size);
1053
+ font-variant-ligatures: none;
1054
+ line-height: var(--utrecht-code-line-height);
1055
+ --utrecht-code-color: var(--utrecht-code-block-color, inherit);
1056
+ --utrecht-code-background-color: var(--utrecht-code-block-background-color, inherit);
1057
+ --utrecht-code-font-weight: var(--utrecht-code-block-font-weight, inherit);
1058
+ --utrecht-code-font-size: var(--utrecht-code-block-font-size, inherit);
1059
+ --utrecht-code-font-family: var(--utrecht-code-block-font-family, monospace);
1060
+ background-color: var(--utrecht-code-block-background-color);
1061
+ display: block;
1062
+ font-size: var(--utrecht-code-block-font-size, var(--utrecht-code-font-size));
1063
+ line-height: var(--utrecht-code-block-line-height, var(--utrecht-code-line-height));
1064
+ margin-block-end: var(--utrecht-code-block-margin-block-end);
1065
+ margin-block-start: var(--utrecht-code-block-margin-block-start);
1066
+ margin-inline-end: var(--utrecht-code-block-margin-inline-end);
1067
+ margin-inline-start: var(--utrecht-code-block-margin-inline-start);
1068
+ padding-block-end: var(--utrecht-code-block-padding-block-end);
1069
+ padding-block-start: var(--utrecht-code-block-padding-block-start);
1070
+ padding-inline-end: var(--utrecht-code-block-padding-inline-end);
1071
+ padding-inline-start: var(--utrecht-code-block-padding-inline-start);
1072
+ white-space: pre;
1073
+ }
1074
+ .utrecht-html pre:has(> code:only-child) > code {
1075
+ display: contents;
1076
+ }
1077
+ .utrecht-html input[type=radio i] {
1078
+ /*
1079
+ * For the `radial-gradient()` use a 5% gradient size to improve anti-aliasing.
1080
+ * With a 0% gradient, the circle will have jagged edges.
1081
+ */
1082
+ -webkit-appearance: none;
1083
+ -moz-appearance: none;
1084
+ appearance: none;
1233
1085
  margin-block-end: 0;
1234
- margin-inline-start: 0;
1086
+ margin-block-start: 0;
1235
1087
  margin-inline-end: 0;
1236
- }
1237
-
1238
- /**
1239
- * @license EUPL-1.2
1240
- * Copyright (c) 2021 Robbert Broersma
1241
- */
1242
- /**
1243
- * @license EUPL-1.2
1244
- * Copyright (c) 2021 Gemeente Utrecht
1245
- * Copyright (c) 2021 Robbert Broersma
1246
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
1247
- */
1248
- .utrecht-separator, .utrecht-html hr {
1088
+ margin-inline-start: 0;
1089
+ --_utrecht-radio-button-background-color: var(
1090
+ --_utrecht-radio-button-interactive-background-color,
1091
+ var(--_utrecht-radio-button-state-background-color, var(--utrecht-radio-button-background-color))
1092
+ );
1093
+ --_utrecht-radio-button-border-color: var(
1094
+ --_utrecht-radio-button-interactive-border-color,
1095
+ var(--_utrecht-radio-button-state-border-color, var(--utrecht-radio-button-border-color, currentColor))
1096
+ );
1097
+ --_utrecht-radio-button-border-width: var(
1098
+ --_utrecht-radio-button-interactive-border-width,
1099
+ var(--_utrecht-radio-button-state-border-width, var(--utrecht-radio-button-border-width))
1100
+ );
1101
+ --_utrecht-radio-button-color: var(
1102
+ --_utrecht-radio-button-interactive-color,
1103
+ var(--_utrecht-radio-button-state-color, var(--utrecht-radio-button-color, currentColor))
1104
+ );
1105
+ --_utrecht-radio-button-icon-size: 0;
1106
+ background-color: var(--_utrecht-radio-button-background-color);
1107
+ background-image: radial-gradient(circle, var(--_utrecht-radio-button-color, transparent) calc(var(--_utrecht-radio-button-icon-size, 50%) - 5%), var(--_utrecht-radio-button-background-color, currentColor) var(--_utrecht-radio-button-icon-size, 50%));
1108
+ background-position: center;
1109
+ background-repeat: no-repeat;
1110
+ background-size: contain;
1111
+ block-size: var(--utrecht-radio-button-size, 1em);
1112
+ border-color: var(--_utrecht-radio-button-border-color);
1113
+ border-radius: 50%;
1114
+ border-style: solid;
1115
+ border-width: var(--_utrecht-radio-button-border-width);
1116
+ cursor: var(--utrecht-action-activate-cursor);
1117
+ inline-size: var(--utrecht-radio-button-size, 1em);
1118
+ margin-inline-end: var(--utrecht-radio-button-margin-inline-end);
1119
+ -webkit-print-color-adjust: exact;
1120
+ print-color-adjust: exact;
1121
+ -webkit-user-select: none;
1122
+ user-select: none;
1123
+ vertical-align: top;
1124
+ /* override the `:focus` selector above */
1125
+ /* stylelint-disable-next-line no-descending-specificity */
1126
+ }
1127
+ .utrecht-html input[type=radio i]:checked {
1128
+ --_utrecht-radio-button-icon-size: var(--utrecht-radio-button-icon-size, 50%);
1129
+ --_utrecht-radio-button-state-background-color: var(--utrecht-radio-button-checked-background-color);
1130
+ --_utrecht-radio-button-state-border-color: var(--utrecht-radio-button-checked-border-color);
1131
+ --_utrecht-radio-button-state-border-width: var(--utrecht-radio-button-checked-border-width);
1132
+ --_utrecht-radio-button-state-color: var(--utrecht-radio-button-checked-color);
1133
+ --_utrecht-radio-button-state-active-background-color: var(--utrecht-radio-button-checked-active-background-color);
1134
+ --_utrecht-radio-button-state-active-border-color: var(--utrecht-radio-button-checked-active-border-color);
1135
+ --_utrecht-radio-button-state-active-border-width: var(--utrecht-radio-button-checked-active-border-width);
1136
+ --_utrecht-radio-button-state-active-color: var(--utrecht-radio-button-checked-active-color);
1137
+ --_utrecht-radio-button-state-focus-background-color: var(--utrecht-radio-button-checked-focus-background-color);
1138
+ --_utrecht-radio-button-state-focus-border-color: var(--utrecht-radio-button-checked-focus-border-color);
1139
+ --_utrecht-radio-button-state-focus-border-width: var(--utrecht-radio-button-checked-focus-border-width);
1140
+ --_utrecht-radio-button-state-focus-color: var(--utrecht-radio-button-checked-focus-color);
1141
+ --_utrecht-radio-button-state-hover-background-color: var(--utrecht-radio-button-checked-hover-background-color);
1142
+ --_utrecht-radio-button-state-hover-border-color: var(--utrecht-radio-button-checked-hover-border-color);
1143
+ --_utrecht-radio-button-state-hover-border-width: var(--utrecht-radio-button-checked-hover-border-width);
1144
+ --_utrecht-radio-button-state-hover-color: var(--utrecht-radio-button-checked-hover-color);
1145
+ }
1146
+ .utrecht-html input[type=radio i]:disabled {
1147
+ /*
1148
+ * The disabled radio button should have:
1149
+ * - should have no active effect
1150
+ * - should have no focus effect
1151
+ * - should have no hover effect
1152
+ * - should have a working focus-visible effect, in case someone sets `<input type="radio" disabled tabindex="0">`
1153
+ */
1154
+ --_utrecht-radio-button-background-color: var(--utrecht-radio-button-disabled-background-color);
1155
+ --_utrecht-radio-button-border-color: var(--utrecht-radio-button-disabled-border-color);
1156
+ --_utrecht-radio-button-border-width: var(--utrecht-radio-button-disabled-border-width);
1157
+ --_utrecht-radio-button-color: var(--utrecht-radio-button-disabled-color);
1158
+ /* no focus effect */
1159
+ --_utrecht-radio-button-focus-background-color: var(--_utrecht-radio-button-background-color);
1160
+ --_utrecht-radio-button-focus-border-color: var(--_utrecht-radio-button-border-color);
1161
+ --_utrecht-radio-button-focus-border-width: var(--_utrecht-radio-button-border-width);
1162
+ --_utrecht-radio-button-focus-color: var(--_utrecht-radio-button-color);
1163
+ /* no active effect */
1164
+ --_utrecht-radio-button-active-background-color: var(--_utrecht-radio-button-background-color);
1165
+ --_utrecht-radio-button-active-border-color: var(--_utrecht-radio-button-border-color);
1166
+ --_utrecht-radio-button-active-border-width: var(--_utrecht-radio-button-border-width);
1167
+ --_utrecht-radio-button-active-color: var(--_utrecht-radio-button-color);
1168
+ /* no hover effect */
1169
+ --_utrecht-radio-button-hover-background-color: var(--_utrecht-radio-button-background-color);
1170
+ --_utrecht-radio-button-hover-border-color: var(--_utrecht-radio-button-border-color);
1171
+ --_utrecht-radio-button-hover-border-width: var(--_utrecht-radio-button-border-width);
1172
+ --_utrecht-radio-button-hover-color: var(--_utrecht-radio-button-color);
1173
+ cursor: var(--utrecht-action-disabled-cursor);
1174
+ }
1175
+ .utrecht-html input[type=radio i]:invalid, .utrecht-html input[type=radio i][aria-invalid=true] {
1176
+ border-color: var(--utrecht-radio-button-invalid-border-color, var(--utrecht-radio-button-border-color));
1177
+ border-width: var(--utrecht-radio-button-invalid-border-width, var(--utrecht-radio-button-border-width));
1178
+ color: var(--utrecht-radio-button-invalid-color, var(--utrecht-radio-button-color));
1179
+ }
1180
+ .utrecht-html input[type=radio i]:focus:not([aria-disabled=true], :disabled) {
1181
+ --_utrecht-radio-button-interactive-background-color: var(
1182
+ --utrecht-radio-button-focus-background-color,
1183
+ var(--utrecht-radio-button-focus-background-color)
1184
+ );
1185
+ --_utrecht-radio-button-interactive-border-color: var(
1186
+ --utrecht-radio-button-focus-border-color,
1187
+ var(--utrecht-radio-button-focus-border-color)
1188
+ );
1189
+ --_utrecht-radio-button-interactive-border-width: var(
1190
+ --utrecht-radio-button-focus-border-width,
1191
+ var(--utrecht-radio-button-focus-border-width)
1192
+ );
1193
+ --_utrecht-radio-button-interactive-color: var(
1194
+ --utrecht-radio-button-focus-color,
1195
+ var(--utrecht-radio-button-focus-color)
1196
+ );
1197
+ }
1198
+ .utrecht-html input[type=radio i]:focus-visible {
1199
+ /* - The browser default focus ring should apply when these CSS custom properties are not set.
1200
+ * - Make the `box-shadow` value available, so components that have their own `box-shadow`
1201
+ * can combine it with the focus ring box shadow.
1202
+ */
1203
+ --_utrecht-focus-ring-box-shadow: 0 0 0 var(--utrecht-focus-outline-width, 0)
1204
+ var(--utrecht-focus-inverse-outline-color, transparent);
1205
+ box-shadow: var(--_utrecht-focus-ring-box-shadow);
1206
+ outline-color: var(--utrecht-focus-outline-color, revert);
1207
+ outline-offset: var(--utrecht-focus-outline-offset, revert);
1208
+ outline-style: var(--utrecht-focus-outline-style, revert);
1209
+ outline-width: var(--utrecht-focus-outline-width, revert);
1210
+ }
1211
+ .utrecht-html input[type=radio i]:hover:not([aria-disabled=true], :disabled) {
1212
+ --_utrecht-radio-button-interactive-background-color: var(
1213
+ --_utrecht-radio-button-state-hover-background-color,
1214
+ var(--utrecht-radio-button-hover-background-color)
1215
+ );
1216
+ --_utrecht-radio-button-interactive-border-color: var(
1217
+ --_utrecht-radio-button-state-hover-border-color,
1218
+ var(--utrecht-radio-button-hover-border-color)
1219
+ );
1220
+ --_utrecht-radio-button-interactive-border-width: var(
1221
+ --_utrecht-radio-button-state-hover-border-width,
1222
+ var(--utrecht-radio-button-hover-border-width)
1223
+ );
1224
+ --_utrecht-radio-button-interactive-color: var(
1225
+ --_utrecht-radio-button-state-hover-color,
1226
+ var(--utrecht-radio-button-hover-color)
1227
+ );
1228
+ }
1229
+ .utrecht-html input[type=radio i]:active:not([aria-disabled=true], :disabled) {
1230
+ --_utrecht-radio-button-interactive-background-color: var(
1231
+ --_utrecht-radio-button-state-active-background-color,
1232
+ var(--utrecht-radio-button-active-background-color)
1233
+ );
1234
+ --_utrecht-radio-button-interactive-border-color: var(
1235
+ --_utrecht-radio-button-state-active-border-color,
1236
+ var(--utrecht-radio-button-active-border-color)
1237
+ );
1238
+ --_utrecht-radio-button-interactive-border-width: var(
1239
+ --_utrecht-radio-button-state-active-border-width,
1240
+ var(--utrecht-radio-button-active-border-width)
1241
+ );
1242
+ --_utrecht-radio-button-interactive-color: var(
1243
+ --_utrecht-radio-button-state-active-color,
1244
+ var(--utrecht-radio-button-active-color)
1245
+ );
1246
+ }
1247
+ .utrecht-html select {
1248
+ -moz-appearance: none;
1249
+ -webkit-appearance: none;
1250
+ appearance: none;
1251
+ background-color: var(--utrecht-select-background-color, var(--utrecht-form-control-background-color));
1252
+ background-image: var(--utrecht-select-background-image);
1253
+ background-position: 100%;
1254
+ background-repeat: no-repeat;
1255
+ background-size: 1.4em;
1256
+ border-block-end-width: var(--utrecht-select-border-block-end-width, var(--utrecht-select-border-width, var(--utrecht-form-control-border-width)));
1257
+ border-block-start-width: var(--utrecht-select-border-width, var(--utrecht-form-control-border-width));
1258
+ border-color: var(--utrecht-select-border-color, var(--utrecht-form-control-border-color));
1259
+ border-inline-end-width: var(--utrecht-select-border-width, var(--utrecht-form-control-border-width));
1260
+ border-inline-start-width: var(--utrecht-select-border-width, var(--utrecht-form-control-border-width));
1261
+ border-radius: var(--utrecht-select-border-radius, var(--utrecht-form-control-border-radius, 0));
1249
1262
  border-style: solid;
1263
+ color: var(--utrecht-select-color, var(--utrecht-form-control-color));
1264
+ font-family: var(--utrecht-select-font-family, var(--utrecht-form-control-font-family));
1265
+ font-size: var(--utrecht-select-font-size, var(--utrecht-form-control-font-size));
1266
+ max-inline-size: var(--utrecht-select-max-inline-size, var(--utrecht-form-control-max-inline-size));
1267
+ padding-block-end: var(--utrecht-select-padding-block-end, var(--utrecht-form-control-padding-block-end));
1268
+ padding-block-start: var(--utrecht-select-padding-block-start, var(--utrecht-form-control-padding-block-start));
1269
+ padding-inline-end: var(--utrecht-select-padding-inline-end, var(--utrecht-form-control-padding-inline-end));
1270
+ padding-inline-start: var(--utrecht-select-padding-inline-start, var(--utrecht-form-control-padding-inline-start));
1271
+ width: 100%;
1272
+ /* <select> does not support :read-only */
1273
+ }
1274
+ .utrecht-html select:disabled {
1275
+ background-color: var(--utrecht-select-disabled-background-color, var(--utrecht-form-control-disabled-background-color, var(--utrecht-select-background-color, var(--utrecht-form-control-background-color))));
1276
+ border-color: var(--utrecht-select-disabled-border-color, var(--utrecht-form-control-disabled-border-color, var(--utrecht-select-border-color, var(--utrecht-form-control-border-color))));
1277
+ color: var(--utrecht-select-disabled-color, var(--utrecht-form-control-disabled-color, var(--utrecht-select-color, var(--utrecht-form-control-color))));
1278
+ cursor: var(--utrecht-action-disabled-cursor);
1279
+ }
1280
+ .utrecht-html select:focus {
1281
+ background-color: var(--utrecht-select-focus-background-color, var(--utrecht-form-control-focus-background-color, var(--utrecht-select-background-color, var(--utrecht-form-control-background-color))));
1282
+ border-color: var(--utrecht-select-focus-border-color, var(--utrecht-form-control-focus-border-color, var(--utrecht-select-border-color, var(--utrecht-form-control-border-color))));
1283
+ color: var(--utrecht-select-focus-color, var(--utrecht-form-control-focus-color, var(--utrecht-select-color, var(--utrecht-form-control-color))));
1284
+ /* - The browser default focus ring should apply when these CSS custom properties are not set.
1285
+ * - Make the `box-shadow` value available, so components that have their own `box-shadow`
1286
+ * can combine it with the focus ring box shadow.
1287
+ */
1288
+ --_utrecht-focus-ring-box-shadow: 0 0 0 var(--utrecht-focus-outline-width, 0)
1289
+ var(--utrecht-focus-inverse-outline-color, transparent);
1290
+ box-shadow: var(--_utrecht-focus-ring-box-shadow);
1291
+ outline-color: var(--utrecht-focus-outline-color, revert);
1292
+ outline-offset: var(--utrecht-focus-outline-offset, revert);
1293
+ outline-style: var(--utrecht-focus-outline-style, revert);
1294
+ outline-width: var(--utrecht-focus-outline-width, revert);
1295
+ }
1296
+ .utrecht-html select:focus:not(:focus-visible) {
1297
+ /* undo focus ring */
1298
+ box-shadow: none;
1299
+ outline-style: revert;
1300
+ }
1301
+ .utrecht-html select[aria-invalid=true] {
1302
+ --_utrecht-select-border-width: var(
1303
+ --utrecht-select-invalid-border-width,
1304
+ var(
1305
+ --utrecht-form-control-invalid-border-width,
1306
+ var(--utrecht-select-border-width, var(--utrecht-form-control-border-width))
1307
+ )
1308
+ );
1309
+ background-color: var(--utrecht-select-invalid-background-color, var(--utrecht-form-control-invalid-background-color, var(--utrecht-select-background-color, var(--utrecht-form-control-background-color))));
1310
+ border-color: var(--utrecht-select-invalid-border-color, var(--utrecht-form-control-invalid-border-color, var(--utrecht-select-border-color, var(--utrecht-form-control-border-color))));
1311
+ border-width: var(--_utrecht-select-border-width);
1312
+ border-bottom-width: var(--utrecht-select-invalid-border-block-end-width, var(--utrecht-form-control-invalid-border-block-end-width, var(--utrecht-select-border-block-end-width, var(--utrecht-form-control-border-block-end-width, var(--_utrecht-select-border-width)))));
1313
+ }
1314
+ .utrecht-html hr {
1250
1315
  border-color: var(--utrecht-separator-color);
1251
- border-width: 0 0 var(--utrecht-separator-width) 0;
1252
- margin-block-start: var(--utrecht-separator-margin-block-start);
1253
- margin-block-end: var(--utrecht-separator-margin-block-end);
1316
+ border-style: solid;
1317
+ border-width: 0 0 var(--utrecht-separator-block-size) 0;
1318
+ margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-separator-margin-block-end, 0));
1319
+ margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-separator-margin-block-start, 0));
1320
+ --utrecht-space-around: 1;
1254
1321
  }
1255
-
1256
- /**
1257
- * @license EUPL-1.2
1258
- * Copyright (c) 2021 Robbert Broersma
1259
- */
1260
- /**
1261
- * @license EUPL-1.2
1262
- * Copyright (c) 2021 Robbert Broersma
1263
- */
1264
- .utrecht-table, .utrecht-html table {
1322
+ .utrecht-html table {
1265
1323
  border-collapse: collapse;
1324
+ border-color: var(--utrecht-table-border-color, 0);
1325
+ border-style: solid;
1326
+ border-width: var(--utrecht-table-border-width, 0);
1327
+ font-family: var(--utrecht-table-font-family, var(--utrecht-document-font-family));
1328
+ font-size: var(--utrecht-table-font-size, inherit);
1329
+ line-height: var(--utrecht-table-line-height, inherit);
1330
+ margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-table-margin-block-end, 0));
1331
+ margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-table-margin-block-start, 0));
1266
1332
  width: 100%;
1333
+ --utrecht-space-around: 1;
1267
1334
  }
1268
-
1269
- .utrecht-table--distanced, .utrecht-html table {
1270
- margin-block-end: var(--utrecht-table-margin-block-end);
1271
- margin-block-start: var(--utrecht-table-margin-block-start);
1272
- }
1273
-
1274
- .utrecht-table__caption, .utrecht-html caption {
1275
- font-weight: var(--utrecht-table-caption-font-weight);
1335
+ .utrecht-html caption {
1336
+ color: var(--utrecht-table-caption-color);
1276
1337
  font-family: var(--utrecht-table-caption-font-family);
1277
1338
  font-size: var(--utrecht-table-caption-font-size);
1278
- color: var(--utrecht-table-caption-color);
1339
+ font-weight: var(--utrecht-table-caption-font-weight);
1279
1340
  line-height: var(--utrecht-table-caption-line-height);
1280
1341
  margin-block-end: var(--utrecht-table-caption-margin-block-end);
1342
+ page-break-after: avoid;
1281
1343
  text-align: var(--utrecht-table-caption-text-align, center);
1282
1344
  }
1283
-
1284
- .utrecht-table__header, .utrecht-html thead {
1285
- font-weight: var(--utrecht-table-header-font-weight);
1345
+ .utrecht-html thead {
1346
+ --_utrecht-table-header-cell-vertical-align: bottom;
1347
+ background-color: var(--utrecht-table-header-background-color);
1286
1348
  color: var(--utrecht-table-header-color);
1349
+ font-weight: var(--utrecht-table-header-font-weight);
1350
+ page-break-inside: avoid;
1287
1351
  text-transform: var(--utrecht-table-header-text-transform);
1288
- vertical-align: bottom;
1289
- }
1290
-
1291
- .utrecht-table__cell--last-header-row, .utrecht-html thead tr:last-child th {
1292
- border-block-end-style: solid;
1293
- border-block-end-color: var(--utrecht-table-header-border-block-end-color, transparent);
1294
- border-block-end-width: var(--utrecht-table-header-border-block-end-width, 0);
1295
- }
1296
-
1297
- .utrecht-table__body, .utrecht-html tbody {
1298
- vertical-align: baseline;
1299
1352
  }
1300
-
1301
- .utrecht-table__heading, .utrecht-html th {
1302
- font-weight: var(--utrecht-table-heading-font-weight);
1303
- color: var(--utrecht-table-heading-color);
1304
- text-transform: var(--utrecht-table-heading-text-transform);
1353
+ .utrecht-html th {
1354
+ line-height: var(--utrecht-table-cell-line-height, inherit);
1355
+ padding-block-end: var(--utrecht-table-cell-padding-block-end, 0);
1356
+ padding-block-start: var(--utrecht-table-cell-padding-block-start, 0);
1357
+ padding-inline-end: var(--utrecht-table-cell-padding-inline-end, 0);
1358
+ padding-inline-start: var(--utrecht-table-cell-padding-inline-start, 0);
1359
+ text-align: start;
1360
+ color: var(--utrecht-table-header-cell-color);
1361
+ font-size: var(--utrecht-table-header-cell-font-size);
1362
+ font-weight: var(--utrecht-table-header-cell-font-weight, bold);
1363
+ text-transform: var(--utrecht-table-header-cell-text-transform);
1364
+ vertical-align: var(--_utrecht-table-header-cell-vertical-align, top);
1305
1365
  }
1306
-
1307
- .utrecht-table__cell, .utrecht-html th,
1366
+ .utrecht-html th,
1308
1367
  .utrecht-html td {
1309
- border-block-end-style: solid;
1310
- border-block-end-color: var(--utrecht-table-row-border-block-end-color, transparent);
1311
- border-block-end-width: var(--utrecht-table-row-border-block-end-width, 0);
1312
1368
  line-height: var(--utrecht-table-cell-line-height, inherit);
1313
- padding-inline-start: var(--utrecht-table-cell-padding-inline-start, 0);
1314
- padding-inline-end: var(--utrecht-table-cell-padding-inline-end, 0);
1315
- padding-block-start: var(--utrecht-table-cell-padding-block-start, 0);
1316
1369
  padding-block-end: var(--utrecht-table-cell-padding-block-end, 0);
1370
+ padding-block-start: var(--utrecht-table-cell-padding-block-start, 0);
1371
+ padding-inline-end: var(--utrecht-table-cell-padding-inline-end, 0);
1372
+ padding-inline-start: var(--utrecht-table-cell-padding-inline-start, 0);
1317
1373
  text-align: start;
1374
+ border-block-end-color: var(--utrecht-table-row-border-block-end-color, transparent);
1375
+ border-block-end-style: solid;
1376
+ border-block-end-width: var(--utrecht-table-row-border-block-end-width, 0);
1377
+ vertical-align: top;
1318
1378
  }
1319
-
1320
- .utrecht-table__cell--first, .utrecht-html td:first-child,
1379
+ .utrecht-html td:first-child,
1321
1380
  .utrecht-html th:first-child {
1322
1381
  padding-inline-start: var(--utrecht-table-row-padding-inline-start, var(--utrecht-table-cell-padding-inline-start, 0));
1323
1382
  }
1324
-
1325
- .utrecht-table__cell--last, .utrecht-html td:last-child,
1383
+ .utrecht-html td:last-child,
1326
1384
  .utrecht-html th:last-child {
1327
1385
  padding-inline-end: var(--utrecht-table-row-padding-inline-end, var(--utrecht-table-cell-padding-inline-end, 0));
1328
1386
  }
1329
-
1330
- .utrecht-table__cell--numeric, .utrecht-html th.numeric,
1387
+ .utrecht-html thead tr:last-child th {
1388
+ border-block-end-color: var(--utrecht-table-header-border-block-end-color, transparent);
1389
+ border-block-end-style: solid;
1390
+ border-block-end-width: var(--utrecht-table-header-border-block-end-width, 0);
1391
+ }
1392
+ .utrecht-html thead > tr > th.numeric,
1393
+ .utrecht-html tfoot > tr > th.numeric,
1394
+ .utrecht-html th[scope=column].numeric {
1395
+ /* stylelint-disable-next-line declaration-property-value-disallowed-list */
1396
+ text-align: right;
1397
+ }
1331
1398
  .utrecht-html td.numeric {
1332
1399
  /* stylelint-disable-next-line declaration-property-value-disallowed-list */
1333
1400
  text-align: right;
1401
+ font-variant-numeric: lining-nums tabular-nums;
1334
1402
  }
1335
-
1336
- .utrecht-table__row--alternate-odd, .utrecht-html table.alternate-row-color > tr:nth-child(odd) > td, .utrecht-html table.alternate-row-color > tr:nth-child(odd) > th, .utrecht-html table.alternate-row-color > tbody > tr:nth-child(odd) > td, .utrecht-html table.alternate-row-color > tbody > tr:nth-child(odd) > th {
1403
+ .utrecht-html table.alternate-row-color > tr:nth-child(even) > td, .utrecht-html table.alternate-row-color > tr:nth-child(even) > th {
1404
+ background-color: var(--utrecht-table-row-alternate-even-background-color);
1405
+ color: var(--utrecht-table-row-alternate-even-color);
1406
+ }
1407
+ .utrecht-html table.alternate-row-color > tr:nth-child(odd) > td, .utrecht-html table.alternate-row-color > tr:nth-child(odd) > th {
1337
1408
  background-color: var(--utrecht-table-row-alternate-odd-background-color);
1338
1409
  color: var(--utrecht-table-row-alternate-odd-color);
1339
1410
  }
1340
-
1341
- .utrecht-table__row--alternate-even, .utrecht-html table.alternate-row-color > tr:nth-child(even) > td, .utrecht-html table.alternate-row-color > tr:nth-child(even) > th, .utrecht-html table.alternate-row-color > tbody > tr:nth-child(even) > td, .utrecht-html table.alternate-row-color > tbody > tr:nth-child(even) > th {
1411
+ .utrecht-html table.alternate-row-color > tbody > tr:nth-child(even) > td, .utrecht-html table.alternate-row-color > tbody > tr:nth-child(even) > th {
1342
1412
  background-color: var(--utrecht-table-row-alternate-even-background-color);
1343
1413
  color: var(--utrecht-table-row-alternate-even-color);
1344
1414
  }
1345
-
1346
- /* stylelint-disable selector-class-pattern */
1347
- /**
1348
- * @license EUPL-1.2
1349
- * Copyright (c) 2021 Robbert Broersma
1350
- */
1351
- /**
1352
- * @license EUPL-1.2
1353
- * Copyright (c) 2021 Robbert Broersma
1354
- */
1355
- .utrecht-textarea, .utrecht-html textarea {
1356
- border-width: var(--utrecht-textarea-border-width);
1357
- border-bottom-width: var(--utrecht-textarea-border-bottom-width, var(--utrecht-textarea-border-width));
1358
- border-color: var(--utrecht-textarea-border-color);
1359
- border-radius: var(--utrecht-textarea-border-radius, 0);
1415
+ .utrecht-html table.alternate-row-color > tbody > tr:nth-child(odd) > td, .utrecht-html table.alternate-row-color > tbody > tr:nth-child(odd) > th {
1416
+ background-color: var(--utrecht-table-row-alternate-odd-background-color);
1417
+ color: var(--utrecht-table-row-alternate-odd-color);
1418
+ }
1419
+ .utrecht-html textarea {
1420
+ /* Fall back to `resize: vertical` for browsers that don't support `resize: block` */
1421
+ background-color: var(--utrecht-textarea-background-color, var(--utrecht-form-control-background-color));
1422
+ border-width: var(--utrecht-textarea-border-width, var(--utrecht-form-control-border-width));
1423
+ border-bottom-width: var(--utrecht-textarea-border-bottom-width, var(--utrecht-textarea-border-width, var(--utrecht-form-control-border-width)));
1424
+ border-color: var(--utrecht-textarea-border-color, var(--utrecht-form-control-border-color));
1425
+ border-radius: var(--utrecht-textarea-border-radius, var(--utrecht-form-control-border-radius, 0));
1360
1426
  border-style: solid;
1361
- color: var(--utrecht-textarea-color);
1362
- font-family: var(--utrecht-textarea-font-family);
1363
- font-size: var(--utrecht-textarea-font-size, 1em);
1364
- max-width: var(--utrecht-textarea-max-width);
1365
- padding-block-end: var(--utrecht-textarea-padding-block-end);
1366
- padding-block-start: var(--utrecht-textarea-padding-block-start);
1367
- padding-inline-end: var(--utrecht-textarea-padding-inline-end);
1368
- padding-inline-start: var(--utrecht-textarea-padding-inline-start);
1427
+ box-sizing: border-box;
1428
+ color: var(--utrecht-textarea-color, var(--utrecht-form-control-color));
1429
+ font-family: var(--utrecht-textarea-font-family, var(--utrecht-form-control-font-family));
1430
+ font-size: var(--utrecht-textarea-font-size, var(--utrecht-form-control-font-size, inherit));
1431
+ font-weight: initial; /* harden */
1432
+ height: initial; /* harden */
1433
+ line-height: var(--utrecht-textarea-line-height, initial);
1434
+ max-inline-size: var(--utrecht-textarea-max-inline-size, var(--utrecht-form-control-max-inline-size));
1435
+ min-block-size: var(--utrecht-textarea-min-block-size);
1436
+ padding-block-end: var(--utrecht-textarea-padding-block-end, var(--utrecht-form-control-padding-block-end, 0));
1437
+ padding-block-start: var(--utrecht-textarea-padding-block-start, var(--utrecht-form-control-padding-block-start, 0));
1438
+ padding-inline-end: var(--utrecht-textarea-padding-inline-end, var(--utrecht-form-control-padding-inline-end, initial));
1439
+ padding-inline-start: var(--utrecht-textarea-padding-inline-start, var(--utrecht-form-control-padding-inline-start, initial));
1440
+ resize: vertical;
1441
+ resize: block;
1369
1442
  width: 100%;
1370
1443
  }
1371
-
1372
- .utrecht-textarea--invalid, .utrecht-textarea--html-textarea:invalid, .utrecht-textarea--html-textarea[aria-invalid=true], .utrecht-html textarea:invalid, .utrecht-html textarea[aria-invalid=true] {
1373
- border-color: var(--utrecht-textarea-invalid-border-color);
1374
- border-width: var(--utrecht-textarea-invalid-border-width);
1375
- }
1376
-
1377
- .utrecht-textarea--disabled, .utrecht-textarea--html-textarea:disabled, .utrecht-html textarea:disabled {
1378
- border-color: var(--utrecht-textarea-disabled-border-color);
1379
- color: var(--utrecht-textarea-disabled-color);
1380
- }
1381
-
1382
- .utrecht-textarea--focus, .utrecht-textarea--html-textarea:focus, .utrecht-html textarea:focus {
1383
- outline-width: var(--utrecht-focus-outline-width, 0);
1384
- outline-style: var(--utrecht-focus-outline-style, solid);
1385
- outline-color: var(--utrecht-focus-outline-color, transparent);
1386
- color: var(--utrecht-focus-color, inherit);
1387
- box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
1388
- outline-offset: 0;
1389
- background-color: var(--utrecht-focus-background-color);
1390
- }
1391
-
1392
- .utrecht-textarea--read-only, .utrecht-textarea--html-textarea:read-only, .utrecht-html textarea:read-only {
1393
- border-color: var(--utrecht-textarea-read-only-border-color);
1394
- color: var(--utrecht-textarea-read-only-color);
1395
- }
1396
-
1397
- /**
1398
- * @license EUPL-1.2
1399
- * Copyright (c) 2021 Robbert Broersma
1400
- */
1401
- /**
1402
- * @license EUPL-1.2
1403
- * Copyright (c) 2021 Robbert Broersma
1404
- */
1405
- .utrecht-textbox, .utrecht-html input[type=email],
1406
- .utrecht-html input[type=password],
1407
- .utrecht-html input[type=search],
1408
- .utrecht-html input[type=tel],
1409
- .utrecht-html input[type=text],
1410
- .utrecht-html input[type=url] {
1411
- border-width: var(--utrecht-textbox-border-width);
1412
- border-bottom-width: var(--utrecht-textbox-border-bottom-width, var(--utrecht-textbox-border-width));
1413
- border-color: var(--utrecht-textbox-border-color);
1414
- border-radius: var(--utrecht-textbox-border-radius, 0);
1444
+ .utrecht-html textarea:disabled {
1445
+ background-color: var(--utrecht-textarea-disabled-background-color, var(--utrecht-form-control-disabled-background-color, var(--utrecht-textarea-background-color, var(--utrecht-form-control-background-color))));
1446
+ border-color: var(--utrecht-textarea-disabled-border-color, var(--utrecht-form-control-disabled-border-color, var(--utrecht-textarea-border-color, var(--utrecht-form-control-border-color))));
1447
+ color: var(--utrecht-textarea-disabled-color, var(--utrecht-form-control-disabled-color, var(--utrecht-textarea-color, var(--utrecht-form-control-color))));
1448
+ cursor: var(--utrecht-action-disabled-cursor);
1449
+ }
1450
+ .utrecht-html textarea:focus {
1451
+ background-color: var(--utrecht-textarea-focus-background-color, var(--utrecht-form-control-focus-background-color, var(--utrecht-textarea-background-color, var(--utrecht-form-control-background-color))));
1452
+ border-color: var(--utrecht-textarea-focus-border-color, var(--utrecht-form-control-focus-border-color, var(--utrecht-textarea-border-color, var(--utrecht-form-control-border-color))));
1453
+ color: var(--utrecht-textarea-focus-color, var(--utrecht-form-control-focus-color, var(--utrecht-textarea-color, var(--utrecht-form-control-color))));
1454
+ /* - The browser default focus ring should apply when these CSS custom properties are not set.
1455
+ * - Make the `box-shadow` value available, so components that have their own `box-shadow`
1456
+ * can combine it with the focus ring box shadow.
1457
+ */
1458
+ --_utrecht-focus-ring-box-shadow: 0 0 0 var(--utrecht-focus-outline-width, 0)
1459
+ var(--utrecht-focus-inverse-outline-color, transparent);
1460
+ box-shadow: var(--_utrecht-focus-ring-box-shadow);
1461
+ outline-color: var(--utrecht-focus-outline-color, revert);
1462
+ outline-offset: var(--utrecht-focus-outline-offset, revert);
1463
+ outline-style: var(--utrecht-focus-outline-style, revert);
1464
+ outline-width: var(--utrecht-focus-outline-width, revert);
1465
+ }
1466
+ .utrecht-html textarea:focus:not(:focus-visible) {
1467
+ /* undo focus ring */
1468
+ box-shadow: none;
1469
+ outline-style: revert;
1470
+ }
1471
+ .utrecht-html textarea:invalid, .utrecht-html textarea[aria-invalid=true] {
1472
+ --_utrecht-textarea-border-width: var(
1473
+ --utrecht-textarea-invalid-border-width,
1474
+ var(
1475
+ --utrecht-form-control-invalid-border-width,
1476
+ var(--utrecht-textarea-border-width, var(--utrecht-form-control-border-width))
1477
+ )
1478
+ );
1479
+ background-color: var(--utrecht-textarea-invalid-background-color, var(--utrecht-form-control-invalid-background-color, var(--utrecht-textarea-background-color, var(--utrecht-form-control-background-color))));
1480
+ border-color: var(--utrecht-textarea-invalid-border-color, var(--utrecht-form-control-invalid-border-color, var(--utrecht-textarea-border-color, var(--utrecht-form-control-border-color))));
1481
+ border-width: var(--_utrecht-textarea-border-width);
1482
+ border-bottom-width: var(--utrecht-textarea-invalid-border-bottom-width, var(--utrecht-form-control-invalid-border-bottom-width, var(--utrecht-textarea-border-bottom-width, var(--utrecht-form-control-border-bottom-width, var(--_utrecht-textarea-border-width)))));
1483
+ color: var(--utrecht-textarea-invalid-color, var(--utrecht-form-control-invalid-color, var(--utrecht-textarea-color, var(--utrecht-form-control-color))));
1484
+ }
1485
+ .utrecht-html textarea:read-only {
1486
+ background-color: var(--utrecht-textarea-read-only-border, var(--utrecht-form-control-read-only-background-color, var(--utrecht-textarea-border, var(--utrecht-form-control-background-color))));
1487
+ border-color: var(--utrecht-textarea-read-only-border, var(--utrecht-form-control-read-only-border-color, var(--utrecht-textarea-border, var(--utrecht-form-control-border-color))));
1488
+ color: var(--utrecht-textarea-read-only-color, var(--utrecht-form-control-read-only-color, var(--utrecht-textarea-color, var(--utrecht-form-control-color))));
1489
+ }
1490
+ .utrecht-html textarea::placeholder {
1491
+ color: var(--utrecht-textarea-placeholder-color, var(--utrecht-form-control-placeholder-color, var(--utrecht-textarea-color, var(--utrecht-form-control-color))));
1492
+ font-style: var(--utrecht-form-control-placeholder-font-style);
1493
+ opacity: 100%;
1494
+ }
1495
+ .utrecht-html input:not([type]),
1496
+ .utrecht-html input[type=date i],
1497
+ .utrecht-html input[type=datetime-local i],
1498
+ .utrecht-html input[type=email i],
1499
+ .utrecht-html input[type=month i],
1500
+ .utrecht-html input[type=number i],
1501
+ .utrecht-html input[type=password i],
1502
+ .utrecht-html input[type=search i],
1503
+ .utrecht-html input[type=tel i],
1504
+ .utrecht-html input[type=text i],
1505
+ .utrecht-html input[type=time i],
1506
+ .utrecht-html input[type=url i],
1507
+ .utrecht-html input[type=week i] {
1508
+ background-color: var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color));
1509
+ border-width: var(--utrecht-textbox-border-width, var(--utrecht-form-control-border-width));
1510
+ border-bottom-width: var(--utrecht-textbox-border-bottom-width, var(--utrecht-textbox-border-width, var(--utrecht-form-control-border-width)));
1511
+ border-color: var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color));
1512
+ border-radius: var(--utrecht-textbox-border-radius, var(--utrecht-form-control-border-radius, 0));
1415
1513
  border-style: solid;
1416
- color: var(--utrecht-textbox-color);
1417
- font-family: var(--utrecht-textbox-font-family);
1418
- font-size: var(--utrecht-textbox-font-size, 1em);
1419
- max-width: var(--utrecht-textbox-max-width);
1420
- padding-block-end: var(--utrecht-textbox-padding-block-end);
1421
- padding-block-start: var(--utrecht-textbox-padding-block-start);
1422
- padding-inline-end: var(--utrecht-textbox-padding-inline-end);
1423
- padding-inline-start: var(--utrecht-textbox-padding-inline-start);
1424
1514
  box-sizing: border-box;
1515
+ color: var(--utrecht-textbox-color, var(--utrecht-form-control-color));
1516
+ font-family: var(--utrecht-textbox-font-family, var(--utrecht-form-control-font-family));
1517
+ font-size: var(--utrecht-textbox-font-size, var(--utrecht-form-control-font-size, inherit));
1518
+ font-weight: initial; /* harden */
1519
+ height: initial; /* harden */
1520
+ line-height: var(--utrecht-textbox-line-height, var(--utrecht-form-control-line-height, initial));
1521
+ max-inline-size: var(--utrecht-textbox-max-inline-size, var(--utrecht-form-control-max-inline-size));
1522
+ padding-block-end: var(--utrecht-textbox-padding-block-end, var(--utrecht-form-control-padding-block-end, 0));
1523
+ padding-block-start: var(--utrecht-textbox-padding-block-start, var(--utrecht-form-control-padding-block-start, 0));
1524
+ padding-inline-end: var(--utrecht-textbox-padding-inline-end, var(--utrecht-form-control-padding-inline-end, initial));
1525
+ padding-inline-start: var(--utrecht-textbox-padding-inline-start, var(--utrecht-form-control-padding-inline-start, initial));
1425
1526
  width: 100%;
1426
1527
  }
1427
-
1428
- .utrecht-textbox--invalid, .utrecht-textbox--html-input:invalid, .utrecht-textbox--html-input[aria-invalid=true], .utrecht-html input[type=email]:invalid,
1429
- .utrecht-html input[type=password]:invalid,
1430
- .utrecht-html input[type=search]:invalid,
1431
- .utrecht-html input[type=tel]:invalid,
1432
- .utrecht-html input[type=text]:invalid,
1433
- .utrecht-html input[type=url]:invalid, .utrecht-html input[aria-invalid=true][type=email],
1434
- .utrecht-html input[aria-invalid=true][type=password],
1435
- .utrecht-html input[aria-invalid=true][type=search],
1436
- .utrecht-html input[aria-invalid=true][type=tel],
1437
- .utrecht-html input[aria-invalid=true][type=text],
1438
- .utrecht-html input[aria-invalid=true][type=url] {
1439
- border-color: var(--utrecht-textbox-invalid-border-color);
1440
- border-width: var(--utrecht-textbox-invalid-border-width);
1441
- }
1442
-
1443
- .utrecht-textbox--disabled, .utrecht-textbox--html-input:disabled, .utrecht-html input[type=email]:disabled,
1444
- .utrecht-html input[type=password]:disabled,
1445
- .utrecht-html input[type=search]:disabled,
1446
- .utrecht-html input[type=tel]:disabled,
1447
- .utrecht-html input[type=text]:disabled,
1448
- .utrecht-html input[type=url]:disabled {
1449
- border-color: var(--utrecht-textbox-disabled-border-color);
1450
- color: var(--utrecht-textbox-disabled-color);
1451
- }
1452
-
1453
- .utrecht-textbox--focus, .utrecht-textbox--html-input:focus, .utrecht-html input[type=email]:focus,
1454
- .utrecht-html input[type=password]:focus,
1455
- .utrecht-html input[type=search]:focus,
1456
- .utrecht-html input[type=tel]:focus,
1457
- .utrecht-html input[type=text]:focus,
1458
- .utrecht-html input[type=url]:focus {
1459
- outline-width: var(--utrecht-focus-outline-width, 0);
1460
- outline-style: var(--utrecht-focus-outline-style, solid);
1461
- outline-color: var(--utrecht-focus-outline-color, transparent);
1462
- color: var(--utrecht-focus-color, inherit);
1463
- box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
1464
- outline-offset: 0;
1465
- background-color: var(--utrecht-focus-background-color);
1466
- }
1467
-
1468
- .utrecht-textbox--read-only, .utrecht-textbox--html-input:read-only, .utrecht-html input[type=email]:read-only,
1469
- .utrecht-html input[type=password]:read-only,
1470
- .utrecht-html input[type=search]:read-only,
1471
- .utrecht-html input[type=tel]:read-only,
1472
- .utrecht-html input[type=text]:read-only,
1473
- .utrecht-html input[type=url]:read-only {
1474
- border-color: var(--utrecht-textbox-read-only-border-color);
1475
- color: var(--utrecht-textbox-read-only-color);
1476
- }
1477
-
1478
- /**
1479
- * @license EUPL-1.2
1480
- * Copyright (c) 2021 Robbert Broersma
1481
- */
1482
- /**
1483
- * @license EUPL-1.2
1484
- * Copyright (c) 2021 Robbert Broersma
1485
- * Copyright (c) 2021 Gemeente Utrecht
1486
- */
1487
- .utrecht-unordered-list, .utrecht-html ul {
1528
+ .utrecht-html input:not([type]):disabled,
1529
+ .utrecht-html input[type=date i]:disabled,
1530
+ .utrecht-html input[type=datetime-local i]:disabled,
1531
+ .utrecht-html input[type=email i]:disabled,
1532
+ .utrecht-html input[type=month i]:disabled,
1533
+ .utrecht-html input[type=number i]:disabled,
1534
+ .utrecht-html input[type=password i]:disabled,
1535
+ .utrecht-html input[type=search i]:disabled,
1536
+ .utrecht-html input[type=tel i]:disabled,
1537
+ .utrecht-html input[type=text i]:disabled,
1538
+ .utrecht-html input[type=time i]:disabled,
1539
+ .utrecht-html input[type=url i]:disabled,
1540
+ .utrecht-html input[type=week i]:disabled {
1541
+ background-color: var(--utrecht-textbox-disabled-background-color, var(--utrecht-form-control-disabled-background-color, var(--utrecht-textarea-background-color, var(--utrecht-form-control-background-color))));
1542
+ border-color: var(--utrecht-textbox-disabled-border-color, var(--utrecht-form-control-disabled-border-color, var(--utrecht-textarea-border-color, var(--utrecht-form-control-border-color))));
1543
+ color: var(--utrecht-textbox-disabled-color, var(--utrecht-form-control-disabled-color, var(--utrecht-textarea-color, var(--utrecht-form-control-color))));
1544
+ cursor: var(--utrecht-action-disabled-cursor);
1545
+ }
1546
+ .utrecht-html input:not([type]):focus,
1547
+ .utrecht-html input[type=date i]:focus,
1548
+ .utrecht-html input[type=datetime-local i]:focus,
1549
+ .utrecht-html input[type=email i]:focus,
1550
+ .utrecht-html input[type=month i]:focus,
1551
+ .utrecht-html input[type=number i]:focus,
1552
+ .utrecht-html input[type=password i]:focus,
1553
+ .utrecht-html input[type=search i]:focus,
1554
+ .utrecht-html input[type=tel i]:focus,
1555
+ .utrecht-html input[type=text i]:focus,
1556
+ .utrecht-html input[type=time i]:focus,
1557
+ .utrecht-html input[type=url i]:focus,
1558
+ .utrecht-html input[type=week i]:focus {
1559
+ background-color: var(--utrecht-textbox-focus-background-color, var(--utrecht-form-control-focus-background-color, var(--utrecht-textarea-background-color, var(--utrecht-form-control-background-color))));
1560
+ border-color: var(--utrecht-textbox-focus-border-color, var(--utrecht-form-control-focus-border-color, var(--utrecht-textarea-border-color, var(--utrecht-form-control-border-color))));
1561
+ color: var(--utrecht-textbox-focus-color, var(--utrecht-form-control-focus-color, var(--utrecht-textarea-color, var(--utrecht-form-control-color))));
1562
+ /* - The browser default focus ring should apply when these CSS custom properties are not set.
1563
+ * - Make the `box-shadow` value available, so components that have their own `box-shadow`
1564
+ * can combine it with the focus ring box shadow.
1565
+ */
1566
+ --_utrecht-focus-ring-box-shadow: 0 0 0 var(--utrecht-focus-outline-width, 0)
1567
+ var(--utrecht-focus-inverse-outline-color, transparent);
1568
+ box-shadow: var(--_utrecht-focus-ring-box-shadow);
1569
+ outline-color: var(--utrecht-focus-outline-color, revert);
1570
+ outline-offset: var(--utrecht-focus-outline-offset, revert);
1571
+ outline-style: var(--utrecht-focus-outline-style, revert);
1572
+ outline-width: var(--utrecht-focus-outline-width, revert);
1573
+ }
1574
+ .utrecht-html input:not([type]):focus:not(:focus-visible),
1575
+ .utrecht-html input[type=date i]:focus:not(:focus-visible),
1576
+ .utrecht-html input[type=datetime-local i]:focus:not(:focus-visible),
1577
+ .utrecht-html input[type=email i]:focus:not(:focus-visible),
1578
+ .utrecht-html input[type=month i]:focus:not(:focus-visible),
1579
+ .utrecht-html input[type=number i]:focus:not(:focus-visible),
1580
+ .utrecht-html input[type=password i]:focus:not(:focus-visible),
1581
+ .utrecht-html input[type=search i]:focus:not(:focus-visible),
1582
+ .utrecht-html input[type=tel i]:focus:not(:focus-visible),
1583
+ .utrecht-html input[type=text i]:focus:not(:focus-visible),
1584
+ .utrecht-html input[type=time i]:focus:not(:focus-visible),
1585
+ .utrecht-html input[type=url i]:focus:not(:focus-visible),
1586
+ .utrecht-html input[type=week i]:focus:not(:focus-visible) {
1587
+ /* undo focus ring */
1588
+ box-shadow: none;
1589
+ outline-style: revert;
1590
+ }
1591
+ .utrecht-html input:not([type]):invalid, .utrecht-html input:not([type])[aria-invalid=true],
1592
+ .utrecht-html input[type=date i]:invalid,
1593
+ .utrecht-html input[type=date i][aria-invalid=true],
1594
+ .utrecht-html input[type=datetime-local i]:invalid,
1595
+ .utrecht-html input[type=datetime-local i][aria-invalid=true],
1596
+ .utrecht-html input[type=email i]:invalid,
1597
+ .utrecht-html input[type=email i][aria-invalid=true],
1598
+ .utrecht-html input[type=month i]:invalid,
1599
+ .utrecht-html input[type=month i][aria-invalid=true],
1600
+ .utrecht-html input[type=number i]:invalid,
1601
+ .utrecht-html input[type=number i][aria-invalid=true],
1602
+ .utrecht-html input[type=password i]:invalid,
1603
+ .utrecht-html input[type=password i][aria-invalid=true],
1604
+ .utrecht-html input[type=search i]:invalid,
1605
+ .utrecht-html input[type=search i][aria-invalid=true],
1606
+ .utrecht-html input[type=tel i]:invalid,
1607
+ .utrecht-html input[type=tel i][aria-invalid=true],
1608
+ .utrecht-html input[type=text i]:invalid,
1609
+ .utrecht-html input[type=text i][aria-invalid=true],
1610
+ .utrecht-html input[type=time i]:invalid,
1611
+ .utrecht-html input[type=time i][aria-invalid=true],
1612
+ .utrecht-html input[type=url i]:invalid,
1613
+ .utrecht-html input[type=url i][aria-invalid=true],
1614
+ .utrecht-html input[type=week i]:invalid,
1615
+ .utrecht-html input[type=week i][aria-invalid=true] {
1616
+ --_utrecht-textbox-border-width: var(
1617
+ --utrecht-textbox-invalid-border-width,
1618
+ var(
1619
+ --utrecht-form-control-invalid-border-width,
1620
+ var(--utrecht-textbox-border-width, var(--utrecht-form-control-border-width))
1621
+ )
1622
+ );
1623
+ background-color: var(--utrecht-textbox-invalid-background-color, var(--utrecht-form-control-invalid-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color))));
1624
+ border-color: var(--utrecht-textbox-invalid-border-color, var(--utrecht-form-control-invalid-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));
1625
+ border-width: var(--_utrecht-textbox-border-width);
1626
+ border-bottom-width: var(--utrecht-textbox-invalid-border-bottom-width, var(--utrecht-form-control-invalid-border-bottom-width, var(--utrecht-textbox-border-bottom-width, var(--utrecht-form-control-border-bottom-width, var(--_utrecht-textbox-border-width)))));
1627
+ color: var(--utrecht-textbox-invalid-color, var(--utrecht-form-control-invalid-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))));
1628
+ }
1629
+ .utrecht-html input:not([type]):read-only,
1630
+ .utrecht-html input[type=date i]:read-only,
1631
+ .utrecht-html input[type=datetime-local i]:read-only,
1632
+ .utrecht-html input[type=email i]:read-only,
1633
+ .utrecht-html input[type=month i]:read-only,
1634
+ .utrecht-html input[type=number i]:read-only,
1635
+ .utrecht-html input[type=password i]:read-only,
1636
+ .utrecht-html input[type=search i]:read-only,
1637
+ .utrecht-html input[type=tel i]:read-only,
1638
+ .utrecht-html input[type=text i]:read-only,
1639
+ .utrecht-html input[type=time i]:read-only,
1640
+ .utrecht-html input[type=url i]:read-only,
1641
+ .utrecht-html input[type=week i]:read-only {
1642
+ background-color: var(--utrecht-textbox-read-only-background-color, var(--utrecht-form-control-read-only-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color))));
1643
+ border-color: var(--utrecht-textbox-read-only-border-color, var(--utrecht-form-control-read-only-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));
1644
+ color: var(--utrecht-textbox-read-only-color, var(--utrecht-form-control-read-only-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))));
1645
+ }
1646
+ .utrecht-html input:not([type])::placeholder,
1647
+ .utrecht-html input[type=date i]::placeholder,
1648
+ .utrecht-html input[type=datetime-local i]::placeholder,
1649
+ .utrecht-html input[type=email i]::placeholder,
1650
+ .utrecht-html input[type=month i]::placeholder,
1651
+ .utrecht-html input[type=number i]::placeholder,
1652
+ .utrecht-html input[type=password i]::placeholder,
1653
+ .utrecht-html input[type=search i]::placeholder,
1654
+ .utrecht-html input[type=tel i]::placeholder,
1655
+ .utrecht-html input[type=text i]::placeholder,
1656
+ .utrecht-html input[type=time i]::placeholder,
1657
+ .utrecht-html input[type=url i]::placeholder,
1658
+ .utrecht-html input[type=week i]::placeholder {
1659
+ color: var(--utrecht-textbox-placeholder-color, var(--utrecht-form-control-placeholder-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))));
1660
+ font-style: var(--utrecht-form-control-placeholder-font-style);
1661
+ opacity: 100%;
1662
+ }
1663
+ .utrecht-html input[autocomplete~=current-password i],
1664
+ .utrecht-html input[autocomplete~=new-password i],
1665
+ .utrecht-html input[type=password i] {
1666
+ font-variant-ligatures: none;
1667
+ font-variant-numeric: slashed-zero;
1668
+ }
1669
+ .utrecht-html input[autocomplete~=bday i],
1670
+ .utrecht-html input[autocomplete~=bday-day i],
1671
+ .utrecht-html input[autocomplete~=bday-month i],
1672
+ .utrecht-html input[autocomplete~=bday-year i],
1673
+ .utrecht-html input[autocomplete~=cc-csc i],
1674
+ .utrecht-html input[autocomplete~=cc-exp i],
1675
+ .utrecht-html input[autocomplete~=cc-exp-month i],
1676
+ .utrecht-html input[autocomplete~=cc-exp-year i],
1677
+ .utrecht-html input[autocomplete~=cc-number i],
1678
+ .utrecht-html input[autocomplete~=one-time-code i],
1679
+ .utrecht-html input[autocomplete~=postal-code i],
1680
+ .utrecht-html input[autocomplete~=tel i],
1681
+ .utrecht-html input[autocomplete~=tel-area-code i],
1682
+ .utrecht-html input[autocomplete~=tel-country-code i],
1683
+ .utrecht-html input[autocomplete~=tel-extension i],
1684
+ .utrecht-html input[autocomplete~=tel-local i],
1685
+ .utrecht-html input[autocomplete~=tel-national i],
1686
+ .utrecht-html input[autocomplete~=transaction-amount i],
1687
+ .utrecht-html input[inputmode=decimal i],
1688
+ .utrecht-html input[inputmode=numeric i],
1689
+ .utrecht-html input[inputmode=tel i],
1690
+ .utrecht-html input[type=number i],
1691
+ .utrecht-html input[type=tel i] {
1692
+ -moz-appearance: textfield; /* avoid spinner input in Firefox */
1693
+ font-variant-numeric: lining-nums tabular-nums;
1694
+ }
1695
+ .utrecht-html input[inputmode=email i],
1696
+ .utrecht-html input[inputmode=url i],
1697
+ .utrecht-html input[type=email i],
1698
+ .utrecht-html input[type=url i] {
1699
+ font-variant-ligatures: none;
1700
+ }
1701
+ .utrecht-html ul {
1488
1702
  font-family: var(--utrecht-document-font-family, inherit);
1489
- font-size: var(--utrecht-document-font-size, inherit);
1490
- line-height: var(--utrecht-document-line-height, inherit);
1491
- padding-inline-start: 2ch;
1492
- }
1493
-
1494
- .utrecht-unordered-list--distanced, .utrecht-html ul {
1495
- margin-block-start: var(--utrecht-unordered-list-margin-block-start, var(--utrecht-paragraph-margin-block-start));
1496
- margin-block-end: var(--utrecht-unordered-list-margin-block-end, var(--utrecht-paragraph-margin-block-end));
1497
- }
1498
-
1499
- .utrecht-unordered-list--nested {
1500
- margin-inline-start: 2ch;
1501
- margin-block-end: 0;
1703
+ font-size: var(--utrecht-unordered-list-font-size, var(--utrecht-document-font-size, inherit));
1704
+ line-height: var(--utrecht-unordered-list-line-height, var(--utrecht-document-line-height, inherit));
1705
+ margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-unordered-list-margin-block-end, var(--utrecht-paragraph-margin-block-end, 0)));
1706
+ margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-unordered-list-margin-block-start, var(--utrecht-paragraph-margin-block-start, 0)));
1707
+ padding-inline-start: var(--utrecht-unordered-list-padding-inline-start, 2ch);
1708
+ text-align: start;
1709
+ --utrecht-space-around: 1;
1502
1710
  }
1503
-
1504
- .utrecht-unordered-list__item, .utrecht-html ul > li {
1505
- padding-inline-start: 1ch;
1506
- margin-block-start: var(--utrecht-unordered-list-item-margin-block-start);
1711
+ .utrecht-html ul > li {
1507
1712
  margin-block-end: var(--utrecht-unordered-list-item-margin-block-end);
1713
+ margin-block-start: var(--utrecht-unordered-list-item-margin-block-start);
1714
+ padding-inline-start: var(--utrecht-unordered-list-item-padding-inline-start, 1ch);
1508
1715
  }
1509
-
1510
- .utrecht-unordered-list__item::marker, .utrecht-html ul > li::marker,
1511
- .utrecht-unordered-list__marker {
1716
+ .utrecht-html ul > li::marker {
1512
1717
  color: var(--utrecht-unordered-list-marker-color);
1513
1718
  content: "●";
1514
1719
  }