blob: 2e85a517e534e0cff555955277bd42613c24ffa9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
@use "../abstracts/functions" as fun;
@use "../abstracts/mixins" as mix;
.hide {
display: none;
}
/* Text meant only for screen readers. */
.screen-reader-text {
border: 0;
clip: rect(1px, 1px, 1px, 1px);
height: fun.convert-px(1);
overflow: hidden;
padding: 0;
position: absolute !important;
width: fun.convert-px(1);
word-break: normal;
word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
&:focus {
background: fun.get-var(color-bg);
border: fun.convert-px(3) solid fun.get-var(color-border);
box-shadow: 0 0 fun.convert-px(2) fun.convert-px(2)
fun.get-var(color-shadow-light);
clip: auto !important;
color: fun.get-var(color-primary);
display: block;
font-size: fun.get-var(font-size-md);
font-weight: 600;
height: auto;
left: 0;
padding: fun.get-var(spacing-sm) fun.get-var(spacing-md);
top: 0;
width: auto;
z-index: 100000;
}
}
@include mix.motion("reduce") {
* {
animation: none !important;
transition: none !important;
}
}
|