@utrecht/component-library-css 1.0.0-alpha.26 → 1.0.0-alpha.262

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.
@@ -0,0 +1,25 @@
1
+ <!-- @license CC0-1.0 -->
2
+
3
+ # HTML Components
4
+
5
+ HTML components contain a small subset of the CSS components, for components that occur in regular HTML pages with semantic HTML. You can apply the `utrecht-html-content` class name to your page, and any semantic HTML will be styled automatically. This can be helpful to style HTML content from a CMS, for example.
6
+
7
+ ```shell
8
+ npm install --save-dev --save-exact @utrecht/component-library-css
9
+ ```
10
+
11
+ Include the CSS in your HTML page like so:
12
+
13
+ ```html
14
+ <!DOCTYPE html>
15
+ <html lang="en" class="utrecht-html-content">
16
+ <head>
17
+ <title>Example page</title>
18
+ <link rel="stylesheet" href="node_modules/@utrecht/component-library-css/dist/html.css" />
19
+ </head>
20
+ <body>
21
+ <h1>Home</h1>
22
+ <p>Hello, world!</p>
23
+ </body>
24
+ </html>
25
+ ```
package/package.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
- "version": "1.0.0-alpha.26",
2
+ "version": "1.0.0-alpha.262",
3
3
  "author": "Community for NL Design System",
4
4
  "description": "Component library bundle for the Municipality of Utrecht based on the NL Design System architecture",
5
5
  "license": "EUPL-1.2",
6
6
  "name": "@utrecht/component-library-css",
7
+ "keywords": [
8
+ "nl-design-system"
9
+ ],
7
10
  "private": false,
8
11
  "publishConfig": {
9
12
  "access": "public"
@@ -13,15 +16,16 @@
13
16
  "url": "git@github.com:nl-design-system/utrecht.git"
14
17
  },
15
18
  "devDependencies": {
16
- "@utrecht/design-tokens": "1.0.0-alpha.19",
19
+ "@utrecht/design-tokens": "1.0.0-alpha.255",
17
20
  "node-sass-package-importer": "5.3.2",
18
21
  "rimraf": "3.0.2",
19
- "sass": "1.36.0"
22
+ "sass": "1.51.0"
20
23
  },
21
24
  "scripts": {
22
25
  "prebuild": "npm run clean",
23
26
  "build": "sass src/:dist/ --load-path=../../node_modules/ --no-source-map",
24
27
  "clean": "rimraf dist/"
25
28
  },
26
- "gitHead": "1687769c8e388be097e0076b673e7616557bed9e"
29
+ "main": "dist/index.css",
30
+ "gitHead": "405adb3e0c2803d86b5a3ff67978f86f9ad1a24b"
27
31
  }
package/src/html.scss CHANGED
@@ -5,16 +5,4 @@
5
5
 
6
6
  /* Collection of all semantic HTML styles in the component library */
7
7
 
8
- @import "../../../components/article/html";
9
- @import "../../../components/blockquote/html";
10
- @import "../../../components/form-label/html";
11
- @import "../../../components/paragraph/html";
12
- @import "../../../components/textarea/html";
13
- @import "../../../components/button/html";
14
- @import "../../../components/heading/html";
15
- @import "../../../components/radio-button/html";
16
- @import "../../../components/textbox/html";
17
- @import "../../../components/checkbox/html";
18
- @import "../../../components/link/html";
19
- @import "../../../components/separator/html";
20
- @import "../../../components/unordered-list/html";
8
+ @import "../../../components/html-content/css";
package/src/index.scss CHANGED
@@ -3,12 +3,76 @@
3
3
  * Copyright (c) 2021 Gemeente Utrecht
4
4
  */
5
5
 
6
- /* Collection of:
7
- * - all BEM class names in the component library
8
- * - all semantic HTML styles in the component library
9
- * - CSS variables for Utrecht theme applied to `:root`
6
+ /* Collection of all BEM class names in the component library */
7
+
8
+ /*
9
+ * TODO: Once every component is a separate npm package, these imports should
10
+ * be updated to use a package reference instead of a relative path.
11
+ *
12
+ * For example:
13
+ * @import "../../blockquote/index";
14
+ *
15
+ * Will become:
16
+ * @import "@utrecht/blockquote/index";
10
17
  */
11
18
 
12
- @import "./bem";
13
- @import "./html";
14
- @import "./root-theme";
19
+ @import "../../../components/article/css";
20
+ @import "../../../components/badge-counter/css";
21
+ @import "../../../components/badge-data/css";
22
+ @import "../../../components/badge-status/css";
23
+ @import "../../../components/backdrop/css";
24
+ @import "../../../components/blockquote/css";
25
+ @import "../../../components/breadcrumb/css";
26
+ @import "../../../components/button/css";
27
+ @import "../../../components/button-group/css";
28
+ @import "../../../components/button-link/css";
29
+ @import "../../../components/checkbox/css";
30
+ @import "../../../components/custom-checkbox/css";
31
+ @import "../../../components/custom-radio-button/css";
32
+ @import "../../../components/digid-button/css";
33
+ @import "../../../components/document/css";
34
+ @import "../../../components/emphasis/css";
35
+ @import "../../../components/form-field-checkbox-group/css";
36
+ @import "../../../components/form-field-checkbox/css";
37
+ @import "../../../components/form-field-description/css";
38
+ @import "../../../components/form-field-radio-group/css";
39
+ @import "../../../components/form-field-radio/css";
40
+ @import "../../../components/form-field-textbox/css";
41
+ @import "../../../components/form-field/css";
42
+ @import "../../../components/form-fieldset/css";
43
+ @import "../../../components/form-label/css";
44
+ @import "../../../components/form-toggle/css";
45
+ @import "../../../components/heading-1/css";
46
+ @import "../../../components/heading-2/css";
47
+ @import "../../../components/heading-3/css";
48
+ @import "../../../components/heading-4/css";
49
+ @import "../../../components/heading-5/css";
50
+ @import "../../../components/heading-6/css";
51
+ @import "../../../components/link-list/css";
52
+ @import "../../../components/link-button/css";
53
+ @import "../../../components/link-social/css";
54
+ @import "../../../components/link/css";
55
+ @import "../../../components/logo-button/css";
56
+ @import "../../../components/logo/css";
57
+ @import "../../../components/mapcontrolbutton/css";
58
+ @import "../../../components/menulijst/css";
59
+ @import "../../../components/navigatie sidenav/css";
60
+ @import "../../../components/navigatie topnav/css";
61
+ @import "../../../components/ordered-list/css";
62
+ @import "../../../components/page-content/css";
63
+ @import "../../../components/page-footer/css";
64
+ @import "../../../components/page-header/css";
65
+ @import "../../../components/page/css";
66
+ @import "../../../components/pagination/css";
67
+ @import "../../../components/paragraph/css";
68
+ @import "../../../components/pre-heading/css";
69
+ @import "../../../components/radio-button/css";
70
+ @import "../../../components/search-bar/css";
71
+ @import "../../../components/select/css";
72
+ @import "../../../components/separator/css";
73
+ @import "../../../components/surface/css";
74
+ @import "../../../components/table/css";
75
+ @import "../../../components/textarea/css";
76
+ @import "../../../components/textbox/css";
77
+ @import "../../../components/unordered-list/css";
78
+ @import "../../../components/url/css";
package/dist/bem.css DELETED
@@ -1,523 +0,0 @@
1
- @charset "UTF-8";
2
- /**
3
- * @license EUPL-1.2
4
- * Copyright (c) 2021 Gemeente Utrecht
5
- */
6
- /* Collection of all BEM class names in the component library */
7
- /*
8
- * TODO: Once every component is a separate npm package, these imports should
9
- * be updated to use a package reference instead of a relative path.
10
- *
11
- * For example:
12
- * @import "../../blockquote/index";
13
- *
14
- * Will become:
15
- * @import "@utrecht/blockquote/index";
16
- */
17
- /**
18
- * @license EUPL-1.2
19
- * Copyright (c) 2021 Robbert Broersma
20
- */
21
- .utrecht-blockquote {
22
- font-family: var(--utrecht-document-font-family);
23
- font-size: var(--utrecht-blockquote-font-size);
24
- }
25
-
26
- .utrecht-blockquote__attribution {
27
- color: var(--utrecht-blockquote-attribution-color, inherit);
28
- font-size: var(--utrecht-blockquote-attribution-font-size, inherit);
29
- }
30
-
31
- .utrecht-blockquote__content {
32
- --utrecht-document-color: var(--utrecht-blockquote-content-color, inherit);
33
- --utrecht-paragraph-font-size: var(--utrecht-blockquote-content-font-size, inherit);
34
- color: var(--utrecht-blockquote-content-color, inherit);
35
- font-size: var(--utrecht-blockquote-content-font-size, inherit);
36
- }
37
-
38
- .utrecht-blockquote--distanced {
39
- margin-inline-start: var(--utrecht-blockquote-margin-inline-start);
40
- margin-inline-end: var(--utrecht-blockquote-margin-inline-end);
41
- margin-block-start: var(--utrecht-blockquote-margin-block-start);
42
- margin-block-end: var(--utrecht-blockquote-margin-block-end);
43
- }
44
-
45
- /**
46
- * @license EUPL-1.2
47
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
48
- * Copyright (c) 2021 Gemeente Utrecht
49
- */
50
- .utrecht-button {
51
- color: var(--utrecht-button-primary-action-color);
52
- font-size: var(--utrecht-button-font-size, var(--utrecht-document-font-family));
53
- font-family: var(--utrecht-button-font-family, var(--utrecht-document-font-family));
54
- background-color: var(--utrecht-button-primary-action-background-color);
55
- border-radius: var(--utrecht-button-border-radius);
56
- border-width: var(--utrecht-button-border-width);
57
- padding-inline-start: var(--utrecht-button-padding-inline-start);
58
- padding-inline-end: var(--utrecht-button-padding-inline-end);
59
- padding-block-start: var(--utrecht-button-padding-block-start);
60
- padding-block-end: var(--utrecht-button-padding-block-end);
61
- }
62
-
63
- .utrecht-button--distanced {
64
- margin-inline-start: var(--utrecht-button-margin-inline-start);
65
- margin-inline-end: var(--utrecht-button-margin-inline-end);
66
- margin-block-start: var(--utrecht-button-margin-block-start);
67
- margin-block-end: var(--utrecht-button-margin-block-end);
68
- }
69
-
70
- .utrecht-button:disabled,
71
- .utrecht-button--disabled {
72
- color: var(--utrecht-button-disabled-color);
73
- background-color: var(--utrecht-button-disabled-background-color);
74
- }
75
-
76
- .utrecht-button--focus,
77
- .utrecht-button:not(.utrecht-button--disabled):focus {
78
- outline-width: var(--utrecht-focus-outline-width, 0);
79
- outline-style: var(--utrecht-focus-outline-style, solid);
80
- outline-color: var(--utrecht-focus-outline-color, transparent);
81
- color: var(--utrecht-focus-color, inherit);
82
- box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
83
- outline-offset: 0;
84
- background-color: var(--utrecht-focus-background-color);
85
- }
86
-
87
- .utrecht-button--hover:not(:disabled),
88
- .utrecht-button:hover:not(:disabled):not(.utrecht-button--disabled) {
89
- color: var(--utrecht-button-primary-action-color);
90
- background-color: var(--utrecht-button-primary-action-hover-background-color);
91
- transform: scale(var(--utrecht-button-focus-transform-scale, 1));
92
- }
93
-
94
- /**
95
- * @license EUPL-1.2
96
- * Copyright (c) 2021 Robbert Broersma
97
- */
98
- .utrecht-checkbox {
99
- /* reset native margin for input[type="checkbox"] */
100
- margin-block-start: 0;
101
- margin-block-end: 0;
102
- margin-inline-start: 0;
103
- margin-inline-end: 0;
104
- }
105
-
106
- /**
107
- * @license EUPL-1.2
108
- * Copyright (c) 2021 Robbert Broersma
109
- */
110
- .utrecht-document {
111
- background-color: var(--utrecht-document-background-color, inherit);
112
- color: var(--utrecht-document-color, inherit);
113
- font-family: var(--utrecht-document-font-family, inherit);
114
- font-size: var(--utrecht-document-font-size, inherit);
115
- line-height: var(--utrecht-document-line-height, inherit);
116
- }
117
-
118
- /**
119
- * @license EUPL-1.2
120
- * Copyright (c) 2021 Robbert Broersma
121
- */
122
- .utrecht-form-field-checkbox {
123
- font-family: var(--utrecht-document-font-family, inherit);
124
- }
125
-
126
- .utrecht-form-field-checkbox--distanced {
127
- margin-block-start: var(--utrecht-form-field-margin-block-start, var(--utrecht-paragraph-margin-block-start));
128
- margin-block-end: var(--utrecht-form-field-margin-block-end, var(--utrecht-paragraph-margin-block-end));
129
- }
130
-
131
- .utrecht-form-field-checkbox__label {
132
- margin-inline-start: 1ch;
133
- }
134
-
135
- /**
136
- * @license EUPL-1.2
137
- * Copyright (c) 2021 Robbert Broersma
138
- */
139
- .utrecht-form-field-radio-group {
140
- font-size: var(--utrecht-paragraph-font-size);
141
- font-family: var(--utrecht-document-font-family, inherit);
142
- }
143
-
144
- .utrecht-form-field-radio-group--distanced {
145
- margin-block-start: var(--utrecht-form-field-margin-block-start, var(--utrecht-paragraph-margin-block-start));
146
- margin-block-end: var(--utrecht-form-field-margin-block-end, var(--utrecht-paragraph-margin-block-end));
147
- }
148
-
149
- .utrecht-form-field-radio-group__label {
150
- margin-block-start: var(--utrecht-paragraph-margin-block-start);
151
- margin-block-end: var(--utrecht-paragraph-margin-block-end);
152
- }
153
-
154
- /**
155
- * @license EUPL-1.2
156
- * Copyright (c) 2021 Robbert Broersma
157
- */
158
- .utrecht-form-field-radio {
159
- font-size: var(--utrecht-paragraph-font-size);
160
- font-family: var(--utrecht-document-font-family, inherit);
161
- }
162
-
163
- .utrecht-form-field-radio--distanced {
164
- margin-block-start: var(--utrecht-form-field-margin-block-start, var(--utrecht-paragraph-margin-block-start));
165
- margin-block-end: var(--utrecht-form-field-margin-block-end, var(--utrecht-paragraph-margin-block-end));
166
- }
167
-
168
- .utrecht-form-field-radio__label {
169
- margin-inline-start: 1ch;
170
- }
171
-
172
- /**
173
- * @license EUPL-1.2
174
- * Copyright (c) 2021 Robbert Broersma
175
- */
176
- .utrecht-form-label {
177
- font-weight: var(--utrecht-form-label-font-weight);
178
- font-size: var(--utrecht-form-label-font-size);
179
- }
180
-
181
- .utrecht-form-label--checkbox {
182
- font-weight: var(--utrecht-form-label-checkbox-font-weight, var(--utrecht-form-label-font-weight));
183
- }
184
-
185
- .utrecht-form-label--radio {
186
- font-weight: var(--utrecht-form-label-radio-font-weight, var(--utrecht-form-label-font-weight));
187
- }
188
-
189
- /**
190
- * @license EUPL-1.2
191
- * Copyright (c) 2021 Gemeente Utrecht
192
- * Copyright (c) 2021 Robbert Broersma
193
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
194
- */
195
- .utrecht-heading-1 {
196
- font-family: var(--utrecht-heading-1-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
197
- font-size: var(--utrecht-heading-1-font-size);
198
- font-weight: var(--utrecht-heading-1-font-weight, var(--utrecht-heading-font-weight, bold));
199
- letter-spacing: var(--utrecht-heading-1-letter-spacing);
200
- line-height: var(--utrecht-heading-1-line-height);
201
- text-transform: var(--utrecht-heading-1-text-transform, inherit);
202
- color: var(--utrecht-heading-1-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
203
- }
204
-
205
- .utrecht-heading-1--distanced {
206
- margin-block-start: var(--utrecht-heading-1-margin-block-start);
207
- margin-block-end: var(--utrecht-heading-1-margin-block-end);
208
- }
209
-
210
- .utrecht-heading-2 {
211
- font-family: var(--utrecht-heading-2-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
212
- font-size: var(--utrecht-heading-2-font-size);
213
- font-weight: var(--utrecht-heading-2-font-weight, var(--utrecht-heading-font-weight, bold));
214
- letter-spacing: var(--utrecht-heading-2-letter-spacing);
215
- line-height: var(--utrecht-heading-2-line-height);
216
- text-transform: var(--utrecht-heading-2-text-transform, inherit);
217
- color: var(--utrecht-heading-2-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
218
- }
219
-
220
- .utrecht-heading-2--distanced {
221
- margin-block-start: var(--utrecht-heading-2-margin-block-start);
222
- margin-block-end: var(--utrecht-heading-2-margin-block-end);
223
- }
224
-
225
- .utrecht-heading-3 {
226
- font-family: var(--utrecht-heading-3-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
227
- font-size: var(--utrecht-heading-3-font-size);
228
- font-weight: var(--utrecht-heading-3-font-weight, var(--utrecht-heading-font-weight, bold));
229
- letter-spacing: var(--utrecht-heading-3-letter-spacing);
230
- line-height: var(--utrecht-heading-3-line-height);
231
- text-transform: var(--utrecht-heading-3-text-transform, inherit);
232
- color: var(--utrecht-heading-3-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
233
- }
234
-
235
- .utrecht-heading-3--distanced {
236
- margin-block-start: var(--utrecht-heading-3-margin-block-start);
237
- margin-block-end: var(--utrecht-heading-3-margin-block-end);
238
- }
239
-
240
- .utrecht-heading-4 {
241
- font-family: var(--utrecht-heading-4-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
242
- font-size: var(--utrecht-heading-4-font-size);
243
- font-weight: var(--utrecht-heading-4-font-weight, var(--utrecht-heading-font-weight, bold));
244
- letter-spacing: var(--utrecht-heading-4-letter-spacing);
245
- line-height: var(--utrecht-heading-4-line-height);
246
- text-transform: var(--utrecht-heading-4-text-transform, inherit);
247
- color: var(--utrecht-heading-4-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
248
- }
249
-
250
- .utrecht-heading-4--distanced {
251
- margin-block-start: var(--utrecht-heading-4-margin-block-start);
252
- margin-block-end: var(--utrecht-heading-4-margin-block-end);
253
- }
254
-
255
- .utrecht-heading-5 {
256
- font-family: var(--utrecht-heading-5-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
257
- font-size: var(--utrecht-heading-5-font-size);
258
- font-weight: var(--utrecht-heading-5-font-weight, var(--utrecht-heading-font-weight, bold));
259
- letter-spacing: var(--utrecht-heading-5-letter-spacing);
260
- line-height: var(--utrecht-heading-5-line-height);
261
- text-transform: var(--utrecht-heading-5-text-transform, inherit);
262
- color: var(--utrecht-heading-5-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
263
- }
264
-
265
- .utrecht-heading-5--distanced {
266
- margin-block-start: var(--utrecht-heading-5-margin-block-start);
267
- margin-block-end: var(--utrecht-heading-5-margin-block-end);
268
- }
269
-
270
- .utrecht-heading-6 {
271
- font-family: var(--utrecht-heading-6-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
272
- font-size: var(--utrecht-heading-6-font-size);
273
- font-weight: var(--utrecht-heading-6-font-weight, var(--utrecht-heading-font-weight, bold));
274
- letter-spacing: var(--utrecht-heading-6-letter-spacing);
275
- line-height: var(--utrecht-heading-6-line-height);
276
- text-transform: var(--utrecht-heading-6-text-transform, inherit);
277
- color: var(--utrecht-heading-6-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
278
- }
279
-
280
- .utrecht-heading-6--distanced {
281
- margin-block-start: var(--utrecht-heading-6-margin-block-start);
282
- margin-block-end: var(--utrecht-heading-6-margin-block-end);
283
- }
284
-
285
- /**
286
- * @license EUPL-1.2
287
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
288
- * Copyright (c) 2021 Gemeente Utrecht
289
- */
290
- .utrecht-link {
291
- text-decoration: var(--utrecht-link-text-decoration, underline);
292
- color: var(--utrecht-link-color, blue);
293
- }
294
-
295
- .utrecht-link:visited,
296
- .utrecht-link--visited {
297
- color: var(--utrecht-link-visited-color, var(--utrecht-link-color));
298
- }
299
-
300
- .utrecht-link:hover,
301
- .utrecht-link--hover {
302
- color: var(--utrecht-link-hover-color, var(--utrecht-link-color));
303
- text-decoration: var(--utrecht-link-hover-text-decoration, var(--utrecht-link-text-decoration, underline));
304
- }
305
-
306
- .utrecht-link:active,
307
- .utrecht-link--active {
308
- color: var(--utrecht-link-active-color, var(--utrecht-link-color));
309
- }
310
-
311
- .utrecht-link:focus,
312
- .utrecht-link--focus {
313
- color: var(--utrecht-link-focus-color, var(--utrecht-link-color));
314
- text-decoration: var(--utrecht-link-focus-text-decoration, var(--utrecht-link-text-decoration, underline));
315
- outline-width: var(--utrecht-focus-outline-width, 0);
316
- outline-style: var(--utrecht-focus-outline-style, solid);
317
- outline-color: var(--utrecht-focus-outline-color, transparent);
318
- color: var(--utrecht-focus-color, inherit);
319
- box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
320
- outline-offset: 0;
321
- background-color: var(--utrecht-focus-background-color);
322
- }
323
-
324
- /* stylelint-disable-next-line block-no-empty */
325
- .utrecht-link--telephone {
326
- white-space: nowrap;
327
- }
328
-
329
- .utrecht-menulijst {
330
- border-top: var(--utrecht-border-width-md) solid var(--utrecht-color-grey-90);
331
- border-bottom: var(--utrecht-border-width-md) solid var(--utrecht-color-grey-90);
332
- font-family: var(--document-font-family);
333
- padding-block-start: var(--utrecht-space-block-sm);
334
- padding-block-end: var(--utrecht-space-block-sm);
335
- padding-inline-start: 0;
336
- }
337
-
338
- .utrecht-menulijst__item {
339
- margin-block-start: var(--utrecht-space-block-sm);
340
- margin-block-end: var(--utrecht-space-block-sm);
341
- list-style: none;
342
- }
343
-
344
- .utrecht-menulijst__item a:link {
345
- display: block;
346
- color: var(--utrecht-menulijst-item-color, var(--utrecht-link-color, blue));
347
- font-weight: var(--utrecht-typography-weight-scale-bold-font-weight);
348
- background-image: url("./pijltje.svg");
349
- background-repeat: no-repeat;
350
- background-position: 0 0.25em;
351
- padding-inline-start: var(--utrecht-space-block-md);
352
- text-decoration: none;
353
- }
354
-
355
- .utrecht-menulijst__item a:hover {
356
- color: var(--utrecht-menulijst-item-hover-color, var(--utrecht-link-hover-color, red));
357
- }
358
-
359
- .utrecht-menulijst__link--focus {
360
- outline-width: var(--utrecht-focus-outline-width, 0);
361
- outline-style: var(--utrecht-focus-outline-style, solid);
362
- outline-color: var(--utrecht-focus-outline-color, transparent);
363
- color: var(--utrecht-focus-color, inherit);
364
- box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
365
- outline-offset: 0;
366
- background-color: var(--utrecht-focus-background-color);
367
- }
368
-
369
- /**
370
- * @license EUPL-1.2
371
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
372
- */
373
- .utrecht-paragraph {
374
- color: var(--utrecht-document-color, inherit);
375
- font-family: var(--utrecht-paragraph-font-family, var(--utrecht-document-font-family, inherit));
376
- font-size: var(--utrecht-paragraph-font-size, var(--utrecht-document-font-size, inherit));
377
- font-weight: var(--utrecht-paragraph-font-weight, inherit);
378
- line-height: var(--utrecht-paragraph-line-height, var(--utrecht-document-line-height, inherit));
379
- }
380
-
381
- .utrecht-paragraph--lead {
382
- font-size: var(--utrecht-paragraph-lead-font-size, inherit);
383
- font-weight: var(--utrecht-paragraph-lead-font-weight, inherit);
384
- line-height: var(--utrecht-paragraph-lead-line-height, inherit);
385
- }
386
-
387
- .utrecht-paragraph--distanced {
388
- margin-block-start: var(--utrecht-paragraph-margin-block-start);
389
- margin-block-end: var(--utrecht-paragraph-margin-block-end);
390
- }
391
-
392
- /**
393
- * @license EUPL-1.2
394
- * Copyright (c) 2021 Gemeente Utrecht
395
- */
396
- .utrecht-radio-button {
397
- /* reset native margin for input[type="radio"] */
398
- margin-block-start: 0;
399
- margin-block-end: 0;
400
- margin-inline-start: 0;
401
- margin-inline-end: 0;
402
- }
403
-
404
- /**
405
- * @license EUPL-1.2
406
- * Copyright (c) 2021 Gemeente Utrecht
407
- * Copyright (c) 2021 Robbert Broersma
408
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
409
- */
410
- .utrecht-separator {
411
- border-style: solid;
412
- border-color: var(--utrecht-separator-color);
413
- border-width: 0 0 var(--utrecht-separator-width) 0;
414
- margin-block-start: var(--utrecht-separator-margin-block-start);
415
- margin-block-end: var(--utrecht-separator-margin-block-end);
416
- }
417
-
418
- /**
419
- * @license EUPL-1.2
420
- * Copyright (c) 2021 Robbert Broersma
421
- */
422
- .utrecht-textarea {
423
- border-width: var(--utrecht-textarea-border-width);
424
- border-bottom-width: var(--utrecht-textarea-border-bottom-width, var(--utrecht-textarea-border-width));
425
- border-color: var(--utrecht-textarea-border-color);
426
- border-radius: var(--utrecht-textarea-border-radius, 0);
427
- border-style: solid;
428
- color: var(--utrecht-textarea-color);
429
- font-family: var(--utrecht-textarea-font-family);
430
- font-size: var(--utrecht-textarea-font-size, 1em);
431
- max-width: var(--utrecht-textarea-max-width);
432
- padding-block-end: var(--utrecht-textarea-padding-block-end);
433
- padding-block-start: var(--utrecht-textarea-padding-block-start);
434
- padding-inline-end: var(--utrecht-textarea-padding-inline-end);
435
- padding-inline-start: var(--utrecht-textarea-padding-inline-start);
436
- width: 100%;
437
- }
438
-
439
- .utrecht-textarea--invalid {
440
- border-color: var(--utrecht-textarea-invalid-border-color);
441
- border-width: var(--utrecht-textarea-invalid-border-width);
442
- }
443
-
444
- .utrecht-textarea--disabled {
445
- border-color: var(--utrecht-textarea-disabled-border-color);
446
- color: var(--utrecht-textarea-disabled-color);
447
- }
448
-
449
- .utrecht-textarea--read-only {
450
- border-color: var(--utrecht-textarea-read-only-border-color);
451
- color: var(--utrecht-textarea-read-only-color);
452
- }
453
-
454
- /**
455
- * @license EUPL-1.2
456
- * Copyright (c) 2021 Robbert Broersma
457
- */
458
- .utrecht-textbox {
459
- border-width: var(--utrecht-textbox-border-width);
460
- border-bottom-width: var(--utrecht-textbox-border-bottom-width, var(--utrecht-textbox-border-width));
461
- border-color: var(--utrecht-textbox-border-color);
462
- border-radius: var(--utrecht-textbox-border-radius, 0);
463
- border-style: solid;
464
- color: var(--utrecht-textbox-color);
465
- font-family: var(--utrecht-textbox-font-family);
466
- font-size: var(--utrecht-textbox-font-size, 1em);
467
- max-width: var(--utrecht-textbox-max-width);
468
- padding-block-end: var(--utrecht-textbox-padding-block-end);
469
- padding-block-start: var(--utrecht-textbox-padding-block-start);
470
- padding-inline-end: var(--utrecht-textbox-padding-inline-end);
471
- padding-inline-start: var(--utrecht-textbox-padding-inline-start);
472
- box-sizing: border-box;
473
- width: 100%;
474
- }
475
-
476
- .utrecht-textbox--invalid {
477
- border-color: var(--utrecht-textbox-invalid-border-color);
478
- border-width: var(--utrecht-textbox-invalid-border-width);
479
- }
480
-
481
- .utrecht-textbox--disabled {
482
- border-color: var(--utrecht-textbox-disabled-border-color);
483
- color: var(--utrecht-textbox-disabled-color);
484
- }
485
-
486
- .utrecht-textbox--read-only {
487
- border-color: var(--utrecht-textbox-read-only-border-color);
488
- color: var(--utrecht-textbox-read-only-color);
489
- }
490
-
491
- /**
492
- * @license EUPL-1.2
493
- * Copyright (c) 2021 Robbert Broersma
494
- * Copyright (c) 2021 Gemeente Utrecht
495
- */
496
- .utrecht-unordered-list {
497
- font-family: var(--utrecht-document-font-family, inherit);
498
- font-size: var(--utrecht-document-font-size, inherit);
499
- line-height: var(--utrecht-document-line-height, inherit);
500
- padding-inline-start: 2ch;
501
- }
502
-
503
- .utrecht-unordered-list--distanced {
504
- margin-block-start: var(--utrecht-unordered-list-margin-block-start, var(--utrecht-paragraph-margin-block-start));
505
- margin-block-end: var(--utrecht-unordered-list-margin-block-end, var(--utrecht-paragraph-margin-block-end));
506
- }
507
-
508
- .utrecht-unordered-list--nested {
509
- margin-inline-start: 2ch;
510
- margin-block-end: 0;
511
- }
512
-
513
- .utrecht-unordered-list__item {
514
- padding-inline-start: 1ch;
515
- margin-block-start: var(--utrecht-unordered-list-item-margin-block-start);
516
- margin-block-end: var(--utrecht-unordered-list-item-margin-block-end);
517
- }
518
-
519
- .utrecht-unordered-list__item::marker,
520
- .utrecht-unordered-list__marker {
521
- color: var(--utrecht-unordered-list-marker-color);
522
- content: "●";
523
- }