@utrecht/component-library-css 1.0.0-alpha.54 → 1.0.0-alpha.540

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