-
Notifications
You must be signed in to change notification settings - Fork 1
/
drawer.css
137 lines (123 loc) · 2.05 KB
/
drawer.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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
#drawer_js {
margin: 0;
padding: 0;
display: block;
position: fixed;
left: 0px;
transform: translateX(-300px);
top: 0;
width: 280px;
height: 100%;
background-color: #FFF;
z-index: 999;
}
.__modal_drawer {
background-color: rgba(0, 0, 0, 0.5);
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 998;
display: none;
opacity: 0;
}
.__header {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 170px;
display: flex;
flex-direction: column;
justify-content: flex-end;
background: lightblue;
background-position: center;
background-size: cover;
}
.__header::before {
content: "";
display: block;
position: absolute;
top: 55px;
left: 0;
height: 115px;
width: 100%;
background-color: black;
z-index: 1;
background: -webkit-linear-gradient(top, transparent 4%, #0000008c);
}
.__user_photo {
display: block;
width: 60px;
margin-left: 30px;
margin-bottom: 10px;
z-index: 1;
height: 60px;
border-radius: 50%;
background-position: center;
background-size: cover;
}
.__main_title {
display: block;
color: white;
margin-left: 30px;
margin-bottom: 3px;
z-index: 1;
font-family: 'Roboto', sans-serif;
font-size: 23px;
}
.__sub_title {
display: block;
color: white;
margin-left: 30px;
margin-bottom: 15px;
z-index: 1;
font-family: 'Roboto', sans-serif;
font-size: 15px;
opacity: 0.8;
}
.__sub_title:empty {
display: none;
}
.__menu {
position: absolute;
top: 170px;
width: 100%;
height: calc(100vh - 170px);
overflow-y: auto;
overflow-x: hidden;
}
.__menu_items {
padding: 0;
padding-top: 20px;
list-style: none;
color: rgba(0, 0, 0, 0.8);
margin: 0;
font-family: 'Roboto', sans-serif;
}
.__menu_separator p {
padding-left: 20px;
}
.__menu_action {
text-decoration: none;
color: inherit;
display: flex;
padding: 11px 0 11px 18px;
justify-content: flex-start;
align-items: center;
cursor: pointer;
}
.__menu_action * {
cursor: pointer;
}
.__menu_action:hover {
background-color: #E8E8E8;
}
.__menu_icon {
color: inherit;
margin-right: 25px;
}
.__menu_item_label {
font-size: 19px;
}