blob: 4fe082d6186e1de5bef84e8ed8ca9436b7c630fe (
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
|
.mobileMenuToggle {
display: none;
}
.mobileNavigation {
position: fixed;
inset: 0;
width: 100%;
height: 100dvh;
max-width: none;
max-height: none;
margin: 0;
padding: 0;
border: 0;
box-sizing: border-box;
background: var(--bg);
color: var(--text);
overflow: hidden;
}
.mobileNavigation[open] {
display: flex;
flex-direction: column;
}
.mobileNavigation::backdrop {
background: var(--bg);
}
.mobileNavigationHeader {
display: flex;
align-items: center;
justify-content: space-between;
flex-shrink: 0;
min-height: 64px;
padding: env(safe-area-inset-top) 16px 0;
border-bottom: 1px solid var(--border);
font-size: 16px;
font-weight: 600;
color: var(--text-h);
}
.mobileNavigationContent {
flex: 1;
min-height: 0;
padding: 16px max(12px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
}
@media (max-width: 640px) {
.mobileMenuToggle {
display: block;
}
}
|