dso-toolkit 62.15.2 → 62.17.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 +23 -1
- package/dist/dso.css +83 -11
- package/dist/dso.css.map +1 -1
- package/dist/dso.min.css +1 -1
- package/dist/dso.min.css.map +1 -1
- package/package.json +1 -1
- package/src/components/advanced-select/advanced-select.variables.scss +2 -0
- package/src/components/grid/grid.scss +30 -4
- package/src/components/highlight-box/highlight-box.mixins.scss +20 -2
- package/src/components/highlight-box/highlight-box.scss +2 -0
package/package.json
CHANGED
|
@@ -38,6 +38,8 @@ $option-hover-color: $option-active-color;
|
|
|
38
38
|
$option-hover-bg-color: colors.$grasgroen-10;
|
|
39
39
|
$option-hover-font-weight: $option-active-font-weight;
|
|
40
40
|
|
|
41
|
+
$option-placeholder-color: colors.$grijs-60;
|
|
42
|
+
|
|
41
43
|
$default-variant-color: colors.$grijs-20;
|
|
42
44
|
$info-variant-color: colors.$info-color;
|
|
43
45
|
$primary-variant-color: colors.$bosgroen;
|
|
@@ -58,6 +58,13 @@ form {
|
|
|
58
58
|
@include css-grid-mixins.make-row();
|
|
59
59
|
|
|
60
60
|
&.dso-equal-heights {
|
|
61
|
+
&:has(.dso-highlight-box, dso-highlight-box) {
|
|
62
|
+
--highlight-box-block-size: 100%;
|
|
63
|
+
--highlight-box-min-block-size: auto;
|
|
64
|
+
--highlight-box-counter-block-size: calc(100% - #{units.$shared-equal-heights-highlight-box-height});
|
|
65
|
+
--highlight-box-nocounter-block-size: calc(100% - #{units.$u2});
|
|
66
|
+
}
|
|
67
|
+
|
|
61
68
|
display: flex;
|
|
62
69
|
flex-wrap: wrap;
|
|
63
70
|
|
|
@@ -77,13 +84,16 @@ form {
|
|
|
77
84
|
}
|
|
78
85
|
|
|
79
86
|
&.dso-banner {
|
|
87
|
+
--dso-banner-background-color: #{colors.$grasgroen-10};
|
|
88
|
+
|
|
80
89
|
@include css-grid-mixins.full-width-row(css-grid-variables.$grid-gutter-width);
|
|
81
90
|
|
|
91
|
+
position: relative;
|
|
92
|
+
|
|
82
93
|
min-height: 352px;
|
|
94
|
+
overflow: hidden;
|
|
83
95
|
|
|
84
96
|
@media only screen and (min-width: media-query-breakpoints.$screen-sm-min) {
|
|
85
|
-
position: relative;
|
|
86
|
-
|
|
87
97
|
padding-block-start: units.$u3;
|
|
88
98
|
}
|
|
89
99
|
|
|
@@ -110,8 +120,7 @@ form {
|
|
|
110
120
|
min-block-size: calc(100 / 6) + dvi;
|
|
111
121
|
|
|
112
122
|
background-image: inherit; // inherits from parent, external style set by implememnter
|
|
113
|
-
background-color:
|
|
114
|
-
background-position: center;
|
|
123
|
+
background-color: var(--dso-banner-background-color);
|
|
115
124
|
background-repeat: no-repeat;
|
|
116
125
|
background-size: cover;
|
|
117
126
|
|
|
@@ -122,6 +131,23 @@ form {
|
|
|
122
131
|
min-block-size: unset;
|
|
123
132
|
}
|
|
124
133
|
}
|
|
134
|
+
|
|
135
|
+
&::after {
|
|
136
|
+
// synthetic background, offsetting the 'background-size: 0' property set above
|
|
137
|
+
content: "";
|
|
138
|
+
|
|
139
|
+
position: absolute;
|
|
140
|
+
inset: 0;
|
|
141
|
+
z-index: -1;
|
|
142
|
+
|
|
143
|
+
display: block;
|
|
144
|
+
|
|
145
|
+
background-color: var(--dso-banner-background-color);
|
|
146
|
+
|
|
147
|
+
@media only screen and (min-width: media-query-breakpoints.$screen-sm-min) {
|
|
148
|
+
display: none;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
125
151
|
}
|
|
126
152
|
|
|
127
153
|
&.dso-featured {
|
|
@@ -12,9 +12,21 @@
|
|
|
12
12
|
margin-top: units.$u2;
|
|
13
13
|
padding: units.$u2;
|
|
14
14
|
margin-bottom: units.$vertical-spacing-large;
|
|
15
|
+
|
|
16
|
+
block-size: var(--highlight-box-block-size, unset);
|
|
17
|
+
min-block-size: var(--highlight-box-min-block-size, unset);
|
|
18
|
+
|
|
19
|
+
&[has-counter] {
|
|
20
|
+
block-size: var(--highlight-box-counter-block-size, unset);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&:not([has-counter]) {
|
|
24
|
+
block-size: var(--highlight-box-nocounter-block-size, unset);
|
|
25
|
+
}
|
|
15
26
|
}
|
|
16
27
|
|
|
17
28
|
@mixin children(
|
|
29
|
+
$grey-selector,
|
|
18
30
|
$white-selector,
|
|
19
31
|
$yellow-selector,
|
|
20
32
|
$drop-shadow-selector,
|
|
@@ -26,6 +38,10 @@
|
|
|
26
38
|
@include set-colors.apply(colors.$grijs-5);
|
|
27
39
|
}
|
|
28
40
|
|
|
41
|
+
&#{$grey-selector} {
|
|
42
|
+
@include set-colors.apply(colors.$grijs-5);
|
|
43
|
+
}
|
|
44
|
+
|
|
29
45
|
&#{$white-selector} {
|
|
30
46
|
@include set-colors.apply(colors.$wit);
|
|
31
47
|
}
|
|
@@ -39,12 +55,14 @@
|
|
|
39
55
|
}
|
|
40
56
|
|
|
41
57
|
&#{$border-selector} {
|
|
42
|
-
@include set-colors.apply(colors.$wit);
|
|
43
|
-
|
|
44
58
|
border: 1px solid colors.$grijs-20;
|
|
45
59
|
padding: units.$u2 - 1;
|
|
46
60
|
}
|
|
47
61
|
|
|
62
|
+
&#{$border-selector}:not(#{$grey-selector}, #{$yellow-selector}) {
|
|
63
|
+
@include set-colors.apply(colors.$wit, $border-color: colors.$grijs-20);
|
|
64
|
+
}
|
|
65
|
+
|
|
48
66
|
&#{$has-counter-selector} {
|
|
49
67
|
margin-top: highlight-box-variables.$margin-top;
|
|
50
68
|
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
.dso-highlight-box {
|
|
9
9
|
@include highlight-box.root();
|
|
10
10
|
@include highlight-box.children(
|
|
11
|
+
$grey-selector: ".dso-grey",
|
|
11
12
|
$white-selector: ".dso-white",
|
|
12
13
|
$yellow-selector: ".dso-yellow",
|
|
13
14
|
$drop-shadow-selector: ".dso-drop-shadow",
|
|
@@ -61,6 +62,7 @@
|
|
|
61
62
|
// Web Component
|
|
62
63
|
dso-highlight-box {
|
|
63
64
|
@include highlight-box.children(
|
|
65
|
+
$grey-selector: "[grey]",
|
|
64
66
|
$white-selector: "[white]",
|
|
65
67
|
$yellow-selector: "[yellow]",
|
|
66
68
|
$drop-shadow-selector: "[drop-shadow]",
|