matrix
Build and Publish / Metadata (push) Successful in 2s
Build and Publish / BuildAndDeployAmd64 (push) Successful in 22s

This commit is contained in:
mats committed 2026-09-22 10:21:28 +02:00
1 parent e687d41574
commit 5ce3b46bab
3 files changed
+372 -12

No files matched your search

+62 -1
View File
@@ -59,7 +59,7 @@ body {
cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.channel:hover { background: var(--bg-3); color: var(--text-0); }
.channel.text { cursor: not-allowed; color: var(--text-2); }
.channel.text { color: var(--text-2); }
.channel.text .hint { font-size: 10px; margin-left: 4px; }
.channel.voice.active { background: rgba(88,101,242,.25); color: var(--text-0); }
.channel .count { float: right; color: var(--text-2); font-size: 12px; }
@@ -284,6 +284,67 @@ body {
.modal-actions button.ghost { background: transparent; color: var(--text-1); }
.modal-actions button.ghost:hover { text-decoration: underline; }
/* matrix text chat panel */
#mx-panel {
position: fixed; top: 0; right: 0; bottom: 0; width: 340px; max-width: 90vw;
background: var(--bg-1); border-left: 1px solid rgba(0,0,0,.35);
display: flex; flex-direction: column; z-index: 40;
box-shadow: -8px 0 24px rgba(0,0,0,.45);
}
#mx-panel.hidden { display: none; }
.mx-header {
padding: 12px 14px; font-weight: 700; font-size: 14px;
display: flex; align-items: center; justify-content: space-between;
border-bottom: 1px solid rgba(0,0,0,.25); flex-shrink: 0;
}
.mx-header button.ghost {
background: transparent; border: none; color: var(--text-1);
font-size: 20px; line-height: 1; cursor: pointer; padding: 0 4px;
}
.mx-header button.ghost:hover { color: var(--text-0); }
#mx-messages { flex: 1; overflow: auto; padding: 10px 14px; display: flex; flex-direction: column; gap: 8px; }
.mx-msg { font-size: 13px; line-height: 1.4; }
.mx-sender { font-weight: 700; color: var(--text-0); margin-right: 6px; }
.mx-body { color: var(--text-1); white-space: pre-wrap; overflow-wrap: anywhere; }
.mx-composer {
display: flex; gap: 8px; padding: 10px 14px; border-top: 1px solid rgba(0,0,0,.25); flex-shrink: 0;
}
.mx-composer textarea {
flex: 1; resize: none; background: var(--bg-0); border: 1px solid var(--bg-4);
border-radius: 6px; color: var(--text-0); padding: 8px 10px; font: inherit; max-height: 100px;
}
.mx-composer textarea:focus { outline: none; border-color: var(--brand); }
.mx-composer button {
background: var(--brand); border: none; color: #fff; border-radius: 6px;
padding: 0 14px; font-weight: 600; cursor: pointer;
}
/* reconnect banner */
#reconnect-banner {
position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
z-index: 70; display: flex; align-items: center; gap: 12px;
background: var(--bg-0); border: 1px solid var(--red);
box-shadow: 0 8px 28px rgba(0,0,0,.55), 0 0 0 1px rgba(242,63,67,.15);
border-radius: 10px; padding: 10px 14px; font-size: 13px;
animation: banner-in .2s ease-out;
}
#reconnect-banner.hidden { display: none; }
#reconnect-banner #reconnect-text { color: var(--text-0); font-weight: 600; white-space: nowrap; }
.reconnect-spinner {
width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0;
border: 2px solid rgba(242,63,67,.25); border-top-color: var(--red);
animation: spin .8s linear infinite;
}
.reconnect-actions { display: flex; gap: 6px; margin-left: 4px; }
.reconnect-actions button {
padding: 5px 10px; border-radius: 6px; border: none; cursor: pointer;
font-weight: 600; font-size: 12px; background: var(--red); color: #fff;
}
.reconnect-actions button.ghost { background: transparent; color: var(--text-1); }
.reconnect-actions button.ghost:hover { color: var(--text-0); text-decoration: underline; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes banner-in { from { transform: translate(-50%, -12px); opacity: 0; } }
/* toasts */
#toasts {
position: fixed; bottom: 16px; right: 16px; display: flex; flex-direction: column;