18-vm/assets/css/custom.css
Flatlogic Bot 00a5c5a638 Version 1
2026-01-19 00:06:34 +00:00

118 lines
2.1 KiB
CSS

/* Inter font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
background-color: #F8F9FA;
color: #212529;
}
.card {
border-radius: 0.25rem;
border: 1px solid #DEE2E6;
}
.table {
border: 1px solid #DEE2E6;
}
.badge-ai {
background-color: #007BFF;
color: white;
}
.badge-human {
background-color: #6C757D;
color: white;
}
#chat-container {
height: 70vh;
display: flex;
flex-direction: column;
}
#chat-box {
flex-grow: 1;
overflow-y: auto;
padding: 1rem;
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.message {
padding: 0.5rem 1rem;
border-radius: 1rem;
max-width: 80%;
word-wrap: break-word;
}
.user-message {
background-color: #007BFF;
color: white;
align-self: flex-end;
border-bottom-right-radius: 0;
}
.bot-message {
background-color: #E9ECEF;
color: #212529;
align-self: flex-start;
border-bottom-left-radius: 0;
}
.bot-message.typing-indicator {
display: flex;
align-items: center;
gap: 5px;
}
.dot-flashing {
position: relative;
width: 6px;
height: 6px;
border-radius: 5px;
background-color: #6C757D;
color: #6C757D;
animation: dotFlashing 1s infinite linear alternate;
animation-delay: .5s;
}
.dot-flashing::before, .dot-flashing::after {
content: '';
display: inline-block;
position: absolute;
top: 0;
}
.dot-flashing::before {
left: -10px;
width: 6px;
height: 6px;
border-radius: 5px;
background-color: #6C757D;
color: #6C757D;
animation: dotFlashing 1s infinite alternate;
animation-delay: 0s;
}
.dot-flashing::after {
left: 10px;
width: 6px;
height: 6px;
border-radius: 5px;
background-color: #6C757D;
color: #6C757D;
animation: dotFlashing 1s infinite alternate;
animation-delay: 1s;
}
@keyframes dotFlashing {
0% {
background-color: #6C757D;
}
50%, 100% {
background-color: #E9ECEF;
}
}