govuk_publishing_components 61.1.2 → 61.1.3
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1878d4d6d14ca689026e5a500cf936e1f28fbf00aa3a2dc88c490debb6603ed4
|
4
|
+
data.tar.gz: af35fb87113596385f1c0dcebac435b97884fc0b6efd29d1e5f2f23a01078223
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b831f140ec050d9ceac838f5964ae495aa8c6f8d61145831bc290de7734b66939d7c6edbec9cfa8ed6c1dd545beb18be8331c20167cc58a295b57fcaaff718c8
|
7
|
+
data.tar.gz: af3a652bdd6156524b42bf7be3d01e1d48cf5e72e6f69b07789bc7c62fa29d4487e3dad3384d0292e300a85a880279475f53601311649d9088f16f9bdb877283
|
@@ -31,6 +31,10 @@ $choices-button-dimension: 12px !default;
|
|
31
31
|
opacity: 1;
|
32
32
|
}
|
33
33
|
|
34
|
+
.choices__placeholder {
|
35
|
+
opacity: 0.6;
|
36
|
+
}
|
37
|
+
|
34
38
|
.choices[data-type*="select-one"]::after {
|
35
39
|
@include govuk-shape-arrow($direction: down, $base: 10px, $display: inline-block);
|
36
40
|
@include prefixed-transform($translateY: -50%);
|
@@ -171,3 +175,12 @@ $choices-button-dimension: 12px !default;
|
|
171
175
|
cursor: default;
|
172
176
|
}
|
173
177
|
}
|
178
|
+
|
179
|
+
// High contrast mode adjustments
|
180
|
+
@media (forced-colors: active) {
|
181
|
+
.choices__list--dropdown .choices__item--selectable.is-highlighted,
|
182
|
+
.choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
|
183
|
+
forced-color-adjust: none; // opt out of all default forced-colors adjustments
|
184
|
+
background-color: Highlight;
|
185
|
+
}
|
186
|
+
}
|