Lots of channel related fixes and updates

This commit is contained in:
N-Pex 2024-10-11 17:04:32 +02:00
parent e3bfede77e
commit ca777a83be
17 changed files with 508 additions and 59 deletions

View file

@ -1,24 +1,130 @@
.chat-root.channel {
background-color: #f2f2f2;
.chat-content {
width: 100%;
max-width: 700px;
align-self: center;
background-color: white;
background-color: #f2f2f2;
.chat-content {
width: 100%;
max-width: 700px;
align-self: center;
background-color: white;
padding: 0 0;
}
.messageOut,
.messageIn,
.messageOut.from-admin,
.messageIn.from-admin {
display: flex;
flex-wrap: wrap;
flex-direction: row;
margin: 0 0 8px 0;
padding: 16px 0 0 0;
text-align: start;
.senderAndTime {
order: 2;
flex: 1 1 auto;
display: flex;
flex-direction: row;
flex-wrap: wrap;
padding: 2px 12px 0 12px;
.sender {
font-size: 12 * $chat-text-size;
font-weight: 700;
margin: 0;
color: #1c1c31;
flex: 0 0 100%;
}
.time {
font-size: 12 * $chat-text-size;
margin: 0;
color: #5f5f5f;
}
.status {
font-size: 12 * $chat-text-size;
margin: 0 0 0 10px;
color: #5f5f5f;
}
}
.avatar {
order: 1;
width: 40px !important;
height: 40px !important;
min-width: 40px !important;
min-height: 40px !important;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
margin-left: 15px;
}
.pin-icon {
order: 3;
margin-right: 15px;
}
.op-button {
order: 4;
margin-right: 15px;
}
.content {
order: 5;
flex: 0 0 100%;
margin-top: 24px;
.message {
color: black !important;
}
}
.bubble {
width: 100%;
max-width: 100%;
color: black !important;
background: none !important;
border: none !important;
border-radius: 0 !important;
padding: 0 15px 0 15px;
}
.bubble.image-bubble {
/* full bleed */
padding: 0 0 0 0;
}
.quick-reaction-container {
order: 6;
flex: 0 0 100%;
margin: 24px 7px 0 7px;
padding: 0 8px 16px 8px;
.emoji {
font-size: 12 * $chat-text-size;
font-weight: 500;
color: #1c1c31;
.v-icon {
width: 21px;
height: 21px;
}
}
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.messageOut, .messageIn {
display: flex;
flex-wrap: wrap;
.senderAndTime {
flex: 0 0 100%;
}
.content {
flex: 1 1 auto;
}
.bubble {
width: 100%;
max-width: 100%;
}
/* Make all images 'cover' */
.v-image__image {
background-size: cover;
}
}
}
.audio-player {
color: #1c1c31 !important;
.currentColor {
background-color: #000000 !important;
}
.v-icon {
color: black !important;
}
}
.poll-answer {
border-radius: 10px;
}
.messageOut.pinned,
.messageIn.pinned,
.messageOut.from-admin.pinned,
.messageIn.from-admin.pinned {
background-color: #f8f8f8;
}
}

View file

@ -64,6 +64,10 @@
position: relative;
}
.poll-answer:not(:last-child) {
margin-bottom: 12px;
}
.poll-percent-indicator {
position: absolute;
bottom: 2px;