94 lines
2.0 KiB
CSS
94 lines
2.0 KiB
CSS
.member-avatar {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
margin-right: 1rem;
|
|
}
|
|
.badge-creator {
|
|
background-color: var(--secondary-color);
|
|
color: white;
|
|
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;
|
|
} |