-
Notifications
You must be signed in to change notification settings - Fork 246
/
Copy pathmobile-menu.module.scss
54 lines (47 loc) · 1.05 KB
/
mobile-menu.module.scss
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
@use "@pythnetwork/component-library/theme";
.mobileMenuTrigger {
display: block;
@include theme.breakpoint("md") {
display: none;
}
}
.mobileMenuOverlay {
background: rgb(0 0 0 / 40%);
position: fixed;
inset: 0;
z-index: 999;
}
.mobileMenuContainer {
border-top-left-radius: theme.border-radius("2xl");
border-top-right-radius: theme.border-radius("2xl");
background: theme.color("background", "modal");
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 1rem;
display: flex;
flex-flow: column nowrap;
gap: theme.spacing(4);
}
.mobileMenuHandle {
background: theme.color("background", "secondary");
width: 33%;
height: 6px;
border-radius: theme.border-radius("full");
align-self: center;
}
.mobileThemeSwitcher {
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
align-items: center;
}
.mobileThemeSwitcherFeedback {
display: flex;
flex-flow: row nowrap;
align-items: center;
gap: theme.spacing(3);
text-transform: capitalize;
font-weight: theme.font-weight("medium");
}