Spaces:
Running
Running
Upload style.css with huggingface_hub
Browse files
style.css
CHANGED
|
@@ -1,76 +1,96 @@
|
|
|
|
|
| 1 |
* {
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
margin: 0;
|
| 5 |
-
font-family: sans-serif;
|
| 6 |
}
|
| 7 |
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
height: 100%;
|
| 11 |
}
|
| 12 |
|
| 13 |
-
|
| 14 |
-
|
|
|
|
| 15 |
}
|
| 16 |
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
flex-direction: column;
|
| 21 |
-
justify-content: center;
|
| 22 |
-
align-items: center;
|
| 23 |
}
|
| 24 |
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
|
|
|
| 33 |
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
background-repeat: no-repeat;
|
| 43 |
-
font-size: 18px;
|
| 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 |
}
|
|
|
|
| 1 |
+
/* Custom styles for enhanced UI */
|
| 2 |
* {
|
| 3 |
+
scrollbar-width: thin;
|
| 4 |
+
scrollbar-color: #cbd5e1 #f1f5f9;
|
|
|
|
|
|
|
| 5 |
}
|
| 6 |
|
| 7 |
+
*::-webkit-scrollbar {
|
| 8 |
+
width: 8px;
|
|
|
|
| 9 |
}
|
| 10 |
|
| 11 |
+
*::-webkit-scrollbar-track {
|
| 12 |
+
background: #f1f5f9;
|
| 13 |
+
border-radius: 4px;
|
| 14 |
}
|
| 15 |
|
| 16 |
+
*::-webkit-scrollbar-thumb {
|
| 17 |
+
background-color: #cbd5e1;
|
| 18 |
+
border-radius: 4px;
|
|
|
|
|
|
|
|
|
|
| 19 |
}
|
| 20 |
|
| 21 |
+
*::-webkit-scrollbar-thumb:hover {
|
| 22 |
+
background-color: #94a3b8;
|
| 23 |
+
}
|
| 24 |
|
| 25 |
+
/* Smooth transitions */
|
| 26 |
+
.transition-all {
|
| 27 |
+
transition-property: all;
|
| 28 |
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
| 29 |
+
}
|
| 30 |
|
| 31 |
+
/* Message animations */
|
| 32 |
+
@keyframes fadeIn {
|
| 33 |
+
from {
|
| 34 |
+
opacity: 0;
|
| 35 |
+
transform: translateY(10px);
|
| 36 |
+
}
|
| 37 |
+
to {
|
| 38 |
+
opacity: 1;
|
| 39 |
+
transform: translateY(0);
|
| 40 |
+
}
|
| 41 |
+
}
|
| 42 |
|
| 43 |
+
#messagesArea > div {
|
| 44 |
+
animation: fadeIn 0.3s ease-out;
|
|
|
|
|
|
|
| 45 |
}
|
| 46 |
|
| 47 |
+
/* Typing indicator animation */
|
| 48 |
+
@keyframes pulse {
|
| 49 |
+
0%, 100% {
|
| 50 |
+
opacity: 1;
|
| 51 |
+
}
|
| 52 |
+
50% {
|
| 53 |
+
opacity: 0.5;
|
| 54 |
+
}
|
| 55 |
}
|
| 56 |
|
| 57 |
+
.animate-pulse {
|
| 58 |
+
animation: pulse 1s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
| 59 |
}
|
| 60 |
|
| 61 |
+
/* Enhanced button styles */
|
| 62 |
+
button:focus {
|
| 63 |
+
outline: none;
|
| 64 |
+
box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
|
| 65 |
}
|
| 66 |
|
| 67 |
+
/* Textarea styles */
|
| 68 |
+
textarea:focus {
|
| 69 |
+
box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
|
| 70 |
}
|
| 71 |
|
| 72 |
+
/* Loading animation */
|
| 73 |
+
@keyframes spin {
|
| 74 |
+
to {
|
| 75 |
+
transform: rotate(360deg);
|
| 76 |
+
}
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
.animate-spin {
|
| 80 |
+
animation: spin 1s linear infinite;
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
/* Responsive adjustments */
|
| 84 |
+
@media (max-width: 640px) {
|
| 85 |
+
.max-w-md {
|
| 86 |
+
max-width: calc(100% - 3rem);
|
| 87 |
+
}
|
| 88 |
}
|
| 89 |
|
| 90 |
+
/* Gradient text effect */
|
| 91 |
+
.gradient-text {
|
| 92 |
+
background: linear-gradient(to right, #a855f7, #ec4899);
|
| 93 |
+
-webkit-background-clip: text;
|
| 94 |
+
-webkit-text-fill-color: transparent;
|
| 95 |
+
background-clip: text;
|
| 96 |
}
|