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
|
@@ -19,11 +19,13 @@
|
|
|
19
19
|
align-items: center;
|
|
20
20
|
color: colors.$grasgroen;
|
|
21
21
|
display: flex;
|
|
22
|
-
|
|
22
|
+
block-size: pagination-variables.$item-size;
|
|
23
23
|
justify-content: center;
|
|
24
24
|
position: relative;
|
|
25
25
|
min-inline-size: pagination-variables.$item-size;
|
|
26
|
-
padding: units.$u1 * 0.25;
|
|
26
|
+
padding: #{units.$u1 * 0.25};
|
|
27
|
+
padding-block: units.$u1 * 0.25;
|
|
28
|
+
padding-inline: units.$u1 * 0.25;
|
|
27
29
|
|
|
28
30
|
&:active {
|
|
29
31
|
background-color: colors.$grasgroen-10;
|
|
@@ -44,18 +46,18 @@
|
|
|
44
46
|
text-decoration: none;
|
|
45
47
|
|
|
46
48
|
&::after {
|
|
47
|
-
border-
|
|
49
|
+
border-block-end-color: colors.$grasgroen;
|
|
48
50
|
}
|
|
49
51
|
}
|
|
50
52
|
|
|
51
53
|
&::after {
|
|
52
|
-
border-
|
|
53
|
-
|
|
54
|
+
border-block-end: 3px solid transparent;
|
|
55
|
+
inset-block-end: 0;
|
|
54
56
|
content: "";
|
|
55
57
|
display: inline-block;
|
|
56
|
-
|
|
58
|
+
inset-inline-start: 0;
|
|
57
59
|
position: absolute;
|
|
58
|
-
|
|
60
|
+
inline-size: 100%;
|
|
59
61
|
}
|
|
60
62
|
}
|
|
61
63
|
|
|
@@ -67,7 +69,7 @@
|
|
|
67
69
|
}
|
|
68
70
|
|
|
69
71
|
& + li {
|
|
70
|
-
margin-
|
|
72
|
+
margin-inline-start: units.$u1;
|
|
71
73
|
}
|
|
72
74
|
}
|
|
73
75
|
}
|
|
@@ -13,7 +13,8 @@ pre {
|
|
|
13
13
|
font-size: (typography.$font-size-base - 1); // 14px to 13px
|
|
14
14
|
overflow: auto;
|
|
15
15
|
line-height: typography.$line-height-base;
|
|
16
|
-
margin: 0
|
|
16
|
+
margin-block: 0 (typography.$line-height-computed * 0.5);
|
|
17
|
+
margin-inline: 0;
|
|
17
18
|
padding: ((typography.$line-height-computed - 1) * 0.5);
|
|
18
19
|
word-break: break-all;
|
|
19
20
|
word-wrap: break-word;
|
|
@@ -4,24 +4,24 @@
|
|
|
4
4
|
@use "progress-bar.variables" as progress-bar-variables;
|
|
5
5
|
|
|
6
6
|
@mixin root() {
|
|
7
|
-
margin-
|
|
7
|
+
margin-block-end: units.$u1;
|
|
8
8
|
|
|
9
9
|
.progress-bar {
|
|
10
10
|
background-color: progress-bar-variables.$background-color;
|
|
11
11
|
border: 1px solid progress-bar-variables.$color;
|
|
12
12
|
display: block;
|
|
13
|
-
|
|
13
|
+
block-size: progress-bar-variables.$block-size;
|
|
14
14
|
|
|
15
15
|
> span {
|
|
16
16
|
background-color: progress-bar-variables.$progress-color;
|
|
17
|
-
float:
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
float: inline-start;
|
|
18
|
+
block-size: 100%;
|
|
19
|
+
inline-size: 0%;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
+ span {
|
|
23
23
|
font-size: typography.$root-font-size-small;
|
|
24
|
-
margin-
|
|
24
|
+
margin-block-start: units.$u1;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
@mixin _looping-size($progress-indicator-size) {
|
|
4
4
|
.dso-progress-indicator-spinner,
|
|
5
5
|
dso-icon {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
block-size: $progress-indicator-size;
|
|
7
|
+
inline-size: $progress-indicator-size;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
span.dso-progress-indicator-label {
|
|
20
|
-
margin-
|
|
20
|
+
margin-inline-start: units.$u2;
|
|
21
21
|
vertical-align: middle;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -33,7 +33,8 @@
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
@mixin small-block() {
|
|
36
|
-
padding: units.$u1 * 1.5
|
|
36
|
+
padding-block: units.$u1 * 1.5;
|
|
37
|
+
padding-inline: units.$u2;
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
@mixin medium() {
|
|
@@ -49,5 +50,6 @@
|
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
@mixin large-block() {
|
|
52
|
-
padding: units.$u3
|
|
53
|
+
padding-block: units.$u3;
|
|
54
|
+
padding-inline: units.$u2;
|
|
53
55
|
}
|
|
@@ -4,12 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
@mixin children() {
|
|
6
6
|
p {
|
|
7
|
-
margin: 0
|
|
7
|
+
margin-block: 0 rich-content-variables.$margin-block-end;
|
|
8
|
+
margin-inline: 0;
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
ul,
|
|
11
12
|
ol {
|
|
12
|
-
margin-
|
|
13
|
+
margin-block-end: rich-content-variables.$margin-block-end;
|
|
13
14
|
|
|
14
15
|
&:not(.list-group):not(.dso-link-list):not(.dso-columns-list) {
|
|
15
16
|
padding-inline-start: units.$u3;
|
|
@@ -17,20 +18,22 @@
|
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
pre {
|
|
20
|
-
margin: 0
|
|
21
|
+
margin-block: 0 rich-content-variables.$margin-block-end;
|
|
22
|
+
margin-inline: 0;
|
|
21
23
|
}
|
|
22
24
|
|
|
23
25
|
blockquote {
|
|
24
|
-
padding: rich-content-variables.$margin-
|
|
26
|
+
padding-block: rich-content-variables.$margin-block-end;
|
|
27
|
+
padding-inline: typography.$line-height-computed;
|
|
25
28
|
}
|
|
26
29
|
|
|
27
30
|
dso-highlight-box,
|
|
28
31
|
.dso-highlight-box {
|
|
29
|
-
margin-
|
|
32
|
+
margin-block-end: typography.$line-height-computed;
|
|
30
33
|
}
|
|
31
34
|
|
|
32
35
|
img {
|
|
33
|
-
|
|
34
|
-
max-
|
|
36
|
+
block-size: auto;
|
|
37
|
+
max-inline-size: 100%;
|
|
35
38
|
}
|
|
36
39
|
}
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
@include rich-content.children();
|
|
5
5
|
|
|
6
6
|
> :first-child:not(hr, .dso-button-row) {
|
|
7
|
-
margin-
|
|
7
|
+
margin-block-start: rich-content.$margin-block-start * 0.5;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
> :last-child:not(hr, .dso-button-row) {
|
|
11
|
-
margin-
|
|
11
|
+
margin-block-end: rich-content.$margin-block-end * 0.5;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -11,23 +11,23 @@
|
|
|
11
11
|
|
|
12
12
|
.dso-search-bar {
|
|
13
13
|
display: flex;
|
|
14
|
-
margin-
|
|
14
|
+
margin-block-end: 16px;
|
|
15
15
|
|
|
16
16
|
.dso-search-bar-input {
|
|
17
17
|
position: relative;
|
|
18
|
-
|
|
18
|
+
inline-size: 100%;
|
|
19
19
|
|
|
20
20
|
.dso-search-icon {
|
|
21
|
-
|
|
21
|
+
inset-block-end: units.$u1;
|
|
22
22
|
font-size: 0;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
line-height: css-search-bar-variables.$
|
|
23
|
+
block-size: css-search-bar-variables.$block-size;
|
|
24
|
+
inset-inline-start: 0;
|
|
25
|
+
line-height: css-search-bar-variables.$block-size;
|
|
26
26
|
padding: units.$u1;
|
|
27
27
|
position: absolute;
|
|
28
28
|
text-align: center;
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
inset-block-start: 0;
|
|
30
|
+
inline-size: css-search-bar-variables.$block-size;
|
|
31
31
|
z-index: zindex.$searchbar-icon;
|
|
32
32
|
|
|
33
33
|
&::before {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
|
|
41
41
|
+ input,
|
|
42
42
|
+ dso-autosuggest > input {
|
|
43
|
-
padding-
|
|
43
|
+
padding-inline-start: css-search-bar-variables.$block-size;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -55,13 +55,15 @@
|
|
|
55
55
|
box-shadow: none;
|
|
56
56
|
display: block;
|
|
57
57
|
font-size: typography.$root-font-size-base;
|
|
58
|
-
|
|
59
|
-
line-height: css-search-bar-variables.$
|
|
60
|
-
padding: 6px
|
|
58
|
+
block-size: css-search-bar-variables.$block-size;
|
|
59
|
+
line-height: css-search-bar-variables.$block-size;
|
|
60
|
+
padding-block: 6px;
|
|
61
|
+
padding-inline: units.$u1 css-search-bar-variables.$block-size;
|
|
62
|
+
|
|
61
63
|
transition:
|
|
62
64
|
border-color ease-in-out 0.15s,
|
|
63
65
|
box-shadow ease-in-out 0.15s;
|
|
64
|
-
|
|
66
|
+
inline-size: 100%;
|
|
65
67
|
|
|
66
68
|
&:focus {
|
|
67
69
|
border-color: form-control.$focus-border-color;
|
|
@@ -80,13 +82,13 @@
|
|
|
80
82
|
box-shadow: none;
|
|
81
83
|
color: colors.$grasgroen;
|
|
82
84
|
font-size: 0;
|
|
83
|
-
|
|
85
|
+
block-size: css-search-bar-variables.$block-size;
|
|
84
86
|
padding: units.$u1;
|
|
85
87
|
position: absolute;
|
|
86
|
-
|
|
88
|
+
inset-inline-end: 0;
|
|
87
89
|
text-align: center;
|
|
88
|
-
|
|
89
|
-
|
|
90
|
+
inset-block-start: 0;
|
|
91
|
+
inline-size: css-search-bar-variables.$block-size;
|
|
90
92
|
|
|
91
93
|
&::before {
|
|
92
94
|
@include di.base("times");
|
|
@@ -99,16 +101,16 @@
|
|
|
99
101
|
|
|
100
102
|
label {
|
|
101
103
|
flex-grow: 1;
|
|
102
|
-
margin-
|
|
103
|
-
|
|
104
|
+
margin-block-end: units.$u1;
|
|
105
|
+
inline-size: 100%;
|
|
104
106
|
|
|
105
107
|
+ .dso-search-icon {
|
|
106
|
-
|
|
108
|
+
inset-block-start: css-search-bar-variables.$icon-block-start;
|
|
107
109
|
|
|
108
110
|
+ input,
|
|
109
111
|
+ dso-autosuggest {
|
|
110
112
|
+ button {
|
|
111
|
-
|
|
113
|
+
inset-block-start: css-search-bar-variables.$icon-block-start;
|
|
112
114
|
}
|
|
113
115
|
}
|
|
114
116
|
}
|
|
@@ -116,19 +118,19 @@
|
|
|
116
118
|
+ input,
|
|
117
119
|
+ dso-autosuggest {
|
|
118
120
|
+ button {
|
|
119
|
-
|
|
121
|
+
inset-block-start: css-search-bar-variables.$icon-block-start;
|
|
120
122
|
}
|
|
121
123
|
}
|
|
122
124
|
|
|
123
125
|
&.sr-only,
|
|
124
126
|
&.dso-search-icon {
|
|
125
127
|
+ .dso-search-icon {
|
|
126
|
-
|
|
128
|
+
inset-block-start: 0;
|
|
127
129
|
|
|
128
130
|
+ input,
|
|
129
131
|
+ dso-autosuggest {
|
|
130
132
|
+ button {
|
|
131
|
-
|
|
133
|
+
inset-block-start: 0;
|
|
132
134
|
}
|
|
133
135
|
}
|
|
134
136
|
}
|
|
@@ -136,7 +138,7 @@
|
|
|
136
138
|
+ input,
|
|
137
139
|
+ dso-autosuggest {
|
|
138
140
|
+ button {
|
|
139
|
-
|
|
141
|
+
inset-block-start: 0;
|
|
140
142
|
}
|
|
141
143
|
}
|
|
142
144
|
}
|
|
@@ -145,18 +147,20 @@
|
|
|
145
147
|
|
|
146
148
|
.dso-search-bar-input + button {
|
|
147
149
|
align-self: flex-end;
|
|
148
|
-
|
|
149
|
-
line-height: calc(css-search-bar-variables.$
|
|
150
|
-
margin: 0
|
|
151
|
-
|
|
152
|
-
|
|
150
|
+
block-size: css-search-bar-variables.$block-size;
|
|
151
|
+
line-height: calc(css-search-bar-variables.$block-size - 2px);
|
|
152
|
+
margin-block: 0;
|
|
153
|
+
margin-inline: units.$u1 0;
|
|
154
|
+
min-inline-size: initial;
|
|
155
|
+
padding-block: 0;
|
|
156
|
+
padding-inline: units.$u2;
|
|
153
157
|
text-align: center;
|
|
154
158
|
}
|
|
155
159
|
|
|
156
160
|
+ .dso-results {
|
|
157
161
|
color: colors.$grijs-60;
|
|
158
162
|
font-weight: 700;
|
|
159
|
-
margin-
|
|
163
|
+
margin-block-start: units.$u1;
|
|
160
164
|
}
|
|
161
165
|
|
|
162
166
|
&.dso-invalid .dso-search-bar-input input {
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
@mixin notLastChild() {
|
|
11
|
-
margin-
|
|
11
|
+
margin-block-end: units.$u1;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
@mixin inline($siblingSelectableSelector) {
|
|
15
15
|
+ #{$siblingSelectableSelector} {
|
|
16
|
-
margin-
|
|
16
|
+
margin-inline-start: units.$u3;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
display: var(--dso-selectable-display, block);
|
|
24
24
|
|
|
25
25
|
@if ($set-padding) {
|
|
26
|
-
padding: 0
|
|
26
|
+
padding-block: 0;
|
|
27
|
+
padding-inline: units.$u4 0;
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
label {
|
|
@@ -54,27 +55,28 @@
|
|
|
54
55
|
@mixin children($info-selector) {
|
|
55
56
|
> #{$info-selector} {
|
|
56
57
|
float: none;
|
|
57
|
-
margin: units.$u1
|
|
58
|
-
|
|
58
|
+
margin-block: units.$u1 0;
|
|
59
|
+
margin-inline: 0 units.$u2;
|
|
60
|
+
inline-size: 100%;
|
|
59
61
|
}
|
|
60
62
|
|
|
61
63
|
.dso-selectable-options {
|
|
62
64
|
list-style: none;
|
|
63
|
-
margin-
|
|
64
|
-
padding-
|
|
65
|
+
margin-block-start: units.$u1;
|
|
66
|
+
padding-inline-start: 0;
|
|
65
67
|
|
|
66
68
|
li + li {
|
|
67
|
-
margin-
|
|
69
|
+
margin-block-start: units.$u1;
|
|
68
70
|
}
|
|
69
71
|
}
|
|
70
72
|
}
|
|
71
73
|
|
|
72
74
|
@mixin selectableBoxShadow($border-width, $color) {
|
|
73
75
|
box-shadow: 0 0 0 $border-width $color;
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
block-size: selectable-variables.$size - 2 * $border-width;
|
|
77
|
+
inset-inline-start: $border-width;
|
|
78
|
+
inset-block-start: $border-width;
|
|
79
|
+
inline-size: selectable-variables.$size - 2 * $border-width;
|
|
78
80
|
}
|
|
79
81
|
|
|
80
82
|
@mixin _selectableFunctionalStylingDisabled() {
|
|
@@ -91,13 +93,13 @@
|
|
|
91
93
|
}
|
|
92
94
|
|
|
93
95
|
@mixin _selectableFunctionalStyling() {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
+
block-size: selectable-variables.$size;
|
|
97
|
+
inset-inline-start: 0;
|
|
96
98
|
margin: 0;
|
|
97
99
|
opacity: 0;
|
|
98
100
|
position: absolute;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
+
inset-block-start: 0;
|
|
102
|
+
inline-size: selectable-variables.$size;
|
|
101
103
|
z-index: zindex.$selectable;
|
|
102
104
|
zoom: 1;
|
|
103
105
|
|
|
@@ -112,7 +114,7 @@
|
|
|
112
114
|
+ label {
|
|
113
115
|
display: inline;
|
|
114
116
|
font-style: normal;
|
|
115
|
-
padding-
|
|
117
|
+
padding-inline-start: 0;
|
|
116
118
|
|
|
117
119
|
&::before {
|
|
118
120
|
background: colors.$wit;
|
|
@@ -120,11 +122,11 @@
|
|
|
120
122
|
box-shadow: 0 0 0 selectable-variables.$border-width
|
|
121
123
|
var(--dso-selectable-color, selectable-variables.$valid-color);
|
|
122
124
|
content: "";
|
|
123
|
-
|
|
124
|
-
|
|
125
|
+
block-size: selectable-variables.$size - 2 * selectable-variables.$border-width;
|
|
126
|
+
inset-inline-start: selectable-variables.$border-width;
|
|
125
127
|
position: absolute;
|
|
126
|
-
|
|
127
|
-
|
|
128
|
+
inset-block-start: selectable-variables.$border-width;
|
|
129
|
+
inline-size: selectable-variables.$size - 2 * selectable-variables.$border-width;
|
|
128
130
|
}
|
|
129
131
|
}
|
|
130
132
|
|
|
@@ -134,10 +136,10 @@
|
|
|
134
136
|
+ label::before {
|
|
135
137
|
box-shadow: 0 0 0 selectable-variables.$focus-border-width
|
|
136
138
|
var(--dso-selectable-color, selectable-variables.$valid-color);
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
139
|
+
block-size: selectable-variables.$size - 2 * selectable-variables.$focus-border-width;
|
|
140
|
+
inset-inline-start: selectable-variables.$focus-border-width;
|
|
141
|
+
inset-block-start: selectable-variables.$focus-border-width;
|
|
142
|
+
inline-size: selectable-variables.$size - 2 * selectable-variables.$focus-border-width;
|
|
141
143
|
}
|
|
142
144
|
}
|
|
143
145
|
|
|
@@ -146,10 +148,10 @@
|
|
|
146
148
|
+ label::before {
|
|
147
149
|
background-color: selectable-variables.$active-background-color;
|
|
148
150
|
box-shadow: 0 0 0 1px selectable-variables.$valid-color;
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
151
|
+
block-size: selectable-variables.$size - 2px;
|
|
152
|
+
inset-inline-start: 1px;
|
|
153
|
+
inset-block-start: 1px;
|
|
154
|
+
inline-size: selectable-variables.$size - 2px;
|
|
153
155
|
}
|
|
154
156
|
}
|
|
155
157
|
}
|
|
@@ -163,10 +165,10 @@
|
|
|
163
165
|
&::after {
|
|
164
166
|
background: transparent;
|
|
165
167
|
content: "";
|
|
166
|
-
|
|
168
|
+
inset-inline-start: 6px;
|
|
167
169
|
opacity: 0;
|
|
168
170
|
position: absolute;
|
|
169
|
-
|
|
171
|
+
inset-block-start: 6px;
|
|
170
172
|
zoom: 1;
|
|
171
173
|
}
|
|
172
174
|
}
|
|
@@ -185,11 +187,11 @@
|
|
|
185
187
|
&::after {
|
|
186
188
|
border: solid;
|
|
187
189
|
border-color: var(--dso-selectable-color, selectable-variables.$valid-marker-color);
|
|
188
|
-
border-
|
|
190
|
+
border-block-start-color: transparent;
|
|
189
191
|
border-width: 0 0 3px 3px;
|
|
190
|
-
|
|
192
|
+
block-size: 8px;
|
|
191
193
|
transform: rotate(-45deg);
|
|
192
|
-
|
|
194
|
+
inline-size: 13px;
|
|
193
195
|
}
|
|
194
196
|
}
|
|
195
197
|
}
|
|
@@ -198,8 +200,8 @@
|
|
|
198
200
|
+ label {
|
|
199
201
|
&::after {
|
|
200
202
|
background-color: var(--dso-selectable-color, selectable-variables.$valid-marker-color);
|
|
201
|
-
|
|
202
|
-
|
|
203
|
+
block-size: selectable-variables.$indeterminate-size;
|
|
204
|
+
inline-size: selectable-variables.$indeterminate-size;
|
|
203
205
|
}
|
|
204
206
|
}
|
|
205
207
|
}
|
|
@@ -215,12 +217,12 @@
|
|
|
215
217
|
background-color: transparent;
|
|
216
218
|
border-radius: 50%;
|
|
217
219
|
content: "";
|
|
218
|
-
|
|
219
|
-
|
|
220
|
+
block-size: 12px;
|
|
221
|
+
inset-inline-start: 6px;
|
|
220
222
|
opacity: 0;
|
|
221
223
|
position: absolute;
|
|
222
|
-
|
|
223
|
-
|
|
224
|
+
inset-block-start: 6px;
|
|
225
|
+
inline-size: 12px;
|
|
224
226
|
zoom: 1;
|
|
225
227
|
}
|
|
226
228
|
}
|