-
Notifications
You must be signed in to change notification settings - Fork 0
/
swipe_menu.css
102 lines (101 loc) · 1.84 KB
/
swipe_menu.css
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
.swipe-menu{
position: relative;
overflow: hidden;
height: 100%;
min-height: 0;
background: white;
color: black;
font-family: sans-serif;
transition: 0.3s;
}
.dark .swipe-menu{
background: #282a36;
color: white;
}
.swipe-menu > .back_button{
display: none;
}
.swipe-menu ul{
padding: 0;
margin: 0;
list-style-type: none;
background: inherit;
height: 100%;
width: 100%;
min-height: 0;
transition: filter 0.5s, min-height 0.3s;
white-space: nowrap;
}
.swipe-menu ul li{
padding: 15px;
border-bottom: 1px solid grey;
transition: 0.3s;
cursor: pointer;
color: var(--text-color);
display: flex;
align-items: center;
gap: 6px;
}
.swipe-menu ul li a{
text-decoration: none;
color: var(--text-color);
}
.swipe-menu ul li:last-child{
border-bottom: 0;
}
.swipe-menu ul li > i{
width: 18px;
height: 18px;
}
.swipe-menu ul li:hover{
background: lightgrey;
}
.dark .swipe-menu ul li:hover{
background: #405070;
}
.swipe-menu ul li.menu_title{
pointer-events: none;
text-align: center;
font-weight: bold;
font-size: 1.1em;
justify-content: center;
}
.swipe-menu ul li > .helper{
font-size: 0.9em;
color: grey;
}
.space-between.swipe-menu ul li > .helper{
margin-left: auto;
}
.swipe-menu ul li.selected{
background: #28bcff;
}
.swipe-menu ul li.selected:hover{
background: #00a3ff;
}
.dark .swipe-menu ul li.selected{
background: #005f94;
}
.dark .swipe-menu ul li.selected:hover{
background: #00446a;
}
.swipe-menu .submenu{
position: absolute;
transition: left 0.5s, right 0.5s;
top: 0;
}
.back_button{
background: lightgrey;
}
.back_button:hover{
background: #ababab !important;
}
.dark .back_button{
background: #323241;
}
.dark .back_button:hover{
background: #576c97 !important;
}
.dark .swipe-menu ul li > .helper{
color: lightgrey;
}