Skip to content

Commit 85a4140

Browse files
committed
hide the icons in high contrast mode
1 parent cca2c00 commit 85a4140

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

tbx/static_src/sass/components/_animated-icon.scss

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
transition: none;
1515
}
1616

17+
@include high-contrast-mode() {
18+
display: none;
19+
}
20+
1721
#{$root}__megaphone {
1822
width: 35px;
1923
height: 30px;
@@ -61,6 +65,10 @@
6165
height: 65px;
6266
}
6367

68+
@include high-contrast-mode() {
69+
display: none;
70+
}
71+
6472
#{$root}__head {
6573
position: absolute;
6674
width: 50px;
@@ -189,6 +197,10 @@
189197
height: 65px;
190198
}
191199

200+
@include high-contrast-mode() {
201+
display: none;
202+
}
203+
192204
#{$root}__center {
193205
position: absolute;
194206
width: 5px;
@@ -269,6 +281,10 @@
269281
height: 90px;
270282
}
271283

284+
@include high-contrast-mode() {
285+
display: none;
286+
}
287+
272288
#{$root}__lightbulb-inner {
273289
position: absolute;
274290
width: 14px;

0 commit comments

Comments
 (0)