Spaces:
Sleeping
Sleeping
Update static/style.css
Browse files- static/style.css +71 -1
static/style.css
CHANGED
@@ -34,11 +34,15 @@ body, html {
|
|
34 |
background-image: linear-gradient(to right, #74ebd5 0%, #9face6 100%)!important;
|
35 |
color: var(--text-color) !important;
|
36 |
}
|
|
|
|
|
|
|
37 |
/* Light Mode - Ensure theme toggle button is dark */
|
38 |
/* Theme Toggle Button */
|
39 |
#themeToggle {
|
40 |
position: absolute;
|
41 |
right: 15px;
|
|
|
42 |
top: 10px;
|
43 |
font-size: 14px;
|
44 |
padding: 5px 10px;
|
@@ -468,4 +472,70 @@ border-radius: 0 0 15px 15px !important;
|
|
468 |
|
469 |
.predefined-text a:hover {
|
470 |
text-decoration: underline;
|
471 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
background-image: linear-gradient(to right, #74ebd5 0%, #9face6 100%)!important;
|
35 |
color: var(--text-color) !important;
|
36 |
}
|
37 |
+
|
38 |
+
|
39 |
+
|
40 |
/* Light Mode - Ensure theme toggle button is dark */
|
41 |
/* Theme Toggle Button */
|
42 |
#themeToggle {
|
43 |
position: absolute;
|
44 |
right: 15px;
|
45 |
+
margin-right: 0.5rem;
|
46 |
top: 10px;
|
47 |
font-size: 14px;
|
48 |
padding: 5px 10px;
|
|
|
472 |
|
473 |
.predefined-text a:hover {
|
474 |
text-decoration: underline;
|
475 |
+
}
|
476 |
+
/* Mobile Adaptability Enhancements */
|
477 |
+
@media (max-width: 576px) {
|
478 |
+
/* Adjust overall card spacing and sizing */
|
479 |
+
.card {
|
480 |
+
margin: 10px;
|
481 |
+
border-radius: 10px;
|
482 |
+
}
|
483 |
+
.card-header,
|
484 |
+
.card-footer {
|
485 |
+
padding: 10px;
|
486 |
+
}
|
487 |
+
|
488 |
+
/* Stack header elements vertically and center them */
|
489 |
+
.card-header .d-flex {
|
490 |
+
flex-direction: column;
|
491 |
+
align-items: center;
|
492 |
+
}
|
493 |
+
.user_info {
|
494 |
+
margin-left: 0;
|
495 |
+
text-align: center;
|
496 |
+
margin-bottom: 10px;
|
497 |
+
}
|
498 |
+
/* Center the button container */
|
499 |
+
.d-flex.flex-column.align-items-end.ml-auto {
|
500 |
+
margin: 0 auto;
|
501 |
+
}
|
502 |
+
|
503 |
+
/* Adjust chat container height */
|
504 |
+
.chat {
|
505 |
+
height: 80vh;
|
506 |
+
}
|
507 |
+
.msg_card_body {
|
508 |
+
max-height: 50vh;
|
509 |
+
}
|
510 |
+
|
511 |
+
/* Reduce sizes of images for header and messages */
|
512 |
+
.img_cont,
|
513 |
+
.user_img {
|
514 |
+
height: 50px;
|
515 |
+
width: 50px;
|
516 |
+
}
|
517 |
+
.img_cont_msg,
|
518 |
+
.user_img_msg {
|
519 |
+
height: 30px;
|
520 |
+
width: 30px;
|
521 |
+
}
|
522 |
+
|
523 |
+
/* Adjust text sizes for header info */
|
524 |
+
.user_info span {
|
525 |
+
font-size: 16px;
|
526 |
+
}
|
527 |
+
.user_info p {
|
528 |
+
font-size: 8px;
|
529 |
+
}
|
530 |
+
|
531 |
+
/* Adjust input field and button sizes */
|
532 |
+
.type_msg {
|
533 |
+
height: 50px;
|
534 |
+
font-size: 14px;
|
535 |
+
}
|
536 |
+
.btn {
|
537 |
+
font-size: 12px;
|
538 |
+
padding: 5px 8px;
|
539 |
+
}
|
540 |
+
}
|
541 |
+
|