Spaces:
Sleeping
Sleeping
Update application/static/css/style.css
Browse files- application/static/css/style.css +93 -13
application/static/css/style.css
CHANGED
@@ -1,9 +1,10 @@
|
|
|
|
1 |
::-webkit-scrollbar {
|
2 |
width: 12px;
|
3 |
}
|
4 |
|
5 |
::-webkit-scrollbar-track {
|
6 |
-
background: transparent;
|
7 |
}
|
8 |
|
9 |
::-webkit-scrollbar-thumb {
|
@@ -21,7 +22,7 @@ html,body{
|
|
21 |
width: 100vw;
|
22 |
height: 100vh;
|
23 |
overflow: hidden;
|
24 |
-
scrollbar-width: thin;
|
25 |
scrollbar-color: rgb(41, 41, 41) transparent;
|
26 |
font-family: 'Inter';
|
27 |
|
@@ -99,7 +100,7 @@ nav{
|
|
99 |
gap: 1vh;
|
100 |
position: relative;
|
101 |
font-size: medium;
|
102 |
-
|
103 |
}
|
104 |
.prevChat{
|
105 |
min-height: 5vh;
|
@@ -141,8 +142,8 @@ nav{
|
|
141 |
z-index: 50;
|
142 |
top: 8vh;
|
143 |
display: flex;
|
144 |
-
flex-direction: column;
|
145 |
-
justify-content: flex-end;
|
146 |
z-index: 1;
|
147 |
}
|
148 |
|
@@ -159,8 +160,8 @@ nav{
|
|
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 |
}
|
@@ -184,11 +185,11 @@ nav{
|
|
184 |
height: 6vh;
|
185 |
}
|
186 |
.messages {
|
187 |
-
overflow-y: auto;
|
188 |
color: white;
|
189 |
padding: 10px;
|
190 |
display: flex;
|
191 |
-
flex-direction: column;
|
192 |
position: relative;
|
193 |
}
|
194 |
.user{
|
@@ -200,7 +201,7 @@ nav{
|
|
200 |
font-weight: 300;
|
201 |
border-radius: 10px;
|
202 |
line-height: 130%;
|
203 |
-
|
204 |
}
|
205 |
.user p{
|
206 |
color: #b4b4b4;
|
@@ -216,15 +217,16 @@ nav{
|
|
216 |
}
|
217 |
.ai p {
|
218 |
opacity: 0.9;
|
219 |
-
font-weight: 300;
|
220 |
font-size: medium;
|
221 |
line-height: 1.6;
|
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 |
.subHeading,.heading{
|
@@ -285,7 +287,7 @@ code{
|
|
285 |
font-family: 'Inter';
|
286 |
font-weight: 300;
|
287 |
font-size: 15px;
|
288 |
-
color: #cfcfcf;
|
289 |
opacity: 0.9;
|
290 |
padding-left: 10px;
|
291 |
}
|
@@ -327,6 +329,84 @@ code{
|
|
327 |
font-size: x-large;
|
328 |
}
|
329 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
330 |
@media screen and (max-width: 780px){
|
331 |
.menu{
|
332 |
background-color: rgba(20, 20, 20);
|
|
|
1 |
+
/* application/static/css/style.css */
|
2 |
::-webkit-scrollbar {
|
3 |
width: 12px;
|
4 |
}
|
5 |
|
6 |
::-webkit-scrollbar-track {
|
7 |
+
background: transparent;
|
8 |
}
|
9 |
|
10 |
::-webkit-scrollbar-thumb {
|
|
|
22 |
width: 100vw;
|
23 |
height: 100vh;
|
24 |
overflow: hidden;
|
25 |
+
scrollbar-width: thin;
|
26 |
scrollbar-color: rgb(41, 41, 41) transparent;
|
27 |
font-family: 'Inter';
|
28 |
|
|
|
100 |
gap: 1vh;
|
101 |
position: relative;
|
102 |
font-size: medium;
|
103 |
+
|
104 |
}
|
105 |
.prevChat{
|
106 |
min-height: 5vh;
|
|
|
142 |
z-index: 50;
|
143 |
top: 8vh;
|
144 |
display: flex;
|
145 |
+
flex-direction: column;
|
146 |
+
justify-content: flex-end;
|
147 |
z-index: 1;
|
148 |
}
|
149 |
|
|
|
160 |
border-top-left-radius: 20px;
|
161 |
border-bottom-right-radius: 50px;
|
162 |
font-size: large;
|
163 |
+
position: relative;
|
164 |
+
margin-top: auto;
|
165 |
align-self: center;
|
166 |
|
167 |
}
|
|
|
185 |
height: 6vh;
|
186 |
}
|
187 |
.messages {
|
188 |
+
overflow-y: auto;
|
189 |
color: white;
|
190 |
padding: 10px;
|
191 |
display: flex;
|
192 |
+
flex-direction: column;
|
193 |
position: relative;
|
194 |
}
|
195 |
.user{
|
|
|
201 |
font-weight: 300;
|
202 |
border-radius: 10px;
|
203 |
line-height: 130%;
|
204 |
+
|
205 |
}
|
206 |
.user p{
|
207 |
color: #b4b4b4;
|
|
|
217 |
}
|
218 |
.ai p {
|
219 |
opacity: 0.9;
|
220 |
+
font-weight: 300;
|
221 |
font-size: medium;
|
222 |
line-height: 1.6;
|
223 |
+
color: #c5c5c5;
|
224 |
background-color: rgba(28, 28, 28, 0.5);
|
225 |
padding: 20px;
|
226 |
border-radius: 10px;
|
227 |
border: 2px solid rgba(255,255,255,0.1);
|
228 |
font-family: 'Inter';
|
229 |
+
position: relative; /* Added for read-aloud-btn positioning */
|
230 |
}
|
231 |
|
232 |
.subHeading,.heading{
|
|
|
287 |
font-family: 'Inter';
|
288 |
font-weight: 300;
|
289 |
font-size: 15px;
|
290 |
+
color: #cfcfcf;
|
291 |
opacity: 0.9;
|
292 |
padding-left: 10px;
|
293 |
}
|
|
|
329 |
font-size: x-large;
|
330 |
}
|
331 |
|
332 |
+
/* Image Button and Paperclip Icon */
|
333 |
+
.image-upload-label {
|
334 |
+
cursor: pointer;
|
335 |
+
font-size: 1.5em; /* Adjust as needed */
|
336 |
+
color: #ddd; /* Light grey, adjust as needed */
|
337 |
+
margin-right: 10px; /* Space it out from other elements */
|
338 |
+
}
|
339 |
+
|
340 |
+
.image-upload-label:hover {
|
341 |
+
color: #fff; /* Slightly brighter on hover */
|
342 |
+
}
|
343 |
+
|
344 |
+
#imageInput {
|
345 |
+
display: none; /* Hide the actual file input */
|
346 |
+
}
|
347 |
+
|
348 |
+
/* Styling for uploaded image preview */
|
349 |
+
.uploaded-image-preview {
|
350 |
+
max-width: 100%; /* Make sure it doesn't overflow its container */
|
351 |
+
max-height: 200px; /* Limit the height */
|
352 |
+
margin-bottom: 10px;
|
353 |
+
border: 1px solid #555;
|
354 |
+
border-radius: 4px;
|
355 |
+
}
|
356 |
+
.image-caption {
|
357 |
+
color: #aaa;
|
358 |
+
font-size: 0.9em;
|
359 |
+
margin-top: 5px;
|
360 |
+
padding: 5px;
|
361 |
+
background-color: rgba(0, 0, 0, 0.5);
|
362 |
+
border-radius: 4px;
|
363 |
+
}
|
364 |
+
|
365 |
+
/* Read Aloud Button */
|
366 |
+
.read-aloud-btn {
|
367 |
+
position: absolute;
|
368 |
+
bottom: 10px;
|
369 |
+
right: 10px;
|
370 |
+
background-color: rgba(100, 100, 255, 0.8); /* Adjust color as needed */
|
371 |
+
color: white;
|
372 |
+
border: none;
|
373 |
+
border-radius: 50%; /* Circular button */
|
374 |
+
width: 30px;
|
375 |
+
height: 30px;
|
376 |
+
cursor: pointer;
|
377 |
+
display: flex; /* For centering the icon */
|
378 |
+
align-items: center;
|
379 |
+
justify-content: center;
|
380 |
+
font-size: 16px; /* Adjust as needed */
|
381 |
+
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4); /* Subtle shadow */
|
382 |
+
transition: background-color 0.3s ease; /* Smooth transition */
|
383 |
+
}
|
384 |
+
|
385 |
+
.read-aloud-btn:hover {
|
386 |
+
background-color: rgba(120, 120, 255, 1); /* Slightly brighter on hover */
|
387 |
+
}
|
388 |
+
|
389 |
+
/* Memory Display */
|
390 |
+
.memory-display {
|
391 |
+
margin-top: 10px;
|
392 |
+
padding: 8px;
|
393 |
+
background-color: rgba(255, 255, 255, 0.1);
|
394 |
+
border-radius: 4px;
|
395 |
+
color: #ccc;
|
396 |
+
font-size: 0.8em;
|
397 |
+
}
|
398 |
+
|
399 |
+
/* Reasoning Display */
|
400 |
+
.reasoning-display {
|
401 |
+
margin-top: 5px;
|
402 |
+
font-size: 0.9em;
|
403 |
+
color: #aaa;
|
404 |
+
padding: 4px;
|
405 |
+
background-color: rgba(255, 165, 0, 0.3); /* Light orange background */
|
406 |
+
border-radius: 4px;
|
407 |
+
display: inline-block; /* Fit content */
|
408 |
+
}
|
409 |
+
|
410 |
@media screen and (max-width: 780px){
|
411 |
.menu{
|
412 |
background-color: rgba(20, 20, 20);
|