@rijkshuisstijl-community/components-css 1.0.0-alpha.99 → 1.0.1
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/CHANGELOG.md +13 -0
- package/dist/index.css +3 -3
- package/index.scss +7 -4
- package/package.json +11 -8
- package/src/accordion/index.scss +7 -0
- package/src/action-group/index.scss +2 -2
- package/src/alert/index.scss +6 -6
- package/src/article/index.scss +7 -0
- package/src/blockquote/_mixin.scss +17 -0
- package/src/blockquote/index.scss +4 -11
- package/src/breadcrumb-nav/index.scss +4 -1
- package/src/card/_mixin.scss +15 -0
- package/src/card/index.scss +8 -0
- package/src/code-input/index.scss +6 -10
- package/src/{code-input → code-input-group}/_mixin.scss +1 -11
- package/src/code-input-group/index.scss +9 -0
- package/src/dot-badge/_mixin.scss +2 -2
- package/src/dot-badge/index.scss +5 -0
- package/src/figure/index.scss +6 -0
- package/src/file-input/index.scss +5 -2
- package/src/footer/index.scss +94 -18
- package/src/form-field/index.scss +4 -0
- package/src/heading/index.scss +26 -0
- package/src/hero/_mixin.scss +3 -2
- package/src/link/_mixin.scss +3 -0
- package/src/link-list/index.scss +6 -0
- package/src/message-list/_mixin.scss +10 -6
- package/src/navigation-list/_mixin.scss +7 -4
- package/src/number-badge/index.scss +5 -0
- package/src/paragraph/index.scss +6 -0
- package/src/pre-heading/index.scss +0 -3
- package/src/radio-group/index.scss +4 -0
- package/src/skip-link/_mixin.scss +12 -5
- package/src/skip-link/index.scss +13 -15
- package/src/table/index.scss +6 -0
- package/src/unordered-list/index.scss +1 -1
- package/src/wrapper/_mixin.scss +420 -417
- package/src/wrapper/createSpacingCSS.js +14 -12
- package/src/wrapper/index.scss +33 -33
- package/src/wrapper/spacing-matrix.json +337 -301
- package/src/badgecounter/index.scss +0 -3
- /package/src/{textbox → text-input}/index.scss +0 -0
package/index.scss
CHANGED
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
@use "src/breadcrumb-nav/index" as breadcrumb;
|
|
15
15
|
@use "src/button/index" as button;
|
|
16
16
|
@use "src/card/index" as card;
|
|
17
|
+
@use "src/code-input/index" as codeInput;
|
|
18
|
+
@use "src/code-input-group/index" as codeInputGroup;
|
|
17
19
|
@use "src/dot-badge/index" as dotBadge;
|
|
18
20
|
@use "src/checkbox/index" as checkbox;
|
|
19
21
|
@use "src/figure/index" as figure;
|
|
@@ -24,6 +26,7 @@
|
|
|
24
26
|
@use "src/form-field-error-message/index" as formFieldError;
|
|
25
27
|
@use "src/form-field-radio-option/index" as FormFieldRadio;
|
|
26
28
|
@use "src/footer/index" as footer;
|
|
29
|
+
@use "src/heading/index" as heading;
|
|
27
30
|
@use "src/hero/index" as hero;
|
|
28
31
|
@use "src/link-list/index" as linkList;
|
|
29
32
|
@use "src/link-list-card/index" as linkListCard;
|
|
@@ -32,7 +35,10 @@
|
|
|
32
35
|
@use "src/navbar/index" as navbar;
|
|
33
36
|
@use "src/message-list/index" as messageList;
|
|
34
37
|
@use "src/navigation-list/index" as navigationList;
|
|
38
|
+
@use "src/number-badge/index" as numberBadge;
|
|
35
39
|
@use "src/ordered-list/index" as orderedList;
|
|
40
|
+
@use "src/paragraph/index.scss" as paragraph;
|
|
41
|
+
@use "src/pre-heading/index" as preHeading;
|
|
36
42
|
@use "src/radio/index" as radio;
|
|
37
43
|
@use "src/radio-group/index" as radioGroup;
|
|
38
44
|
@use "src/select/index" as select;
|
|
@@ -41,11 +47,8 @@
|
|
|
41
47
|
@use "src/skip-link/index" as skipLink;
|
|
42
48
|
@use "src/table/index" as table;
|
|
43
49
|
@use "src/textarea/index" as textarea;
|
|
44
|
-
@use "src/
|
|
50
|
+
@use "src/text-input/index" as textinput;
|
|
45
51
|
@use "src/toggletip/index" as toggletip;
|
|
46
52
|
@use "src/unordered-list/index" as unorderedList;
|
|
47
|
-
@use "src/badgecounter/index" as badgecounter;
|
|
48
|
-
@use "src/pre-heading/index" as preHeading;
|
|
49
|
-
@use "src/code-input/index" as codeInput;
|
|
50
53
|
@use "src/visually-hidden/index" as visually-hidden;
|
|
51
54
|
@use "src/wrapper/index" as wrapper;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rijkshuisstijl-community/components-css",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "Community for NL Design System",
|
|
6
6
|
"description": "CSS Components for a design system based on the NL Design System architecture",
|
|
@@ -20,16 +20,19 @@
|
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"scss": "0.2.4",
|
|
23
|
-
"vite": "6.0
|
|
23
|
+
"vite": "6.2.0"
|
|
24
|
+
},
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@nl-design-system-candidate/heading-css": "1.0.0",
|
|
27
|
+
"@nl-design-system-candidate/number-badge-css": "1.1.0",
|
|
28
|
+
"@nl-design-system-candidate/paragraph-css": "2.0.0",
|
|
29
|
+
"@nl-design-system-candidate/skip-link-css": "1.0.0",
|
|
30
|
+
"@utrecht/component-library-css": "7.0.0"
|
|
24
31
|
},
|
|
25
32
|
"scripts": {
|
|
26
33
|
"dev": "vite build --watch",
|
|
27
34
|
"generate": "node src/wrapper/createSpacingCSS.js && prettier --write ./src/wrapper",
|
|
28
35
|
"build": "pnpm run generate && pnpm run build:css",
|
|
29
36
|
"build:css": "vite build"
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
"@utrecht/component-library-css": "7.0.0"
|
|
33
|
-
},
|
|
34
|
-
"gitHead": "fcd43936ebe2d097b97f082c577ff2e2af59dfc2"
|
|
35
|
-
}
|
|
37
|
+
}
|
|
38
|
+
}
|
package/src/accordion/index.scss
CHANGED
|
@@ -66,3 +66,10 @@
|
|
|
66
66
|
justify-content: center;
|
|
67
67
|
margin-block: var(--rhc-accordion-button-icon-margin-block);
|
|
68
68
|
}
|
|
69
|
+
|
|
70
|
+
.utrecht-accordion__panel {
|
|
71
|
+
font-family: var(--rhc-font-family-primary, inherit);
|
|
72
|
+
font-size: var(--rhc-font-size-xs-desktop, inherit);
|
|
73
|
+
font-weight: var(--rhc-font-weight-regular, inherit);
|
|
74
|
+
line-height: var(--rhc-line-height-md, inherit);
|
|
75
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.utrecht-button-group {
|
|
2
|
-
column-gap: var(--
|
|
3
|
-
row-gap: var(--
|
|
2
|
+
column-gap: var(--rhc-space-100, 0.5rem);
|
|
3
|
+
row-gap: var(--rhc-space-100, 0.5rem);
|
|
4
4
|
@media (width <= 768px) {
|
|
5
5
|
flex-direction: column;
|
|
6
6
|
.utrecht-button,
|
package/src/alert/index.scss
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
.rhc-alert {
|
|
7
|
-
--
|
|
8
|
-
--
|
|
9
|
-
--
|
|
10
|
-
--
|
|
11
|
-
--
|
|
7
|
+
--nl-heading-level-1-line-height: var(--utrecht-alert-heading-line-height);
|
|
8
|
+
--nl-heading-level-2-line-height: var(--utrecht-alert-heading-line-height);
|
|
9
|
+
--nl-heading-level-3-line-height: var(--utrecht-alert-heading-line-height);
|
|
10
|
+
--nl-heading-level-4-line-height: var(--utrecht-alert-heading-line-height);
|
|
11
|
+
--nl-heading-level-5-line-height: var(--utrecht-alert-heading-line-height);
|
|
12
12
|
--utrecht-icon-inset-block-start: var(--utrecht-alert-icon-inset-block-start);
|
|
13
|
-
--
|
|
13
|
+
--nl-paragraph-line-height: var(--utrecht-alert-message-line-height);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.utrecht-alert__message {
|
package/src/article/index.scss
CHANGED
|
@@ -1 +1,8 @@
|
|
|
1
1
|
// if needed add styles here for the Article components.
|
|
2
|
+
|
|
3
|
+
.utrecht-article {
|
|
4
|
+
font-family: var(--rhc-font-family-primary, inherit);
|
|
5
|
+
font-size: var(--rhc-font-size-xs-desktop, inherit);
|
|
6
|
+
font-weight: var(--rhc-font-weight-regular, inherit);
|
|
7
|
+
line-height: var(--rhc-line-height-md, inherit);
|
|
8
|
+
}
|
|
@@ -4,6 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
@mixin rhc-blockquote {
|
|
7
|
+
--utrecht-blockquote-color: var(--utrecht-blockquote-content-color);
|
|
8
|
+
--utrecht-blockquote-font-size: var(--utrecht-blockquote-content-font-size);
|
|
9
|
+
--utrecht-document-font-family: var(--utrecht-blockquote-content-font-family);
|
|
10
|
+
|
|
7
11
|
background-color: var(--utrecht-blockquote-background-color);
|
|
8
12
|
border-block-end-width: var(--utrecht-blockquote-border-block-end-width);
|
|
9
13
|
border-block-start-width: var(--utrecht-blockquote-border-block-start-width);
|
|
@@ -17,6 +21,7 @@
|
|
|
17
21
|
border-style: solid;
|
|
18
22
|
display: flex;
|
|
19
23
|
flex-direction: column;
|
|
24
|
+
line-height: var(--utrecht-blockquote-content-line-height);
|
|
20
25
|
padding-block-end: var(--utrecht-blockquote-padding, var(--utrecht-blockquote-padding-block-end));
|
|
21
26
|
padding-block-start: var(--utrecht-blockquote-padding, var(--utrecht-blockquote-padding-block-start));
|
|
22
27
|
padding-inline-end: var(--utrecht-blockquote-padding, var(--utrecht-blockquote-padding-inline-end));
|
|
@@ -24,6 +29,18 @@
|
|
|
24
29
|
row-gap: var(--utrecht-blockquote-row-gap, inherit);
|
|
25
30
|
}
|
|
26
31
|
|
|
32
|
+
@mixin rhc-blockquote__quote {
|
|
33
|
+
margin-block-end: var(--utrecht-blockquote-margin-block-end, 0);
|
|
34
|
+
margin-block-start: var(--utrecht-blockquote-margin-block-start, 0);
|
|
35
|
+
margin-inline-end: var(--utrecht-blockquote-margin-inline-end, 0);
|
|
36
|
+
margin-inline-start: var(--utrecht-blockquote-margin-inline-start, 0);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@mixin rhc-blockquote__caption {
|
|
40
|
+
font-family: var(--utrecht-blockquote-caption-font-family, inherit);
|
|
41
|
+
line-height: var(--utrecht-blockquote-caption-line-height, inherit);
|
|
42
|
+
}
|
|
43
|
+
|
|
27
44
|
@mixin rhc-blockquote-variation($variation) {
|
|
28
45
|
background-color: var(
|
|
29
46
|
--utrecht-blockquote-#{$variation}-background-color,
|
|
@@ -6,22 +6,15 @@
|
|
|
6
6
|
@use "mixin";
|
|
7
7
|
|
|
8
8
|
.rhc-blockquote {
|
|
9
|
-
--utrecht-blockquote-color: var(--utrecht-blockquote-content-color);
|
|
10
|
-
--utrecht-blockquote-font-size: var(--utrecht-blockquote-content-font-size);
|
|
11
|
-
--utrecht-document-font-family: var(--utrecht-blockquote-content-font-family);
|
|
12
|
-
|
|
13
9
|
@include mixin.rhc-blockquote;
|
|
14
10
|
}
|
|
15
11
|
|
|
16
|
-
.utrecht-
|
|
17
|
-
|
|
12
|
+
.utrecht-blockquote__quote {
|
|
13
|
+
@include mixin.rhc-blockquote__quote;
|
|
18
14
|
}
|
|
19
15
|
|
|
20
|
-
.utrecht-
|
|
21
|
-
|
|
22
|
-
margin-block-start: 0;
|
|
23
|
-
margin-inline-end: 0;
|
|
24
|
-
margin-inline-start: 0;
|
|
16
|
+
.utrecht-blockquote__caption {
|
|
17
|
+
@include mixin.rhc-blockquote__caption;
|
|
25
18
|
}
|
|
26
19
|
|
|
27
20
|
.rhc-blockquote--blue-corner-border-variation {
|
|
@@ -3,8 +3,11 @@
|
|
|
3
3
|
* Copyright (c) 2021 Community for NL Design System
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
.utrecht-breadcrumb-nav {
|
|
6
|
+
.utrecht-breadcrumb-nav .utrecht-link:any-link {
|
|
7
7
|
line-height: var(--utrecht-breadcrumb-nav-line-height, inherit);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.utrecht-breadcrumb-nav {
|
|
8
11
|
&__link {
|
|
9
12
|
--utrecht-link-icon-inset-block-start: var(--utrecht-breadcrumb-nav-link-icon-inset-block-start, inherit);
|
|
10
13
|
|
package/src/card/_mixin.scss
CHANGED
|
@@ -5,7 +5,10 @@
|
|
|
5
5
|
column-gap: var(--rhc-card-as-link-column-gap, 16px);
|
|
6
6
|
display: inline-flex;
|
|
7
7
|
flex-direction: column;
|
|
8
|
+
font-family: var(--rhc-font-family-primary, inherit);
|
|
9
|
+
font-size: var(--rhc-font-size-xs-desktop, inherit);
|
|
8
10
|
inline-size: var(--rhc-card-as-link-inline-size, 328px);
|
|
11
|
+
line-height: var(--rhc-line-height-md, inherit);
|
|
9
12
|
position: relative;
|
|
10
13
|
text-decoration: none;
|
|
11
14
|
}
|
|
@@ -52,6 +55,10 @@
|
|
|
52
55
|
padding-inline-start: var(--rhc-card-as-link-full-bleed-padding-inline-start, 0);
|
|
53
56
|
}
|
|
54
57
|
|
|
58
|
+
@mixin rhc-card__button {
|
|
59
|
+
z-index: 1;
|
|
60
|
+
}
|
|
61
|
+
|
|
55
62
|
@mixin rhc-card__image {
|
|
56
63
|
aspect-ratio: 16 / 9;
|
|
57
64
|
block-size: 100%;
|
|
@@ -140,6 +147,14 @@
|
|
|
140
147
|
text-decoration: var(--rhc-card-as-link-link-text-decoration, underline);
|
|
141
148
|
}
|
|
142
149
|
|
|
150
|
+
@mixin rhc-card__anchor {
|
|
151
|
+
a::after {
|
|
152
|
+
content: "";
|
|
153
|
+
inset: 0;
|
|
154
|
+
position: absolute;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
143
158
|
@mixin rhc-card__link--active {
|
|
144
159
|
--utrecht-link-color: var(--rhc-card-as-link-link-active-color, #42145f);
|
|
145
160
|
|
package/src/card/index.scss
CHANGED
|
@@ -8,6 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
+
.rhc-card__button {
|
|
12
|
+
@include mixin.rhc-card__button;
|
|
13
|
+
}
|
|
14
|
+
|
|
11
15
|
.rhc-card div:empty {
|
|
12
16
|
@include mixin.rhc-card__empty-element;
|
|
13
17
|
}
|
|
@@ -71,6 +75,10 @@
|
|
|
71
75
|
@include mixin.rhc-card__link;
|
|
72
76
|
}
|
|
73
77
|
|
|
78
|
+
.rhc-card__anchor {
|
|
79
|
+
@include mixin.rhc-card__anchor;
|
|
80
|
+
}
|
|
81
|
+
|
|
74
82
|
.rhc-card:active {
|
|
75
83
|
@include mixin.rhc-card--active;
|
|
76
84
|
}
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
@use "mixin";
|
|
2
|
-
|
|
3
1
|
.rhc-code-input {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
.rhc-code-input-group {
|
|
8
|
-
@include mixin.rhc-code-input-group;
|
|
9
|
-
}
|
|
2
|
+
block-size: var(--rhc-code-input-size);
|
|
3
|
+
inline-size: var(--rhc-code-input-size);
|
|
4
|
+
text-align: center;
|
|
10
5
|
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
&--capitalized {
|
|
7
|
+
text-transform: uppercase;
|
|
8
|
+
}
|
|
13
9
|
}
|
|
@@ -3,20 +3,10 @@
|
|
|
3
3
|
* Copyright (c) 2021 Community for NL Design System
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
@mixin rhc-code-input__display-flex {
|
|
7
|
-
display: flex;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
6
|
@mixin rhc-code-input-group {
|
|
11
7
|
column-gap: var(--rhc-code-input-group-column-gap);
|
|
8
|
+
display: flex;
|
|
12
9
|
flex-direction: row;
|
|
13
|
-
@include rhc-code-input__display-flex;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@mixin rhc-code-input-container {
|
|
17
|
-
@include rhc-code-input__display-flex;
|
|
18
|
-
|
|
19
|
-
flex-direction: column;
|
|
20
10
|
}
|
|
21
11
|
|
|
22
12
|
@mixin rhc-code-input {
|
|
@@ -7,6 +7,6 @@
|
|
|
7
7
|
block-size: var(--rhc-dot-badge-size, var(--rhc-size-quarter-lint));
|
|
8
8
|
border-radius: var(--rhc-dot-badge-border-radius, var(--rhc-border-radius-circle));
|
|
9
9
|
color: var(--rhc-dot-badge-color, var(--rhc-color-rood-500));
|
|
10
|
-
display: inline-
|
|
11
|
-
inline-size: var(--rhc-dot-badge-inline-size, var(--rhc-size-quarter-lint));
|
|
10
|
+
display: inline-flex;
|
|
11
|
+
inline-size: var(--rhc-dot-badge-inline-size, var(--rhc-dot-badge-size, var(--rhc-size-quarter-lint)));
|
|
12
12
|
}
|
package/src/dot-badge/index.scss
CHANGED
|
@@ -2,8 +2,13 @@
|
|
|
2
2
|
* @license EUPL-1.2
|
|
3
3
|
* Copyright (c) 2021 Community for NL Design System
|
|
4
4
|
*/
|
|
5
|
+
@use "../button/mixin" as button-mixin;
|
|
5
6
|
@use "mixin";
|
|
6
7
|
|
|
7
8
|
.rhc-dot-badge {
|
|
8
9
|
@include mixin.rhc-dot-badge;
|
|
9
10
|
}
|
|
11
|
+
|
|
12
|
+
.rhc-dot-badge .rhc-dot-badge__sr-only {
|
|
13
|
+
@include button-mixin.invisible-but-accessible;
|
|
14
|
+
}
|
package/src/figure/index.scss
CHANGED
|
@@ -10,8 +10,14 @@
|
|
|
10
10
|
border-start-start-radius: var(--utrecht-figure-img-border-start-start-radius);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
.utrecht-figure {
|
|
14
|
+
font-size: var(--rhc-font-size-xs-desktop, inherit);
|
|
15
|
+
line-height: var(--rhc-line-height-md, inherit);
|
|
16
|
+
}
|
|
17
|
+
|
|
13
18
|
.utrecht-figure__caption {
|
|
14
19
|
border-inline-start: var(--utrecht-figure-caption-border-width) solid var(--utrecht-figure-caption-border-color);
|
|
20
|
+
font-family: var(--rhc-font-family-primary, inherit);
|
|
15
21
|
padding-block-end: var(--utrecht-figure-caption-padding-block-end);
|
|
16
22
|
padding-block-start: var(--utrecht-figure-caption-padding-block-start);
|
|
17
23
|
padding-inline-start: var(--utrecht-figure-caption-padding-inline-start);
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
.rhc-file-input {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
|
+
font-family: var(--rhc-font-family-primary, inherit);
|
|
5
|
+
line-height: var(--rhc-line-height-md, inherit);
|
|
4
6
|
row-gap: var(--rhc-file-input-row-gap);
|
|
5
7
|
}
|
|
6
8
|
|
|
@@ -9,10 +11,11 @@
|
|
|
9
11
|
}
|
|
10
12
|
|
|
11
13
|
.rhc-file-input__feedback {
|
|
14
|
+
--nl-paragraph-font-size: var(--rhc-file-input-feedback-font-size);
|
|
15
|
+
--nl-paragraph-color: var(--rhc-file-input-feedback-color);
|
|
16
|
+
|
|
12
17
|
align-items: center;
|
|
13
|
-
color: var(--rhc-file-input-feedback-color);
|
|
14
18
|
display: flex;
|
|
15
|
-
font-size: var(--rhc-file-input-feedback-font-size);
|
|
16
19
|
padding-inline-end: var(--rhc-file-padding-inline-end);
|
|
17
20
|
padding-inline-start: var(--rhc-file-padding-inline-start);
|
|
18
21
|
}
|
package/src/footer/index.scss
CHANGED
|
@@ -8,31 +8,43 @@
|
|
|
8
8
|
--_utrecht-link-state-text-decoration-color: currentColor;
|
|
9
9
|
--utrecht-column-layout-gap: var(--rhc-page-footer-column-gap);
|
|
10
10
|
--utrecht-column-layout-column-width: var(--rhc-page-footer-column-width);
|
|
11
|
-
--
|
|
12
|
-
--
|
|
13
|
-
--
|
|
14
|
-
--
|
|
15
|
-
--
|
|
16
|
-
--
|
|
11
|
+
--nl-heading-level-1-color: currentColor;
|
|
12
|
+
--nl-heading-level-2-color: currentColor;
|
|
13
|
+
--nl-heading-level-3-color: currentColor;
|
|
14
|
+
--nl-heading-level-4-color: currentColor;
|
|
15
|
+
--nl-heading-level-5-color: currentColor;
|
|
16
|
+
--nl-heading-level-6-color: currentColor;
|
|
17
17
|
|
|
18
|
+
align-items: center;
|
|
18
19
|
display: flex;
|
|
19
20
|
flex-direction: var(--rhc-page-footer-flex-direction);
|
|
20
|
-
|
|
21
|
+
padding-block: 0;
|
|
22
|
+
padding-inline: 0;
|
|
21
23
|
|
|
22
24
|
:is(h1, h2, h3, h4, h5, h6) {
|
|
23
25
|
margin-block-end: var(--utrecht-rich-text-friend-margin-block-end);
|
|
24
26
|
}
|
|
25
27
|
}
|
|
26
28
|
|
|
29
|
+
.rhc-page-footer > * {
|
|
30
|
+
inline-size: 100%;
|
|
31
|
+
}
|
|
32
|
+
|
|
27
33
|
.rhc-page-footer--primary-filled {
|
|
28
34
|
--utrecht-page-footer-background-color: var(--rhc-color-primary-500);
|
|
29
35
|
}
|
|
30
36
|
|
|
37
|
+
.rhc-page-footer--primary-filled.rhc-page-subfooter {
|
|
38
|
+
border-block-start-color: var(--rhc-page-footer-border-block-start-color);
|
|
39
|
+
border-block-start-style: var(--rhc-page-footer-border-block-start-style);
|
|
40
|
+
border-block-start-width: var(--rhc-page-footer-border-block-start-width);
|
|
41
|
+
}
|
|
42
|
+
|
|
31
43
|
.rhc-page-footer--primary-outlined {
|
|
32
|
-
--utrecht-page-footer-background-color: var(--rhc-color
|
|
33
|
-
--utrecht-page-footer-color: var(--rhc-
|
|
44
|
+
--utrecht-page-footer-background-color: var(--rhc-page-footer-outlined-background-color);
|
|
45
|
+
--utrecht-page-footer-color: var(--rhc-page-footer-outlined-color);
|
|
34
46
|
|
|
35
|
-
border-block-start-color: var(--rhc-page-footer-border-
|
|
47
|
+
border-block-start-color: var(--rhc-page-footer-outlined-border-color);
|
|
36
48
|
border-block-start-style: var(--rhc-page-footer-border-block-start-style);
|
|
37
49
|
border-block-start-width: var(--rhc-page-footer-border-block-start-width);
|
|
38
50
|
}
|
|
@@ -41,15 +53,28 @@
|
|
|
41
53
|
column-gap: var(--rhc-page-footer-column-gap);
|
|
42
54
|
display: flex;
|
|
43
55
|
flex: 1;
|
|
44
|
-
flex-direction:
|
|
56
|
+
flex-direction: row;
|
|
57
|
+
@media (width <= 1024px) {
|
|
58
|
+
& {
|
|
59
|
+
flex-direction: var(--rhc-page-footer-flex-direction);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.rhc-page-footer__wrapper {
|
|
65
|
+
box-sizing: border-box;
|
|
66
|
+
inline-size: 100%;
|
|
45
67
|
max-inline-size: var(--rhc-page-footer-content-max-inline-size);
|
|
46
|
-
padding-
|
|
47
|
-
padding-
|
|
68
|
+
padding-block-end: var(--utrecht-page-footer-padding-block-end);
|
|
69
|
+
padding-block-start: var(--utrecht-page-footer-padding-block-start);
|
|
70
|
+
padding-inline-end: var(--utrecht-page-footer-padding-inline-end);
|
|
71
|
+
padding-inline-start: var(--utrecht-page-footer-padding-inline-start);
|
|
48
72
|
}
|
|
49
73
|
|
|
50
74
|
.rhc-page-footer__section,
|
|
51
75
|
.rhc-page-footer__title {
|
|
52
76
|
break-inside: avoid;
|
|
77
|
+
line-height: var(--rhc-line-height-md, inherit);
|
|
53
78
|
padding-block-end: var(--rhc-page-footer-padding-block-end);
|
|
54
79
|
}
|
|
55
80
|
|
|
@@ -57,15 +82,66 @@
|
|
|
57
82
|
flex: 1;
|
|
58
83
|
}
|
|
59
84
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
85
|
+
.rhc-page-subfooter {
|
|
86
|
+
align-items: center;
|
|
87
|
+
display: flex;
|
|
88
|
+
flex-direction: var(--rhc-page-footer-flex-direction);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.rhc-page-subfooter__content {
|
|
92
|
+
align-items: center;
|
|
93
|
+
display: flex;
|
|
94
|
+
gap: var(--rhc-page-footer-content-column-gap);
|
|
95
|
+
justify-content: space-between;
|
|
96
|
+
|
|
97
|
+
@media (width <= 1024px) {
|
|
98
|
+
flex-direction: column;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.rhc-page-subfooter__backtotop {
|
|
103
|
+
align-items: center;
|
|
104
|
+
color: inherit;
|
|
105
|
+
cursor: pointer;
|
|
106
|
+
display: flex;
|
|
107
|
+
text-decoration: none;
|
|
108
|
+
&:hover {
|
|
109
|
+
text-decoration: var(--rhc-sidenav-link-active-text-decoration);
|
|
63
110
|
}
|
|
64
111
|
}
|
|
65
112
|
|
|
66
|
-
@media (width <=
|
|
67
|
-
.rhc-page-
|
|
113
|
+
@media (width <= 780px) {
|
|
114
|
+
.rhc-page-footer__wrapper {
|
|
115
|
+
--utrecht-page-footer-padding-inline-end: var(--rhc-page-footer-padding-inline-end);
|
|
68
116
|
--utrecht-page-footer-padding-inline-start: var(--rhc-page-footer-padding-inline-start);
|
|
117
|
+
--utrecht-page-footer-padding-block-end: var(--rhc-page-footer-padding-block-end);
|
|
69
118
|
--utrecht-page-footer-padding-block-start: var(--rhc-page-footer-padding-block-start);
|
|
70
119
|
}
|
|
71
120
|
}
|
|
121
|
+
|
|
122
|
+
.rhc-page-prefooter {
|
|
123
|
+
display: flex;
|
|
124
|
+
justify-content: center;
|
|
125
|
+
position: relative;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.rhc-page-prefooter::before {
|
|
129
|
+
background-color: var(--rhc-color-primary-500);
|
|
130
|
+
block-size: 1.5rem;
|
|
131
|
+
content: "";
|
|
132
|
+
inline-size: 2rem;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.rhc-page-prefooter__content {
|
|
136
|
+
font-family: var(--rhc-font-family-secondary);
|
|
137
|
+
inset: 0% 50% auto auto;
|
|
138
|
+
line-height: 100%;
|
|
139
|
+
margin-inline-end: -2rem;
|
|
140
|
+
position: absolute;
|
|
141
|
+
transform: translateX(100%);
|
|
142
|
+
@media (width <= 720px) {
|
|
143
|
+
& {
|
|
144
|
+
display: none;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
* @license EUPL-1.2
|
|
3
3
|
* Copyright (c) 2021 Community for NL Design System
|
|
4
4
|
*/
|
|
5
|
+
.utrecht-form-field {
|
|
6
|
+
font-size: var(--rhc-font-size-xs-desktop, inherit);
|
|
7
|
+
line-height: var(--rhc-line-height-md, inherit);
|
|
8
|
+
}
|
|
5
9
|
|
|
6
10
|
.utrecht-rich-text .utrecht-form-field {
|
|
7
11
|
margin-block-end: var(--utrecht-form-field-margin-block-end);
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
@use "../../node_modules/@nl-design-system-candidate/heading-css/dist/heading.css";
|
|
2
|
+
|
|
3
|
+
.nl-heading--level-1 {
|
|
4
|
+
margin-block-end: var(--nl-heading-level-1-margin-block-end, var(--rhc-space-0, 0));
|
|
5
|
+
margin-block-start: var(--nl-heading-level-1-margin-block-start, var(--rhc-space-0, 0));
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.nl-heading--level-2 {
|
|
9
|
+
margin-block-end: var(--nl-heading-level-2-margin-block-end, var(--rhc-space-0, 0));
|
|
10
|
+
margin-block-start: var(--nl-heading-level-2-margin-block-start, var(--rhc-space-0, 0));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.nl-heading--level-3 {
|
|
14
|
+
margin-block-end: var(--nl-heading-level-3-margin-block-end, var(--rhc-space-0, 0));
|
|
15
|
+
margin-block-start: var(--nl-heading-level-3-margin-block-start, var(--rhc-space-0, 0));
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.nl-heading--level-4 {
|
|
19
|
+
margin-block-end: var(--nl-heading-level-4-margin-block-end, var(--rhc-space-0, 0));
|
|
20
|
+
margin-block-start: var(--nl-heading-level-4-margin-block-start, var(--rhc-space-0, 0));
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.nl-heading--level-5 {
|
|
24
|
+
margin-block-end: var(--nl-heading-level-5-margin-block-end, var(--rhc-space-0, 0));
|
|
25
|
+
margin-block-start: var(--nl-heading-level-5-margin-block-start, var(--rhc-space-0, 0));
|
|
26
|
+
}
|
package/src/hero/_mixin.scss
CHANGED
|
@@ -85,9 +85,10 @@
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
@mixin rhc-hero__sub-heading {
|
|
88
|
-
|
|
88
|
+
--nl-paragraph-font-size: var(--rhc-hero-sub-heading-font-size);
|
|
89
|
+
--nl-paragraph-color: currentColor;
|
|
90
|
+
|
|
89
91
|
font-family: var(--rhc-hero-sub-heading-font-family);
|
|
90
|
-
font-size: var(--rhc-hero-sub-heading-font-size);
|
|
91
92
|
font-weight: var(--rhc-hero-sub-heading-font-weight);
|
|
92
93
|
line-height: var(--rhc-hero-sub-heading-line-height);
|
|
93
94
|
}
|
package/src/link/_mixin.scss
CHANGED
|
@@ -8,6 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
column-gap: var(--utrecht-link-column-gap, inherit);
|
|
10
10
|
display: inline-flex;
|
|
11
|
+
font-family: var(--rhc-font-family-primary, inherit);
|
|
12
|
+
font-size: var(--rhc-font-size-xs-desktop, inherit);
|
|
13
|
+
line-height: var(--rhc-line-height-md, inherit);
|
|
11
14
|
}
|
|
12
15
|
|
|
13
16
|
@mixin rhc-link--icon {
|
package/src/link-list/index.scss
CHANGED
|
@@ -13,4 +13,10 @@
|
|
|
13
13
|
|
|
14
14
|
.utrecht-link-list__item {
|
|
15
15
|
display: inline-flex;
|
|
16
|
+
font-family: var(--rhc-font-family-primary, inherit);
|
|
17
|
+
font-size: var(--rhc-font-size-xs-desktop, inherit);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.utrecht-link-list__item .utrecht-link:any-link {
|
|
21
|
+
line-height: var(--rhc-line-height-md, inherit);
|
|
16
22
|
}
|
|
@@ -55,25 +55,29 @@
|
|
|
55
55
|
grid-template-columns: 1fr 2fr auto auto;
|
|
56
56
|
}
|
|
57
57
|
@mixin rhc-message-list__item__label {
|
|
58
|
-
--
|
|
58
|
+
--nl-paragraph-font-weight: var(--rhc-message-list-item-label-font-weight);
|
|
59
|
+
--nl-paragraph-font-size: var(--rhc-message-list-item-label-font-size);
|
|
60
|
+
--nl-paragraph-line-height: var(--rhc-message-list-item-label-line-height);
|
|
59
61
|
|
|
62
|
+
align-items: center;
|
|
60
63
|
color: var(--rhc-message-list-item-heading-color);
|
|
61
64
|
column-gap: var(--rhc-space-100);
|
|
62
65
|
display: flex;
|
|
63
66
|
font-family: var(--rhc-message-list-item-label-font-family), sans-serif;
|
|
64
|
-
font-size: var(--rhc-message-list-item-label-font-size);
|
|
65
|
-
font-weight: var(--rhc-message-list-item-label-font-weight);
|
|
66
67
|
grid-area: label;
|
|
67
|
-
line-height: var(--rhc-message-list-item-label-line-height);
|
|
68
68
|
margin-block: 0;
|
|
69
69
|
}
|
|
70
70
|
@mixin rhc-message-list__item__description {
|
|
71
|
-
color: var(--rhc-color-foreground-subdued, inherit);
|
|
71
|
+
--nl-paragraph-color: var(--rhc-color-foreground-subdued, inherit);
|
|
72
|
+
--nl-paragraph-font-size: var(--rhc-message-list-item-content-font-size);
|
|
73
|
+
|
|
72
74
|
grid-area: description;
|
|
73
75
|
margin-block: 0;
|
|
74
76
|
}
|
|
75
77
|
@mixin rhc-message-list__item__meta-data {
|
|
76
|
-
color: var(--rhc-color-foreground-subdued, inherit);
|
|
78
|
+
--nl-paragraph-color: var(--rhc-color-foreground-subdued, inherit);
|
|
79
|
+
--nl-paragraph-font-size: var(--rhc-message-list-item-content-font-size);
|
|
80
|
+
|
|
77
81
|
grid-area: meta;
|
|
78
82
|
margin-block: 0;
|
|
79
83
|
}
|