Spaces:
Sleeping
Sleeping
/* Custom scrollbar */ | |
#chat-messages::-webkit-scrollbar { | |
width: 6px; | |
} | |
#chat-messages::-webkit-scrollbar-track { | |
background: #f1f1f1; | |
} | |
#chat-messages::-webkit-scrollbar-thumb { | |
background: #888; | |
border-radius: 3px; | |
} | |
#chat-messages::-webkit-scrollbar-thumb:hover { | |
background: #666; | |
} | |
/* Message animations */ | |
@keyframes fadeIn { | |
from { opacity: 0; transform: translateY(10px); } | |
to { opacity: 1; transform: translateY(0); } | |
} | |
#chat-messages > div { | |
animation: fadeIn 0.3s ease-out forwards; | |
} | |
/* Typing indicator */ | |
.typing-indicator { | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
} | |
.typing-indicator .dot { | |
animation: typingAnimation 1.4s infinite; | |
display: inline-block; | |
margin: 0 2px; | |
} | |
.typing-indicator .dot:nth-child(2) { | |
animation-delay: 0.2s; | |
} | |
.typing-indicator .dot:nth-child(3) { | |
animation-delay: 0.4s; | |
} | |
@keyframes typingAnimation { | |
0% { transform: translateY(0px); } | |
28% { transform: translateY(-6px); } | |
44% { transform: translateY(0px); } | |
} |