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
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
.dso-document-list {
|
|
9
9
|
@include list.unstyled();
|
|
10
|
-
|
|
11
|
-
margin:
|
|
10
|
+
margin-block: 0;
|
|
11
|
+
margin-inline: css-grid-variables.$grid-gutter-width * -0.5;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.dso-document-list-item {
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
|
|
18
18
|
&.dso-document-list-item-sticky {
|
|
19
19
|
.dso-document-list-item-heading {
|
|
20
|
-
padding: css-grid-variables.$grid-gutter-width * 0.25
|
|
20
|
+
padding-block: css-grid-variables.$grid-gutter-width * 0.25;
|
|
21
|
+
padding-inline: css-grid-variables.$grid-gutter-width * 0.5;
|
|
21
22
|
|
|
22
23
|
h2 {
|
|
23
24
|
font-size: 1.25rem;
|
|
@@ -33,8 +34,8 @@
|
|
|
33
34
|
.dso-document-list-item-heading {
|
|
34
35
|
background-color: colors.$grijs-5;
|
|
35
36
|
color: colors.$zwart;
|
|
36
|
-
padding: css-grid-variables.$grid-gutter-width * 0.5;
|
|
37
|
-
|
|
37
|
+
padding: #{css-grid-variables.$grid-gutter-width * 0.5};
|
|
38
|
+
inline-size: 100%;
|
|
38
39
|
|
|
39
40
|
a {
|
|
40
41
|
color: colors.$zwart;
|
|
@@ -50,25 +51,26 @@
|
|
|
50
51
|
|
|
51
52
|
.dso-document-list-item-type,
|
|
52
53
|
.dso-document-list-item-owner {
|
|
53
|
-
margin: 0
|
|
54
|
+
margin-block: 0 units.$u1;
|
|
55
|
+
margin-inline: 0;
|
|
54
56
|
display: inline-block;
|
|
55
57
|
}
|
|
56
58
|
|
|
57
59
|
.dso-document-list-item-status {
|
|
58
60
|
dso-badge,
|
|
59
61
|
.dso-badge {
|
|
60
|
-
margin-
|
|
62
|
+
margin-inline-end: units.$u1;
|
|
61
63
|
}
|
|
62
64
|
}
|
|
63
65
|
}
|
|
64
66
|
|
|
65
67
|
.dso-document-list-item-content {
|
|
66
|
-
padding: css-grid-variables.$grid-gutter-width * 0.5;
|
|
68
|
+
padding: #{css-grid-variables.$grid-gutter-width * 0.5};
|
|
67
69
|
}
|
|
68
70
|
}
|
|
69
71
|
|
|
70
72
|
.dso-document-list-item-open-document {
|
|
71
|
-
float:
|
|
73
|
+
float: inline-end;
|
|
72
74
|
}
|
|
73
75
|
|
|
74
76
|
dso-responsive-element[small] > .dso-document-list {
|
|
@@ -77,14 +79,15 @@ dso-responsive-element[small] > .dso-document-list {
|
|
|
77
79
|
}
|
|
78
80
|
|
|
79
81
|
.dso-document-list-item-status {
|
|
80
|
-
margin: 0
|
|
82
|
+
margin-block: 0 units.$u1;
|
|
83
|
+
margin-inline: 0;
|
|
81
84
|
}
|
|
82
85
|
}
|
|
83
86
|
|
|
84
87
|
dso-responsive-element:not([small]) > .dso-document-list {
|
|
85
88
|
.dso-document-list-item {
|
|
86
89
|
&-type {
|
|
87
|
-
margin-
|
|
90
|
+
margin-inline-end: units.$u1;
|
|
88
91
|
}
|
|
89
92
|
|
|
90
93
|
&-status {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
> .dso-primary,
|
|
31
31
|
> .dso-secondary {
|
|
32
32
|
&::after {
|
|
33
|
-
margin-
|
|
33
|
+
margin-inline-start: units.$u1;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
|
|
@@ -39,7 +39,8 @@
|
|
|
39
39
|
font-size: (math.div(14, 16) * 1em);
|
|
40
40
|
font-weight: 400;
|
|
41
41
|
margin: 0;
|
|
42
|
-
padding: (units.$u1 * 0.5)
|
|
42
|
+
padding-block: (units.$u1 * 0.5) (units.$u1 * 0.25);
|
|
43
|
+
padding-inline: dropdown-menu-variables.$inline-padding;
|
|
43
44
|
text-transform: uppercase;
|
|
44
45
|
}
|
|
45
46
|
|
|
@@ -48,9 +49,9 @@
|
|
|
48
49
|
padding: 0;
|
|
49
50
|
|
|
50
51
|
&:not(:last-child) {
|
|
51
|
-
border-
|
|
52
|
-
margin-
|
|
53
|
-
padding-
|
|
52
|
+
border-block-end: 1px solid colors.$grijs-10;
|
|
53
|
+
margin-block-end: 11px;
|
|
54
|
+
padding-block-end: 11px;
|
|
54
55
|
}
|
|
55
56
|
}
|
|
56
57
|
|
|
@@ -61,8 +62,9 @@
|
|
|
61
62
|
border: 1px solid dropdown-menu-variables.$border-color;
|
|
62
63
|
box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.4);
|
|
63
64
|
font-size: typography.$root-font-size-base;
|
|
64
|
-
min-
|
|
65
|
-
padding: 5px
|
|
65
|
+
min-inline-size: 160px;
|
|
66
|
+
padding-block: 5px;
|
|
67
|
+
padding-inline: 0;
|
|
66
68
|
z-index: zindex.$dropdown-options;
|
|
67
69
|
|
|
68
70
|
li {
|
|
@@ -83,7 +85,8 @@
|
|
|
83
85
|
display: block;
|
|
84
86
|
font-weight: 400;
|
|
85
87
|
line-height: 1.5;
|
|
86
|
-
padding: 3px
|
|
88
|
+
padding-block: 3px;
|
|
89
|
+
padding-inline: dropdown-menu-variables.$inline-padding;
|
|
87
90
|
text-decoration: none;
|
|
88
91
|
white-space: nowrap; // stylelint-disable-line declaration-property-value-disallowed-list -- We don't want wrapping in Dropdown items
|
|
89
92
|
|
|
@@ -101,7 +104,7 @@
|
|
|
101
104
|
border: 0;
|
|
102
105
|
border-radius: 0;
|
|
103
106
|
text-align: inherit;
|
|
104
|
-
|
|
107
|
+
inline-size: 100%;
|
|
105
108
|
}
|
|
106
109
|
}
|
|
107
110
|
}
|
|
@@ -109,13 +112,13 @@
|
|
|
109
112
|
|
|
110
113
|
@mixin checkable() {
|
|
111
114
|
.dso-group-label {
|
|
112
|
-
padding-
|
|
115
|
+
padding-inline-start: units.$u5;
|
|
113
116
|
}
|
|
114
117
|
|
|
115
118
|
li {
|
|
116
119
|
a,
|
|
117
120
|
button {
|
|
118
|
-
padding-
|
|
121
|
+
padding-inline-start: units.$u5;
|
|
119
122
|
}
|
|
120
123
|
|
|
121
124
|
&.dso-checked {
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
&::after {
|
|
29
29
|
@include di.base("chevron-down");
|
|
30
30
|
|
|
31
|
-
margin-
|
|
31
|
+
margin-inline-start: units.$u1 * 0.5;
|
|
32
32
|
position: relative;
|
|
33
|
-
|
|
33
|
+
inset-block-start: -2px;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
&:hover {
|
|
@@ -94,9 +94,9 @@
|
|
|
94
94
|
|
|
95
95
|
content: "";
|
|
96
96
|
display: block;
|
|
97
|
-
float:
|
|
98
|
-
margin-
|
|
99
|
-
margin-
|
|
97
|
+
float: inline-start;
|
|
98
|
+
margin-inline-start: units.$u4 * -1;
|
|
99
|
+
margin-inline-end: units.$u1;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
}
|
|
@@ -105,15 +105,16 @@
|
|
|
105
105
|
|
|
106
106
|
&.dso-dropdown-align-right {
|
|
107
107
|
.dso-dropdown-options {
|
|
108
|
-
|
|
108
|
+
inset-inline-end: 0;
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.dso-dropdown-options {
|
|
113
|
-
margin: 2px 0
|
|
113
|
+
margin-block: 2px 0;
|
|
114
|
+
margin-inline: 0;
|
|
114
115
|
position: absolute;
|
|
115
|
-
text-align:
|
|
116
|
-
|
|
116
|
+
text-align: start;
|
|
117
|
+
inset-block-start: 100%;
|
|
117
118
|
}
|
|
118
119
|
}
|
|
119
120
|
|
|
@@ -138,9 +139,9 @@ dso-dropdown-menu {
|
|
|
138
139
|
|
|
139
140
|
content: "";
|
|
140
141
|
display: block;
|
|
141
|
-
float:
|
|
142
|
-
margin-
|
|
143
|
-
margin-
|
|
142
|
+
float: inline-start;
|
|
143
|
+
margin-inline-start: units.$u4 * -1;
|
|
144
|
+
margin-inline-end: units.$u1;
|
|
144
145
|
}
|
|
145
146
|
}
|
|
146
147
|
}
|
|
@@ -14,11 +14,11 @@ footer {
|
|
|
14
14
|
|
|
15
15
|
@include set-colors.apply(colors.$grijs-5);
|
|
16
16
|
|
|
17
|
-
border-
|
|
17
|
+
border-block-start: 1px solid css-footer-variables.$border-color;
|
|
18
18
|
display: block;
|
|
19
|
-
margin-
|
|
20
|
-
padding-
|
|
21
|
-
padding-
|
|
19
|
+
margin-block-start: units.$u6;
|
|
20
|
+
padding-block-end: units.$u6;
|
|
21
|
+
padding-block-start: units.$u3;
|
|
22
22
|
|
|
23
23
|
.dso-link-list {
|
|
24
24
|
@include link-list.exotic();
|
|
@@ -36,13 +36,13 @@ footer {
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
h2 {
|
|
39
|
-
border-
|
|
39
|
+
border-block-end: 1px solid css-footer-variables.$header-border-color;
|
|
40
40
|
color: colors.$zwart;
|
|
41
41
|
font-size: 1.25em;
|
|
42
42
|
font-weight: 700;
|
|
43
|
-
margin-
|
|
44
|
-
margin-
|
|
45
|
-
padding-
|
|
43
|
+
margin-block-end: units.$u2;
|
|
44
|
+
margin-block-start: units.$u2;
|
|
45
|
+
padding-block-end: units.$u2;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
a {
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
@mixin root() {
|
|
7
7
|
@include list.unstyled();
|
|
8
8
|
|
|
9
|
-
border-
|
|
10
|
-
padding-
|
|
9
|
+
border-block-start: 1px solid colors.$grijs-20;
|
|
10
|
+
padding-block-start: #{units.$u1 * 1.5};
|
|
11
11
|
|
|
12
12
|
.dso-footnote-backlink::after {
|
|
13
13
|
content: "^";
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
|
|
9
9
|
#{css-form-variables.$form-selectors} {
|
|
10
10
|
fieldset {
|
|
11
|
-
margin-
|
|
11
|
+
margin-block-end: units.$u2;
|
|
12
12
|
|
|
13
13
|
> legend {
|
|
14
14
|
@include headings.h3();
|
|
15
15
|
|
|
16
|
-
border-
|
|
17
|
-
margin-
|
|
16
|
+
border-block-end: 0;
|
|
17
|
+
margin-block-end: css-form-variables.$fieldset-separator-unit;
|
|
18
18
|
|
|
19
19
|
h1,
|
|
20
20
|
h2,
|
|
@@ -27,24 +27,24 @@
|
|
|
27
27
|
|
|
28
28
|
+ dso-alert,
|
|
29
29
|
+ .alert {
|
|
30
|
-
margin-
|
|
30
|
+
margin-block-start: 0;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
+ fieldset:not(.form-group) {
|
|
35
35
|
> legend {
|
|
36
|
-
border-
|
|
37
|
-
padding-
|
|
36
|
+
border-block-start: 1px solid css-form-variables.$fieldset-separator-color;
|
|
37
|
+
padding-block-start: css-form-variables.$fieldset-separator-unit;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
fieldset {
|
|
42
|
-
margin-
|
|
43
|
-
padding-
|
|
42
|
+
margin-block-end: 0;
|
|
43
|
+
padding-block-end: 0;
|
|
44
44
|
|
|
45
45
|
+ fieldset {
|
|
46
|
-
margin-
|
|
47
|
-
padding-
|
|
46
|
+
margin-block-start: 0;
|
|
47
|
+
padding-block-start: 0;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
}
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
margin-block-end: units.$
|
|
16
|
+
margin-block-end: units.$block-spacing-medium;
|
|
17
17
|
|
|
18
18
|
&:last-child {
|
|
19
|
-
margin-block-end: units.$
|
|
19
|
+
margin-block-end: units.$block-spacing-xlarge;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
:is(.dso-primary, .dso-secondary, .dso-tertiary) {
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
a,
|
|
31
31
|
button {
|
|
32
32
|
&.dso-tertiary {
|
|
33
|
-
padding-block: button.$
|
|
34
|
-
padding-inline-end: button.$
|
|
33
|
+
padding-block: button.$block-padding;
|
|
34
|
+
padding-inline-end: button.$inline-padding;
|
|
35
35
|
|
|
36
36
|
line-height: typography.$line-height-base;
|
|
37
37
|
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
|
|
41
41
|
inline-size: 100%;
|
|
42
42
|
|
|
43
|
-
padding-inline-start: button.$
|
|
43
|
+
padding-inline-start: button.$inline-padding;
|
|
44
44
|
|
|
45
45
|
background-color: colors.$grasgroen-10;
|
|
46
46
|
|
|
@@ -16,20 +16,20 @@
|
|
|
16
16
|
@use "form.mixins" as css-form-mixins;
|
|
17
17
|
|
|
18
18
|
.form-group {
|
|
19
|
-
margin-
|
|
19
|
+
margin-block-end: css-form-variables.$form-group-margin-bottom;
|
|
20
20
|
|
|
21
21
|
+ .form-group:not(.dso-static),
|
|
22
22
|
+ .dso-form-buttons {
|
|
23
|
-
margin-
|
|
23
|
+
margin-block-start: css-form-variables.$form-group-margin;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
&:not(.dso-static) + .form-group.dso-static,
|
|
27
27
|
&.dso-static + .form-group:not(.dso-static) {
|
|
28
|
-
margin-
|
|
28
|
+
margin-block-start: css-form-variables.$form-group-margin * 0.5;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
&.dso-edit + .form-group {
|
|
32
|
-
margin-
|
|
32
|
+
margin-block-start: 0;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
+ dl,
|
|
@@ -37,12 +37,13 @@
|
|
|
37
37
|
+ ol,
|
|
38
38
|
+ ul,
|
|
39
39
|
+ div:not(.form-group):not(.dso-form-buttons) {
|
|
40
|
-
margin-
|
|
40
|
+
margin-block-start: units.$block-spacing-xlarge;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
> .dso-info {
|
|
44
|
-
float:
|
|
45
|
-
margin: units.$u2
|
|
44
|
+
float: inline-start;
|
|
45
|
+
margin-block: units.$u2;
|
|
46
|
+
margin-inline: 0;
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
.dso-info {
|
|
@@ -55,9 +56,9 @@
|
|
|
55
56
|
.control-label {
|
|
56
57
|
display: inline;
|
|
57
58
|
font-weight: bold;
|
|
58
|
-
margin-
|
|
59
|
-
max-
|
|
60
|
-
text-align:
|
|
59
|
+
margin-block-end: units.$u1;
|
|
60
|
+
max-inline-size: 100%;
|
|
61
|
+
text-align: start;
|
|
61
62
|
}
|
|
62
63
|
|
|
63
64
|
.dso-rich-content:has(table) {
|
|
@@ -65,11 +66,11 @@
|
|
|
65
66
|
}
|
|
66
67
|
|
|
67
68
|
legend + .dso-label-container {
|
|
68
|
-
margin-
|
|
69
|
+
margin-block-end: units.$u1;
|
|
69
70
|
}
|
|
70
71
|
|
|
71
72
|
.dso-label-container + .dso-field-container {
|
|
72
|
-
margin-
|
|
73
|
+
margin-block-start: units.$u1;
|
|
73
74
|
}
|
|
74
75
|
|
|
75
76
|
&.has-feedback {
|
|
@@ -79,34 +80,34 @@
|
|
|
79
80
|
// Reposition feedback icon if input has visible label above
|
|
80
81
|
label {
|
|
81
82
|
& ~ .form-control-feedback {
|
|
82
|
-
|
|
83
|
+
inset-block-start: (typography.$line-height-computed + 5); // Height of the `label` and its margin
|
|
83
84
|
}
|
|
84
85
|
|
|
85
86
|
&.sr-only ~ .form-control-feedback {
|
|
86
|
-
|
|
87
|
+
inset-block-start: 0;
|
|
87
88
|
}
|
|
88
89
|
}
|
|
89
90
|
|
|
90
91
|
.form-control {
|
|
91
|
-
padding-
|
|
92
|
+
padding-inline-end: units.$u6 - form-control.$border-width; // Feedback icon: 16px padding + 16px size + 16px padding - border
|
|
92
93
|
}
|
|
93
94
|
|
|
94
95
|
.form-control-feedback {
|
|
95
96
|
color: colors.$bosgroen;
|
|
96
97
|
display: block;
|
|
97
|
-
|
|
98
|
+
block-size: css-form-variables.$input-height-base;
|
|
98
99
|
line-height: css-form-variables.$input-height-base;
|
|
99
100
|
pointer-events: none;
|
|
100
101
|
position: absolute;
|
|
101
|
-
|
|
102
|
+
inset-inline-end: 0;
|
|
102
103
|
text-align: center;
|
|
103
|
-
|
|
104
|
-
|
|
104
|
+
inset-block-start: 0;
|
|
105
|
+
inline-size: units.$u6;
|
|
105
106
|
z-index: zindex.$form-control-feedback; // Ensure icon is above input groups
|
|
106
107
|
|
|
107
108
|
dso-icon,
|
|
108
109
|
svg.di {
|
|
109
|
-
margin-
|
|
110
|
+
margin-block-start: #{units.$u1 - 1};
|
|
110
111
|
}
|
|
111
112
|
}
|
|
112
113
|
}
|
|
@@ -122,7 +123,7 @@
|
|
|
122
123
|
|
|
123
124
|
.dso-message {
|
|
124
125
|
color: css-form-variables.$field-invalid-message-color;
|
|
125
|
-
padding-
|
|
126
|
+
padding-inline-start: units.$u4;
|
|
126
127
|
position: relative;
|
|
127
128
|
|
|
128
129
|
&::before {
|
|
@@ -130,7 +131,7 @@
|
|
|
130
131
|
|
|
131
132
|
content: "";
|
|
132
133
|
display: block;
|
|
133
|
-
|
|
134
|
+
inset-inline-start: 0;
|
|
134
135
|
position: absolute;
|
|
135
136
|
}
|
|
136
137
|
}
|
|
@@ -138,7 +139,8 @@
|
|
|
138
139
|
|
|
139
140
|
.dso-message,
|
|
140
141
|
.dso-help-block {
|
|
141
|
-
margin: units.$u1 0
|
|
142
|
+
margin-block: units.$u1 0;
|
|
143
|
+
margin-inline: 0;
|
|
142
144
|
}
|
|
143
145
|
|
|
144
146
|
.dso-help-block {
|
|
@@ -155,21 +157,21 @@
|
|
|
155
157
|
@include css-grid.make-sm-column(css-form-variables.$label-column);
|
|
156
158
|
|
|
157
159
|
@media screen and (min-width: media-query-breakpoints.$screen-sm-min) {
|
|
158
|
-
padding-
|
|
160
|
+
padding-block-start: units.$u1;
|
|
159
161
|
}
|
|
160
162
|
|
|
161
163
|
> button.dso-info-button {
|
|
162
|
-
margin-
|
|
164
|
+
margin-block-start: 0;
|
|
163
165
|
}
|
|
164
166
|
|
|
165
167
|
> .dso-info {
|
|
166
|
-
margin-
|
|
168
|
+
margin-block-start: units.$u1;
|
|
167
169
|
}
|
|
168
170
|
}
|
|
169
171
|
|
|
170
172
|
> legend + .dso-label-container {
|
|
171
173
|
@media screen and (max-width: media-query-breakpoints.$screen-xs-max) {
|
|
172
|
-
padding-
|
|
174
|
+
padding-block-start: units.$u1;
|
|
173
175
|
}
|
|
174
176
|
}
|
|
175
177
|
|
|
@@ -177,23 +179,23 @@
|
|
|
177
179
|
@include css-grid.make-sm-column(css-grid.$grid-columns - css-form-variables.$label-column);
|
|
178
180
|
|
|
179
181
|
@media screen and (min-width: media-query-breakpoints.$screen-sm-min) {
|
|
180
|
-
margin-
|
|
182
|
+
margin-block-start: 0;
|
|
181
183
|
}
|
|
182
184
|
}
|
|
183
185
|
|
|
184
186
|
&.has-feedback .form-control-feedback {
|
|
185
|
-
|
|
187
|
+
inset-inline-end: math.floor((css-grid.$grid-gutter-width * 0.5));
|
|
186
188
|
}
|
|
187
189
|
|
|
188
190
|
> .dso-info {
|
|
189
191
|
margin: units.$u2;
|
|
190
|
-
|
|
192
|
+
inline-size: calc(100% - #{units.$u4});
|
|
191
193
|
}
|
|
192
194
|
}
|
|
193
195
|
|
|
194
196
|
// to do: integrate this into spacing.scss [#2217]
|
|
195
197
|
.dso-img-list + .form-group {
|
|
196
|
-
margin-block-start: units.$
|
|
198
|
+
margin-block-start: units.$block-spacing-xlarge;
|
|
197
199
|
}
|
|
198
200
|
|
|
199
201
|
#{css-form-variables.$form-selectors} {
|
|
@@ -205,8 +207,8 @@
|
|
|
205
207
|
.dso-label-container {
|
|
206
208
|
> .dso-info {
|
|
207
209
|
font-weight: 400;
|
|
208
|
-
margin-
|
|
209
|
-
margin-
|
|
210
|
+
margin-block-end: units.$u2;
|
|
211
|
+
margin-block-start: units.$u1;
|
|
210
212
|
}
|
|
211
213
|
}
|
|
212
214
|
}
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
|
|
23
23
|
@media screen and (min-width: media-query-breakpoints.$screen-sm-min) {
|
|
24
24
|
.form-horizontal & .dso-field-container {
|
|
25
|
-
margin-
|
|
26
|
-
padding-
|
|
25
|
+
margin-inline-start: math.percentage(math.div(css-form-variables.$label-column, css-grid.$grid-columns));
|
|
26
|
+
padding-inline-start: css-grid.$grid-gutter-width * 0.5;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -19,11 +19,13 @@
|
|
|
19
19
|
|
|
20
20
|
dso-selectable,
|
|
21
21
|
.dso-selectable {
|
|
22
|
-
margin: #{units.$u1 * 0.5}
|
|
22
|
+
margin-block: #{units.$u1 * 0.5};
|
|
23
|
+
margin-inline: 0;
|
|
23
24
|
}
|
|
24
25
|
|
|
25
26
|
.dso-upload-loading {
|
|
26
|
-
margin: #{units.$u1 * 0.5}
|
|
27
|
+
margin-block: #{units.$u1 * 0.5};
|
|
28
|
+
margin-inline: 0;
|
|
27
29
|
padding-inline-end: units.$u3;
|
|
28
30
|
|
|
29
31
|
span {
|
|
@@ -74,8 +76,8 @@
|
|
|
74
76
|
.dso-filelist {
|
|
75
77
|
list-style: none;
|
|
76
78
|
|
|
77
|
-
margin-
|
|
78
|
-
padding-
|
|
79
|
+
margin-block-end: 0;
|
|
80
|
+
padding-inline-start: 0;
|
|
79
81
|
|
|
80
82
|
li {
|
|
81
83
|
display: flex;
|
|
@@ -86,10 +88,11 @@
|
|
|
86
88
|
border: 1px solid colors.$grijs-10;
|
|
87
89
|
border-radius: button.$border-radius;
|
|
88
90
|
|
|
89
|
-
padding: #{units.$u1 * 0.5 - 1} #{units.$u1
|
|
91
|
+
padding-block: #{units.$u1 * 0.5 - 1} #{units.$u1 * 0.5 - 2};
|
|
92
|
+
padding-inline: #{units.$u1 - 1};
|
|
90
93
|
|
|
91
94
|
+ li {
|
|
92
|
-
margin-
|
|
95
|
+
margin-block-start: units.$u1;
|
|
93
96
|
}
|
|
94
97
|
|
|
95
98
|
@media screen and (max-width: media-query-breakpoints.$screen-sm-max) {
|
|
@@ -99,7 +102,7 @@
|
|
|
99
102
|
.dso-filename {
|
|
100
103
|
flex-grow: 1;
|
|
101
104
|
|
|
102
|
-
padding-
|
|
105
|
+
padding-inline-end: units.$u1;
|
|
103
106
|
|
|
104
107
|
font-weight: 600;
|
|
105
108
|
word-break: break-all;
|
|
@@ -121,8 +124,8 @@
|
|
|
121
124
|
.dso-remove,
|
|
122
125
|
.dso-download {
|
|
123
126
|
font-size: 0;
|
|
124
|
-
min-
|
|
125
|
-
padding: units.$u1 * 0.5;
|
|
127
|
+
min-inline-size: auto;
|
|
128
|
+
padding: #{units.$u1 * 0.5};
|
|
126
129
|
margin-inline-start: units.$u1 * 0.5;
|
|
127
130
|
|
|
128
131
|
&::before {
|
|
@@ -146,19 +149,21 @@
|
|
|
146
149
|
|
|
147
150
|
.dso-filename,
|
|
148
151
|
.dso-confidential {
|
|
149
|
-
margin: #{units.$u1 * 0.5}
|
|
152
|
+
margin-block: #{units.$u1 * 0.5};
|
|
153
|
+
margin-inline: 0;
|
|
150
154
|
}
|
|
151
155
|
|
|
152
156
|
> dso-icon,
|
|
153
157
|
> svg.di {
|
|
154
158
|
flex: 0 0 24px;
|
|
155
|
-
|
|
156
|
-
margin: #{units.$u1 * 0.5}
|
|
159
|
+
block-size: 24px;
|
|
160
|
+
margin-block: #{units.$u1 * 0.5};
|
|
161
|
+
margin-inline: #{units.$u1} #{units.$u1 * 0.5};
|
|
157
162
|
}
|
|
158
163
|
}
|
|
159
164
|
|
|
160
165
|
+ .dso-file-upload {
|
|
161
|
-
margin-
|
|
166
|
+
margin-block-start: units.$u2;
|
|
162
167
|
}
|
|
163
168
|
|
|
164
169
|
&:has(.dso-download) {
|