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.
Files changed (138) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/dso.css +1606 -1442
  3. package/dist/dso.css.map +1 -1
  4. package/dist/dso.min.css +1 -1
  5. package/dist/dso.min.css.map +1 -1
  6. package/dist/index.js +9 -9
  7. package/package.json +4 -4
  8. package/src/components/accordion/accordion-theme-compact.scss +18 -18
  9. package/src/components/accordion/accordion-theme-default.scss +2 -2
  10. package/src/components/accordion/accordion.scss +48 -34
  11. package/src/components/accordion/accordion.variables.scss +4 -4
  12. package/src/components/action-list/action-list.scss +9 -5
  13. package/src/components/action-list/action-list.variables.scss +1 -1
  14. package/src/components/action-list/components/action-list-item.variables.scss +1 -1
  15. package/src/components/advanced-select/advanced-select.variables.scss +4 -4
  16. package/src/components/alert/alert.mixins.scss +46 -18
  17. package/src/components/alert/alert.scss +25 -6
  18. package/src/components/alert/alert.variables.scss +8 -8
  19. package/src/components/anchor/anchor.variables.scss +1 -1
  20. package/src/components/application-heading/application-heading.mixins.scss +5 -5
  21. package/src/components/badge/badge.mixins.scss +3 -2
  22. package/src/components/banner/banner.mixins.scss +13 -11
  23. package/src/components/banner/banner.scss +10 -10
  24. package/src/components/banner/banner.variables.scss +2 -2
  25. package/src/components/blockquote/blockquote.scss +4 -3
  26. package/src/components/body/body.scss +1 -1
  27. package/src/components/breadcrumbs/breadcrumbs.mixins.scss +9 -7
  28. package/src/components/button/button.mixins.scss +47 -44
  29. package/src/components/button/button.scss +2 -2
  30. package/src/components/button/button.variables.scss +4 -4
  31. package/src/components/button-row/button-row.scss +1 -1
  32. package/src/components/card/card.mixins.scss +6 -5
  33. package/src/components/card/card.scss +15 -15
  34. package/src/components/card-container/card-container.scss +1 -1
  35. package/src/components/card-list/card-list.scss +3 -3
  36. package/src/components/code/code.scss +2 -1
  37. package/src/components/context/context.scss +10 -10
  38. package/src/components/definition-list/definition-list.scss +47 -47
  39. package/src/components/definition-list/definition-list.variables.scss +3 -3
  40. package/src/components/description/description.mixins.scss +20 -18
  41. package/src/components/document-component/document-component.scss +6 -6
  42. package/src/components/document-component-list/document-component-list.scss +1 -1
  43. package/src/components/document-header/document-header.scss +36 -32
  44. package/src/components/document-list/document-list.scss +14 -11
  45. package/src/components/dropdown-menu/dropdown-menu.mixins.scss +14 -11
  46. package/src/components/dropdown-menu/dropdown-menu.scss +13 -12
  47. package/src/components/dropdown-menu/dropdown-menu.variables.scss +1 -1
  48. package/src/components/field-label/field-label.scss +2 -2
  49. package/src/components/footer/footer.scss +8 -8
  50. package/src/components/footnotes/footnotes.mixins.scss +2 -2
  51. package/src/components/form/fieldset.scss +10 -10
  52. package/src/components/form/form-buttons/form-buttons.scss +5 -5
  53. package/src/components/form/form-group.scss +35 -33
  54. package/src/components/form/form-groups/checkboxes/form-group-checkboxes.scss +1 -1
  55. package/src/components/form/form-groups/confirm/form-group-confirm.scss +2 -2
  56. package/src/components/form/form-groups/files/form-group-files.scss +18 -13
  57. package/src/components/form/form-groups/input-number/form-group-input-number.scss +1 -1
  58. package/src/components/form/form-groups/radios/form-group-radios.scss +2 -2
  59. package/src/components/form/form-groups/search-bar/form-group-search-bar.scss +3 -3
  60. package/src/components/form/form-groups/select/form-group-select.scss +1 -1
  61. package/src/components/form/form-groups/static/form-group-static.scss +10 -10
  62. package/src/components/form/form-groups/textarea/form-group-textarea.scss +5 -5
  63. package/src/components/form/form-horizontal.scss +2 -2
  64. package/src/components/form/form.variables.scss +1 -1
  65. package/src/components/form-control/form-control.mixins.scss +6 -5
  66. package/src/components/form-control/form-control.variables.scss +1 -1
  67. package/src/components/grid/grid.mixins.scss +28 -28
  68. package/src/components/grid/grid.scss +21 -21
  69. package/src/components/header/header.scss +3 -3
  70. package/src/components/headings/headings.mixins.scss +2 -2
  71. package/src/components/highlight-box/highlight-box.mixins.scss +10 -10
  72. package/src/components/highlight-box/highlight-box.variables.scss +1 -1
  73. package/src/components/horizontal-rule/horizontal-rule.scss +4 -4
  74. package/src/components/icon/icon.scss +2 -2
  75. package/src/components/image/image.mixins.scss +2 -2
  76. package/src/components/info/info.mixins.scss +8 -6
  77. package/src/components/info-button/info-button.mixins.scss +1 -1
  78. package/src/components/input/input.scss +3 -2
  79. package/src/components/input-number/input-number.mixins.scss +3 -3
  80. package/src/components/justify-form-groups/justify-form-groups.scss +7 -7
  81. package/src/components/label/label.mixins.scss +10 -8
  82. package/src/components/label/label.scss +4 -4
  83. package/src/components/label/label.variables.scss +1 -1
  84. package/src/components/label-group/label-group.mixins.scss +4 -4
  85. package/src/components/legend-item/legend-item.scss +4 -1
  86. package/src/components/legend-item/legend-item.variables.scss +3 -3
  87. package/src/components/link-list/link-list.mixins.scss +4 -4
  88. package/src/components/link-list/link-list.scss +1 -1
  89. package/src/components/list/list.mixins.scss +1 -1
  90. package/src/components/list/list.scss +23 -22
  91. package/src/components/list-button/list-button.mixins.scss +16 -14
  92. package/src/components/list-button/list-button.scss +4 -3
  93. package/src/components/map-controls/map-controls.scss +1 -1
  94. package/src/components/modal/modal.mixins.scss +18 -12
  95. package/src/components/modal/modal.scss +6 -4
  96. package/src/components/modal/modal.variables.scss +5 -5
  97. package/src/components/navbar/navbar.mixins.scss +15 -12
  98. package/src/components/navbar/navbar.scss +1 -1
  99. package/src/components/pagination/pagination.mixins.scss +10 -8
  100. package/src/components/pagination/pagination.scss +2 -2
  101. package/src/components/paragraph/paragraph.scss +2 -1
  102. package/src/components/preformatted-text/preformatted-text.scss +2 -1
  103. package/src/components/progress-bar/progress-bar.mixins.scss +6 -6
  104. package/src/components/progress-bar/progress-bar.variables.scss +1 -1
  105. package/src/components/progress-indicator/progress-indicator.mixins.scss +7 -5
  106. package/src/components/rich-content/rich-content.mixins.scss +10 -7
  107. package/src/components/rich-content/rich-content.scss +2 -2
  108. package/src/components/rich-content/rich-content.variables.scss +2 -1
  109. package/src/components/search-bar/search-bar.scss +35 -31
  110. package/src/components/search-bar/search-bar.variables.scss +2 -2
  111. package/src/components/select/select.scss +1 -1
  112. package/src/components/selectable/selectable.mixins.scss +42 -40
  113. package/src/components/shopping-cart/shopping-cart.scss +42 -39
  114. package/src/components/step-counter/step-counter.mixins.scss +6 -6
  115. package/src/components/subscript/subscript.scss +1 -1
  116. package/src/components/subtitle/subtitle.scss +2 -2
  117. package/src/components/superscript/superscript.scss +1 -1
  118. package/src/components/table/table.mixins.scss +4 -4
  119. package/src/components/table/table.scss +27 -26
  120. package/src/components/table/table.variables.scss +1 -1
  121. package/src/components/tabs/tabs.scss +23 -20
  122. package/src/components/tabs/tabs.variables.scss +4 -4
  123. package/src/components/textarea/textarea.scss +1 -1
  124. package/src/components/tile/tile.mixins.scss +19 -17
  125. package/src/components/tile/tile.variables.scss +2 -2
  126. package/src/components/viewer-grid/viewer-grid.scss +4 -3
  127. package/src/components/whitebox/whitebox.mixins.scss +13 -11
  128. package/src/components/whitebox/whitebox.variables.scss +1 -1
  129. package/src/di.scss +2 -2
  130. package/src/global/functions/contrast-color.functions.scss +10 -9
  131. package/src/global/mixins/set-colors.mixin.scss +2 -1
  132. package/src/global/mixins/symbol.mixins.scss +3 -3
  133. package/src/global/spacing.scss +3 -3
  134. package/src/global/utilities.scss +3 -3
  135. package/src/legacy/legacy-panel.scss +54 -54
  136. package/src/utilities.scss +2 -2
  137. package/src/variables/states.scss +4 -0
  138. package/src/variables/units.scss +9 -9
@@ -16,17 +16,18 @@
16
16
  box-shadow: none;
17
17
  display: block;
18
18
  font-weight: 600;
19
- padding: units.$u2 units.$u6;
19
+ padding-block: units.$u2;
20
+ padding-inline: units.$u6;
20
21
  position: relative;
21
- text-align: left;
22
+ text-align: start;
22
23
 
23
24
  dso-icon,
24
25
  svg.di {
25
26
  @include utilities.transition(transform);
26
27
 
27
- left: units.$u2;
28
+ inset-inline-start: units.$u2;
28
29
  position: absolute;
29
- margin-right: units.$u1;
30
+ margin-inline-end: units.$u1;
30
31
  transform: rotate(0);
31
32
  }
32
33
 
@@ -40,15 +41,15 @@
40
41
 
41
42
  span.dso-status {
42
43
  display: inline-block;
43
- padding-left: units.$u2;
44
+ padding-inline-start: units.$u2;
44
45
  }
45
46
 
46
47
  .dso-status,
47
48
  .dso-delete {
48
49
  + .dso-items {
49
- border-top: 1px solid css-shopping-cart-variables.$border-color;
50
- border-top-left-radius: 0;
51
- border-top-right-radius: 0;
50
+ border-block-start: 1px solid css-shopping-cart-variables.$border-color;
51
+ border-start-start-radius: 0;
52
+ border-start-end-radius: 0;
52
53
  }
53
54
  }
54
55
 
@@ -62,16 +63,16 @@
62
63
 
63
64
  > .dso-delete {
64
65
  position: absolute;
65
- width: units.$u3;
66
+ inline-size: units.$u3;
66
67
  z-index: zindex.$shopping-cart;
67
68
  }
68
69
 
69
70
  > .dso-items {
70
- width: 100%;
71
+ inline-size: 100%;
71
72
  }
72
73
 
73
74
  + .dso-warning {
74
- margin-top: units.$u2;
75
+ margin-block-start: units.$u2;
75
76
  }
76
77
  }
77
78
 
@@ -82,11 +83,11 @@
82
83
  @include set-colors.apply(colors.$grijs-5, $icons: false);
83
84
 
84
85
  border-radius: css-shopping-cart-variables.$radius;
85
- margin-bottom: 0;
86
- margin-top: 0;
86
+ margin-block-end: 0;
87
+ margin-block-start: 0;
87
88
 
88
89
  li {
89
- border-top: 1px solid css-shopping-cart-variables.$border-color;
90
+ border-block-start: 1px solid css-shopping-cart-variables.$border-color;
90
91
  }
91
92
  }
92
93
 
@@ -98,43 +99,44 @@
98
99
  }
99
100
 
100
101
  li {
101
- padding-bottom: units.$u2;
102
- padding-top: units.$u2;
102
+ padding-block-end: units.$u2;
103
+ padding-block-start: units.$u2;
103
104
  position: relative;
104
105
 
105
106
  > dso-icon,
106
107
  > svg.di {
107
- float: left;
108
- height: units.$u3;
109
- margin-right: units.$u1;
108
+ float: inline-start;
109
+ block-size: units.$u3;
110
+ margin-inline-end: units.$u1;
110
111
  text-align: center;
111
- width: units.$u3;
112
+ inline-size: units.$u3;
112
113
  }
113
114
  }
114
115
 
115
116
  .dso-items {
116
117
  > li {
117
118
  font-weight: 600;
118
- padding-left: units.$u2;
119
- padding-right: units.$u10;
119
+ padding-inline-start: units.$u2;
120
+ padding-inline-end: units.$u10;
120
121
 
121
122
  &:first-child {
122
- border-top: 0;
123
+ border-block-start: 0;
123
124
  }
124
125
  }
125
126
 
126
127
  .dso-activities, // .dso-activities is deprecated
127
128
  .dso-subitems {
128
- margin-right: units.$u8 * -1;
129
- margin-top: units.$u2;
129
+ margin-inline-end: units.$u8 * -1;
130
+ margin-block-start: units.$u2;
130
131
 
131
132
  li {
132
- margin-left: units.$u2 * -1;
133
- margin-right: units.$u2 * -1;
134
- padding: units.$u2 units.$u6 units.$u2 units.$u6;
133
+ margin-inline-start: units.$u2 * -1;
134
+ margin-inline-end: units.$u2 * -1;
135
+ padding-block: units.$u2;
136
+ padding-inline: units.$u6;
135
137
 
136
138
  &:last-child {
137
- padding-bottom: 0;
139
+ padding-block-end: 0;
138
140
  }
139
141
  }
140
142
  }
@@ -150,26 +152,26 @@
150
152
  border: 0;
151
153
  box-shadow: none;
152
154
  color: colors.$grasgroen;
153
- height: units.$u3;
155
+ block-size: units.$u3;
154
156
  padding: 0;
155
157
  position: absolute;
156
158
  text-align: center;
157
- top: units.$u2;
158
- width: units.$u3;
159
+ inset-block-start: units.$u2;
160
+ inline-size: units.$u3;
159
161
  }
160
162
 
161
163
  .dso-delete {
162
- right: units.$u2;
164
+ inset-inline-end: units.$u2;
163
165
  }
164
166
 
165
167
  .dso-edit-cart-item {
166
- right: units.$u6;
168
+ inset-inline-end: units.$u6;
167
169
  }
168
170
 
169
171
  .dso-edit-additive {
170
172
  font-weight: 400;
171
- margin-right: units.$u8 * -1;
172
- margin-top: units.$u1;
173
+ margin-inline-end: units.$u8 * -1;
174
+ margin-block-start: units.$u1;
173
175
 
174
176
  label {
175
177
  @include utilities.sr-only();
@@ -177,12 +179,13 @@
177
179
  }
178
180
 
179
181
  .dso-empty {
180
- padding: (units.$u3 * 0.5) units.$u2;
182
+ padding-block: (units.$u3 * 0.5);
183
+ padding-inline: units.$u2;
181
184
  }
182
185
 
183
186
  // demo
184
187
  .dso-secondary {
185
- font-size: 16px;
186
- padding: 6px 12px;
188
+ padding-block: 6px;
189
+ padding-inline: 12px;
187
190
  }
188
191
  }
@@ -4,7 +4,7 @@
4
4
  @use "step-counter.variables" as step-counter-variables;
5
5
 
6
6
  @mixin has-step-counter() {
7
- padding-top: units.$ru5;
7
+ padding-block-start: units.$ru5;
8
8
  position: relative;
9
9
  }
10
10
 
@@ -17,16 +17,16 @@
17
17
  color: colors.$wit;
18
18
  font-size: 1.25rem;
19
19
  font-weight: 500;
20
- height: step-counter-variables.$size;
21
- left: units.$u2;
20
+ block-size: step-counter-variables.$size;
21
+ inset-inline-start: units.$u2;
22
22
  line-height: step-counter-variables.$size;
23
23
  position: absolute;
24
24
  text-align: center;
25
- top: step-counter-variables.$icon-size * -1;
26
- width: step-counter-variables.$size;
25
+ inset-block-start: step-counter-variables.$icon-size * -1;
26
+ inline-size: step-counter-variables.$size;
27
27
  }
28
28
  }
29
29
 
30
30
  @mixin icon() {
31
- margin-top: units.$ru1 * 0.5;
31
+ margin-block-start: units.$ru1 * 0.5;
32
32
  }
@@ -1,7 +1,7 @@
1
1
  @use "../anchor";
2
2
 
3
3
  sub {
4
- bottom: -0.25em;
4
+ inset-block-end: -0.25em;
5
5
  font-size: 0.65em;
6
6
  line-height: 0;
7
7
  position: relative;
@@ -4,9 +4,9 @@
4
4
  p[role="doc-subtitle"] {
5
5
  color: colors.$grijs-90;
6
6
  font-weight: 700;
7
- margin-bottom: units.$u3;
7
+ margin-block-end: units.$u3;
8
8
  }
9
9
 
10
10
  h1 + p[role="doc-subtitle"] {
11
- margin-top: units.$u1 * -1;
11
+ margin-block-start: units.$u1 * -1;
12
12
  }
@@ -4,7 +4,7 @@ sup {
4
4
  font-size: 0.65em;
5
5
  line-height: 0;
6
6
  position: relative;
7
- top: -0.5em;
7
+ inset-block-start: -0.5em;
8
8
  vertical-align: baseline;
9
9
 
10
10
  a {
@@ -79,22 +79,22 @@
79
79
  @mixin responsive() {
80
80
  -ms-overflow-style: -ms-autohiding-scrollbar;
81
81
  border: 1px solid table.$border-color;
82
- margin-bottom: 0;
82
+ margin-block-end: 0;
83
83
  overflow-y: hidden;
84
- width: 100%;
84
+ inline-size: 100%;
85
85
 
86
86
  &::before {
87
87
  content: "beweeg de tabel van links naar rechts";
88
88
  display: block;
89
89
  font-size: 0.8em;
90
- margin-bottom: units.$u1;
90
+ margin-block-end: units.$u1;
91
91
  position: relative;
92
92
  text-align: center;
93
93
  }
94
94
 
95
95
  // Tighten up spacing
96
96
  > .table {
97
- margin-bottom: 0;
97
+ margin-block-end: 0;
98
98
 
99
99
  // Ensure the content doesn't wrap
100
100
  > thead,
@@ -13,9 +13,9 @@
13
13
 
14
14
  caption {
15
15
  color: colors.$text-muted;
16
- padding-bottom: table.$cell-padding;
17
- padding-top: table.$cell-padding;
18
- text-align: left;
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: left;
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-bottom: typography.$line-height-computed;
41
- max-width: 100%;
42
- width: 100%;
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
- top: -2px;
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: left;
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: right;
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-top: 0;
94
+ border-block-start: 0;
95
95
  }
96
96
  }
97
97
  }
@@ -105,16 +105,16 @@ table.table,
105
105
  }
106
106
 
107
107
  &.dso-table-outside-lines-topbot {
108
- @include css-table-mixins.outside-lines-topbot;
108
+ @include css-table-mixins.outside-lines-topbot();
109
109
  }
110
110
 
111
111
  &.dso-table-outside-lines-all {
112
- @include css-table-mixins.outside-lines-topbot;
113
- @include css-table-mixins.outside-lines-sides;
112
+ @include css-table-mixins.outside-lines-topbot();
113
+ @include css-table-mixins.outside-lines-sides();
114
114
  }
115
115
 
116
116
  &.dso-table-outside-lines-sides {
117
- @include css-table-mixins.outside-lines-sides;
117
+ @include css-table-mixins.outside-lines-sides();
118
118
  }
119
119
 
120
120
  > thead {
@@ -160,7 +160,7 @@ table.table,
160
160
  th,
161
161
  td {
162
162
  &.dso-text-left {
163
- text-align: left;
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: right;
171
+ text-align: end;
172
172
  }
173
173
  }
174
174
 
@@ -179,7 +179,8 @@ table.table,
179
179
  > th,
180
180
  > td {
181
181
  line-height: typography.$line-height-base;
182
- padding: (table.$cell-padding * 1.5) table.$cell-padding;
182
+ padding-block: (table.$cell-padding * 1.5);
183
+ padding-inline: table.$cell-padding;
183
184
  vertical-align: top;
184
185
 
185
186
  a {
@@ -194,7 +195,7 @@ table.table,
194
195
  > tr {
195
196
  > td,
196
197
  > th {
197
- border-bottom: 1px solid table.$th-border-color;
198
+ border-block-end: 1px solid table.$th-border-color;
198
199
  }
199
200
  }
200
201
  }
@@ -204,7 +205,7 @@ table.table,
204
205
  > tr {
205
206
  > td,
206
207
  > th {
207
- border-bottom: 1px solid table.$border-color;
208
+ border-block-end: 1px solid table.$border-color;
208
209
  }
209
210
  }
210
211
  }
@@ -212,7 +213,7 @@ table.table,
212
213
 
213
214
  // Account for multiple tbody instances
214
215
  > tbody + tbody {
215
- border-top: 2px solid table.$border-color;
216
+ border-block-start: 2px solid table.$border-color;
216
217
  }
217
218
 
218
219
  // Nesting
@@ -286,7 +287,7 @@ table {
286
287
 
287
288
  .dso-table-responsive,
288
289
  .dso-table-scroll-container {
289
- min-height: 0.01%;
290
+ min-block-size: 0.01%;
290
291
  overflow-x: auto;
291
292
  position: relative;
292
293
  }
@@ -303,18 +304,18 @@ table {
303
304
 
304
305
  .dso-table-filter-wrapper {
305
306
  .dso-search-bar {
306
- margin-bottom: units.$u2;
307
- width: table.$filter-wrapper-width - units.$u4;
307
+ margin-block-end: units.$u2;
308
+ inline-size: table.$filter-wrapper-inline-size - units.$u4;
308
309
  }
309
310
  }
310
311
 
311
312
  // Web component
312
313
  dso-table table.table {
313
- margin-bottom: 0;
314
+ margin-block-end: 0;
314
315
  }
315
316
 
316
317
  dso-table.dso-is-responsive {
317
- margin-bottom: 0;
318
+ margin-block-end: 0;
318
319
 
319
320
  > .table {
320
321
  // Ensure the content doesn't wrap
@@ -9,4 +9,4 @@ $border-color: colors.$grijs-20;
9
9
  $link-color: colors.$grijs-90;
10
10
  $th-border-color: colors.$grijs-60;
11
11
 
12
- $filter-wrapper-width: 320px;
12
+ $filter-wrapper-inline-size: 320px;
@@ -11,8 +11,8 @@
11
11
  @include utilities.clearfix();
12
12
 
13
13
  list-style: none;
14
- margin-bottom: 0;
15
- padding-left: 0; // Override default ul/ol
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-bottom: 1px solid css-tabs-variables.$border-color;
58
+ border-block-end: 1px solid css-tabs-variables.$border-color;
59
59
  display: flex;
60
60
  flex-wrap: wrap;
61
- margin-bottom: css-tabs-variables.$margin-bottom;
62
- padding-left: 0;
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-bottom: 1px solid colors.$grasgroen;
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-bottom: 1px solid colors.$wit;
69
+ border-block-end: 1px solid colors.$wit;
70
70
  display: block;
71
71
  }
72
72
 
@@ -74,18 +74,19 @@
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-bottom: -1px;
78
- min-height: css-tabs-variables.$height;
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
- margin: 10px 0;
81
+ margin-block: 10px;
82
+ margin-inline: 0;
82
83
 
83
84
  &:first-child {
84
- margin-top: 0;
85
+ margin-block-start: 0;
85
86
  }
86
87
 
87
88
  &:last-child {
88
- margin-bottom: 0;
89
+ margin-block-end: 0;
89
90
  }
90
91
  }
91
92
 
@@ -98,9 +99,10 @@
98
99
  color: css-tabs-variables.$text-color;
99
100
  display: block;
100
101
  line-height: typography.$line-height-base;
101
- margin-right: 2px;
102
- min-height: css-tabs-variables.$height;
103
- padding: css-tabs-variables.$horizontal-padding css-tabs-variables.$vertical-padding;
102
+ margin-inline-end: 2px;
103
+ min-block-size: css-tabs-variables.$block-size;
104
+ padding-block: css-tabs-variables.$block-padding;
105
+ padding-inline: css-tabs-variables.$inline-padding;
104
106
  position: relative;
105
107
 
106
108
  &:hover {
@@ -118,7 +120,7 @@
118
120
  a:hover {
119
121
  background-color: css-tabs-variables.$hover-color;
120
122
  border: 1px solid transparent;
121
- border-bottom-color: css-tabs-variables.$color;
123
+ border-block-end-color: css-tabs-variables.$color;
122
124
  text-decoration: none;
123
125
  }
124
126
 
@@ -131,7 +133,7 @@
131
133
  &:visited {
132
134
  background-color: colors.$wit;
133
135
  border: 1px solid css-tabs-variables.$color;
134
- border-bottom-color: colors.$wit;
136
+ border-block-end-color: colors.$wit;
135
137
  color: css-tabs-variables.$color;
136
138
  cursor: default;
137
139
  }
@@ -153,12 +155,13 @@
153
155
  a {
154
156
  border-color: colors.$wit;
155
157
  border-radius: 8px;
156
- padding: 18px 20px;
158
+ padding-block: 18px;
159
+ padding-inline: 20px;
157
160
 
158
161
  &:active,
159
162
  &:focus,
160
163
  &:hover {
161
- border-bottom-width: 1px;
164
+ border-block-end-width: 1px;
162
165
  border-color: transparent;
163
166
  }
164
167
  }
@@ -167,7 +170,7 @@
167
170
  &,
168
171
  &:focus,
169
172
  &:hover {
170
- border-bottom-width: 1px;
173
+ border-block-end-width: 1px;
171
174
  border-color: css-tabs-variables.$color;
172
175
  }
173
176
  }
@@ -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
- $height: 56px;
11
- $horizontal-padding: units.$u2 - 1px;
12
- $vertical-padding: units.$u3 - 1px;
13
- $margin-bottom: units.$vertical-spacing-large;
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,6 +8,6 @@ textarea {
8
8
  overflow: auto;
9
9
 
10
10
  &.form-control {
11
- height: auto;
11
+ block-size: auto;
12
12
  }
13
13
  }
@@ -8,11 +8,12 @@
8
8
  &:not(.dso-theme) {
9
9
  background: colors.$wit;
10
10
  box-shadow: tile-variables.$box-shadow;
11
- margin-bottom: tile-variables.$margin-bottom;
12
- min-height: tile-variables.$min-height;
13
- padding: units.$u3 units.$u2 units.$u2;
11
+ margin-block-end: tile-variables.$margin-block-end;
12
+ min-block-size: tile-variables.$min-block-size;
13
+ padding-block: units.$u3 units.$u2;
14
+ padding-inline: units.$u2;
14
15
  position: relative;
15
- top: units.$u7;
16
+ inset-block-start: units.$u7;
16
17
  }
17
18
 
18
19
  &.dso-theme {
@@ -25,38 +26,39 @@
25
26
  border: 1px solid tile-variables.$icon-border-color;
26
27
  color: tile-variables.$icon-color;
27
28
  display: flex;
28
- height: tile-variables.$icon-size;
29
+ block-size: tile-variables.$icon-size;
29
30
  justify-content: center;
30
- margin: 0 auto units.$u1;
31
+ margin-block: 0 units.$u1;
32
+ margin-inline: auto;
31
33
  overflow: hidden;
32
- width: tile-variables.$icon-size;
34
+ inline-size: tile-variables.$icon-size;
33
35
 
34
36
  img {
35
- height: units.$u7;
36
- width: units.$u7;
37
+ block-size: units.$u7;
38
+ inline-size: units.$u7;
37
39
  }
38
40
  }
39
41
  }
40
42
 
41
43
  .dso-tile-icon {
42
44
  display: block;
43
- margin-bottom: units.$u2;
45
+ margin-block-end: units.$u2;
44
46
  text-align: center;
45
47
 
46
48
  img {
47
- height: 80px;
48
- width: 80px;
49
+ block-size: 80px;
50
+ inline-size: 80px;
49
51
  }
50
52
  }
51
53
 
52
54
  .dso-tile-link {
53
- border-bottom: #{units.$u1 * 0.5} solid transparent;
55
+ border-block-end: #{units.$u1 * 0.5} solid transparent;
54
56
  color: colors.$grasgroen;
55
57
  display: block;
56
58
  font-size: units.$font-size-h4;
57
59
  font-weight: bold;
58
60
  line-height: 1.167;
59
- padding-bottom: #{units.$u1 * 0.5};
61
+ padding-block-end: #{units.$u1 * 0.5};
60
62
  text-align: center;
61
63
  }
62
64
 
@@ -66,7 +68,7 @@
66
68
  &:hover,
67
69
  &:active {
68
70
  .dso-tile-link {
69
- border-bottom: #{units.$u1 * 0.5} solid colors.$grasgroen;
71
+ border-block-end: #{units.$u1 * 0.5} solid colors.$grasgroen;
70
72
  }
71
73
  }
72
74
 
@@ -77,6 +79,6 @@
77
79
  }
78
80
 
79
81
  @mixin equal-heights() {
80
- height: calc(100% - #{tile-variables.$margin-bottom});
81
- min-height: auto;
82
+ block-size: calc(100% - #{tile-variables.$margin-block-end});
83
+ min-block-size: auto;
82
84
  }
@@ -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-bottom: units.$u7;
6
- $min-height: 200px;
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;