feat: improve realtime messaging and media handling
This commit is contained in:
+126
-4
@@ -1257,6 +1257,14 @@ button {
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.empty-list-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.empty-chat {
|
||||
min-height: 0;
|
||||
padding: 24px;
|
||||
@@ -1917,6 +1925,17 @@ button {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.group-member-row .group-member-role {
|
||||
width: -moz-fit-content;
|
||||
width: fit-content;
|
||||
padding: 2px 7px;
|
||||
border: 1px solid #b8d8d1;
|
||||
border-radius: 5px;
|
||||
background: #edf8f5;
|
||||
color: var(--primary);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.group-management-dialog {
|
||||
width: min(520px, calc(100% - 32px));
|
||||
}
|
||||
@@ -1977,7 +1996,9 @@ button {
|
||||
min-height: 0;
|
||||
overflow: auto;
|
||||
overscroll-behavior: contain;
|
||||
padding: 24px;
|
||||
padding: 24px 24px 72px;
|
||||
scroll-padding-bottom: 72px;
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
.message-row {
|
||||
@@ -2793,9 +2814,11 @@ button {
|
||||
}
|
||||
|
||||
.composer-tools button {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border: 0;
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 6px;
|
||||
background: transparent;
|
||||
color: var(--muted);
|
||||
@@ -2806,6 +2829,105 @@ button {
|
||||
background: #edf2f5;
|
||||
}
|
||||
|
||||
.composer-tools button:disabled {
|
||||
cursor: default;
|
||||
opacity: 0.45;
|
||||
}
|
||||
|
||||
.composer-attachment-preview {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
padding: 10px 16px 0;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.composer-attachment-item {
|
||||
position: relative;
|
||||
width: 88px;
|
||||
min-width: 88px;
|
||||
height: 88px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 8px;
|
||||
background: #edf2f5;
|
||||
}
|
||||
|
||||
.composer-attachment-item img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.composer-attachment-file-icon {
|
||||
color: var(--primary);
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
.composer-attachment-name {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
overflow: hidden;
|
||||
padding: 4px 6px;
|
||||
background: rgba(18, 28, 40, 0.72);
|
||||
color: #fff;
|
||||
font-size: 10px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.composer-attachment-item > button {
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
right: 4px;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
border: 0;
|
||||
border-radius: 50%;
|
||||
background: rgba(18, 28, 40, 0.74);
|
||||
color: #fff;
|
||||
font-size: 17px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.composer-tool-button {
|
||||
border-color: rgba(23, 125, 114, 0.28);
|
||||
background: rgba(23, 125, 114, 0.1);
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
.composer-tool-button.file-tool {
|
||||
border-color: rgba(216, 78, 63, 0.28);
|
||||
background: rgba(216, 78, 63, 0.1);
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.composer-tool-button:hover {
|
||||
border-color: currentColor;
|
||||
background: rgba(23, 125, 114, 0.16);
|
||||
}
|
||||
|
||||
.composer-tool-button.file-tool:hover {
|
||||
background: rgba(216, 78, 63, 0.16);
|
||||
}
|
||||
|
||||
.composer-tool-icon {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
fill: none;
|
||||
stroke: currentColor;
|
||||
stroke-width: 1.9;
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
}
|
||||
|
||||
.emoji-picker {
|
||||
position: absolute;
|
||||
left: 16px;
|
||||
Reference in New Issue
Block a user