File size: 1,574 Bytes
a73dbfd 7d2ae3c a73dbfd 7d2ae3c a73dbfd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 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 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | .wrapper {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 6px;
max-width: 85%;
animation: slideInLeft 0.3s ease-out;
}
.avatarRow {
display: flex;
align-items: center;
gap: 6px;
}
.avatar {
width: 28px;
height: 28px;
border-radius: 50%;
background: var(--primary);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.name {
font-size: 12px;
font-weight: 500;
color: var(--text-secondary);
}
.bubble {
background: var(--bg-card);
border-radius: var(--radius-md);
border-top-left-radius: 4px;
padding: 12px 14px;
box-shadow: var(--shadow-sm);
border: 1px solid var(--border-light);
overflow-wrap: break-word;
word-break: break-word;
}
.content {
font-size: 14px;
line-height: 1.6;
color: var(--text-primary);
}
.paragraph {
margin: 0;
}
.paragraph+.paragraph {
margin-top: 4px;
}
.listItem {
list-style: none;
padding-left: 4px;
margin-top: 2px;
}
.listItem::before {
content: '•';
color: var(--primary);
font-weight: 700;
margin-right: 6px;
}
/* Clickable URLs in bot messages */
.link {
color: var(--primary);
text-decoration: none;
word-break: break-all;
transition: color 0.15s;
}
.link:hover {
color: var(--primary-dark);
text-decoration: underline;
}
@keyframes slideInLeft {
from {
opacity: 0;
transform: translateX(-12px);
}
to {
opacity: 1;
transform: translateX(0);
}
} |