dso-toolkit 64.0.0 → 65.0.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 +22 -0
- package/dist/dso.css +431 -214
- 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 +3 -1
- package/package.json +2 -2
- package/src/components/accordion/accordion-theme-compact.scss +8 -2
- package/src/components/action-list/action-list.scss +2 -2
- package/src/components/alert/alert.scss +5 -1
- package/src/components/attachments-counter/attachments-counter.scss +5 -2
- package/src/components/breadcrumbs/breadcrumbs.mixins.scss +7 -5
- package/src/components/button/button.mixins.scss +20 -13
- package/src/components/context/context.scss +10 -7
- package/src/components/definition-list/definition-list.scss +39 -10
- package/src/components/delete/delete.mixins.scss +3 -1
- package/src/components/description/description.scss +4 -2
- package/src/components/document-header/document-header.scss +15 -7
- package/src/components/dropdown-menu/dropdown-menu.mixins.scss +12 -9
- package/src/components/dropdown-menu/dropdown-menu.scss +26 -14
- package/src/components/footer/footer.scss +8 -5
- package/src/components/form/form-buttons/form-buttons.scss +4 -1
- package/src/components/form/form-group-collection.scss +6 -4
- package/src/components/form/form-group.scss +9 -6
- package/src/components/form/form-groups/select/form-group-select.scss +9 -6
- package/src/components/form-control/form-control.mixins.scss +17 -15
- package/src/components/grid/grid.scss +10 -4
- package/src/components/heading/_index.scss +1 -0
- package/src/components/{headings/headings.scss → heading/heading.scss} +9 -9
- package/src/components/highlight-box/highlight-box.scss +6 -3
- package/src/components/info/info.scss +5 -2
- package/src/components/info-button/info-button.mixins.scss +7 -5
- package/src/components/insert/insert.mixins.scss +3 -1
- package/src/components/label/label.mixins.scss +6 -2
- package/src/components/link-list/link-list.mixins.scss +4 -1
- package/src/components/link-list/link-list.scss +6 -3
- package/src/components/list-button/list-button.mixins.scss +42 -26
- package/src/components/mark/mark.scss +4 -3
- package/src/components/modal/modal.mixins.scss +21 -12
- package/src/components/modal/modal.scss +6 -3
- package/src/components/navbar/navbar.mixins.scss +15 -9
- package/src/components/pagination/pagination.mixins.scss +53 -51
- package/src/components/pagination/pagination.scss +6 -1
- package/src/components/search-bar/search-bar.scss +31 -23
- package/src/components/shopping-cart/shopping-cart.scss +26 -16
- package/src/components/tabs/tabs.scss +19 -13
- package/src/components/viewer-grid/viewer-grid.scss +4 -1
- package/src/di.scss +11 -7
- package/src/dso.scss +1 -1
- package/src/global/mixins/set-colors.mixin.scss +32 -31
- package/src/global/spacing.scss +4 -0
- package/src/components/headings/_index.scss +0 -1
- /package/src/components/{headings/headings.mixins.scss → heading/heading.mixins.scss} +0 -0
package/dist/index.js
CHANGED
|
@@ -33,6 +33,7 @@ export * from "./components/footnotes";
|
|
|
33
33
|
export { storiesOfForm } from "./components/form/form.stories-of.js";
|
|
34
34
|
export { storiesOfFormButtons } from "./components/form-buttons/form-buttons.stories-of.js";
|
|
35
35
|
export * from "./components/header";
|
|
36
|
+
export * from "./components/heading";
|
|
36
37
|
export * from "./components/helpcenter-panel";
|
|
37
38
|
export * from "./components/highlight-box";
|
|
38
39
|
export * from "./components/icon";
|
|
@@ -58,7 +59,8 @@ export * from "./components/pagination";
|
|
|
58
59
|
export * from "./components/panel";
|
|
59
60
|
export * from "./components/paragraph";
|
|
60
61
|
export * from "./components/progress-bar";
|
|
61
|
-
export
|
|
62
|
+
export * from "./components/progress-indicator";
|
|
63
|
+
export * from "./components/project-item";
|
|
62
64
|
export * from "./components/input-range";
|
|
63
65
|
export * from "./components/renvooi";
|
|
64
66
|
export { storiesOfResponsiveElement, } from "./components/responsive-element/responsive-element.stories-of.js";
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "dso-toolkit",
|
|
3
3
|
"description": "DSO Toolkit",
|
|
4
4
|
"license": "SEE LICENSE IN DISCLAIMER.txt",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "65.0.0",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"watch": "gulp"
|
|
8
8
|
},
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"list-stream": "^2.1.0",
|
|
59
59
|
"markdown-to-jsx": "^7.5.0",
|
|
60
60
|
"plugin-error": "^2.0.1",
|
|
61
|
-
"postcss": "^8.4.
|
|
61
|
+
"postcss": "^8.4.44",
|
|
62
62
|
"prettier": "^3.3.3",
|
|
63
63
|
"react": "^18.3.1",
|
|
64
64
|
"react-dom": "^18.3.1",
|
|
@@ -18,7 +18,10 @@
|
|
|
18
18
|
&::before {
|
|
19
19
|
@include di.base("chevron-right-grasgroen");
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
22
|
+
& {
|
|
23
|
+
inset-inline-start: 0;
|
|
24
|
+
}
|
|
22
25
|
}
|
|
23
26
|
|
|
24
27
|
&:hover,
|
|
@@ -112,7 +115,10 @@
|
|
|
112
115
|
&::before {
|
|
113
116
|
@include di.base("chevron-down-grasgroen");
|
|
114
117
|
|
|
115
|
-
|
|
118
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
119
|
+
& {
|
|
120
|
+
inset-inline-start: auto;
|
|
121
|
+
}
|
|
116
122
|
}
|
|
117
123
|
}
|
|
118
124
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
@use "../../variables/units";
|
|
3
3
|
@use "../../variables/media-query-breakpoints";
|
|
4
4
|
@use "../../components/step-counter";
|
|
5
|
-
@use "../
|
|
5
|
+
@use "../heading";
|
|
6
6
|
|
|
7
7
|
@use "action-list.variables" as action-list-variables;
|
|
8
8
|
@use "components/action-list-item.variables" as action-list-item-variables;
|
|
@@ -43,7 +43,7 @@ dso-action-list {
|
|
|
43
43
|
.dso-rich-content {
|
|
44
44
|
h5,
|
|
45
45
|
.h5 {
|
|
46
|
-
@include
|
|
46
|
+
@include heading.no-margin();
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -15,7 +15,11 @@
|
|
|
15
15
|
|
|
16
16
|
&.dso-compact {
|
|
17
17
|
@include alert.compact();
|
|
18
|
-
|
|
18
|
+
|
|
19
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
20
|
+
& {
|
|
21
|
+
min-block-size: alert.$inline-padding;
|
|
22
|
+
}
|
|
19
23
|
}
|
|
20
24
|
|
|
21
25
|
&.alert-success {
|
|
@@ -8,7 +8,10 @@
|
|
|
8
8
|
&::after {
|
|
9
9
|
@include di.base("paperclip-grijs");
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
12
|
+
& {
|
|
13
|
+
content: "";
|
|
14
|
+
display: inline-block;
|
|
15
|
+
}
|
|
13
16
|
}
|
|
14
17
|
}
|
|
@@ -7,11 +7,13 @@
|
|
|
7
7
|
@mixin root() {
|
|
8
8
|
@include utilities.clearfix();
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
& {
|
|
11
|
+
list-style: none;
|
|
12
|
+
margin-block-end: units.$u2;
|
|
13
|
+
margin-block-start: units.$u2;
|
|
14
|
+
padding-block: 0;
|
|
15
|
+
padding-inline: units.$u1;
|
|
16
|
+
}
|
|
15
17
|
|
|
16
18
|
> li {
|
|
17
19
|
display: flex;
|
|
@@ -24,15 +24,20 @@
|
|
|
24
24
|
@include base($modifiers);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
& {
|
|
28
|
+
@include _shared-variant($defaults-map);
|
|
29
|
+
}
|
|
28
30
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
32
|
+
& {
|
|
33
|
+
border-width: 1px;
|
|
34
|
+
border-style: solid;
|
|
35
|
+
border-radius: button-variables.$border-radius;
|
|
36
|
+
line-height: typography.$line-height-base;
|
|
37
|
+
min-inline-size: button-variables.$min-inline-size;
|
|
38
|
+
padding-block: button-variables.$block-padding;
|
|
39
|
+
padding-inline: button-variables.$inline-padding;
|
|
40
|
+
}
|
|
36
41
|
|
|
37
42
|
&:hover {
|
|
38
43
|
@include _shared-variant($defaults-map, $hover-map);
|
|
@@ -346,11 +351,13 @@
|
|
|
346
351
|
@include base($modifiers);
|
|
347
352
|
}
|
|
348
353
|
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
+
& {
|
|
355
|
+
border: 0;
|
|
356
|
+
color: button-variables.$tertiary-color;
|
|
357
|
+
line-height: 1;
|
|
358
|
+
padding: 0;
|
|
359
|
+
background-color: transparent;
|
|
360
|
+
}
|
|
354
361
|
|
|
355
362
|
&[disabled] {
|
|
356
363
|
color: colors.$grasgroen-40;
|
|
@@ -48,13 +48,16 @@
|
|
|
48
48
|
@include form-control.root();
|
|
49
49
|
@include di.variant("caret-down");
|
|
50
50
|
|
|
51
|
-
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
51
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
52
|
+
& {
|
|
53
|
+
-moz-appearance: none;
|
|
54
|
+
-webkit-appearance: none;
|
|
55
|
+
background-position: calc(100% - #{units.$u1});
|
|
56
|
+
background-repeat: no-repeat;
|
|
57
|
+
background-size: icon.$size icon.$size;
|
|
58
|
+
padding-inline-end: units.$u4;
|
|
59
|
+
inline-size: auto;
|
|
60
|
+
}
|
|
58
61
|
}
|
|
59
62
|
}
|
|
60
63
|
}
|
|
@@ -8,14 +8,15 @@
|
|
|
8
8
|
@use "definition-list.variables" as css-definition-list-variables;
|
|
9
9
|
|
|
10
10
|
dl {
|
|
11
|
-
margin-block-end: css-definition-list-variables.$block-space * 2;
|
|
11
|
+
margin-block-end: var(--_dt-dl-margin-block-end, css-definition-list-variables.$block-space * 2);
|
|
12
12
|
margin-block-start: 0;
|
|
13
|
+
font-size: var(--_dt-dl-font-size, inherit);
|
|
13
14
|
|
|
14
15
|
+ dl {
|
|
15
16
|
&::before {
|
|
16
17
|
border-block-end: 1px solid colors.$grijs-20;
|
|
17
18
|
content: " ";
|
|
18
|
-
display: block;
|
|
19
|
+
display: var(--_dt-dl-before-display, block);
|
|
19
20
|
float: inline-start;
|
|
20
21
|
block-size: css-definition-list-variables.$block-space;
|
|
21
22
|
margin-block-end: css-definition-list-variables.$block-space * 3;
|
|
@@ -23,20 +24,48 @@ dl {
|
|
|
23
24
|
}
|
|
24
25
|
}
|
|
25
26
|
|
|
27
|
+
&.dso-grouped {
|
|
28
|
+
> .dso-group {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-wrap: nowrap;
|
|
31
|
+
column-gap: calc(units.$u2 / 2);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
dt,
|
|
35
|
+
dd {
|
|
36
|
+
/* stylelint-disable-next-line declaration-property-value-disallowed-list -- wrapping is done by child dt/dd elements */
|
|
37
|
+
white-space: nowrap;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
dt {
|
|
41
|
+
&::after {
|
|
42
|
+
content: ":";
|
|
43
|
+
display: inline-block;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
26
48
|
dt,
|
|
27
49
|
dd {
|
|
28
50
|
line-height: typography.$line-height-base;
|
|
29
51
|
}
|
|
30
52
|
|
|
31
53
|
dt {
|
|
32
|
-
font-weight: 700;
|
|
54
|
+
font-weight: var(--_dt-dl-dt-font-weight, 700);
|
|
33
55
|
}
|
|
34
56
|
|
|
35
57
|
dd {
|
|
36
58
|
@include rich-content.children();
|
|
37
59
|
@include utilities.clearfix();
|
|
38
60
|
|
|
39
|
-
|
|
61
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
62
|
+
& {
|
|
63
|
+
margin-inline-start: 0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&:last-of-type {
|
|
67
|
+
margin-inline-end: 0;
|
|
68
|
+
}
|
|
40
69
|
|
|
41
70
|
p:last-child {
|
|
42
71
|
margin-block-end: 0;
|
|
@@ -44,7 +73,7 @@ dl {
|
|
|
44
73
|
|
|
45
74
|
@media screen and (min-width: css-definition-list-variables.$horizontal-breakpoint) {
|
|
46
75
|
&:last-of-type {
|
|
47
|
-
margin-block-end: css-definition-list-variables.$block-space;
|
|
76
|
+
margin-block-end: var(--_dt-dl-dd-last-margin-block-end, css-definition-list-variables.$block-space);
|
|
48
77
|
}
|
|
49
78
|
}
|
|
50
79
|
}
|
|
@@ -101,7 +130,7 @@ dl {
|
|
|
101
130
|
&:not(.dso-vertical):not(.dso-columns) {
|
|
102
131
|
dd + dt,
|
|
103
132
|
dd + dt + dd {
|
|
104
|
-
margin-block-start: css-definition-list-variables.$block-space;
|
|
133
|
+
margin-block-start: var(--_dt-dl-dd-margin-block-start, css-definition-list-variables.$block-space);
|
|
105
134
|
}
|
|
106
135
|
}
|
|
107
136
|
}
|
|
@@ -111,13 +140,13 @@ dl {
|
|
|
111
140
|
dt {
|
|
112
141
|
clear: inline-start;
|
|
113
142
|
float: inline-start;
|
|
114
|
-
inline-size: css-definition-list-variables.$term-inline-size;
|
|
143
|
+
inline-size: var(--_dt-dl-dt-inline-size, css-definition-list-variables.$term-inline-size);
|
|
115
144
|
word-wrap: break-word;
|
|
116
145
|
}
|
|
117
146
|
|
|
118
147
|
dd {
|
|
119
|
-
margin-inline-start: css-definition-list-variables.$term-inline-size;
|
|
120
|
-
padding-inline-start: css-definition-list-variables.$gutter;
|
|
148
|
+
margin-inline-start: var(--_dt-dl-dd-margin-inline-start, css-definition-list-variables.$term-inline-size);
|
|
149
|
+
padding-inline-start: var(--_dt-dl-dd-padding-inline-start, css-definition-list-variables.$gutter);
|
|
121
150
|
}
|
|
122
151
|
|
|
123
152
|
&.dso-columns-1-3 {
|
|
@@ -209,7 +238,7 @@ dl {
|
|
|
209
238
|
&:not(.dso-bordered) {
|
|
210
239
|
@media screen and (max-width: #{css-definition-list-variables.$horizontal-breakpoint - 1}) {
|
|
211
240
|
dd + dt {
|
|
212
|
-
margin-block-start: css-definition-list-variables.$block-space;
|
|
241
|
+
margin-block-start: var(--_dt-dl-dd-margin-block-start, css-definition-list-variables.$block-space);
|
|
213
242
|
}
|
|
214
243
|
}
|
|
215
244
|
}
|
|
@@ -13,9 +13,12 @@
|
|
|
13
13
|
.dso-document-header {
|
|
14
14
|
@include set-colors.apply(colors.$grijs-5);
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
17
|
+
& {
|
|
18
|
+
padding: #{grid-variables.$grid-gutter-width * 0.5};
|
|
19
|
+
margin-inline-start: grid-variables.$grid-gutter-width * -0.5;
|
|
20
|
+
margin-inline-end: grid-variables.$grid-gutter-width * -0.5;
|
|
21
|
+
}
|
|
19
22
|
|
|
20
23
|
#{typography.$headings} {
|
|
21
24
|
button {
|
|
@@ -50,8 +53,10 @@
|
|
|
50
53
|
&::after {
|
|
51
54
|
@include di.base("chevron-up-bosgroen");
|
|
52
55
|
|
|
53
|
-
|
|
54
|
-
|
|
56
|
+
& {
|
|
57
|
+
content: "";
|
|
58
|
+
display: inline-block;
|
|
59
|
+
}
|
|
55
60
|
}
|
|
56
61
|
|
|
57
62
|
span {
|
|
@@ -115,8 +120,11 @@
|
|
|
115
120
|
.dso-document-header-toggle-status {
|
|
116
121
|
@include button.tertiary();
|
|
117
122
|
|
|
118
|
-
|
|
119
|
-
|
|
123
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
124
|
+
& {
|
|
125
|
+
color: colors.$zwart;
|
|
126
|
+
font-weight: normal;
|
|
127
|
+
}
|
|
120
128
|
}
|
|
121
129
|
|
|
122
130
|
.dso-document-header-map-action {
|
|
@@ -80,15 +80,18 @@
|
|
|
80
80
|
button {
|
|
81
81
|
@include anchor.reverse();
|
|
82
82
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
83
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
84
|
+
& {
|
|
85
|
+
clear: both;
|
|
86
|
+
color: dropdown-menu-variables.$link-color;
|
|
87
|
+
display: block;
|
|
88
|
+
font-weight: 400;
|
|
89
|
+
line-height: 1.5;
|
|
90
|
+
padding-block: 3px;
|
|
91
|
+
padding-inline: dropdown-menu-variables.$inline-padding;
|
|
92
|
+
text-decoration: none;
|
|
93
|
+
white-space: nowrap; // stylelint-disable-line declaration-property-value-disallowed-list -- We don't want wrapping in Dropdown items
|
|
94
|
+
}
|
|
92
95
|
|
|
93
96
|
&:hover,
|
|
94
97
|
&:focus {
|
|
@@ -28,9 +28,12 @@
|
|
|
28
28
|
&::after {
|
|
29
29
|
@include di.base("chevron-down");
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
32
|
+
& {
|
|
33
|
+
margin-inline-start: units.$u1 * 0.5;
|
|
34
|
+
position: relative;
|
|
35
|
+
inset-block-start: -2px;
|
|
36
|
+
}
|
|
34
37
|
}
|
|
35
38
|
|
|
36
39
|
&:hover {
|
|
@@ -76,7 +79,10 @@
|
|
|
76
79
|
@include dropdown-menu.children();
|
|
77
80
|
@include icons();
|
|
78
81
|
|
|
79
|
-
|
|
82
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
83
|
+
& {
|
|
84
|
+
position: relative;
|
|
85
|
+
}
|
|
80
86
|
|
|
81
87
|
&.dso-open {
|
|
82
88
|
@include icons-open();
|
|
@@ -92,11 +98,14 @@
|
|
|
92
98
|
&::before {
|
|
93
99
|
@include di.base("check-wit", units.$u3);
|
|
94
100
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
101
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
102
|
+
& {
|
|
103
|
+
content: "";
|
|
104
|
+
display: block;
|
|
105
|
+
float: inline-start;
|
|
106
|
+
margin-inline-start: units.$u4 * -1;
|
|
107
|
+
margin-inline-end: units.$u1;
|
|
108
|
+
}
|
|
100
109
|
}
|
|
101
110
|
}
|
|
102
111
|
}
|
|
@@ -137,11 +146,14 @@ dso-dropdown-menu {
|
|
|
137
146
|
&::before {
|
|
138
147
|
@include di.base("check-wit", units.$u3);
|
|
139
148
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
149
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
150
|
+
& {
|
|
151
|
+
content: "";
|
|
152
|
+
display: block;
|
|
153
|
+
float: inline-start;
|
|
154
|
+
margin-inline-start: units.$u4 * -1;
|
|
155
|
+
margin-inline-end: units.$u1;
|
|
156
|
+
}
|
|
145
157
|
}
|
|
146
158
|
}
|
|
147
159
|
}
|
|
@@ -14,11 +14,14 @@ footer {
|
|
|
14
14
|
|
|
15
15
|
@include set-colors.apply(colors.$grijs-5);
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
18
|
+
& {
|
|
19
|
+
border-block-start: 1px solid css-footer-variables.$border-color;
|
|
20
|
+
display: block;
|
|
21
|
+
margin-block-start: units.$u6;
|
|
22
|
+
padding-block-end: units.$u6;
|
|
23
|
+
padding-block-start: units.$u3;
|
|
24
|
+
}
|
|
22
25
|
|
|
23
26
|
.dso-link-list {
|
|
24
27
|
@include link-list.exotic();
|
|
@@ -13,7 +13,10 @@
|
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
17
|
+
& {
|
|
18
|
+
margin-block-end: units.$block-spacing-medium;
|
|
19
|
+
}
|
|
17
20
|
|
|
18
21
|
&:last-child {
|
|
19
22
|
margin-block-end: units.$block-spacing-xlarge;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use "sass:math";
|
|
2
2
|
|
|
3
3
|
@use "../../variables/units";
|
|
4
|
-
@use "../
|
|
4
|
+
@use "../heading";
|
|
5
5
|
|
|
6
6
|
@use "form.variables" as css-form-variables;
|
|
7
7
|
@use "form.mixins" as css-form-mixins;
|
|
@@ -11,8 +11,10 @@
|
|
|
11
11
|
margin-block-end: units.$u2;
|
|
12
12
|
|
|
13
13
|
> legend {
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
& {
|
|
15
|
+
border-block-end: 0;
|
|
16
|
+
margin-block-end: css-form-variables.$fieldset-separator-unit;
|
|
17
|
+
}
|
|
16
18
|
|
|
17
19
|
&,
|
|
18
20
|
h1,
|
|
@@ -21,7 +23,7 @@
|
|
|
21
23
|
h4,
|
|
22
24
|
h5,
|
|
23
25
|
h6 {
|
|
24
|
-
@include
|
|
26
|
+
@include heading.h3();
|
|
25
27
|
}
|
|
26
28
|
|
|
27
29
|
h1,
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
@use "../../variables/typography";
|
|
7
7
|
@use "../../variables/zindex";
|
|
8
8
|
@use "../form-control";
|
|
9
|
-
@use "../
|
|
9
|
+
@use "../heading";
|
|
10
10
|
|
|
11
11
|
@use "../../di";
|
|
12
12
|
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
.dso-info {
|
|
50
50
|
h5,
|
|
51
51
|
.h5 {
|
|
52
|
-
@include
|
|
52
|
+
@include heading.no-margin();
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
|
|
@@ -129,10 +129,13 @@
|
|
|
129
129
|
&::before {
|
|
130
130
|
@include di.base("status-error", css-form-variables.$field-invalid-icon-size);
|
|
131
131
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
132
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
133
|
+
& {
|
|
134
|
+
content: "";
|
|
135
|
+
display: block;
|
|
136
|
+
inset-inline-start: 0;
|
|
137
|
+
position: absolute;
|
|
138
|
+
}
|
|
136
139
|
}
|
|
137
140
|
}
|
|
138
141
|
}
|
|
@@ -21,12 +21,15 @@
|
|
|
21
21
|
select:not([multiple]) {
|
|
22
22
|
@include di.variant("caret-down");
|
|
23
23
|
|
|
24
|
-
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
24
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
25
|
+
& {
|
|
26
|
+
-moz-appearance: none;
|
|
27
|
+
-webkit-appearance: none;
|
|
28
|
+
background-position: calc(100% - #{units.$u1});
|
|
29
|
+
background-repeat: no-repeat;
|
|
30
|
+
background-size: icon.$size icon.$size;
|
|
31
|
+
padding-inline-end: units.$u4;
|
|
32
|
+
}
|
|
30
33
|
|
|
31
34
|
&:disabled {
|
|
32
35
|
@include di.variant("caret-down-disabled");
|
|
@@ -7,21 +7,23 @@
|
|
|
7
7
|
@use "form-control.variables" as form-control-variables;
|
|
8
8
|
|
|
9
9
|
@mixin root() {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
10
|
+
& {
|
|
11
|
+
display: block;
|
|
12
|
+
inline-size: 100%;
|
|
13
|
+
block-size: form-control-variables.$block-size;
|
|
14
|
+
padding-block: units.$padding-base-block;
|
|
15
|
+
padding-inline: (units.$padding-base-inline + 2);
|
|
16
|
+
font-size: typography.$root-font-size-base;
|
|
17
|
+
line-height: typography.$line-height-base;
|
|
18
|
+
color: colors.$input-color;
|
|
19
|
+
background-color: colors.$input-bg;
|
|
20
|
+
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
|
|
21
|
+
border: form-control-variables.$border-width solid colors.$input-border;
|
|
22
|
+
border-radius: form-control-variables.$input-border-radius; // Note: This has no effect on <select>s in some browsers, due to the limited stylability of <select>s in CSS.
|
|
23
|
+
transition:
|
|
24
|
+
border-color ease-in-out 0.15s,
|
|
25
|
+
box-shadow ease-in-out 0.15s;
|
|
26
|
+
}
|
|
25
27
|
|
|
26
28
|
@include utilities.placeholder(colors.$input-color-placeholder);
|
|
27
29
|
|