blob: 63ede50859b01d5a4f3a8be8f5d55646121368b5 (
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}
.sl-hidden {
display: none;
}
.sl-flex {
display: flex;
}
.sl-block {
display: block;
}
@media (min-width: 50rem) {
.md\:sl-hidden {
display: none;
}
.md\:sl-flex {
display: flex;
}
.md\:sl-block {
display: block;
}
}
@media (min-width: 72rem) {
.lg\:sl-hidden {
display: none;
}
.lg\:sl-flex {
display: flex;
}
.lg\:sl-block {
display: block;
}
}
[data-theme="light"] .light\:sl-hidden {
display: none;
}
[data-theme="dark"] .dark\:sl-hidden {
display: none;
}
/*
Flip an element around the y-axis when in an RTL context.
Primarily useful for things where we can’t rely on writing direction like icons.
<Icon name="right-arrow" class="rtl:flip" />
In a LTR context: → In a RTL context: ←
*/
[dir="rtl"] .rtl\:flip:not(:where([dir="rtl"] [dir="ltr"] *)) {
transform: matrix(-1, 0, 0, 1, 0, 0);
}
|