Spaces:
Sleeping
Sleeping
Update application/static/css/style.css
Browse files- application/static/css/style.css +473 -258
application/static/css/style.css
CHANGED
@@ -1,343 +1,558 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
::-webkit-scrollbar {
|
2 |
-
width:
|
3 |
}
|
4 |
|
5 |
::-webkit-scrollbar-track {
|
6 |
-
background:
|
|
|
7 |
}
|
8 |
|
9 |
::-webkit-scrollbar-thumb {
|
10 |
-
background:
|
11 |
-
border-radius:
|
|
|
12 |
}
|
13 |
|
14 |
::-webkit-scrollbar-thumb:hover {
|
15 |
-
background:
|
16 |
}
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
background-color: rgb(2,2,8);
|
21 |
-
width: 100vw;
|
22 |
height: 100vh;
|
|
|
23 |
overflow: hidden;
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
}
|
29 |
-
|
|
|
|
|
30 |
position: fixed;
|
31 |
-
|
32 |
-
|
33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
display: flex;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
}
|
36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
display: flex;
|
38 |
flex-direction: column;
|
39 |
-
gap:
|
40 |
-
width: 20vh;
|
41 |
-
color: white;
|
42 |
-
margin: 1vw;
|
43 |
cursor: pointer;
|
44 |
-
|
45 |
-
z-index: 101;
|
46 |
-
margin: 10px;
|
47 |
}
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
}
|
53 |
-
|
54 |
-
|
55 |
-
width:
|
56 |
-
|
57 |
}
|
58 |
|
59 |
-
.
|
60 |
-
|
61 |
-
|
62 |
}
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
}
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
|
|
|
|
72 |
position: fixed;
|
73 |
top: 0;
|
74 |
left: 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
display: flex;
|
76 |
flex-direction: column;
|
77 |
-
overflow-y: auto;
|
78 |
}
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
color: gray;
|
83 |
-
font-size: large;
|
84 |
-
cursor: pointer;
|
85 |
-
font-weight: 400;
|
86 |
-
position: relative;
|
87 |
-
font-size: large;
|
88 |
}
|
89 |
-
|
90 |
-
|
91 |
-
|
|
|
92 |
}
|
93 |
-
|
94 |
-
|
95 |
-
margin-left: 1vw;
|
96 |
-
font-weight: 300;
|
97 |
display: flex;
|
98 |
-
|
99 |
-
gap:
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
min-height: 5vh;
|
106 |
cursor: pointer;
|
107 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
display: flex;
|
|
|
109 |
align-items: center;
|
110 |
-
|
111 |
-
border-radius: 10px;
|
112 |
-
overflow: hidden;
|
113 |
-
padding-top: 1%;
|
114 |
-
padding-bottom: 1%;
|
115 |
-
position: relative;
|
116 |
}
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
|
|
131 |
display: flex;
|
132 |
align-items: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
|
|
|
|
|
134 |
}
|
135 |
|
|
|
136 |
.container {
|
137 |
-
|
138 |
-
|
139 |
-
height: 90%;
|
140 |
-
position: absolute;
|
141 |
-
z-index: 50;
|
142 |
-
top: 8vh;
|
143 |
display: flex;
|
144 |
-
flex-direction: column;
|
145 |
-
|
146 |
-
z-index: 1;
|
147 |
}
|
148 |
|
149 |
-
.
|
150 |
-
|
|
|
|
|
151 |
display: flex;
|
152 |
-
flex-direction:
|
153 |
-
|
154 |
-
|
155 |
-
background-color: rgba(51, 51, 51, 0.4);
|
156 |
-
padding: 10px;
|
157 |
-
border-top-right-radius: 50px;
|
158 |
-
border-bottom-left-radius: 20px;
|
159 |
-
border-top-left-radius: 20px;
|
160 |
-
border-bottom-right-radius: 50px;
|
161 |
-
font-size: large;
|
162 |
-
position: relative;
|
163 |
-
margin-top: auto;
|
164 |
-
align-self: center;
|
165 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
166 |
}
|
167 |
|
168 |
-
.
|
169 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
170 |
background: none;
|
171 |
-
outline: none;
|
172 |
border: none;
|
173 |
-
|
174 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
}
|
176 |
-
|
177 |
-
|
|
|
|
|
178 |
border: none;
|
179 |
-
color:
|
180 |
-
font-size:
|
181 |
cursor: pointer;
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
}
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
flex-direction: column;
|
192 |
-
position: relative;
|
193 |
}
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
padding: 0.5vh 1.5vh 0.5vh 1.5vh;
|
199 |
-
text-align: left;
|
200 |
-
font-weight: 300;
|
201 |
-
border-radius: 10px;
|
202 |
-
line-height: 130%;
|
203 |
-
|
204 |
}
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
}
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
216 |
}
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
color: #c5c5c5;
|
223 |
-
background-color: rgba(28, 28, 28, 0.5);
|
224 |
-
padding: 20px;
|
225 |
-
border-radius: 10px;
|
226 |
-
border: 2px solid rgba(255,255,255,0.1);
|
227 |
-
font-family: 'Inter';
|
228 |
}
|
229 |
|
230 |
-
.
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
|
|
|
|
|
|
|
|
|
|
236 |
}
|
237 |
-
|
238 |
-
|
239 |
-
|
|
|
240 |
}
|
241 |
-
|
242 |
-
|
243 |
-
|
|
|
|
|
|
|
|
|
244 |
}
|
245 |
|
246 |
-
|
247 |
-
|
|
|
|
|
|
|
248 |
}
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
outline: none;
|
254 |
-
background-color: rgb(43, 43, 43);
|
255 |
-
color: rgb(177, 177, 177);
|
256 |
border: none;
|
257 |
-
|
|
|
|
|
|
|
|
|
|
|
258 |
}
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
background
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
|
|
|
|
|
|
|
|
274 |
display: flex;
|
275 |
flex-direction: column;
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
.alert p{
|
284 |
-
float: left;
|
285 |
-
font-family: 'Inter';
|
286 |
-
font-weight: 300;
|
287 |
-
font-size: 15px;
|
288 |
-
color: #cfcfcf;
|
289 |
-
opacity: 0.9;
|
290 |
-
padding-left: 10px;
|
291 |
-
}
|
292 |
-
.closeAlert{
|
293 |
-
margin-left: auto;
|
294 |
-
margin-right: 10px;
|
295 |
-
margin-top: 10px;
|
296 |
-
background-color: rgb(247, 102, 102);
|
297 |
-
padding: 10px;
|
298 |
-
cursor: pointer;
|
299 |
-
border-radius: 10px;
|
300 |
-
color: #ffffff;
|
301 |
}
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
color:
|
306 |
-
padding: 7.5px;
|
307 |
-
border-radius: 10px;
|
308 |
-
background: linear-gradient(to right, #4A148C, #9c18e3);
|
309 |
-
cursor: pointer;
|
310 |
-
display: inline-block;
|
311 |
-
font-size: 13px;
|
312 |
-
max-width: 77px;
|
313 |
}
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
color:
|
324 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
325 |
cursor: pointer;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
326 |
border: none;
|
327 |
-
|
|
|
|
|
|
|
|
|
328 |
}
|
329 |
|
330 |
-
|
331 |
-
|
332 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
333 |
}
|
334 |
-
|
335 |
-
|
|
|
336 |
}
|
337 |
-
|
338 |
-
|
|
|
339 |
}
|
340 |
-
|
|
|
341 |
max-width: 90%;
|
342 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
343 |
}
|
|
|
1 |
+
/* Base Styles & Reset */
|
2 |
+
:root {
|
3 |
+
--primary-color: #7710ee;
|
4 |
+
--primary-light: rgba(119, 16, 238, 0.55);
|
5 |
+
--background-dark: rgb(2,2,8);
|
6 |
+
--background-light: rgb(5,5,20);
|
7 |
+
--text-primary: #e1e1e1;
|
8 |
+
--text-secondary: #b4b4b4;
|
9 |
+
--surface-1: rgba(40, 40, 60, 0.6);
|
10 |
+
--surface-2: rgba(50, 50, 70, 0.4);
|
11 |
+
--surface-3: rgba(60, 60, 80, 0.4);
|
12 |
+
--border-color: rgba(255, 255, 255, 0.07);
|
13 |
+
--shadow-color: rgba(0, 0, 0, 0.2);
|
14 |
+
--transition-standard: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
15 |
+
}
|
16 |
+
|
17 |
+
* {
|
18 |
+
margin: 0;
|
19 |
+
padding: 0;
|
20 |
+
box-sizing: border-box;
|
21 |
+
}
|
22 |
+
|
23 |
+
/* Scrollbar Styling */
|
24 |
::-webkit-scrollbar {
|
25 |
+
width: 8px;
|
26 |
}
|
27 |
|
28 |
::-webkit-scrollbar-track {
|
29 |
+
background: rgba(0, 0, 0, 0.2);
|
30 |
+
border-radius: 10px;
|
31 |
}
|
32 |
|
33 |
::-webkit-scrollbar-thumb {
|
34 |
+
background: rgba(255, 255, 255, 0.1);
|
35 |
+
border-radius: 10px;
|
36 |
+
border: 2px solid rgba(255, 255, 255, 0.05);
|
37 |
}
|
38 |
|
39 |
::-webkit-scrollbar-thumb:hover {
|
40 |
+
background: rgba(255, 255, 255, 0.2);
|
41 |
}
|
42 |
+
|
43 |
+
/* Base Layout */
|
44 |
+
html, body {
|
|
|
|
|
45 |
height: 100vh;
|
46 |
+
width: 100vw;
|
47 |
overflow: hidden;
|
48 |
+
font-family: 'Inter', sans-serif;
|
49 |
+
background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-light) 100%);
|
50 |
+
color: var(--text-primary);
|
51 |
+
line-height: 1.6;
|
52 |
}
|
53 |
+
|
54 |
+
/* Navigation Styles */
|
55 |
+
.nav-container {
|
56 |
position: fixed;
|
57 |
+
top: 0;
|
58 |
+
width: 100%;
|
59 |
+
height: 60px;
|
60 |
+
background: rgba(10, 10, 20, 0.7);
|
61 |
+
backdrop-filter: blur(10px);
|
62 |
+
border-bottom: 1px solid var(--border-color);
|
63 |
+
z-index: 1000;
|
64 |
+
}
|
65 |
+
|
66 |
+
.nav-content {
|
67 |
+
max-width: 1400px;
|
68 |
+
margin: 0 auto;
|
69 |
+
height: 100%;
|
70 |
display: flex;
|
71 |
+
justify-content: space-between;
|
72 |
+
align-items: center;
|
73 |
+
padding: 0 20px;
|
74 |
+
}
|
75 |
+
|
76 |
+
.nav-left, .nav-right {
|
77 |
+
display: flex;
|
78 |
+
align-items: center;
|
79 |
+
gap: 20px;
|
80 |
}
|
81 |
+
|
82 |
+
.brand {
|
83 |
+
display: flex;
|
84 |
+
align-items: baseline;
|
85 |
+
gap: 8px;
|
86 |
+
}
|
87 |
+
|
88 |
+
.brand-text {
|
89 |
+
font-family: 'Poppins', sans-serif;
|
90 |
+
font-weight: 600;
|
91 |
+
font-size: 1.25rem;
|
92 |
+
background: linear-gradient(45deg, #7710ee, #b44dff);
|
93 |
+
-webkit-background-clip: text;
|
94 |
+
-webkit-text-fill-color: transparent;
|
95 |
+
}
|
96 |
+
|
97 |
+
.brand-version {
|
98 |
+
font-size: 0.75rem;
|
99 |
+
color: var(--text-secondary);
|
100 |
+
}
|
101 |
+
|
102 |
+
/* Hamburger Menu */
|
103 |
+
.hamburger {
|
104 |
display: flex;
|
105 |
flex-direction: column;
|
106 |
+
gap: 6px;
|
|
|
|
|
|
|
107 |
cursor: pointer;
|
108 |
+
padding: 8px;
|
|
|
|
|
109 |
}
|
110 |
+
|
111 |
+
.line1, .line2 {
|
112 |
+
height: 2px;
|
113 |
+
transition: var(--transition-standard);
|
114 |
}
|
115 |
+
|
116 |
+
.line1 {
|
117 |
+
width: 24px;
|
118 |
+
background: linear-gradient(90deg, #7710ee, #b44dff);
|
119 |
}
|
120 |
|
121 |
+
.line2 {
|
122 |
+
width: 16px;
|
123 |
+
background: linear-gradient(90deg, #7710ee, #b44dff);
|
124 |
}
|
125 |
+
|
126 |
+
.hamburger:hover .line1 {
|
127 |
+
transform: translateX(-4px);
|
128 |
}
|
129 |
+
|
130 |
+
.hamburger:hover .line2 {
|
131 |
+
transform: translateX(4px);
|
132 |
+
}
|
133 |
+
|
134 |
+
/* Sidebar Menu */
|
135 |
+
.menu {
|
136 |
position: fixed;
|
137 |
top: 0;
|
138 |
left: 0;
|
139 |
+
height: 100vh;
|
140 |
+
width: 0;
|
141 |
+
background: rgba(20, 20, 30, 0.95);
|
142 |
+
backdrop-filter: blur(15px);
|
143 |
+
border-right: 1px solid var(--border-color);
|
144 |
+
transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
145 |
+
z-index: 900;
|
146 |
display: flex;
|
147 |
flex-direction: column;
|
|
|
148 |
}
|
149 |
+
|
150 |
+
.menu.open {
|
151 |
+
width: 300px;
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
}
|
153 |
+
|
154 |
+
.menu-header {
|
155 |
+
padding: 80px 20px 20px;
|
156 |
+
border-bottom: 1px solid var(--border-color);
|
157 |
}
|
158 |
+
|
159 |
+
.new-chat {
|
|
|
|
|
160 |
display: flex;
|
161 |
+
align-items: center;
|
162 |
+
gap: 12px;
|
163 |
+
padding: 12px 16px;
|
164 |
+
background: var(--surface-1);
|
165 |
+
border: 1px solid var(--border-color);
|
166 |
+
border-radius: 8px;
|
167 |
+
color: var(--text-primary);
|
|
|
168 |
cursor: pointer;
|
169 |
+
transition: var(--transition-standard);
|
170 |
+
}
|
171 |
+
|
172 |
+
.new-chat:hover {
|
173 |
+
background: var(--surface-2);
|
174 |
+
transform: translateY(-2px);
|
175 |
+
}
|
176 |
+
|
177 |
+
.menu-content {
|
178 |
+
flex: 1;
|
179 |
+
overflow-y: auto;
|
180 |
+
padding: 20px;
|
181 |
+
}
|
182 |
+
|
183 |
+
.chats-header {
|
184 |
display: flex;
|
185 |
+
justify-content: space-between;
|
186 |
align-items: center;
|
187 |
+
margin-bottom: 16px;
|
|
|
|
|
|
|
|
|
|
|
188 |
}
|
189 |
+
|
190 |
+
.chats-title {
|
191 |
+
font-size: 0.875rem;
|
192 |
+
text-transform: uppercase;
|
193 |
+
letter-spacing: 0.05em;
|
194 |
+
color: var(--text-secondary);
|
195 |
+
}
|
196 |
+
|
197 |
+
.prev-chats-cont {
|
198 |
+
display: flex;
|
199 |
+
flex-direction: column;
|
200 |
+
gap: 8px;
|
201 |
+
}
|
202 |
+
|
203 |
+
.chat-item {
|
204 |
display: flex;
|
205 |
align-items: center;
|
206 |
+
gap: 12px;
|
207 |
+
padding: 12px;
|
208 |
+
border-radius: 8px;
|
209 |
+
cursor: pointer;
|
210 |
+
transition: var(--transition-standard);
|
211 |
+
}
|
212 |
|
213 |
+
.chat-item:hover {
|
214 |
+
background: var(--surface-1);
|
215 |
}
|
216 |
|
217 |
+
/* Main Container */
|
218 |
.container {
|
219 |
+
margin-top: 60px;
|
220 |
+
height: calc(100vh - 60px);
|
|
|
|
|
|
|
|
|
221 |
display: flex;
|
222 |
+
flex-direction: column;
|
223 |
+
padding: 20px;
|
|
|
224 |
}
|
225 |
|
226 |
+
.messages {
|
227 |
+
flex: 1;
|
228 |
+
overflow-y: auto;
|
229 |
+
padding: 20px;
|
230 |
display: flex;
|
231 |
+
flex-direction: column;
|
232 |
+
gap: 24px;
|
233 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
234 |
|
235 |
+
/* Message Styles */
|
236 |
+
.message {
|
237 |
+
max-width: 80%;
|
238 |
+
padding: 16px;
|
239 |
+
border-radius: 12px;
|
240 |
+
border: 1px solid var(--border-color);
|
241 |
+
backdrop-filter: blur(10px);
|
242 |
}
|
243 |
|
244 |
+
.user-message {
|
245 |
+
margin-left: auto;
|
246 |
+
background: var(--surface-2);
|
247 |
+
}
|
248 |
+
|
249 |
+
.ai-message {
|
250 |
+
margin-right: auto;
|
251 |
+
background: var(--surface-1);
|
252 |
+
}
|
253 |
+
|
254 |
+
/* Input Area */
|
255 |
+
.input-container {
|
256 |
+
margin-top: auto;
|
257 |
+
padding: 20px;
|
258 |
+
}
|
259 |
+
|
260 |
+
.inputs {
|
261 |
+
display: flex;
|
262 |
+
align-items: center;
|
263 |
+
gap: 12px;
|
264 |
+
padding: 12px 20px;
|
265 |
+
background: var(--surface-2);
|
266 |
+
border: 1px solid var(--border-color);
|
267 |
+
border-radius: 16px;
|
268 |
+
backdrop-filter: blur(10px);
|
269 |
+
/* Input Area (continued) */
|
270 |
+
.text-box {
|
271 |
+
flex: 1;
|
272 |
background: none;
|
|
|
273 |
border: none;
|
274 |
+
outline: none;
|
275 |
+
color: var(--text-primary);
|
276 |
+
font-family: 'Inter', sans-serif;
|
277 |
+
font-size: 1rem;
|
278 |
+
line-height: 1.5;
|
279 |
+
max-height: 200px;
|
280 |
+
resize: none;
|
281 |
+
padding: 8px;
|
282 |
+
}
|
283 |
+
|
284 |
+
.text-box::placeholder {
|
285 |
+
color: var(--text-secondary);
|
286 |
}
|
287 |
+
|
288 |
+
.web-search,
|
289 |
+
.send-btn {
|
290 |
+
background: none;
|
291 |
border: none;
|
292 |
+
color: var(--text-secondary);
|
293 |
+
font-size: 1.2rem;
|
294 |
cursor: pointer;
|
295 |
+
padding: 8px;
|
296 |
+
border-radius: 8px;
|
297 |
+
transition: var(--transition-standard);
|
298 |
}
|
299 |
+
|
300 |
+
.web-search:hover,
|
301 |
+
.send-btn:hover {
|
302 |
+
color: var(--text-primary);
|
303 |
+
background: var(--surface-1);
|
|
|
|
|
304 |
}
|
305 |
+
|
306 |
+
.input-footer {
|
307 |
+
text-align: center;
|
308 |
+
margin-top: 8px;
|
|
|
|
|
|
|
|
|
|
|
|
|
309 |
}
|
310 |
+
|
311 |
+
.input-info {
|
312 |
+
font-size: 0.75rem;
|
313 |
+
color: var(--text-secondary);
|
314 |
}
|
315 |
+
|
316 |
+
/* Modal Styles */
|
317 |
+
.modal,
|
318 |
+
.settings-modal {
|
319 |
+
position: fixed;
|
320 |
+
top: 0;
|
321 |
+
left: 0;
|
322 |
+
width: 100vw;
|
323 |
+
height: 100vh;
|
324 |
+
background: rgba(0, 0, 0, 0.5);
|
325 |
+
backdrop-filter: blur(5px);
|
326 |
+
display: flex;
|
327 |
+
justify-content: center;
|
328 |
+
align-items: center;
|
329 |
+
z-index: 1100;
|
330 |
+
opacity: 0;
|
331 |
+
visibility: hidden;
|
332 |
+
transition: var(--transition-standard);
|
333 |
}
|
334 |
+
|
335 |
+
.modal.show,
|
336 |
+
.settings-modal.show {
|
337 |
+
opacity: 1;
|
338 |
+
visibility: visible;
|
|
|
|
|
|
|
|
|
|
|
|
|
339 |
}
|
340 |
|
341 |
+
.modal-content,
|
342 |
+
.settings-content {
|
343 |
+
background: var(--surface-1);
|
344 |
+
border: 1px solid var(--border-color);
|
345 |
+
border-radius: 16px;
|
346 |
+
width: 90%;
|
347 |
+
max-width: 500px;
|
348 |
+
padding: 24px;
|
349 |
+
position: relative;
|
350 |
+
transform: translateY(20px);
|
351 |
+
transition: var(--transition-standard);
|
352 |
}
|
353 |
+
|
354 |
+
.modal.show .modal-content,
|
355 |
+
.settings-modal.show .settings-content {
|
356 |
+
transform: translateY(0);
|
357 |
}
|
358 |
+
|
359 |
+
.modal-header,
|
360 |
+
.settings-header {
|
361 |
+
display: flex;
|
362 |
+
justify-content: space-between;
|
363 |
+
align-items: center;
|
364 |
+
margin-bottom: 20px;
|
365 |
}
|
366 |
|
367 |
+
.modal-header h2,
|
368 |
+
.settings-header h2 {
|
369 |
+
font-size: 1.5rem;
|
370 |
+
font-weight: 600;
|
371 |
+
color: var(--text-primary);
|
372 |
}
|
373 |
+
|
374 |
+
.close-modal,
|
375 |
+
.close-settings {
|
376 |
+
background: none;
|
|
|
|
|
|
|
377 |
border: none;
|
378 |
+
color: var(--text-secondary);
|
379 |
+
font-size: 1.2rem;
|
380 |
+
cursor: pointer;
|
381 |
+
padding: 8px;
|
382 |
+
border-radius: 8px;
|
383 |
+
transition: var(--transition-standard);
|
384 |
}
|
385 |
+
|
386 |
+
.close-modal:hover,
|
387 |
+
.close-settings:hover {
|
388 |
+
color: var(--text-primary);
|
389 |
+
background: var(--surface-2);
|
390 |
+
}
|
391 |
+
|
392 |
+
.modal-body {
|
393 |
+
margin-bottom: 24px;
|
394 |
+
}
|
395 |
+
|
396 |
+
.feature-list {
|
397 |
+
display: grid;
|
398 |
+
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
399 |
+
gap: 16px;
|
400 |
+
margin-top: 20px;
|
401 |
+
}
|
402 |
+
|
403 |
+
.feature-item {
|
404 |
display: flex;
|
405 |
flex-direction: column;
|
406 |
+
align-items: center;
|
407 |
+
gap: 8px;
|
408 |
+
padding: 16px;
|
409 |
+
background: var(--surface-2);
|
410 |
+
border: 1px solid var(--border-color);
|
411 |
+
border-radius: 12px;
|
412 |
+
text-align: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
413 |
}
|
414 |
+
|
415 |
+
.feature-item i {
|
416 |
+
font-size: 1.5rem;
|
417 |
+
color: var(--primary-color);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
418 |
}
|
419 |
+
|
420 |
+
/* Settings Styles */
|
421 |
+
.settings-section {
|
422 |
+
margin-bottom: 24px;
|
423 |
+
}
|
424 |
+
|
425 |
+
.settings-section h3 {
|
426 |
+
font-size: 1rem;
|
427 |
+
font-weight: 500;
|
428 |
+
color: var(--text-secondary);
|
429 |
+
margin-bottom: 16px;
|
430 |
+
}
|
431 |
+
|
432 |
+
.setting-item {
|
433 |
+
display: flex;
|
434 |
+
justify-content: space-between;
|
435 |
+
align-items: center;
|
436 |
+
padding: 12px 0;
|
437 |
+
border-bottom: 1px solid var(--border-color);
|
438 |
+
}
|
439 |
+
|
440 |
+
.theme-select,
|
441 |
+
.font-select {
|
442 |
+
background: var(--surface-2);
|
443 |
+
border: 1px solid var(--border-color);
|
444 |
+
border-radius: 8px;
|
445 |
+
color: var(--text-primary);
|
446 |
+
padding: 8px 12px;
|
447 |
cursor: pointer;
|
448 |
+
transition: var(--transition-standard);
|
449 |
+
}
|
450 |
+
|
451 |
+
.theme-select:hover,
|
452 |
+
.font-select:hover {
|
453 |
+
background: var(--surface-3);
|
454 |
+
}
|
455 |
+
|
456 |
+
/* Button Styles */
|
457 |
+
.start-btn,
|
458 |
+
.discord-btn {
|
459 |
+
width: 100%;
|
460 |
+
padding: 12px 24px;
|
461 |
+
background: linear-gradient(45deg, var(--primary-color), #b44dff);
|
462 |
border: none;
|
463 |
+
border-radius: 8px;
|
464 |
+
color: white;
|
465 |
+
font-weight: 500;
|
466 |
+
cursor: pointer;
|
467 |
+
transition: var(--transition-standard);
|
468 |
}
|
469 |
|
470 |
+
.start-btn:hover,
|
471 |
+
.discord-btn:hover {
|
472 |
+
transform: translateY(-2px);
|
473 |
+
box-shadow: 0 4px 12px rgba(119, 16, 238, 0.3);
|
474 |
+
}
|
475 |
+
|
476 |
+
/* Responsive Design */
|
477 |
+
@media screen and (max-width: 768px) {
|
478 |
+
.menu.open {
|
479 |
+
width: 100%;
|
480 |
}
|
481 |
+
|
482 |
+
.container {
|
483 |
+
padding: 10px;
|
484 |
}
|
485 |
+
|
486 |
+
.messages {
|
487 |
+
padding: 10px;
|
488 |
}
|
489 |
+
|
490 |
+
.message {
|
491 |
max-width: 90%;
|
492 |
}
|
493 |
+
|
494 |
+
.input-container {
|
495 |
+
padding: 10px;
|
496 |
+
}
|
497 |
+
|
498 |
+
.inputs {
|
499 |
+
padding: 8px 16px;
|
500 |
+
}
|
501 |
+
|
502 |
+
.feature-list {
|
503 |
+
grid-template-columns: 1fr;
|
504 |
+
}
|
505 |
+
}
|
506 |
+
|
507 |
+
/* Dark/Light Theme Transitions */
|
508 |
+
.theme-transition {
|
509 |
+
transition: background-color 0.3s ease,
|
510 |
+
color 0.3s ease,
|
511 |
+
border-color 0.3s ease,
|
512 |
+
box-shadow 0.3s ease;
|
513 |
+
}
|
514 |
+
|
515 |
+
/* Animation Classes */
|
516 |
+
.fade-in {
|
517 |
+
animation: fadeIn 0.3s ease forwards;
|
518 |
+
}
|
519 |
+
|
520 |
+
.slide-up {
|
521 |
+
animation: slideUp 0.3s ease forwards;
|
522 |
+
}
|
523 |
+
|
524 |
+
@keyframes fadeIn {
|
525 |
+
from {
|
526 |
+
opacity: 0;
|
527 |
+
}
|
528 |
+
to {
|
529 |
+
opacity: 1;
|
530 |
+
}
|
531 |
+
}
|
532 |
+
|
533 |
+
@keyframes slideUp {
|
534 |
+
from {
|
535 |
+
transform: translateY(20px);
|
536 |
+
opacity: 0;
|
537 |
+
}
|
538 |
+
to {
|
539 |
+
transform: translateY(0);
|
540 |
+
opacity: 1;
|
541 |
+
}
|
542 |
+
}
|
543 |
+
|
544 |
+
/* Utility Classes */
|
545 |
+
.hidden {
|
546 |
+
display: none !important;
|
547 |
+
}
|
548 |
+
|
549 |
+
.disabled {
|
550 |
+
opacity: 0.5;
|
551 |
+
pointer-events: none;
|
552 |
+
}
|
553 |
+
|
554 |
+
.truncate {
|
555 |
+
white-space: nowrap;
|
556 |
+
overflow: hidden;
|
557 |
+
text-overflow: ellipsis;
|
558 |
}
|