File size: 3,093 Bytes
82b391b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
815c0e8
82b391b
 
 
f67971f
82b391b
 
f67971f
82b391b
 
 
f67971f
82b391b
f67971f
 
 
 
 
 
 
 
 
 
82b391b
 
91005d4
 
 
 
 
 
 
 
 
 
 
f67971f
 
 
 
 
 
91005d4
f67971f
 
 
91005d4
 
f67971f
 
 
 
 
91005d4
 
82b391b
 
 
 
 
 
1a3aeb0
 
815c0e8
 
1a3aeb0
 
 
 
 
 
 
 
 
 
815c0e8
82b391b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f67971f
 
 
 
 
 
 
82b391b
 
 
 
 
 
 
 
 
 
 
f67971f
1a3aeb0
 
 
 
 
 
f67971f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
.sidebar {
	max-width: 260px;
	padding: var(--section-gap);
	overflow: auto;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.sidebar .title {
	font-size: 14px;
	font-weight: 500;
}

.sidebar .conversation-sidebar {
	padding: 8px 12px;
	display: flex;
	gap: 18px;
	align-items: center;
	user-select: none;
	justify-content: space-between;
}

.sidebar .conversation-sidebar .left {
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 10px;
}

.sidebar i {
	color: var(--conversations);
	cursor: pointer;
}

.sidebar .top {
	display: flex;
	flex-direction: column;
	gap: 16px;
	overflow: auto;
	padding-right: 8px;
}

.sidebar .info {
	padding: 8px 12px 0px 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	user-select: none;
	background: transparent;
	width: 100%;
	border: none;
	text-decoration: none;
}

.sidebar .info span {
	color: var(--conversations);
	line-height: 1.5;
	font-size: 0.75rem;
}

.sidebar .info i::before {
	margin-right: 8px;
}

.sidebar-footer {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sidebar-footer button {
	cursor: pointer;
	user-select: none;
	background: transparent;
}

.sidebar.shown {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1000;
}

.sidebar.shown .box {
	background-color: #16171a;
	width: 80%;
	height: 100%;
	overflow-y: auto;
}

@keyframes spinner {
	to {
		transform: rotate(360deg);
	}
}

/* scrollbar */
.sidebar .top::-webkit-scrollbar {
	width: 4px;
	padding: 8px 0px;
}

.sidebar .top::-webkit-scrollbar-track {
	background-color: #ffffff00;
}

.sidebar .top::-webkit-scrollbar-thumb {
	background-color: #555555;
	border-radius: 10px;
}

.spinner:before {
	content: "";
	box-sizing: border-box;
	position: absolute;
	top: 50%;
	left: 45%;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 1px solid var(--conversations);
	border-top-color: white;
	animation: spinner 0.6s linear infinite;
}

.mobile-sidebar {
	display: none !important;
	position: absolute;
	z-index: 100000;
	top: 0;
	left: 0;
	margin: 10px;
	font-size: 20px;
	cursor: pointer;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	background-color: var(--blur-bg);
	border-radius: 10px;
	border: 1px solid var(--blur-border);
	width: 40px;
	height: 40px;
	justify-content: center;
	align-items: center;
	transition: 0.33s;
}

.mobile-sidebar i {
	transition: 0.33s;
}

.rotated {
	transform: rotate(360deg);
}

.mobile-sidebar.rotated {
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 1001;
}

@media screen and (max-width: 990px) {
	.sidebar {
		display: none;
		width: 100%;
		max-width: none;
	}

	.mobile-sidebar {
		display: flex !important;
	}
}

@media (max-width: 990px) {
	.sidebar .top {
		padding-top: 48px;
	}
}

@media (min-width: 768px) {
	.sidebar.shown {
		position: static;
		width: auto;
		height: auto;
		background-color: transparent;
	}

	.sidebar.shown .box {
		background-color: #16171a;
		width: auto;
		height: auto;
		overflow-y: auto;
	}
}