@utrecht/component-library-css 1.0.0-alpha.3 → 1.0.0-alpha.301

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.3",
2
+ "version": "1.0.0-alpha.301",
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": "0.0.1",
19
+ "@utrecht/design-tokens": "1.0.0-alpha.294",
17
20
  "node-sass-package-importer": "5.3.2",
18
21
  "rimraf": "3.0.2",
19
- "sass": "1.35.1"
22
+ "sass": "1.54.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": "46cde1cb53a10ccd684abeddfe7bdf43066bc692"
29
+ "main": "dist/index.css",
30
+ "gitHead": "cabff650fb07a96706f95b5779e4e8f6b320189a"
27
31
  }
package/src/html.scss CHANGED
@@ -5,15 +5,4 @@
5
5
 
6
6
  /* Collection of all semantic HTML styles in the component library */
7
7
 
8
- @import "../../../components/blockquote/html";
9
- @import "../../../components/form-label/html";
10
- @import "../../../components/paragraph/html";
11
- @import "../../../components/textarea/html";
12
- @import "../../../components/button/html";
13
- @import "../../../components/heading/html";
14
- @import "../../../components/radio-button/html";
15
- @import "../../../components/textbox/html";
16
- @import "../../../components/checkbox/html";
17
- @import "../../../components/link/html";
18
- @import "../../../components/separator/html";
19
- @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,496 +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
- /**
182
- * @license EUPL-1.2
183
- * Copyright (c) 2021 Gemeente Utrecht
184
- * Copyright (c) 2021 Robbert Broersma
185
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
186
- */
187
- .utrecht-heading-1 {
188
- font-family: var(--utrecht-heading-1-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
189
- font-size: var(--utrecht-heading-1-font-size);
190
- font-weight: var(--utrecht-heading-1-font-weight, var(--utrecht-heading-font-weight, bold));
191
- letter-spacing: var(--utrecht-heading-1-letter-spacing);
192
- line-height: var(--utrecht-heading-1-line-height);
193
- text-transform: var(--utrecht-heading-1-text-transform, inherit);
194
- color: var(--utrecht-heading-1-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
195
- }
196
-
197
- .utrecht-heading-1--distanced {
198
- margin-block-start: var(--utrecht-heading-1-margin-block-start);
199
- margin-block-end: var(--utrecht-heading-1-margin-block-end);
200
- }
201
-
202
- .utrecht-heading-2 {
203
- font-family: var(--utrecht-heading-2-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
204
- font-size: var(--utrecht-heading-2-font-size);
205
- font-weight: var(--utrecht-heading-2-font-weight, var(--utrecht-heading-font-weight, bold));
206
- letter-spacing: var(--utrecht-heading-2-letter-spacing);
207
- line-height: var(--utrecht-heading-2-line-height);
208
- text-transform: var(--utrecht-heading-2-text-transform, inherit);
209
- color: var(--utrecht-heading-2-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
210
- }
211
-
212
- .utrecht-heading-2--distanced {
213
- margin-block-start: var(--utrecht-heading-2-margin-block-start);
214
- margin-block-end: var(--utrecht-heading-2-margin-block-end);
215
- }
216
-
217
- .utrecht-heading-3 {
218
- font-family: var(--utrecht-heading-3-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
219
- font-size: var(--utrecht-heading-3-font-size);
220
- font-weight: var(--utrecht-heading-3-font-weight, var(--utrecht-heading-font-weight, bold));
221
- letter-spacing: var(--utrecht-heading-3-letter-spacing);
222
- line-height: var(--utrecht-heading-3-line-height);
223
- text-transform: var(--utrecht-heading-3-text-transform, inherit);
224
- color: var(--utrecht-heading-3-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
225
- }
226
-
227
- .utrecht-heading-3--distanced {
228
- margin-block-start: var(--utrecht-heading-3-margin-block-start);
229
- margin-block-end: var(--utrecht-heading-3-margin-block-end);
230
- }
231
-
232
- .utrecht-heading-4 {
233
- font-family: var(--utrecht-heading-4-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
234
- font-size: var(--utrecht-heading-4-font-size);
235
- font-weight: var(--utrecht-heading-4-font-weight, var(--utrecht-heading-font-weight, bold));
236
- letter-spacing: var(--utrecht-heading-4-letter-spacing);
237
- line-height: var(--utrecht-heading-4-line-height);
238
- text-transform: var(--utrecht-heading-4-text-transform, inherit);
239
- color: var(--utrecht-heading-4-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
240
- }
241
-
242
- .utrecht-heading-4--distanced {
243
- margin-block-start: var(--utrecht-heading-4-margin-block-start);
244
- margin-block-end: var(--utrecht-heading-4-margin-block-end);
245
- }
246
-
247
- .utrecht-heading-5 {
248
- font-family: var(--utrecht-heading-5-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
249
- font-size: var(--utrecht-heading-5-font-size);
250
- font-weight: var(--utrecht-heading-5-font-weight, var(--utrecht-heading-font-weight, bold));
251
- letter-spacing: var(--utrecht-heading-5-letter-spacing);
252
- line-height: var(--utrecht-heading-5-line-height);
253
- text-transform: var(--utrecht-heading-5-text-transform, inherit);
254
- color: var(--utrecht-heading-5-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
255
- }
256
-
257
- .utrecht-heading-5--distanced {
258
- margin-block-start: var(--utrecht-heading-5-margin-block-start);
259
- margin-block-end: var(--utrecht-heading-5-margin-block-end);
260
- }
261
-
262
- .utrecht-heading-6 {
263
- font-family: var(--utrecht-heading-6-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
264
- font-size: var(--utrecht-heading-6-font-size);
265
- font-weight: var(--utrecht-heading-6-font-weight, var(--utrecht-heading-font-weight, bold));
266
- letter-spacing: var(--utrecht-heading-6-letter-spacing);
267
- line-height: var(--utrecht-heading-6-line-height);
268
- text-transform: var(--utrecht-heading-6-text-transform, inherit);
269
- color: var(--utrecht-heading-6-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
270
- }
271
-
272
- .utrecht-heading-6--distanced {
273
- margin-block-start: var(--utrecht-heading-6-margin-block-start);
274
- margin-block-end: var(--utrecht-heading-6-margin-block-end);
275
- }
276
-
277
- /**
278
- * @license EUPL-1.2
279
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
280
- * Copyright (c) 2021 Gemeente Utrecht
281
- */
282
- .utrecht-link {
283
- text-decoration: var(--utrecht-link-text-decoration, underline);
284
- color: var(--utrecht-link-color, blue);
285
- }
286
-
287
- .utrecht-link:visited,
288
- .utrecht-link--visited {
289
- color: var(--utrecht-link-visited-color, var(--utrecht-link-color));
290
- }
291
-
292
- .utrecht-link:hover,
293
- .utrecht-link--hover {
294
- color: var(--utrecht-link-hover-color, var(--utrecht-link-color));
295
- text-decoration: var(--utrecht-link-hover-text-decoration, var(--utrecht-link-text-decoration, underline));
296
- }
297
-
298
- .utrecht-link:active,
299
- .utrecht-link--active {
300
- color: var(--utrecht-link-active-color, var(--utrecht-link-color));
301
- }
302
-
303
- .utrecht-link:focus,
304
- .utrecht-link--focus {
305
- color: var(--utrecht-link-focus-color, var(--utrecht-link-color));
306
- text-decoration: var(--utrecht-link-focus-text-decoration, var(--utrecht-link-text-decoration, underline));
307
- outline-width: var(--utrecht-focus-outline-width, 0);
308
- outline-style: var(--utrecht-focus-outline-style, solid);
309
- outline-color: var(--utrecht-focus-outline-color, transparent);
310
- color: var(--utrecht-focus-color, inherit);
311
- box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
312
- outline-offset: 0;
313
- background-color: var(--utrecht-focus-background-color);
314
- }
315
-
316
- .utrecht-menulijst {
317
- border-top: 2px solid #eeeeee;
318
- border-bottom: 2px solid var(--utrecht-color-grey-30);
319
- font-family: var(--document-font-family);
320
- padding-block-start: 0.75em;
321
- padding-block-end: 0;
322
- }
323
-
324
- .utrecht-menulijst__item {
325
- margin-block-start: 0.75em;
326
- margin-block-end: 0.75em;
327
- list-style: none;
328
- }
329
-
330
- .utrecht-menulijst__item a {
331
- display: block;
332
- color: var(--utrecht-menulijst-item-color, var(--utrecht-link-color, blue));
333
- font-weight: var(--utrecht-typography-weight-scale-bold-font-weight);
334
- background: url("https://huisstijl.utrecht.nl/typo3conf/ext/alternet_sitepackage/Resources/Public/Images/svg/pijltje-blauw.svg") 0 0.25em no-repeat;
335
- padding-inline-start: 1em;
336
- }
337
-
338
- .utrecht-menulijst__item a:hover {
339
- color: var(--utrecht-menulijst-item-hover-color, var(--utrecht-link-hover-color, red));
340
- }
341
-
342
- /**
343
- * @license EUPL-1.2
344
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
345
- */
346
- .utrecht-paragraph {
347
- color: var(--utrecht-document-color, inherit);
348
- font-family: var(--utrecht-paragraph-font-family, var(--utrecht-document-font-family, inherit));
349
- font-size: var(--utrecht-paragraph-font-size, var(--utrecht-document-font-size, inherit));
350
- font-weight: var(--utrecht-paragraph-font-weight, inherit);
351
- line-height: var(--utrecht-paragraph-line-height, var(--utrecht-document-line-height, inherit));
352
- }
353
-
354
- .utrecht-paragraph--lead {
355
- font-size: var(--utrecht-paragraph-lead-font-size, inherit);
356
- font-weight: var(--utrecht-paragraph-lead-font-weight, inherit);
357
- line-height: var(--utrecht-paragraph-lead-line-height, inherit);
358
- }
359
-
360
- .utrecht-paragraph--distanced {
361
- margin-block-start: var(--utrecht-paragraph-margin-block-start);
362
- margin-block-end: var(--utrecht-paragraph-margin-block-end);
363
- }
364
-
365
- /**
366
- * @license EUPL-1.2
367
- * Copyright (c) 2021 Gemeente Utrecht
368
- */
369
- .utrecht-radio-button {
370
- /* reset native margin for input[type="radio"] */
371
- margin-block-start: 0;
372
- margin-block-end: 0;
373
- margin-inline-start: 0;
374
- margin-inline-end: 0;
375
- }
376
-
377
- /**
378
- * @license EUPL-1.2
379
- * Copyright (c) 2021 Gemeente Utrecht
380
- * Copyright (c) 2021 Robbert Broersma
381
- * Copyright (c) 2021 The Knights Who Say NIH! B.V.
382
- */
383
- .utrecht-separator {
384
- border-style: solid;
385
- border-color: var(--utrecht-separator-color);
386
- border-width: 0 0 var(--utrecht-separator-width) 0;
387
- margin-block-start: var(--utrecht-separator-margin-block-start);
388
- margin-block-end: var(--utrecht-separator-margin-block-end);
389
- }
390
-
391
- /**
392
- * @license EUPL-1.2
393
- * Copyright (c) 2021 Robbert Broersma
394
- */
395
- .utrecht-textarea {
396
- border-width: var(--utrecht-textarea-border-width);
397
- border-bottom-width: var(--utrecht-textarea-border-bottom-width, var(--utrecht-textarea-border-width));
398
- border-color: var(--utrecht-textarea-border-color);
399
- border-radius: var(--utrecht-textarea-border-radius, 0);
400
- border-style: solid;
401
- color: var(--utrecht-textarea-color);
402
- font-family: var(--utrecht-textarea-font-family);
403
- font-size: var(--utrecht-textarea-font-size, 1em);
404
- max-width: var(--utrecht-textarea-max-width);
405
- padding-block-end: var(--utrecht-textarea-padding-block-end);
406
- padding-block-start: var(--utrecht-textarea-padding-block-start);
407
- padding-inline-end: var(--utrecht-textarea-padding-inline-end);
408
- padding-inline-start: var(--utrecht-textarea-padding-inline-start);
409
- width: 100%;
410
- }
411
-
412
- .utrecht-textarea--invalid {
413
- border-color: var(--utrecht-textarea-invalid-border-color);
414
- border-width: var(--utrecht-textarea-invalid-border-width);
415
- }
416
-
417
- .utrecht-textarea--disabled {
418
- border-color: var(--utrecht-textarea-disabled-border-color);
419
- color: var(--utrecht-textarea-disabled-color);
420
- }
421
-
422
- .utrecht-textarea--read-only {
423
- border-color: var(--utrecht-textarea-read-only-border-color);
424
- color: var(--utrecht-textarea-read-only-color);
425
- }
426
-
427
- /**
428
- * @license EUPL-1.2
429
- * Copyright (c) 2021 Robbert Broersma
430
- */
431
- .utrecht-textbox {
432
- border-width: var(--utrecht-textbox-border-width);
433
- border-bottom-width: var(--utrecht-textbox-border-bottom-width, var(--utrecht-textbox-border-width));
434
- border-color: var(--utrecht-textbox-border-color);
435
- border-radius: var(--utrecht-textbox-border-radius, 0);
436
- border-style: solid;
437
- color: var(--utrecht-textbox-color);
438
- font-family: var(--utrecht-textbox-font-family);
439
- font-size: var(--utrecht-textbox-font-size, 1em);
440
- max-width: var(--utrecht-textbox-max-width);
441
- padding-block-end: var(--utrecht-textbox-padding-block-end);
442
- padding-block-start: var(--utrecht-textbox-padding-block-start);
443
- padding-inline-end: var(--utrecht-textbox-padding-inline-end);
444
- padding-inline-start: var(--utrecht-textbox-padding-inline-start);
445
- box-sizing: border-box;
446
- width: 100%;
447
- }
448
-
449
- .utrecht-textbox--invalid {
450
- border-color: var(--utrecht-textbox-invalid-border-color);
451
- border-width: var(--utrecht-textbox-invalid-border-width);
452
- }
453
-
454
- .utrecht-textbox--disabled {
455
- border-color: var(--utrecht-textbox-disabled-border-color);
456
- color: var(--utrecht-textbox-disabled-color);
457
- }
458
-
459
- .utrecht-textbox--read-only {
460
- border-color: var(--utrecht-textbox-read-only-border-color);
461
- color: var(--utrecht-textbox-read-only-color);
462
- }
463
-
464
- /**
465
- * @license EUPL-1.2
466
- * Copyright (c) 2021 Robbert Broersma
467
- * Copyright (c) 2021 Gemeente Utrecht
468
- */
469
- .utrecht-unordered-list {
470
- font-family: var(--utrecht-document-font-family, inherit);
471
- font-size: var(--utrecht-document-font-size, inherit);
472
- line-height: var(--utrecht-document-line-height, inherit);
473
- padding-inline-start: 2ch;
474
- }
475
-
476
- .utrecht-unordered-list--distanced {
477
- margin-block-start: var(--utrecht-unordered-list-margin-block-start, var(--utrecht-paragraph-margin-block-start));
478
- margin-block-end: var(--utrecht-unordered-list-margin-block-end, var(--utrecht-paragraph-margin-block-end));
479
- }
480
-
481
- .utrecht-unordered-list--nested {
482
- margin-inline-start: 2ch;
483
- margin-block-end: 0;
484
- }
485
-
486
- .utrecht-unordered-list__item {
487
- padding-inline-start: 1ch;
488
- margin-block-start: var(--utrecht-unordered-list-item-margin-block-start);
489
- margin-block-end: var(--utrecht-unordered-list-item-margin-block-end);
490
- }
491
-
492
- .utrecht-unordered-list__item::marker,
493
- .utrecht-unordered-list__marker {
494
- color: var(--utrecht-unordered-list-marker-color);
495
- content: "●";
496
- }