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
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
|
|
9
9
|
.form-group {
|
|
10
10
|
display: block;
|
|
11
|
-
margin-
|
|
11
|
+
margin-block-end: 0;
|
|
12
12
|
|
|
13
13
|
+ .form-group,
|
|
14
14
|
+ .dso-form-buttons {
|
|
15
|
-
margin-
|
|
15
|
+
margin-block-start: 0;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.dso-label-container {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
> div {
|
|
41
41
|
&.dso-form-buttons {
|
|
42
42
|
grid-row: 2;
|
|
43
|
-
margin-
|
|
43
|
+
margin-block-end: 0;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
&,
|
|
51
51
|
+ .form-group,
|
|
52
52
|
+ .dso-form-buttons {
|
|
53
|
-
margin-
|
|
54
|
-
margin-
|
|
53
|
+
margin-block-end: 0;
|
|
54
|
+
margin-block-start: 0;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
.dso-label-container {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
|
|
62
62
|
.dso-field-container {
|
|
63
63
|
grid-row: 2;
|
|
64
|
-
margin-
|
|
64
|
+
margin-block-start: 0;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.dso-info-container {
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
|
|
70
70
|
.dso-help-block,
|
|
71
71
|
.dso-message {
|
|
72
|
-
margin-
|
|
72
|
+
margin-block-start: 0;
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
}
|
|
@@ -8,8 +8,9 @@
|
|
|
8
8
|
border-radius: 4px;
|
|
9
9
|
display: inline-block;
|
|
10
10
|
line-height: 1.5;
|
|
11
|
-
max-
|
|
12
|
-
padding: #{units.$u1 * 0.5}
|
|
11
|
+
max-inline-size: 100%;
|
|
12
|
+
padding-block: #{units.$u1 * 0.5};
|
|
13
|
+
padding-inline: units.$u1;
|
|
13
14
|
|
|
14
15
|
&:focus-within,
|
|
15
16
|
&.dso-hover {
|
|
@@ -21,12 +22,12 @@
|
|
|
21
22
|
border: 0;
|
|
22
23
|
border-radius: 0 #{units.$u1 * 0.5} #{units.$u1 * 0.5} 0;
|
|
23
24
|
color: inherit;
|
|
24
|
-
float:
|
|
25
|
+
float: inline-end;
|
|
25
26
|
font-size: typography.$root-font-size-base;
|
|
26
|
-
margin-
|
|
27
|
-
margin-
|
|
28
|
-
margin-
|
|
29
|
-
margin-
|
|
27
|
+
margin-block-end: units.$u1 * -0.5;
|
|
28
|
+
margin-inline-start: units.$u1;
|
|
29
|
+
margin-inline-end: units.$u1 * -0.5;
|
|
30
|
+
margin-block-start: 0;
|
|
30
31
|
padding: 0;
|
|
31
32
|
|
|
32
33
|
&:hover {
|
|
@@ -78,6 +79,7 @@
|
|
|
78
79
|
}
|
|
79
80
|
|
|
80
81
|
&.dso-compact {
|
|
81
|
-
padding: 0
|
|
82
|
+
padding-block: 0;
|
|
83
|
+
padding-inline: units.$u1;
|
|
82
84
|
}
|
|
83
85
|
}
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
.dso-label-symbol {
|
|
10
10
|
@include symbol-mixins.symbolContainer(
|
|
11
|
-
label-variables.$symbol-
|
|
12
|
-
label-variables.$symbol-
|
|
11
|
+
label-variables.$symbol-block-size,
|
|
12
|
+
label-variables.$symbol-block-size * label-variables.$symbol-aspect-ratio,
|
|
13
13
|
2px
|
|
14
14
|
);
|
|
15
15
|
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
dso-label {
|
|
24
24
|
span[slot="symbol"] {
|
|
25
25
|
@include symbol-mixins.symbolContainer(
|
|
26
|
-
label-variables.$symbol-
|
|
27
|
-
label-variables.$symbol-
|
|
26
|
+
label-variables.$symbol-block-size,
|
|
27
|
+
label-variables.$symbol-block-size * label-variables.$symbol-aspect-ratio,
|
|
28
28
|
2px
|
|
29
29
|
);
|
|
30
30
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
@use "../../variables/units";
|
|
2
2
|
|
|
3
3
|
@mixin root() {
|
|
4
|
-
margin-
|
|
4
|
+
margin-block-end: units.$u2;
|
|
5
5
|
|
|
6
6
|
ul {
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-wrap: wrap;
|
|
9
9
|
gap: units.$u1;
|
|
10
10
|
list-style: none;
|
|
11
|
-
margin-
|
|
12
|
-
padding-
|
|
11
|
+
margin-block-end: 0;
|
|
12
|
+
padding-inline-start: 0;
|
|
13
13
|
|
|
14
14
|
> li {
|
|
15
|
-
max-
|
|
15
|
+
max-inline-size: 100%;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
dso-legend-item {
|
|
5
5
|
span[slot="symbol"] {
|
|
6
|
-
@include symbol-mixins.symbolContainer(
|
|
6
|
+
@include symbol-mixins.symbolContainer(
|
|
7
|
+
legend-item-variables.$symbol-block-size,
|
|
8
|
+
legend-item-variables.$symbol-inline-size
|
|
9
|
+
);
|
|
7
10
|
|
|
8
11
|
> span {
|
|
9
12
|
@include symbol-mixins.symbol();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use "sass:math";
|
|
2
2
|
@use "../../variables/units";
|
|
3
3
|
|
|
4
|
-
$symbol-
|
|
4
|
+
$symbol-block-size: 26px;
|
|
5
5
|
$symbol-aspect-ratio: math.div(30, 26);
|
|
6
|
-
$symbol-
|
|
7
|
-
$selectable-
|
|
6
|
+
$symbol-inline-size: $symbol-block-size * $symbol-aspect-ratio;
|
|
7
|
+
$selectable-inline-size: units.$u4;
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
@include list.unstyled();
|
|
9
9
|
|
|
10
10
|
li {
|
|
11
|
-
margin-
|
|
11
|
+
margin-block-end: units.$u2;
|
|
12
12
|
|
|
13
13
|
&:last-child {
|
|
14
|
-
margin-
|
|
14
|
+
margin-block-end: 0;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
a[aria-current="page"] {
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
|
|
27
27
|
@mixin exotic() {
|
|
28
28
|
li {
|
|
29
|
-
margin-
|
|
29
|
+
margin-block-end: units.$u2;
|
|
30
30
|
|
|
31
31
|
&:last-child {
|
|
32
|
-
margin-
|
|
32
|
+
margin-block-end: 0;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -10,19 +10,20 @@
|
|
|
10
10
|
background-color: css-list-variables.$group-background-color;
|
|
11
11
|
border: 1px solid css-list-variables.$group-border-color;
|
|
12
12
|
display: block;
|
|
13
|
-
margin-
|
|
14
|
-
padding: 10px
|
|
13
|
+
margin-block-end: -1px;
|
|
14
|
+
padding-block: 10px;
|
|
15
|
+
padding-inline: 15px;
|
|
15
16
|
position: relative;
|
|
16
17
|
|
|
17
18
|
&:first-child {
|
|
18
|
-
border-
|
|
19
|
-
border-
|
|
19
|
+
border-start-start-radius: css-list-variables.$group-border-radius;
|
|
20
|
+
border-start-end-radius: css-list-variables.$group-border-radius;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
&:last-child {
|
|
23
|
-
border-
|
|
24
|
-
border-
|
|
25
|
-
margin-
|
|
24
|
+
border-end-start-radius: css-list-variables.$group-border-radius;
|
|
25
|
+
border-end-end-radius: css-list-variables.$group-border-radius;
|
|
26
|
+
margin-block-end: 0;
|
|
26
27
|
}
|
|
27
28
|
}
|
|
28
29
|
|
|
@@ -31,8 +32,8 @@
|
|
|
31
32
|
}
|
|
32
33
|
|
|
33
34
|
.list-group {
|
|
34
|
-
margin-
|
|
35
|
-
padding-
|
|
35
|
+
margin-block-end: 20px;
|
|
36
|
+
padding-inline-start: 0;
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
.dso-img-list {
|
|
@@ -40,7 +41,7 @@
|
|
|
40
41
|
flex-direction: column;
|
|
41
42
|
gap: units.$u1;
|
|
42
43
|
list-style: none;
|
|
43
|
-
padding-
|
|
44
|
+
padding-inline-start: 0;
|
|
44
45
|
|
|
45
46
|
li {
|
|
46
47
|
align-items: flex-start;
|
|
@@ -48,8 +49,8 @@
|
|
|
48
49
|
gap: units.$u1;
|
|
49
50
|
|
|
50
51
|
img {
|
|
51
|
-
|
|
52
|
-
|
|
52
|
+
block-size: units.$u3;
|
|
53
|
+
inline-size: units.$u3;
|
|
53
54
|
}
|
|
54
55
|
}
|
|
55
56
|
|
|
@@ -64,13 +65,13 @@
|
|
|
64
65
|
|
|
65
66
|
ul,
|
|
66
67
|
ol {
|
|
67
|
-
margin-
|
|
68
|
-
margin-
|
|
68
|
+
margin-block-start: 0;
|
|
69
|
+
margin-block-end: units.$u2;
|
|
69
70
|
|
|
70
71
|
&.dso-columns-list {
|
|
71
72
|
list-style: none;
|
|
72
73
|
margin: 0;
|
|
73
|
-
padding-
|
|
74
|
+
padding-inline-start: 0;
|
|
74
75
|
|
|
75
76
|
@media (max-width: media-query-breakpoints.$screen-sm-max) {
|
|
76
77
|
columns: 1;
|
|
@@ -88,14 +89,14 @@ ol {
|
|
|
88
89
|
li {
|
|
89
90
|
.dso-info,
|
|
90
91
|
dso-info {
|
|
91
|
-
margin-
|
|
92
|
-
margin-
|
|
92
|
+
margin-block-end: units.$u1;
|
|
93
|
+
margin-block-start: units.$u1;
|
|
93
94
|
}
|
|
94
95
|
}
|
|
95
96
|
|
|
96
97
|
ul,
|
|
97
98
|
ol {
|
|
98
|
-
margin-
|
|
99
|
+
margin-block-end: 0;
|
|
99
100
|
}
|
|
100
101
|
|
|
101
102
|
&.dso-list-unstyled {
|
|
@@ -113,11 +114,11 @@ ul {
|
|
|
113
114
|
background-position: center;
|
|
114
115
|
background-size: cover;
|
|
115
116
|
content: "";
|
|
116
|
-
|
|
117
|
-
|
|
117
|
+
block-size: 1em;
|
|
118
|
+
inset-inline-start: -1.2em;
|
|
118
119
|
position: absolute;
|
|
119
|
-
|
|
120
|
-
|
|
120
|
+
inset-block-start: 0.25em;
|
|
121
|
+
inline-size: 1em;
|
|
121
122
|
}
|
|
122
123
|
}
|
|
123
124
|
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
&:not(:first-child) {
|
|
34
|
-
border-
|
|
34
|
+
border-inline-start-style: none !important;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
&:last-child {
|
|
@@ -49,7 +49,8 @@
|
|
|
49
49
|
border-style: solid;
|
|
50
50
|
border-width: 1px;
|
|
51
51
|
flex-wrap: nowrap;
|
|
52
|
-
padding: 0
|
|
52
|
+
padding-block: 0;
|
|
53
|
+
padding-inline: units.$u2;
|
|
53
54
|
|
|
54
55
|
@media screen and (max-width: media-query-breakpoints.$screen-xs-max) {
|
|
55
56
|
justify-content: center;
|
|
@@ -89,7 +90,7 @@
|
|
|
89
90
|
}
|
|
90
91
|
|
|
91
92
|
#{$list-button-selector} {
|
|
92
|
-
padding-
|
|
93
|
+
padding-inline-end: #{units.$u2 - 1};
|
|
93
94
|
}
|
|
94
95
|
}
|
|
95
96
|
|
|
@@ -100,11 +101,12 @@
|
|
|
100
101
|
border-width: 1px;
|
|
101
102
|
border-style: solid;
|
|
102
103
|
font-weight: 600;
|
|
103
|
-
padding: #{units.$u2 - 1}
|
|
104
|
+
padding-block: #{units.$u2 - 1};
|
|
105
|
+
padding-inline: #{units.$u2 - 1} #{units.$u6 - 1};
|
|
104
106
|
position: relative;
|
|
105
|
-
text-align:
|
|
107
|
+
text-align: start;
|
|
106
108
|
white-space: normal;
|
|
107
|
-
|
|
109
|
+
inline-size: 100%;
|
|
108
110
|
cursor: pointer;
|
|
109
111
|
|
|
110
112
|
&:hover,
|
|
@@ -139,7 +141,7 @@
|
|
|
139
141
|
|
|
140
142
|
&.dso-single-count {
|
|
141
143
|
@media screen and (min-width: media-query-breakpoints.$screen-sm-min) {
|
|
142
|
-
border-
|
|
144
|
+
border-inline-end: 0;
|
|
143
145
|
box-shadow:
|
|
144
146
|
colors.$grasgroen 0px 1px 0px 0px inset,
|
|
145
147
|
colors.$grasgroen 1px 0px 0px 0px inset,
|
|
@@ -158,17 +160,17 @@
|
|
|
158
160
|
|
|
159
161
|
.dso-sublabel {
|
|
160
162
|
font-weight: 400;
|
|
161
|
-
|
|
163
|
+
inline-size: 100%;
|
|
162
164
|
}
|
|
163
165
|
|
|
164
166
|
dso-icon,
|
|
165
167
|
svg.di,
|
|
166
168
|
.dso-count {
|
|
167
|
-
|
|
169
|
+
block-size: units.$u3;
|
|
168
170
|
position: absolute;
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
171
|
+
inset-inline-end: #{units.$u2 - 1};
|
|
172
|
+
inset-block-start: #{units.$u2 - 1};
|
|
173
|
+
inline-size: units.$u3;
|
|
172
174
|
}
|
|
173
175
|
|
|
174
176
|
dso-icon,
|
|
@@ -184,12 +186,12 @@
|
|
|
184
186
|
@media screen and (max-width: media-query-breakpoints.$screen-xs-max) {
|
|
185
187
|
&.dso-selected.dso-single-count {
|
|
186
188
|
&::after {
|
|
187
|
-
|
|
189
|
+
inline-size: 0;
|
|
188
190
|
}
|
|
189
191
|
}
|
|
190
192
|
}
|
|
191
193
|
}
|
|
192
194
|
|
|
193
195
|
@mixin sibling() {
|
|
194
|
-
margin-
|
|
196
|
+
margin-block-start: list-button-variables.$margin-gap;
|
|
195
197
|
}
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
dso-list-button > [slot="subcontent"] {
|
|
26
26
|
color: colors.$grijs-60;
|
|
27
27
|
font-weight: 400;
|
|
28
|
-
padding: units.$u2 0
|
|
28
|
+
padding-block: units.$u2 0;
|
|
29
|
+
padding-inline: units.$u2 0;
|
|
29
30
|
|
|
30
31
|
mark {
|
|
31
32
|
background-color: transparent;
|
|
@@ -36,8 +37,8 @@ dso-list-button > [slot="subcontent"] {
|
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
dso-list-button > [slot="subcontent"] {
|
|
39
|
-
padding-
|
|
40
|
-
padding-
|
|
40
|
+
padding-inline-start: selectable.$size + units.$u3;
|
|
41
|
+
padding-block-start: units.$u1;
|
|
41
42
|
}
|
|
42
43
|
|
|
43
44
|
dso-list-button + dso-list-button {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.dso-dialog {
|
|
34
|
-
inline-size: modal-variables.$max-
|
|
34
|
+
inline-size: modal-variables.$max-inline-size;
|
|
35
35
|
|
|
36
36
|
background-color: modal-variables.$content-bg;
|
|
37
37
|
|
|
@@ -75,13 +75,14 @@
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
> .dso-dialog > .dso-body {
|
|
78
|
+
/* stylelint-disable-next-line scss/operator-no-newline-after -- disabled because of prettier newline */
|
|
78
79
|
$dso-body-unavailable-height: (2 * modal-variables.$header-padding) +
|
|
79
|
-
(modal-variables.$footer-button-
|
|
80
|
+
(modal-variables.$footer-button-block-size + modal-variables.$footer-padding);
|
|
80
81
|
|
|
81
82
|
@include rich-content.children();
|
|
82
83
|
|
|
83
84
|
block-size: calc(100% - #{modal-variables.$body-padding * 2 + units.$u4} - 1.5rem);
|
|
84
|
-
max-block-size: calc(#{modal-variables.$max-
|
|
85
|
+
max-block-size: calc(#{modal-variables.$max-block-size} - #{$dso-body-unavailable-height + units.$u4} - 1.5em);
|
|
85
86
|
min-block-size: 1.5rem;
|
|
86
87
|
overflow-x: auto;
|
|
87
88
|
|
|
@@ -89,12 +90,13 @@
|
|
|
89
90
|
}
|
|
90
91
|
|
|
91
92
|
> .dso-dialog > dso-scrollable {
|
|
93
|
+
/* stylelint-disable-next-line scss/operator-no-newline-after -- disabled because of prettier newline */
|
|
92
94
|
$dso-body-unavailable-height: (2 * modal-variables.$header-padding) +
|
|
93
|
-
(modal-variables.$footer-button-
|
|
95
|
+
(modal-variables.$footer-button-block-size + modal-variables.$footer-padding);
|
|
94
96
|
|
|
95
97
|
block-size: calc(100% - #{modal-variables.$body-padding * 2 + units.$u4} - 1.5rem);
|
|
96
|
-
max-block-size: calc(#{modal-variables.$max-
|
|
97
|
-
min-block-size: modal-variables.$body-min-
|
|
98
|
+
max-block-size: calc(#{modal-variables.$max-block-size} - #{$dso-body-unavailable-height + units.$u4} - 1.5em);
|
|
99
|
+
min-block-size: modal-variables.$body-min-block-size;
|
|
98
100
|
|
|
99
101
|
.dso-body {
|
|
100
102
|
@include rich-content.children();
|
|
@@ -112,9 +114,10 @@
|
|
|
112
114
|
.dso-footer {
|
|
113
115
|
@include modal-wide-buttons();
|
|
114
116
|
|
|
115
|
-
min-block-size: modal-variables.$footer-button-
|
|
117
|
+
min-block-size: modal-variables.$footer-button-block-size + modal-variables.$footer-padding;
|
|
116
118
|
|
|
117
|
-
padding: calc(modal-variables.$footer-padding / 2)
|
|
119
|
+
padding-block: calc(modal-variables.$footer-padding / 2);
|
|
120
|
+
padding-inline: modal-variables.$footer-padding;
|
|
118
121
|
|
|
119
122
|
text-align: end;
|
|
120
123
|
}
|
|
@@ -165,14 +168,15 @@
|
|
|
165
168
|
// special query for height
|
|
166
169
|
@media screen and (max-height: modal-variables.$small-modal-vh) {
|
|
167
170
|
.dso-dialog {
|
|
168
|
-
min-block-size: modal-variables.$min-modal-
|
|
171
|
+
min-block-size: modal-variables.$min-modal-block-size;
|
|
169
172
|
|
|
170
173
|
margin-block-start: units.$u1;
|
|
171
174
|
margin-block-end: units.$u1;
|
|
172
175
|
}
|
|
173
176
|
|
|
174
177
|
.dso-header {
|
|
175
|
-
padding: #{units.$u1}
|
|
178
|
+
padding-block: #{units.$u1};
|
|
179
|
+
padding-inline: #{units.$u2};
|
|
176
180
|
|
|
177
181
|
.dso-close {
|
|
178
182
|
inset-block-start: units.$u1;
|
|
@@ -180,14 +184,16 @@
|
|
|
180
184
|
}
|
|
181
185
|
|
|
182
186
|
.dso-body {
|
|
183
|
-
padding: #{units.$u2}
|
|
187
|
+
padding-block: #{units.$u2};
|
|
188
|
+
padding-inline: #{units.$u3};
|
|
184
189
|
}
|
|
185
190
|
|
|
186
191
|
.dso-footer {
|
|
187
192
|
min-block-size: auto;
|
|
188
193
|
overflow: auto;
|
|
189
194
|
|
|
190
|
-
padding: modal-variables.$footer-padding-small-modal-vh
|
|
195
|
+
padding-block: modal-variables.$footer-padding-small-modal-vh;
|
|
196
|
+
padding-inline: modal-variables.$footer-padding;
|
|
191
197
|
}
|
|
192
198
|
}
|
|
193
199
|
}
|
|
@@ -31,9 +31,10 @@ body:has(dso-modal.hydrated) {
|
|
|
31
31
|
|
|
32
32
|
.dso-footer {
|
|
33
33
|
.dso-tertiary {
|
|
34
|
-
float:
|
|
34
|
+
float: inline-start;
|
|
35
35
|
line-height: calc(1.5em - 1px);
|
|
36
|
-
padding: button.$
|
|
36
|
+
padding-block: button.$block-padding;
|
|
37
|
+
padding-inline: 0;
|
|
37
38
|
position: relative;
|
|
38
39
|
}
|
|
39
40
|
}
|
|
@@ -52,9 +53,10 @@ dso-modal {
|
|
|
52
53
|
@include modal.modal-wide-buttons();
|
|
53
54
|
|
|
54
55
|
.dso-tertiary {
|
|
55
|
-
float:
|
|
56
|
+
float: inline-start;
|
|
56
57
|
line-height: calc(1.5em - 1px);
|
|
57
|
-
padding: button.$
|
|
58
|
+
padding-block: button.$block-padding;
|
|
59
|
+
padding-inline: 0;
|
|
58
60
|
position: relative;
|
|
59
61
|
}
|
|
60
62
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
@use "../../variables/colors";
|
|
2
2
|
@use "../../variables/units";
|
|
3
3
|
|
|
4
|
-
$max-
|
|
5
|
-
$max-
|
|
4
|
+
$max-inline-size: 640px;
|
|
5
|
+
$max-block-size: 70vh;
|
|
6
6
|
|
|
7
7
|
$small-modal-vh: 380px;
|
|
8
|
-
$min-modal-
|
|
8
|
+
$min-modal-block-size: 216px;
|
|
9
9
|
|
|
10
10
|
$backdrop-bg: colors.$wit;
|
|
11
11
|
$backdrop-opacity: 0.2;
|
|
@@ -16,8 +16,8 @@ $close-icon-size: units.$u4;
|
|
|
16
16
|
$close-icon-color: colors.$grasgroen;
|
|
17
17
|
|
|
18
18
|
$header-padding: units.$u2;
|
|
19
|
-
$body-min-
|
|
19
|
+
$body-min-block-size: 6.5rem;
|
|
20
20
|
$body-padding: units.$u4;
|
|
21
21
|
$footer-padding: units.$u4;
|
|
22
22
|
$footer-padding-small-modal-vh: units.$u1;
|
|
23
|
-
$footer-button-
|
|
23
|
+
$footer-button-block-size: units.$u6;
|
|
@@ -7,21 +7,22 @@
|
|
|
7
7
|
|
|
8
8
|
@mixin root() {
|
|
9
9
|
.dso-navbar {
|
|
10
|
-
min-
|
|
10
|
+
min-block-size: units.$u4;
|
|
11
11
|
|
|
12
12
|
.dso-navbar-header {
|
|
13
|
-
float:
|
|
13
|
+
float: inline-start;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.dso-navbar-toggle {
|
|
17
17
|
border-radius: 4px;
|
|
18
|
-
min-
|
|
19
|
-
padding: #{units.$padding-base-
|
|
18
|
+
min-inline-size: auto;
|
|
19
|
+
padding-block: #{units.$padding-base-block - 1};
|
|
20
|
+
padding-inline: 0;
|
|
20
21
|
|
|
21
22
|
dso-icon,
|
|
22
23
|
svg.di {
|
|
23
|
-
margin-
|
|
24
|
-
margin-
|
|
24
|
+
margin-inline-start: units.$u1;
|
|
25
|
+
margin-inline-end: units.$u1;
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
@media screen and (min-width: media-query-breakpoints.$screen-md-min) {
|
|
@@ -82,8 +83,9 @@
|
|
|
82
83
|
|
|
83
84
|
font-size: 1.25em;
|
|
84
85
|
line-height: 1;
|
|
85
|
-
margin-
|
|
86
|
-
padding: units.$u1
|
|
86
|
+
margin-block-start: units.$u1;
|
|
87
|
+
padding-block: units.$u1 #{units.$u1 - 1px};
|
|
88
|
+
padding-inline: units.$u2;
|
|
87
89
|
}
|
|
88
90
|
}
|
|
89
91
|
}
|
|
@@ -97,8 +99,9 @@
|
|
|
97
99
|
@include anchor.reverse();
|
|
98
100
|
|
|
99
101
|
font-size: typography.$root-font-size-base;
|
|
100
|
-
margin-
|
|
101
|
-
padding: (units.$u1 * 0.5)
|
|
102
|
+
margin-block-start: (units.$u1 * 0.5);
|
|
103
|
+
padding-block: (units.$u1 * 0.5) #{units.$u1 * 0.5 - 1px};
|
|
104
|
+
padding-inline: units.$u1;
|
|
102
105
|
}
|
|
103
106
|
}
|
|
104
107
|
}
|
|
@@ -106,9 +109,9 @@
|
|
|
106
109
|
}
|
|
107
110
|
|
|
108
111
|
@mixin nav-item-border($color) {
|
|
109
|
-
border-
|
|
112
|
+
border-block-end: 4px solid $color;
|
|
110
113
|
}
|
|
111
114
|
|
|
112
115
|
@mixin nav-border() {
|
|
113
|
-
border-
|
|
116
|
+
border-block-end: 1px solid colors.$grijs-20;
|
|
114
117
|
}
|