dso-toolkit 62.25.0 → 62.27.0
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 +30 -0
- package/dist/dso.css +1606 -1442
- package/dist/dso.css.map +1 -1
- package/dist/dso.min.css +1 -1
- package/dist/dso.min.css.map +1 -1
- package/dist/index.js +9 -9
- package/package.json +4 -4
- package/src/components/accordion/accordion-theme-compact.scss +18 -18
- package/src/components/accordion/accordion-theme-default.scss +2 -2
- package/src/components/accordion/accordion.scss +48 -34
- package/src/components/accordion/accordion.variables.scss +4 -4
- package/src/components/action-list/action-list.scss +9 -5
- package/src/components/action-list/action-list.variables.scss +1 -1
- package/src/components/action-list/components/action-list-item.variables.scss +1 -1
- package/src/components/advanced-select/advanced-select.variables.scss +4 -4
- package/src/components/alert/alert.mixins.scss +46 -18
- package/src/components/alert/alert.scss +25 -6
- package/src/components/alert/alert.variables.scss +8 -8
- package/src/components/anchor/anchor.variables.scss +1 -1
- package/src/components/application-heading/application-heading.mixins.scss +5 -5
- package/src/components/badge/badge.mixins.scss +3 -2
- package/src/components/banner/banner.mixins.scss +13 -11
- package/src/components/banner/banner.scss +10 -10
- package/src/components/banner/banner.variables.scss +2 -2
- package/src/components/blockquote/blockquote.scss +4 -3
- package/src/components/body/body.scss +1 -1
- package/src/components/breadcrumbs/breadcrumbs.mixins.scss +9 -7
- package/src/components/button/button.mixins.scss +47 -44
- package/src/components/button/button.scss +2 -2
- package/src/components/button/button.variables.scss +4 -4
- package/src/components/button-row/button-row.scss +1 -1
- package/src/components/card/card.mixins.scss +6 -5
- package/src/components/card/card.scss +15 -15
- package/src/components/card-container/card-container.scss +1 -1
- package/src/components/card-list/card-list.scss +3 -3
- package/src/components/code/code.scss +2 -1
- package/src/components/context/context.scss +10 -10
- package/src/components/definition-list/definition-list.scss +47 -47
- package/src/components/definition-list/definition-list.variables.scss +3 -3
- package/src/components/description/description.mixins.scss +20 -18
- package/src/components/document-component/document-component.scss +6 -6
- package/src/components/document-component-list/document-component-list.scss +1 -1
- package/src/components/document-header/document-header.scss +36 -32
- package/src/components/document-list/document-list.scss +14 -11
- package/src/components/dropdown-menu/dropdown-menu.mixins.scss +14 -11
- package/src/components/dropdown-menu/dropdown-menu.scss +13 -12
- package/src/components/dropdown-menu/dropdown-menu.variables.scss +1 -1
- package/src/components/field-label/field-label.scss +2 -2
- package/src/components/footer/footer.scss +8 -8
- package/src/components/footnotes/footnotes.mixins.scss +2 -2
- package/src/components/form/fieldset.scss +10 -10
- package/src/components/form/form-buttons/form-buttons.scss +5 -5
- package/src/components/form/form-group.scss +35 -33
- package/src/components/form/form-groups/checkboxes/form-group-checkboxes.scss +1 -1
- package/src/components/form/form-groups/confirm/form-group-confirm.scss +2 -2
- package/src/components/form/form-groups/files/form-group-files.scss +18 -13
- package/src/components/form/form-groups/input-number/form-group-input-number.scss +1 -1
- package/src/components/form/form-groups/radios/form-group-radios.scss +2 -2
- package/src/components/form/form-groups/search-bar/form-group-search-bar.scss +3 -3
- package/src/components/form/form-groups/select/form-group-select.scss +1 -1
- package/src/components/form/form-groups/static/form-group-static.scss +10 -10
- package/src/components/form/form-groups/textarea/form-group-textarea.scss +5 -5
- package/src/components/form/form-horizontal.scss +2 -2
- package/src/components/form/form.variables.scss +1 -1
- package/src/components/form-control/form-control.mixins.scss +6 -5
- package/src/components/form-control/form-control.variables.scss +1 -1
- package/src/components/grid/grid.mixins.scss +28 -28
- package/src/components/grid/grid.scss +21 -21
- package/src/components/header/header.scss +3 -3
- package/src/components/headings/headings.mixins.scss +2 -2
- package/src/components/highlight-box/highlight-box.mixins.scss +10 -10
- package/src/components/highlight-box/highlight-box.variables.scss +1 -1
- package/src/components/horizontal-rule/horizontal-rule.scss +4 -4
- package/src/components/icon/icon.scss +2 -2
- package/src/components/image/image.mixins.scss +2 -2
- package/src/components/info/info.mixins.scss +8 -6
- package/src/components/info-button/info-button.mixins.scss +1 -1
- package/src/components/input/input.scss +3 -2
- package/src/components/input-number/input-number.mixins.scss +3 -3
- package/src/components/justify-form-groups/justify-form-groups.scss +7 -7
- package/src/components/label/label.mixins.scss +10 -8
- package/src/components/label/label.scss +4 -4
- package/src/components/label/label.variables.scss +1 -1
- package/src/components/label-group/label-group.mixins.scss +4 -4
- package/src/components/legend-item/legend-item.scss +4 -1
- package/src/components/legend-item/legend-item.variables.scss +3 -3
- package/src/components/link-list/link-list.mixins.scss +4 -4
- package/src/components/link-list/link-list.scss +1 -1
- package/src/components/list/list.mixins.scss +1 -1
- package/src/components/list/list.scss +23 -22
- package/src/components/list-button/list-button.mixins.scss +16 -14
- package/src/components/list-button/list-button.scss +4 -3
- package/src/components/map-controls/map-controls.scss +1 -1
- package/src/components/modal/modal.mixins.scss +18 -12
- package/src/components/modal/modal.scss +6 -4
- package/src/components/modal/modal.variables.scss +5 -5
- package/src/components/navbar/navbar.mixins.scss +15 -12
- package/src/components/navbar/navbar.scss +1 -1
- package/src/components/pagination/pagination.mixins.scss +10 -8
- package/src/components/pagination/pagination.scss +2 -2
- package/src/components/paragraph/paragraph.scss +2 -1
- package/src/components/preformatted-text/preformatted-text.scss +2 -1
- package/src/components/progress-bar/progress-bar.mixins.scss +6 -6
- package/src/components/progress-bar/progress-bar.variables.scss +1 -1
- package/src/components/progress-indicator/progress-indicator.mixins.scss +7 -5
- package/src/components/rich-content/rich-content.mixins.scss +10 -7
- package/src/components/rich-content/rich-content.scss +2 -2
- package/src/components/rich-content/rich-content.variables.scss +2 -1
- package/src/components/search-bar/search-bar.scss +35 -31
- package/src/components/search-bar/search-bar.variables.scss +2 -2
- package/src/components/select/select.scss +1 -1
- package/src/components/selectable/selectable.mixins.scss +42 -40
- package/src/components/shopping-cart/shopping-cart.scss +42 -39
- package/src/components/step-counter/step-counter.mixins.scss +6 -6
- package/src/components/subscript/subscript.scss +1 -1
- package/src/components/subtitle/subtitle.scss +2 -2
- package/src/components/superscript/superscript.scss +1 -1
- package/src/components/table/table.mixins.scss +4 -4
- package/src/components/table/table.scss +27 -26
- package/src/components/table/table.variables.scss +1 -1
- package/src/components/tabs/tabs.scss +23 -20
- package/src/components/tabs/tabs.variables.scss +4 -4
- package/src/components/textarea/textarea.scss +1 -1
- package/src/components/tile/tile.mixins.scss +19 -17
- package/src/components/tile/tile.variables.scss +2 -2
- package/src/components/viewer-grid/viewer-grid.scss +4 -3
- package/src/components/whitebox/whitebox.mixins.scss +13 -11
- package/src/components/whitebox/whitebox.variables.scss +1 -1
- package/src/di.scss +2 -2
- package/src/global/functions/contrast-color.functions.scss +10 -9
- package/src/global/mixins/set-colors.mixin.scss +2 -1
- package/src/global/mixins/symbol.mixins.scss +3 -3
- package/src/global/spacing.scss +3 -3
- package/src/global/utilities.scss +3 -3
- package/src/legacy/legacy-panel.scss +54 -54
- package/src/utilities.scss +2 -2
- package/src/variables/states.scss +4 -0
- package/src/variables/units.scss +9 -9
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
@use "application-heading.variables" as application-heading-variables;
|
|
5
5
|
|
|
6
6
|
@mixin root() {
|
|
7
|
-
border-
|
|
8
|
-
margin-
|
|
7
|
+
border-block-end: 1px solid colors.$grijs-20;
|
|
8
|
+
margin-block-end: units.$u2;
|
|
9
9
|
|
|
10
10
|
h2 {
|
|
11
|
-
margin-
|
|
11
|
+
margin-block-start: units.$u2;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.dso-steps-indicator {
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
flex-basis: auto;
|
|
24
24
|
font-size: 1rem;
|
|
25
25
|
font-weight: normal;
|
|
26
|
-
padding-
|
|
27
|
-
text-align:
|
|
26
|
+
padding-block-start: #{application-heading-variables.$step-padding * 0.5};
|
|
27
|
+
text-align: end;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -10,8 +10,9 @@
|
|
|
10
10
|
display: inline-block;
|
|
11
11
|
font-size: 0.875em;
|
|
12
12
|
line-height: badge-variables.$line-height;
|
|
13
|
-
min-
|
|
14
|
-
padding: #{units.$u1 * 0.5}
|
|
13
|
+
min-inline-size: 1.5rem;
|
|
14
|
+
padding-block: #{units.$u1 * 0.5};
|
|
15
|
+
padding-inline: units.$u1;
|
|
15
16
|
text-align: center;
|
|
16
17
|
|
|
17
18
|
& {
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
|
|
31
31
|
button {
|
|
32
32
|
position: absolute;
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
inset-inline-end: units.$u2;
|
|
34
|
+
inset-block-start: 0;
|
|
35
35
|
|
|
36
36
|
dso-icon,
|
|
37
37
|
svg.di {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
> .dso-rich-content {
|
|
43
|
-
padding-
|
|
43
|
+
padding-inline-end: units.$u3;
|
|
44
44
|
|
|
45
45
|
h1,
|
|
46
46
|
h2,
|
|
@@ -51,28 +51,28 @@
|
|
|
51
51
|
color: colors.$zwart;
|
|
52
52
|
font-size: 1rem;
|
|
53
53
|
line-height: typography.$line-height-base;
|
|
54
|
-
margin-
|
|
54
|
+
margin-block-end: 0;
|
|
55
55
|
|
|
56
56
|
+ p {
|
|
57
57
|
display: inline;
|
|
58
58
|
|
|
59
59
|
+ * {
|
|
60
|
-
margin-
|
|
60
|
+
margin-block-start: units.$u2;
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
> h2:first-child {
|
|
66
|
-
float:
|
|
67
|
-
margin-
|
|
66
|
+
float: inline-start;
|
|
67
|
+
margin-inline-end: units.$u1;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
*:first-child {
|
|
71
|
-
margin-
|
|
71
|
+
margin-block-start: 0;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
*:last-child {
|
|
75
|
-
margin-
|
|
75
|
+
margin-block-end: 0;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
}
|
|
@@ -96,11 +96,13 @@
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
@mixin root() {
|
|
99
|
-
padding: units.$u2
|
|
99
|
+
padding-block: units.$u2;
|
|
100
|
+
padding-inline: 0;
|
|
100
101
|
position: relative;
|
|
101
102
|
|
|
102
103
|
&.dso-compact {
|
|
103
|
-
padding: 12px
|
|
104
|
+
padding-block: 12px;
|
|
105
|
+
padding-inline: 0;
|
|
104
106
|
}
|
|
105
107
|
}
|
|
106
108
|
|
|
@@ -15,22 +15,22 @@
|
|
|
15
15
|
.row > div::before {
|
|
16
16
|
content: "";
|
|
17
17
|
display: inline-block;
|
|
18
|
-
|
|
18
|
+
inset-inline-start: units.$u2;
|
|
19
19
|
position: absolute;
|
|
20
|
-
|
|
20
|
+
inset-block-start: 0;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
&:not(.dso-no-icon) {
|
|
24
24
|
.row > div {
|
|
25
25
|
@media screen and (min-width: #{media-query-breakpoints.$screen-xs-min}) {
|
|
26
|
-
padding-
|
|
26
|
+
padding-inline-start: banner-variables.$inline-start-padding;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
@media screen and (max-width: #{media-query-breakpoints.$screen-xs-min - 0.99}) {
|
|
30
|
-
padding-
|
|
30
|
+
padding-block-start: banner-variables.$small-padding-block-start;
|
|
31
31
|
|
|
32
32
|
> .dso-rich-content {
|
|
33
|
-
padding-
|
|
33
|
+
padding-inline-end: 0;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -87,22 +87,22 @@ dso-banner {
|
|
|
87
87
|
content: "";
|
|
88
88
|
|
|
89
89
|
display: inline-block;
|
|
90
|
-
|
|
90
|
+
inset-inline-start: units.$u2;
|
|
91
91
|
position: absolute;
|
|
92
|
-
|
|
92
|
+
inset-block-start: 0;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
&:not([no-icon]) {
|
|
96
96
|
.row > div {
|
|
97
97
|
@media screen and (min-width: #{media-query-breakpoints.$screen-xs-min}) {
|
|
98
|
-
padding-
|
|
98
|
+
padding-inline-start: banner-variables.$inline-start-padding;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
@media screen and (max-width: #{media-query-breakpoints.$screen-xs-min - 0.99}) {
|
|
102
|
-
padding-
|
|
102
|
+
padding-block-start: banner-variables.$small-padding-block-start;
|
|
103
103
|
|
|
104
104
|
> .dso-rich-content {
|
|
105
|
-
padding-
|
|
105
|
+
padding-inline-end: 0;
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
@use "../../variables/units";
|
|
2
2
|
@use "../../variables/states";
|
|
3
3
|
|
|
4
|
-
$
|
|
4
|
+
$inline-start-padding: units.$u6;
|
|
5
5
|
|
|
6
|
-
$small-padding-
|
|
6
|
+
$small-padding-block-start: units.$u5 - 1px;
|
|
7
7
|
|
|
8
8
|
$warning-bg: states.$warning-bg;
|
|
9
9
|
$warning-border: states.$warning-border;
|
|
@@ -3,14 +3,15 @@
|
|
|
3
3
|
@use "blockquote.variables" as css-blockquote-variables;
|
|
4
4
|
|
|
5
5
|
blockquote {
|
|
6
|
-
border-
|
|
6
|
+
border-inline-start: 5px solid css-blockquote-variables.$border-color;
|
|
7
7
|
font-size: css-blockquote-variables.$font-size;
|
|
8
|
-
margin: 0
|
|
8
|
+
margin-block: 0 units.$u2;
|
|
9
|
+
margin-inline: 0;
|
|
9
10
|
padding: units.$u2;
|
|
10
11
|
|
|
11
12
|
p {
|
|
12
13
|
&:last-child {
|
|
13
|
-
margin-
|
|
14
|
+
margin-block-end: 0;
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
}
|
|
@@ -8,13 +8,14 @@
|
|
|
8
8
|
@include utilities.clearfix();
|
|
9
9
|
|
|
10
10
|
list-style: none;
|
|
11
|
-
margin-
|
|
12
|
-
margin-
|
|
13
|
-
padding: 0
|
|
11
|
+
margin-block-end: units.$u2;
|
|
12
|
+
margin-block-start: units.$u2;
|
|
13
|
+
padding-block: 0;
|
|
14
|
+
padding-inline: units.$u1;
|
|
14
15
|
|
|
15
16
|
> li {
|
|
16
17
|
display: flex;
|
|
17
|
-
float:
|
|
18
|
+
float: inline-start;
|
|
18
19
|
|
|
19
20
|
+ li::before {
|
|
20
21
|
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 21.1 55.7' %3E%3Cpath fill='%23666' d='M0 45.6c0-.1.1-.4.4-1.1L14.9 8.6c.2-.5.5-.8 1-1 .5-.2 1.1-.3 1.9-.3h.7c1.8 0 2.6.3 2.6.8 0 .2-.1.6-.4 1.1l-14.5 36c-.2.5-.5.8-1 1-.4.2-1.1.2-1.9.2h-.8c-1.7 0-2.5-.2-2.5-.8z'/%3E%3C/svg%3E");
|
|
@@ -22,10 +23,11 @@
|
|
|
22
23
|
background-repeat: no-repeat;
|
|
23
24
|
content: "";
|
|
24
25
|
display: inline-block;
|
|
25
|
-
margin: 0
|
|
26
|
+
margin-block: 0;
|
|
27
|
+
margin-inline: 4px;
|
|
26
28
|
position: relative;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
+
inline-size: 7px;
|
|
30
|
+
inset-block-start: 1px;
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
&.active {
|
|
@@ -30,8 +30,9 @@
|
|
|
30
30
|
border-style: solid;
|
|
31
31
|
border-radius: button-variables.$border-radius;
|
|
32
32
|
line-height: typography.$line-height-base;
|
|
33
|
-
min-
|
|
34
|
-
padding: button-variables.$
|
|
33
|
+
min-inline-size: button-variables.$min-inline-size;
|
|
34
|
+
padding-block: button-variables.$block-padding;
|
|
35
|
+
padding-inline: button-variables.$inline-padding;
|
|
35
36
|
|
|
36
37
|
&:hover {
|
|
37
38
|
@include _shared-variant($defaults-map, $hover-map);
|
|
@@ -59,14 +60,14 @@
|
|
|
59
60
|
} @else {
|
|
60
61
|
dso-icon,
|
|
61
62
|
svg.di {
|
|
62
|
-
margin-
|
|
63
|
-
margin-
|
|
63
|
+
margin-inline-start: units.$u1 * -1;
|
|
64
|
+
margin-inline-end: units.$u1;
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
span + dso-icon,
|
|
67
68
|
span + svg.di {
|
|
68
|
-
margin-
|
|
69
|
-
margin-
|
|
69
|
+
margin-inline-start: units.$u1;
|
|
70
|
+
margin-inline-end: units.$u1 * -1;
|
|
70
71
|
}
|
|
71
72
|
}
|
|
72
73
|
}
|
|
@@ -76,14 +77,14 @@
|
|
|
76
77
|
background-repeat: no-repeat;
|
|
77
78
|
content: "";
|
|
78
79
|
display: inline-block;
|
|
79
|
-
|
|
80
|
+
block-size: units.$u3;
|
|
80
81
|
vertical-align: $valign;
|
|
81
|
-
|
|
82
|
+
inline-size: units.$u3;
|
|
82
83
|
|
|
83
|
-
@if $position ==
|
|
84
|
-
margin-
|
|
85
|
-
} @else if $position ==
|
|
86
|
-
margin-
|
|
84
|
+
@if $position == inline-start {
|
|
85
|
+
margin-inline-end: units.$u1;
|
|
86
|
+
} @else if $position == inline-end {
|
|
87
|
+
margin-inline-start: units.$u1;
|
|
87
88
|
}
|
|
88
89
|
}
|
|
89
90
|
|
|
@@ -116,8 +117,8 @@
|
|
|
116
117
|
@mixin icon-only() {
|
|
117
118
|
dso-icon,
|
|
118
119
|
svg.di {
|
|
119
|
-
margin-
|
|
120
|
-
margin-
|
|
120
|
+
margin-inline-start: 0;
|
|
121
|
+
margin-inline-end: 0;
|
|
121
122
|
}
|
|
122
123
|
|
|
123
124
|
> span {
|
|
@@ -133,21 +134,21 @@
|
|
|
133
134
|
&.extern::after,
|
|
134
135
|
&.download::after,
|
|
135
136
|
&.dso-spinner::before {
|
|
136
|
-
margin-
|
|
137
|
-
margin-
|
|
137
|
+
margin-block-end: units.$u1 * -0.5;
|
|
138
|
+
margin-block-start: units.$u1 * -0.5;
|
|
138
139
|
}
|
|
139
140
|
|
|
140
141
|
&.dso-spinner-left {
|
|
141
142
|
&::before {
|
|
142
|
-
|
|
143
|
-
|
|
143
|
+
block-size: units.$u2;
|
|
144
|
+
inline-size: units.$u2;
|
|
144
145
|
}
|
|
145
146
|
}
|
|
146
147
|
|
|
147
148
|
&.dso-spinner-right {
|
|
148
149
|
&::after {
|
|
149
|
-
|
|
150
|
-
|
|
150
|
+
block-size: units.$u2;
|
|
151
|
+
inline-size: units.$u2;
|
|
151
152
|
}
|
|
152
153
|
}
|
|
153
154
|
}
|
|
@@ -156,10 +157,10 @@
|
|
|
156
157
|
display: inline-block;
|
|
157
158
|
font-size: 1em;
|
|
158
159
|
font-weight: 500;
|
|
159
|
-
margin-
|
|
160
|
+
margin-block-end: 0;
|
|
160
161
|
text-decoration: none;
|
|
161
162
|
touch-action: manipulation;
|
|
162
|
-
text-align:
|
|
163
|
+
text-align: start;
|
|
163
164
|
user-select: none;
|
|
164
165
|
vertical-align: middle;
|
|
165
166
|
|
|
@@ -178,7 +179,7 @@
|
|
|
178
179
|
&::after {
|
|
179
180
|
content: "";
|
|
180
181
|
display: inline-block;
|
|
181
|
-
margin-
|
|
182
|
+
margin-inline-start: units.$u1;
|
|
182
183
|
}
|
|
183
184
|
}
|
|
184
185
|
}
|
|
@@ -186,10 +187,10 @@
|
|
|
186
187
|
|
|
187
188
|
@mixin block($sibling-selector) {
|
|
188
189
|
display: block;
|
|
189
|
-
|
|
190
|
+
inline-size: 100%;
|
|
190
191
|
|
|
191
192
|
& + #{$sibling-selector} {
|
|
192
|
-
margin-
|
|
193
|
+
margin-block-start: 5px;
|
|
193
194
|
}
|
|
194
195
|
}
|
|
195
196
|
|
|
@@ -228,13 +229,13 @@
|
|
|
228
229
|
|
|
229
230
|
&.dso-spinner-left {
|
|
230
231
|
&::before {
|
|
231
|
-
@include _spinner-icon($color: colors.$wit, $valign: top, $position:
|
|
232
|
+
@include _spinner-icon($color: colors.$wit, $valign: top, $position: inline-start);
|
|
232
233
|
}
|
|
233
234
|
}
|
|
234
235
|
|
|
235
236
|
&.dso-spinner-right {
|
|
236
237
|
&::after {
|
|
237
|
-
@include _spinner-icon($color: colors.$wit, $valign: top, $position:
|
|
238
|
+
@include _spinner-icon($color: colors.$wit, $valign: top, $position: inline-end);
|
|
238
239
|
}
|
|
239
240
|
}
|
|
240
241
|
}
|
|
@@ -286,20 +287,20 @@
|
|
|
286
287
|
|
|
287
288
|
&.dso-spinner-left {
|
|
288
289
|
&::before {
|
|
289
|
-
@include _spinner-icon($color: colors.$grasgroen, $valign: top, $position:
|
|
290
|
+
@include _spinner-icon($color: colors.$grasgroen, $valign: top, $position: inline-start);
|
|
290
291
|
}
|
|
291
292
|
|
|
292
293
|
&:not([disabled]) {
|
|
293
294
|
&:hover {
|
|
294
295
|
&::before {
|
|
295
|
-
@include _spinner-icon($color: colors.$wit, $valign: top, $position:
|
|
296
|
+
@include _spinner-icon($color: colors.$wit, $valign: top, $position: inline-start);
|
|
296
297
|
}
|
|
297
298
|
}
|
|
298
299
|
|
|
299
300
|
&.dso-small:hover {
|
|
300
301
|
&::before {
|
|
301
|
-
|
|
302
|
-
|
|
302
|
+
block-size: units.$u2;
|
|
303
|
+
inline-size: units.$u2;
|
|
303
304
|
}
|
|
304
305
|
}
|
|
305
306
|
}
|
|
@@ -307,20 +308,20 @@
|
|
|
307
308
|
|
|
308
309
|
&.dso-spinner-right {
|
|
309
310
|
&::after {
|
|
310
|
-
@include _spinner-icon($color: colors.$grasgroen, $valign: top, $position:
|
|
311
|
+
@include _spinner-icon($color: colors.$grasgroen, $valign: top, $position: inline-end);
|
|
311
312
|
}
|
|
312
313
|
|
|
313
314
|
&:not([disabled]) {
|
|
314
315
|
&:hover {
|
|
315
316
|
&::after {
|
|
316
|
-
@include _spinner-icon($color: colors.$wit, $valign: top, $position:
|
|
317
|
+
@include _spinner-icon($color: colors.$wit, $valign: top, $position: inline-end);
|
|
317
318
|
}
|
|
318
319
|
}
|
|
319
320
|
|
|
320
321
|
&.dso-small:hover {
|
|
321
322
|
&::after {
|
|
322
|
-
|
|
323
|
-
|
|
323
|
+
block-size: units.$u2;
|
|
324
|
+
inline-size: units.$u2;
|
|
324
325
|
}
|
|
325
326
|
}
|
|
326
327
|
}
|
|
@@ -374,12 +375,13 @@
|
|
|
374
375
|
|
|
375
376
|
&.dso-align {
|
|
376
377
|
line-height: calc(1.5em - 1px);
|
|
377
|
-
padding: button-variables.$tertiary-padding-
|
|
378
|
+
padding-block: button-variables.$tertiary-padding-inline;
|
|
379
|
+
padding-inline: 0;
|
|
378
380
|
position: relative;
|
|
379
381
|
}
|
|
380
382
|
|
|
381
383
|
&.dso-truncate {
|
|
382
|
-
max-
|
|
384
|
+
max-inline-size: 100%;
|
|
383
385
|
overflow: hidden;
|
|
384
386
|
text-overflow: ellipsis; // stylelint-disable-line declaration-property-value-disallowed-list -- full text can be viewed via tooltip.
|
|
385
387
|
white-space: nowrap; // stylelint-disable-line declaration-property-value-disallowed-list -- full text can be viewed via tooltip.
|
|
@@ -387,13 +389,13 @@
|
|
|
387
389
|
|
|
388
390
|
&.dso-spinner-left {
|
|
389
391
|
&::before {
|
|
390
|
-
@include _spinner-icon($color: colors.$grasgroen, $valign: middle, $position:
|
|
392
|
+
@include _spinner-icon($color: colors.$grasgroen, $valign: middle, $position: inline-start);
|
|
391
393
|
}
|
|
392
394
|
}
|
|
393
395
|
|
|
394
396
|
&.dso-spinner-right {
|
|
395
397
|
&::after {
|
|
396
|
-
@include _spinner-icon($color: colors.$grasgroen, $valign: middle, $position:
|
|
398
|
+
@include _spinner-icon($color: colors.$grasgroen, $valign: middle, $position: inline-end);
|
|
397
399
|
}
|
|
398
400
|
}
|
|
399
401
|
|
|
@@ -406,14 +408,14 @@
|
|
|
406
408
|
svg.di + span:not(.sr-only),
|
|
407
409
|
span:not(.sr-only) + dso-icon,
|
|
408
410
|
span:not(.sr-only) + svg.di {
|
|
409
|
-
margin-
|
|
411
|
+
margin-inline-start: units.$u1;
|
|
410
412
|
}
|
|
411
413
|
|
|
412
414
|
svg.di.di-chevron-down + span:not(.sr-only),
|
|
413
415
|
svg.di.di-chevron-up + span:not(.sr-only),
|
|
414
416
|
span:not(.sr-only) + svg.di.di-chevron-down,
|
|
415
417
|
span:not(.sr-only) + svg.di.di-chevron-up {
|
|
416
|
-
margin-
|
|
418
|
+
margin-inline-start: units.$u1 * 0.5;
|
|
417
419
|
}
|
|
418
420
|
|
|
419
421
|
dso-icon[icon="chevron-left"] + span:not(.sr-only),
|
|
@@ -424,7 +426,7 @@
|
|
|
424
426
|
span:not(.sr-only) + svg.di.di-angle-up,
|
|
425
427
|
span:not(.sr-only) + dso-icon[icon="chevron-left"],
|
|
426
428
|
span:not(.sr-only) + dso-icon[icon="chevron-right"] {
|
|
427
|
-
margin-
|
|
429
|
+
margin-inline-start: 0;
|
|
428
430
|
}
|
|
429
431
|
|
|
430
432
|
dso-icon,
|
|
@@ -467,7 +469,8 @@
|
|
|
467
469
|
border: 0;
|
|
468
470
|
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.5);
|
|
469
471
|
font-weight: 600;
|
|
470
|
-
margin-
|
|
471
|
-
padding: units.$u1
|
|
472
|
+
margin-inline-end: units.$u2;
|
|
473
|
+
padding-block: units.$u1;
|
|
474
|
+
padding-inline: units.$u2;
|
|
472
475
|
white-space: nowrap; // stylelint-disable-line declaration-property-value-disallowed-list -- No word wrapping in buttons on maps
|
|
473
476
|
}
|
|
@@ -109,7 +109,7 @@ label {
|
|
|
109
109
|
&.download {
|
|
110
110
|
&::after {
|
|
111
111
|
position: relative;
|
|
112
|
-
|
|
112
|
+
inset-block-start: -2px;
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
|
|
@@ -143,6 +143,6 @@ a {
|
|
|
143
143
|
+ .dso-primary,
|
|
144
144
|
+ .dso-secondary,
|
|
145
145
|
+ .dso-tertiary {
|
|
146
|
-
margin-
|
|
146
|
+
margin-inline-start: units.$u2;
|
|
147
147
|
}
|
|
148
148
|
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
@use "../../variables/colors";
|
|
3
3
|
|
|
4
4
|
$border-radius: 4px;
|
|
5
|
-
$min-
|
|
6
|
-
$
|
|
7
|
-
$
|
|
5
|
+
$min-inline-size: units.$u7;
|
|
6
|
+
$inline-padding: units.$u2 - 1px;
|
|
7
|
+
$block-padding: units.$u1 * 1.5 - 1px;
|
|
8
8
|
|
|
9
9
|
$primary-background-color: colors.$grasgroen;
|
|
10
10
|
$primary-color: colors.$wit;
|
|
@@ -20,7 +20,7 @@ $secondary-hover-color: colors.$wit;
|
|
|
20
20
|
$secondary-active-background-color: colors.$bosgroen;
|
|
21
21
|
$secondary-disabled-color: colors.$grasgroen-40;
|
|
22
22
|
|
|
23
|
-
$tertiary-padding-
|
|
23
|
+
$tertiary-padding-inline: $block-padding;
|
|
24
24
|
$tertiary-color: colors.$grasgroen;
|
|
25
25
|
$tertiary-hover-color: colors.$bosgroen;
|
|
26
26
|
$tertiary-active-color: colors.$bosgroen-140;
|
|
@@ -18,8 +18,9 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
@mixin base() {
|
|
21
|
-
padding: units.$u2 units.$
|
|
22
|
-
|
|
21
|
+
padding-block: units.$u2 units.$u1;
|
|
22
|
+
padding-inline: units.$u2;
|
|
23
|
+
inline-size: 100%;
|
|
23
24
|
|
|
24
25
|
&:hover {
|
|
25
26
|
background-color: colors.$grijs-5;
|
|
@@ -48,7 +49,7 @@
|
|
|
48
49
|
.dso-card-heading {
|
|
49
50
|
align-items: center;
|
|
50
51
|
display: flex;
|
|
51
|
-
margin-
|
|
52
|
+
margin-block-end: units.$u1;
|
|
52
53
|
|
|
53
54
|
@media screen and (max-width: media-query-breakpoints.$screen-xs-min) {
|
|
54
55
|
flex-wrap: wrap;
|
|
@@ -62,7 +63,7 @@
|
|
|
62
63
|
.dso-card-image {
|
|
63
64
|
@extend %card-grid-addon;
|
|
64
65
|
|
|
65
|
-
margin-
|
|
66
|
+
margin-inline-end: units.$u1;
|
|
66
67
|
}
|
|
67
68
|
}
|
|
68
69
|
|
|
@@ -75,5 +76,5 @@
|
|
|
75
76
|
@mixin interactions() {
|
|
76
77
|
display: flex;
|
|
77
78
|
justify-content: space-between;
|
|
78
|
-
margin-
|
|
79
|
+
margin-inline-start: auto;
|
|
79
80
|
}
|
|
@@ -47,11 +47,11 @@ dso-card {
|
|
|
47
47
|
align-items: center;
|
|
48
48
|
display: flex;
|
|
49
49
|
font-size: 1.125em;
|
|
50
|
-
margin-
|
|
51
|
-
margin-
|
|
50
|
+
margin-block-end: 0;
|
|
51
|
+
margin-block-start: 0;
|
|
52
52
|
|
|
53
53
|
span {
|
|
54
|
-
margin-
|
|
54
|
+
margin-inline-end: units.$u1;
|
|
55
55
|
|
|
56
56
|
+ dso-icon,
|
|
57
57
|
+ svg.di {
|
|
@@ -70,11 +70,11 @@ dso-card {
|
|
|
70
70
|
align-items: center;
|
|
71
71
|
display: flex;
|
|
72
72
|
font-size: 1.125em;
|
|
73
|
-
margin-
|
|
74
|
-
margin-
|
|
73
|
+
margin-block-end: 0;
|
|
74
|
+
margin-block-start: 0;
|
|
75
75
|
|
|
76
76
|
span {
|
|
77
|
-
margin-
|
|
77
|
+
margin-inline-end: units.$u1;
|
|
78
78
|
|
|
79
79
|
+ dso-icon,
|
|
80
80
|
+ svg.di {
|
|
@@ -102,13 +102,13 @@ dso-card {
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
*[slot="addon"] {
|
|
105
|
-
margin-
|
|
106
|
-
margin-
|
|
105
|
+
margin-inline-start: units.$u2;
|
|
106
|
+
margin-inline-end: units.$u1;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
.dso-rich-content.dso-rich-content {
|
|
110
110
|
:first-child {
|
|
111
|
-
margin-
|
|
111
|
+
margin-block-start: 0;
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
|
|
@@ -119,15 +119,15 @@ dso-card {
|
|
|
119
119
|
|
|
120
120
|
img {
|
|
121
121
|
display: flex;
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
block-size: units.$u3;
|
|
123
|
+
inline-size: units.$u3;
|
|
124
124
|
max-inline-size: unset;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
&.dso-wide-image img,
|
|
128
128
|
&[image-shape="wide"] img {
|
|
129
|
-
|
|
130
|
-
|
|
129
|
+
block-size: 26px;
|
|
130
|
+
inline-size: 30px;
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
|
|
@@ -141,7 +141,7 @@ dso-card {
|
|
|
141
141
|
text-align: center;
|
|
142
142
|
|
|
143
143
|
p {
|
|
144
|
-
margin-
|
|
144
|
+
margin-block-end: 0;
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
|
|
@@ -151,6 +151,6 @@ dso-card {
|
|
|
151
151
|
|
|
152
152
|
@media screen and (max-width: media-query-breakpoints.$screen-xs-min) {
|
|
153
153
|
flex-basis: 100%;
|
|
154
|
-
margin-
|
|
154
|
+
margin-block-start: units.$u2;
|
|
155
155
|
}
|
|
156
156
|
}
|