dso-toolkit 62.25.0 → 62.26.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 +15 -0
- package/dist/dso.css +1265 -1256
- 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 +5 -5
- 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 +32 -32
- 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 +13 -12
- package/src/components/alert/alert.variables.scss +4 -4
- 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 +1 -1
- package/src/components/banner/banner.mixins.scss +9 -9
- package/src/components/banner/banner.scss +10 -10
- package/src/components/banner/banner.variables.scss +2 -2
- package/src/components/blockquote/blockquote.scss +2 -2
- package/src/components/body/body.scss +1 -1
- package/src/components/breadcrumbs/breadcrumbs.mixins.scss +5 -5
- package/src/components/button/button.mixins.scss +44 -43
- 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 +4 -4
- 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/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 +16 -16
- package/src/components/document-component/document-component.scss +6 -6
- package/src/components/document-header/document-header.scss +27 -27
- package/src/components/document-list/document-list.scss +4 -4
- package/src/components/dropdown-menu/dropdown-menu.mixins.scss +10 -10
- package/src/components/dropdown-menu/dropdown-menu.scss +11 -11
- 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 +31 -31
- 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 +7 -7
- 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 +5 -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 +9 -9
- 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 +4 -4
- package/src/components/info-button/info-button.mixins.scss +1 -1
- package/src/components/input/input.scss +1 -1
- 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 +6 -6
- 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 +21 -21
- package/src/components/list-button/list-button.mixins.scss +12 -12
- package/src/components/list-button/list-button.scss +2 -2
- package/src/components/map-controls/map-controls.scss +1 -1
- package/src/components/modal/modal.mixins.scss +8 -8
- package/src/components/modal/modal.scss +6 -4
- package/src/components/modal/modal.variables.scss +5 -5
- package/src/components/navbar/navbar.mixins.scss +10 -10
- package/src/components/navbar/navbar.scss +1 -1
- package/src/components/pagination/pagination.mixins.scss +7 -7
- package/src/components/pagination/pagination.scss +2 -2
- package/src/components/paragraph/paragraph.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 +3 -3
- package/src/components/rich-content/rich-content.mixins.scss +7 -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 +29 -29
- 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 +38 -38
- package/src/components/shopping-cart/shopping-cart.scss +34 -34
- 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 +21 -21
- package/src/components/table/table.variables.scss +1 -1
- package/src/components/tabs/tabs.scss +19 -18
- package/src/components/tabs/tabs.variables.scss +4 -4
- package/src/components/textarea/textarea.scss +1 -1
- package/src/components/tile/tile.mixins.scss +15 -15
- package/src/components/tile/tile.variables.scss +2 -2
- package/src/components/viewer-grid/viewer-grid.scss +2 -2
- package/src/components/whitebox/whitebox.mixins.scss +9 -9
- package/src/components/whitebox/whitebox.variables.scss +1 -1
- package/src/di.scss +2 -2
- package/src/global/spacing.scss +3 -3
- package/src/global/utilities.scss +3 -3
- package/src/utilities.scss +2 -2
- package/src/variables/units.scss +9 -9
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
|
|
14
14
|
caption {
|
|
15
15
|
color: colors.$text-muted;
|
|
16
|
-
padding-
|
|
17
|
-
padding-
|
|
18
|
-
text-align:
|
|
16
|
+
padding-block-end: table.$cell-padding;
|
|
17
|
+
padding-block-start: table.$cell-padding;
|
|
18
|
+
text-align: start;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
td,
|
|
@@ -25,7 +25,7 @@ th {
|
|
|
25
25
|
|
|
26
26
|
th {
|
|
27
27
|
font-weight: 600;
|
|
28
|
-
text-align:
|
|
28
|
+
text-align: start;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
table.table {
|
|
@@ -37,20 +37,20 @@ table.table {
|
|
|
37
37
|
|
|
38
38
|
table.table,
|
|
39
39
|
.dso-rich-content table {
|
|
40
|
-
margin-
|
|
41
|
-
max-
|
|
42
|
-
|
|
40
|
+
margin-block-end: typography.$line-height-computed;
|
|
41
|
+
max-inline-size: 100%;
|
|
42
|
+
inline-size: 100%;
|
|
43
43
|
|
|
44
44
|
.dso-tertiary {
|
|
45
45
|
position: relative;
|
|
46
|
-
|
|
46
|
+
inset-block-start: -2px;
|
|
47
47
|
white-space: nowrap; // stylelint-disable-line declaration-property-value-disallowed-list -- These actions are always accomponied by icons, we always want the icon next to the text
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
&.dso-text-left {
|
|
51
51
|
th,
|
|
52
52
|
td {
|
|
53
|
-
text-align:
|
|
53
|
+
text-align: start;
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -64,7 +64,7 @@ table.table,
|
|
|
64
64
|
&.dso-text-right {
|
|
65
65
|
th,
|
|
66
66
|
td {
|
|
67
|
-
text-align:
|
|
67
|
+
text-align: end;
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
|
|
@@ -91,7 +91,7 @@ table.table,
|
|
|
91
91
|
> thead + tbody > tr:first-child {
|
|
92
92
|
> td,
|
|
93
93
|
> th {
|
|
94
|
-
border-
|
|
94
|
+
border-block-start: 0;
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
}
|
|
@@ -160,7 +160,7 @@ table.table,
|
|
|
160
160
|
th,
|
|
161
161
|
td {
|
|
162
162
|
&.dso-text-left {
|
|
163
|
-
text-align:
|
|
163
|
+
text-align: start;
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
&.dso-text-center {
|
|
@@ -168,7 +168,7 @@ table.table,
|
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
&.dso-text-right {
|
|
171
|
-
text-align:
|
|
171
|
+
text-align: end;
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
174
|
|
|
@@ -194,7 +194,7 @@ table.table,
|
|
|
194
194
|
> tr {
|
|
195
195
|
> td,
|
|
196
196
|
> th {
|
|
197
|
-
border-
|
|
197
|
+
border-block-end: 1px solid table.$th-border-color;
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
}
|
|
@@ -204,7 +204,7 @@ table.table,
|
|
|
204
204
|
> tr {
|
|
205
205
|
> td,
|
|
206
206
|
> th {
|
|
207
|
-
border-
|
|
207
|
+
border-block-end: 1px solid table.$border-color;
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
210
|
}
|
|
@@ -212,7 +212,7 @@ table.table,
|
|
|
212
212
|
|
|
213
213
|
// Account for multiple tbody instances
|
|
214
214
|
> tbody + tbody {
|
|
215
|
-
border-
|
|
215
|
+
border-block-start: 2px solid table.$border-color;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
218
|
// Nesting
|
|
@@ -286,7 +286,7 @@ table {
|
|
|
286
286
|
|
|
287
287
|
.dso-table-responsive,
|
|
288
288
|
.dso-table-scroll-container {
|
|
289
|
-
min-
|
|
289
|
+
min-block-size: 0.01%;
|
|
290
290
|
overflow-x: auto;
|
|
291
291
|
position: relative;
|
|
292
292
|
}
|
|
@@ -303,18 +303,18 @@ table {
|
|
|
303
303
|
|
|
304
304
|
.dso-table-filter-wrapper {
|
|
305
305
|
.dso-search-bar {
|
|
306
|
-
margin-
|
|
307
|
-
|
|
306
|
+
margin-block-end: units.$u2;
|
|
307
|
+
inline-size: table.$filter-wrapper-inline-size - units.$u4;
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
// Web component
|
|
312
312
|
dso-table table.table {
|
|
313
|
-
margin-
|
|
313
|
+
margin-block-end: 0;
|
|
314
314
|
}
|
|
315
315
|
|
|
316
316
|
dso-table.dso-is-responsive {
|
|
317
|
-
margin-
|
|
317
|
+
margin-block-end: 0;
|
|
318
318
|
|
|
319
319
|
> .table {
|
|
320
320
|
// Ensure the content doesn't wrap
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
@include utilities.clearfix();
|
|
12
12
|
|
|
13
13
|
list-style: none;
|
|
14
|
-
margin-
|
|
15
|
-
padding-
|
|
14
|
+
margin-block-end: 0;
|
|
15
|
+
padding-inline-start: 0; // Override default ul/ol
|
|
16
16
|
|
|
17
17
|
> li {
|
|
18
18
|
position: relative;
|
|
@@ -55,18 +55,18 @@
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
.nav.nav-tabs {
|
|
58
|
-
border-
|
|
58
|
+
border-block-end: 1px solid css-tabs-variables.$border-color;
|
|
59
59
|
display: flex;
|
|
60
60
|
flex-wrap: wrap;
|
|
61
|
-
margin-
|
|
62
|
-
padding-
|
|
61
|
+
margin-block-end: css-tabs-variables.$margin-block-end;
|
|
62
|
+
padding-inline-start: 0;
|
|
63
63
|
|
|
64
64
|
@media screen and (min-width: media-query-breakpoints.$screen-sm-min) {
|
|
65
|
-
border-
|
|
65
|
+
border-block-end: 1px solid colors.$grasgroen;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
@media screen and (max-width: media-query-breakpoints.$screen-xs-max) {
|
|
69
|
-
border-
|
|
69
|
+
border-block-end: 1px solid colors.$wit;
|
|
70
70
|
display: block;
|
|
71
71
|
}
|
|
72
72
|
|
|
@@ -74,18 +74,18 @@
|
|
|
74
74
|
border-color: css-tabs-variables.$color;
|
|
75
75
|
font-weight: bold;
|
|
76
76
|
// Make the list-items overlay the bottom border
|
|
77
|
-
margin-
|
|
78
|
-
min-
|
|
77
|
+
margin-block-end: -1px;
|
|
78
|
+
min-block-size: css-tabs-variables.$block-size;
|
|
79
79
|
|
|
80
80
|
@media screen and (max-width: media-query-breakpoints.$screen-xs-max) {
|
|
81
81
|
margin: 10px 0;
|
|
82
82
|
|
|
83
83
|
&:first-child {
|
|
84
|
-
margin-
|
|
84
|
+
margin-block-start: 0;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
&:last-child {
|
|
88
|
-
margin-
|
|
88
|
+
margin-block-end: 0;
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
|
|
@@ -98,9 +98,10 @@
|
|
|
98
98
|
color: css-tabs-variables.$text-color;
|
|
99
99
|
display: block;
|
|
100
100
|
line-height: typography.$line-height-base;
|
|
101
|
-
margin-
|
|
102
|
-
min-
|
|
103
|
-
padding: css-tabs-variables.$
|
|
101
|
+
margin-inline-end: 2px;
|
|
102
|
+
min-block-size: css-tabs-variables.$block-size;
|
|
103
|
+
padding-block: css-tabs-variables.$block-padding;
|
|
104
|
+
padding-inline: css-tabs-variables.$inline-padding;
|
|
104
105
|
position: relative;
|
|
105
106
|
|
|
106
107
|
&:hover {
|
|
@@ -118,7 +119,7 @@
|
|
|
118
119
|
a:hover {
|
|
119
120
|
background-color: css-tabs-variables.$hover-color;
|
|
120
121
|
border: 1px solid transparent;
|
|
121
|
-
border-
|
|
122
|
+
border-block-end-color: css-tabs-variables.$color;
|
|
122
123
|
text-decoration: none;
|
|
123
124
|
}
|
|
124
125
|
|
|
@@ -131,7 +132,7 @@
|
|
|
131
132
|
&:visited {
|
|
132
133
|
background-color: colors.$wit;
|
|
133
134
|
border: 1px solid css-tabs-variables.$color;
|
|
134
|
-
border-
|
|
135
|
+
border-block-end-color: colors.$wit;
|
|
135
136
|
color: css-tabs-variables.$color;
|
|
136
137
|
cursor: default;
|
|
137
138
|
}
|
|
@@ -158,7 +159,7 @@
|
|
|
158
159
|
&:active,
|
|
159
160
|
&:focus,
|
|
160
161
|
&:hover {
|
|
161
|
-
border-
|
|
162
|
+
border-block-end-width: 1px;
|
|
162
163
|
border-color: transparent;
|
|
163
164
|
}
|
|
164
165
|
}
|
|
@@ -167,7 +168,7 @@
|
|
|
167
168
|
&,
|
|
168
169
|
&:focus,
|
|
169
170
|
&:hover {
|
|
170
|
-
border-
|
|
171
|
+
border-block-end-width: 1px;
|
|
171
172
|
border-color: css-tabs-variables.$color;
|
|
172
173
|
}
|
|
173
174
|
}
|
|
@@ -7,10 +7,10 @@ $text-color: colors.$grijs-60;
|
|
|
7
7
|
$border-radius: 4px;
|
|
8
8
|
$border-color: colors.$grijs-10;
|
|
9
9
|
$link-hover-border-color: colors.$grijs-10;
|
|
10
|
-
$
|
|
11
|
-
$
|
|
12
|
-
$
|
|
13
|
-
$margin-
|
|
10
|
+
$block-size: 56px;
|
|
11
|
+
$block-padding: units.$u2 - 1px;
|
|
12
|
+
$inline-padding: units.$u3 - 1px;
|
|
13
|
+
$margin-block-end: units.$block-spacing-large;
|
|
14
14
|
|
|
15
15
|
$nav-link-padding: 10px 15px;
|
|
16
16
|
$nav-link-hover-bg: colors.$grijs-10;
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
&:not(.dso-theme) {
|
|
9
9
|
background: colors.$wit;
|
|
10
10
|
box-shadow: tile-variables.$box-shadow;
|
|
11
|
-
margin-
|
|
12
|
-
min-
|
|
11
|
+
margin-block-end: tile-variables.$margin-block-end;
|
|
12
|
+
min-block-size: tile-variables.$min-block-size;
|
|
13
13
|
padding: units.$u3 units.$u2 units.$u2;
|
|
14
14
|
position: relative;
|
|
15
|
-
|
|
15
|
+
inset-block-start: units.$u7;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
&.dso-theme {
|
|
@@ -25,38 +25,38 @@
|
|
|
25
25
|
border: 1px solid tile-variables.$icon-border-color;
|
|
26
26
|
color: tile-variables.$icon-color;
|
|
27
27
|
display: flex;
|
|
28
|
-
|
|
28
|
+
block-size: tile-variables.$icon-size;
|
|
29
29
|
justify-content: center;
|
|
30
30
|
margin: 0 auto units.$u1;
|
|
31
31
|
overflow: hidden;
|
|
32
|
-
|
|
32
|
+
inline-size: tile-variables.$icon-size;
|
|
33
33
|
|
|
34
34
|
img {
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
block-size: units.$u7;
|
|
36
|
+
inline-size: units.$u7;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
.dso-tile-icon {
|
|
42
42
|
display: block;
|
|
43
|
-
margin-
|
|
43
|
+
margin-block-end: units.$u2;
|
|
44
44
|
text-align: center;
|
|
45
45
|
|
|
46
46
|
img {
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
block-size: 80px;
|
|
48
|
+
inline-size: 80px;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.dso-tile-link {
|
|
53
|
-
border-
|
|
53
|
+
border-block-end: #{units.$u1 * 0.5} solid transparent;
|
|
54
54
|
color: colors.$grasgroen;
|
|
55
55
|
display: block;
|
|
56
56
|
font-size: units.$font-size-h4;
|
|
57
57
|
font-weight: bold;
|
|
58
58
|
line-height: 1.167;
|
|
59
|
-
padding-
|
|
59
|
+
padding-block-end: #{units.$u1 * 0.5};
|
|
60
60
|
text-align: center;
|
|
61
61
|
}
|
|
62
62
|
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
&:hover,
|
|
67
67
|
&:active {
|
|
68
68
|
.dso-tile-link {
|
|
69
|
-
border-
|
|
69
|
+
border-block-end: #{units.$u1 * 0.5} solid colors.$grasgroen;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
|
|
@@ -77,6 +77,6 @@
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
@mixin equal-heights() {
|
|
80
|
-
|
|
81
|
-
min-
|
|
80
|
+
block-size: calc(100% - #{tile-variables.$margin-block-end});
|
|
81
|
+
min-block-size: auto;
|
|
82
82
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
@use "../../variables/colors";
|
|
3
3
|
|
|
4
4
|
$box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
|
|
5
|
-
$margin-
|
|
6
|
-
$min-
|
|
5
|
+
$margin-block-end: units.$u7;
|
|
6
|
+
$min-block-size: 200px;
|
|
7
7
|
|
|
8
8
|
$icon-background-color: colors.$grijs-5;
|
|
9
9
|
$icon-border-color: colors.$grijs-10;
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
dso-viewer-grid {
|
|
8
8
|
.dso-filterblok {
|
|
9
|
-
margin-
|
|
10
|
-
margin-
|
|
9
|
+
margin-inline-start: css-grid-variables.$grid-gutter-width * -0.5;
|
|
10
|
+
margin-inline-end: css-grid-variables.$grid-gutter-width * -0.5;
|
|
11
11
|
|
|
12
12
|
.dso-filterblok-address {
|
|
13
13
|
font-weight: bold;
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
@mixin root() {
|
|
9
9
|
background: colors.$wit;
|
|
10
10
|
box-shadow: whitebox-variables.$box-shadow;
|
|
11
|
-
margin-
|
|
11
|
+
margin-block-end: whitebox-variables.$margin-block-end;
|
|
12
12
|
padding: units.$u2 units.$u3;
|
|
13
13
|
position: relative;
|
|
14
|
-
|
|
14
|
+
inset-block-start: units.$u7;
|
|
15
15
|
|
|
16
16
|
.dso-whitebox-title {
|
|
17
17
|
h2 {
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.dso-whitebox-link {
|
|
24
|
-
margin-
|
|
24
|
+
margin-block-end: units.$u4;
|
|
25
25
|
text-align: center;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.dso-whitebox-icon {
|
|
29
|
-
margin-
|
|
29
|
+
margin-block-end: units.$u4;
|
|
30
30
|
text-align: center;
|
|
31
31
|
|
|
32
32
|
img {
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
block-size: 160px;
|
|
34
|
+
inline-size: 160px;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
@mixin equal-heights() {
|
|
51
|
-
|
|
52
|
-
min-
|
|
53
|
-
padding-
|
|
51
|
+
block-size: calc(100% - #{whitebox-variables.$margin-block-end});
|
|
52
|
+
min-block-size: auto;
|
|
53
|
+
padding-block-end: units.$u2;
|
|
54
54
|
}
|
package/src/di.scss
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
background: url("#{config.$icons-path}dso-icons.svg#img-#{$icon}") no-repeat;
|
|
7
7
|
background-position: center;
|
|
8
8
|
background-size: cover;
|
|
9
|
-
|
|
9
|
+
block-size: $size;
|
|
10
10
|
vertical-align: $vertical-align;
|
|
11
|
-
|
|
11
|
+
inline-size: $size;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
@mixin variant($icon) {
|
package/src/global/spacing.scss
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// -------------------------------------------------
|
|
5
5
|
// To Do: integrate this with things to come within this file.
|
|
6
6
|
:where(dso-action-list) + :where(.dso-form-buttons) {
|
|
7
|
-
margin-block-start: units.$
|
|
7
|
+
margin-block-start: units.$block-spacing-xlarge;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
// Original spacing of dso-button-row
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
:where(*) + :where(.dso-button-row),
|
|
31
31
|
:where(.dso-button-row) + :where(*) {
|
|
32
|
-
margin-block-start: units.$
|
|
32
|
+
margin-block-start: units.$block-spacing-medium;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -61,6 +61,6 @@
|
|
|
61
61
|
// To do: integrate this with #2217 (103)
|
|
62
62
|
:where(.row:has(.dso-button-row)) {
|
|
63
63
|
+ :where(.row:has(:only-child > dl)) {
|
|
64
|
-
margin-block-start: units.$
|
|
64
|
+
margin-block-start: units.$block-spacing-medium;
|
|
65
65
|
}
|
|
66
66
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
@use "../variables/colors";
|
|
3
3
|
|
|
4
4
|
.text-right {
|
|
5
|
-
text-align:
|
|
5
|
+
text-align: end;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.text-center {
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
|
|
24
24
|
.center-block {
|
|
25
25
|
display: block;
|
|
26
|
-
margin-
|
|
27
|
-
margin-
|
|
26
|
+
margin-inline-end: auto;
|
|
27
|
+
margin-inline-start: auto;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.sr-only {
|
package/src/utilities.scss
CHANGED
package/src/variables/units.scss
CHANGED
|
@@ -41,18 +41,18 @@ $font-line-height-h4: 1.5;
|
|
|
41
41
|
$font-line-height-h5: 1.5;
|
|
42
42
|
$font-line-height-h6: 1.5;
|
|
43
43
|
|
|
44
|
-
$padding-base-
|
|
45
|
-
$padding-small-
|
|
46
|
-
$padding-large-
|
|
47
|
-
$padding-base-
|
|
44
|
+
$padding-base-block: 6px;
|
|
45
|
+
$padding-small-block: 5px;
|
|
46
|
+
$padding-large-block: 10px;
|
|
47
|
+
$padding-base-inline: 12px;
|
|
48
48
|
|
|
49
49
|
// Super weird shared unit..
|
|
50
|
-
$shared-equal-heights-highlight-box-
|
|
50
|
+
$shared-equal-heights-highlight-box-block-size: $u6;
|
|
51
51
|
|
|
52
|
-
$
|
|
53
|
-
$
|
|
54
|
-
$
|
|
55
|
-
$
|
|
52
|
+
$block-spacing-small: $u1;
|
|
53
|
+
$block-spacing-medium: $u2;
|
|
54
|
+
$block-spacing-large: $u3;
|
|
55
|
+
$block-spacing-xlarge: $u4;
|
|
56
56
|
|
|
57
57
|
$focus-border-radius: 2px;
|
|
58
58
|
$focus-outline-width: 3px;
|