File size: 8,635 Bytes
3d44833
f3d2a2f
d3c8fe8
f3d2a2f
 
 
3d44833
f3d2a2f
 
 
d3c8fe8
 
f3d2a2f
 
 
d3c8fe8
f3d2a2f
d3c8fe8
 
 
 
3dd016b
d3c8fe8
3dd016b
3d44833
d3c8fe8
 
9af1912
 
d3c8fe8
 
 
 
 
3dd016b
9af1912
d3c8fe8
f3d2a2f
3dd016b
d3c8fe8
 
 
 
3dd016b
d3c8fe8
 
 
f3d2a2f
d3c8fe8
 
 
 
9af1912
d3c8fe8
 
 
 
3dd016b
 
d3c8fe8
 
 
3dd016b
d3c8fe8
 
 
3dd016b
d3c8fe8
 
 
 
 
3dd016b
 
 
f3d2a2f
3dd016b
 
f3d2a2f
d3c8fe8
 
 
 
 
 
 
 
 
9af1912
d3c8fe8
 
 
3dd016b
d3c8fe8
 
 
 
9af1912
 
d3c8fe8
 
 
3d44833
3dd016b
d3c8fe8
 
 
 
3dd016b
 
d3c8fe8
 
 
 
 
 
9af1912
d3c8fe8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f3d2a2f
 
 
3dd016b
d3c8fe8
 
 
 
 
 
3dd016b
3d44833
 
d3c8fe8
9af1912
 
 
d3c8fe8
9af1912
d3c8fe8
 
9af1912
d3c8fe8
 
 
 
 
 
 
3d44833
 
d3c8fe8
9af1912
f3d2a2f
9af1912
d3c8fe8
 
3dd016b
d3c8fe8
3dd016b
d3c8fe8
 
f3d2a2f
d3c8fe8
 
 
 
 
 
 
 
 
3dd016b
d3c8fe8
3d44833
d3c8fe8
 
3dd016b
3d44833
3dd016b
f3d2a2f
d3c8fe8
 
 
 
 
 
 
 
 
3d44833
f3d2a2f
d3c8fe8
 
 
 
9af1912
d3c8fe8
 
 
 
 
 
9af1912
d3c8fe8
 
3d44833
d3c8fe8
 
3d44833
d3c8fe8
 
 
 
 
3d44833
9af1912
 
d3c8fe8
 
 
 
 
 
e370985
d3c8fe8
 
 
f3d2a2f
d3c8fe8
 
 
d88bc0c
9af1912
d3c8fe8
 
9af1912
d3c8fe8
 
 
 
 
 
 
 
 
9af1912
d3c8fe8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9af1912
d3c8fe8
 
 
 
 
 
 
 
 
 
 
 
 
3d44833
d3c8fe8
 
 
 
 
 
 
 
 
9af1912
d3c8fe8
 
e370985
d3c8fe8
 
 
 
 
 
 
3dd016b
d3c8fe8
 
 
e370985
d3c8fe8
 
 
 
 
 
 
 
 
 
 
 
 
 
e370985
9af1912
3d44833
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d3c8fe8
 
 
f3d2a2f
d3c8fe8
 
c3aa7c6
d3c8fe8
 
3dd016b
d3c8fe8
3dd016b
c3aa7c6
1daa44a
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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
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
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
/* application/static/css/style.css */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgb(43, 43, 43);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(119, 119, 119);
}
html,body{
    padding: 0;
    margin: 0;
    background-color: rgb(2,2,8);
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgb(41, 41, 41) transparent;
    font-family: 'Inter';

}
nav{
    position: fixed;
    width: 100vw;
    height: 8vh;
    z-index: 100;
    display: flex;
}
.hamburger{
    display: flex;
    flex-direction: column;
    gap: 1.5vh;
    width: 20vh;
    color: white;
    margin: 1vw;
    cursor: pointer;
    position: absolute;
    z-index: 101;
    margin: 10px;
}
.line1{
    background-color: rgb(122, 122, 122);
    width: 6vh;
    height: 0.5vh;
}
.line2{
    background-color: rgb(104, 104, 104);
    width: 3vh;
    height: 0.5vh;
}

.hamburger:hover .line1{
    transform: translateX(-30px);
    transition: transform 1s ease;
}
.hamburger:hover .line2{
    transform: translateX(30px);
    transition: transform 1s ease;
}
.menu{
    height: 100vh;
    width: 0px;
    background-color: rgba(20, 20, 20,0.5);
    border-radius: 10px;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.newChat{
    margin-top: 8vh;
    margin-left: 1vw;
    color: gray;
    font-size: large;
    cursor: pointer;
    font-weight: 400;
    position: relative;
    font-size: large;
}
.newChat:hover{
    transform: scale(0.95);
    transition: transform 0.7s ease;
}
.prevChatsCont{
    color: rgb(172, 171, 171);
    margin-left: 1vw;
    font-weight: 300;
    display: flex;
    flex-direction: column;
    gap: 1vh;
    position: relative;
    font-size: medium;

}
.prevChat{
    min-height: 5vh;
    cursor: pointer;
    width: 90%;
    display: flex;
    align-items: center;
    padding-left: 5%;
    border-radius: 10px;
    overflow: hidden;
    padding-top: 1%;
    padding-bottom: 1%;
    position: relative;
}
.prevChat:hover{
    background-color: rgba(70,70, 70,1);
    transform: translateY(5px);
    transition: transform 0.8s ease;
}
.chatsTxt{
    color: #fdffdf;
    margin-left: 1vw;
    font-size: 14px;
    margin-top: 4vh;
    margin-bottom: 3vh;
    z-index: 100;
    overflow: hidden;
    min-height: 5vh;
    display: flex;
    align-items: center;

}

.container {
    width: 99.5%;
    max-width: 99.5%;
    height: 90%;
    position: absolute;
    z-index: 50;
    top: 8vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 1;
}

.inputs {
    width: 70%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(51, 51, 51, 0.4);
    padding: 10px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 20px;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 50px;
    font-size: large;
    position: relative;
    margin-top: auto;
    align-self: center;

}

.textBox{
    width: 90%;
    background: none;
    outline: none;
    border: none;
    color: rgb(161, 161, 161);
    padding: 7px;
}
.sendBtn{
    background-color: white;
    border: none;
    color: black;
    font-size: x-large;
    cursor: pointer;
    border-radius: 50%;
    width: 6vh;
    height: 6vh;
}
.messages {
    overflow-y: auto;
    color: white;
    padding: 10px;
    display: flex;
    flex-direction: column;
    position: relative;
}
.user{
    margin-left: auto;
    max-width: 60%;
    background-color: rgba(51, 51, 51, 0.4);
    padding: 0.5vh 1.5vh 0.5vh 1.5vh;
    text-align: left;
    font-weight: 300;
    border-radius: 10px;
    line-height: 130%;

}
.user p{
    color: #b4b4b4;
    padding: 0;
    opacity: 0.9;
}
.ai{
    text-align: left;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2vh;
}
.ai p {
    opacity: 0.9;
    font-weight: 300;
    font-size: medium;
    line-height: 1.6;
    color: #c5c5c5;
    background-color: rgba(28, 28, 28, 0.5);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.1);
    font-family: 'Inter';
    position: relative; /* Added for read-aloud-btn positioning */
}

.subHeading,.heading{
    padding: 1vh;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 2vh;
    margin-top: 2vh;
}
.subHeading{
    background-color: rgba(59, 59, 59, 0.5);
    border: 1px solid rgba(255,255,255,0.1)
}
.heading{
    background-color: rgba(119, 16, 238, 0.55);
    box-shadow: 6px 6px rgba(0, 0, 0, 0.5) ;
}

code{
    border-radius: 15px;
}
.models{
    position: relative;
    margin: auto;
    padding: 10px   ;
    outline: none;
    background-color: rgb(43, 43, 43);
    color: rgb(177, 177, 177);
    border: none;
    border-radius: 10px;
}
.models:hover{
    background-color: #383838;
}
.models option{
    background-color: rgb(34, 34, 34);
    color: #afafaf;
    padding: 10px;
}
.alert{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 320px;
    height: 320px;
    display: flex;
    flex-direction: column;
    gap: 0px;
    color: #d8d8d8;
    background-color: #222222;
    box-shadow: 6px 6px rgb(41, 41, 41) ;
    justify-content: center;
    z-index: 100;
}
.alert p{
    float: left;
    font-family: 'Inter';
    font-weight: 300;
    font-size: 15px;
    color: #cfcfcf;
    opacity: 0.9;
    padding-left: 10px;
}
.closeAlert{
    margin-left: auto;
    margin-right: 10px;
    margin-top: 10px;
    background-color: rgb(247, 102, 102);
    padding: 10px;
    cursor: pointer;
    border-radius: 10px;
    color: #ffffff;
}
.discord {
    margin: 10px;
    text-decoration: none;
    color: rgb(211, 211, 211);
    padding: 7.5px;
    border-radius: 10px;
    background: linear-gradient(to right, #4A148C, #9c18e3);
    cursor: pointer;
    display: inline-block;
    font-size: 13px;
    max-width: 77px;
}
.note{
    text-align: center;
    background-color: rgba(119, 16, 238, 0.55);
    box-shadow: 6px 6px rgb(32, 32, 32) ;
    margin: auto;
    width: 70px;
    padding: 10px;
}
.webSearch{
    color: rgb(233, 233, 233);
    background: transparent;
    cursor: pointer;
    border: none;
    font-size: x-large;
}

/* Image Button and Paperclip Icon */
.image-upload-label {
    cursor: pointer;
    font-size: 1.5em; /* Adjust as needed */
    color: #ddd; /* Light grey, adjust as needed */
    margin-right: 10px; /* Space it out from other elements */
}

.image-upload-label:hover {
    color: #fff; /* Slightly brighter on hover */
}

#imageInput {
    display: none; /* Hide the actual file input */
}

/* Styling for uploaded image preview */
.uploaded-image-preview {
    max-width: 100%;  /* Make sure it doesn't overflow its container */
    max-height: 200px; /* Limit the height */
    margin-bottom: 10px;
    border: 1px solid #555;
    border-radius: 4px;
}
.image-caption {
    color: #aaa;
    font-size: 0.9em;
    margin-top: 5px;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

/* Read Aloud Button */
.read-aloud-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(100, 100, 255, 0.8); /* Adjust color as needed */
    color: white;
    border: none;
    border-radius: 50%; /* Circular button */
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex; /* For centering the icon */
    align-items: center;
    justify-content: center;
    font-size: 16px; /* Adjust as needed */
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4); /* Subtle shadow */
    transition: background-color 0.3s ease; /* Smooth transition */
}

.read-aloud-btn:hover {
    background-color: rgba(120, 120, 255, 1); /* Slightly brighter on hover */
}

/* Memory Display */
.memory-display {
    margin-top: 10px;
    padding: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #ccc;
    font-size: 0.8em;
}

/* Reasoning Display */
.reasoning-display {
    margin-top: 5px;
    font-size: 0.9em;
    color: #aaa;
    padding: 4px;
    background-color: rgba(255, 165, 0, 0.3); /* Light orange background */
    border-radius: 4px;
    display: inline-block; /* Fit content */
}

@media screen and (max-width: 780px){
    .menu{
    background-color: rgba(20, 20, 20);
    }
    .inputs{
        width: 85%;
    }
    .ai{
        width: 90%;
    }
    .user{
        max-width: 90%;
    }
}