conversation scripts and style separation

This commit is contained in:
2025-05-28 09:58:47 +02:00
parent 56d9b5e95b
commit 5c5d03e60c
5 changed files with 552 additions and 551 deletions

View File

@@ -0,0 +1,94 @@
.member-avatar {
width: 40px;
height: 40px;
border-radius: 50%;
object-fit: cover;
margin-right: 1rem;
}
.badge-creator {
background-color: #d1f2eb;
color: #117a65;
font-weight: 500;
}
.btn-remove-member {
background: #f8d7da;
color: #c82333;
border: none;
font-weight: 500;
}
.btn-remove-member:hover {
background: #f5c6cb;
color: #a71d2a;
}
/* Chat bubble styles */
.chat-messages {
padding: 1rem;
}
.message {
margin-bottom: 1.5rem;
}
.message-content {
position: relative;
padding: 0.75rem 1rem;
border-radius: 1rem;
max-width: 80%;
word-wrap: break-word;
}
.message.sent {
display: flex;
justify-content: flex-end;
}
.message.received {
display: flex;
justify-content: flex-start;
}
.message.sent .message-content {
background-color: var(--primary-color);
color: white;
border-top-right-radius: 0.25rem;
}
.message.received .message-content {
background-color: #f0f2f5;
color: #1c1e21;
border-top-left-radius: 0.25rem;
}
.message-info {
font-size: 0.75rem;
margin-bottom: 0.25rem;
padding: 0.25rem 0.5rem;
border-radius: 0.5rem;
}
.message.sent .message-info {
text-align: right;
background-color: rgba(0, 0, 0, 0.1);
color: rgba(255, 255, 255, 0.9);
}
.message.received .message-info {
background-color: rgba(0, 0, 0, 0.05);
color: #65676b;
}
.message.sent .message-info .text-muted {
color: rgba(255, 255, 255, 0.8) !important;
}
.message.received .message-info .text-muted {
color: #65676b !important;
}
.attachment {
margin-top: 0.5rem;
}
.message.sent .attachment .btn {
background-color: rgba(255, 255, 255, 0.2);
color: white;
border: none;
}
.message.sent .attachment .btn:hover {
background-color: rgba(255, 255, 255, 0.3);
}
.message.received .attachment .btn {
background-color: #e4e6eb;
color: #1c1e21;
border: none;
}
.message.received .attachment .btn:hover {
background-color: #d8dadf;
}