Harden account import/continuous behavior and finish multi-account UI polish

This commit is contained in:
2026-06-27 21:26:18 +02:00
parent 59cdad220a
commit 881e7ddfca
8 changed files with 572 additions and 35 deletions
+87
View File
@@ -638,6 +638,10 @@ tbody tr:hover {
padding: 16px 24px;
border-bottom: 1px solid var(--line);
background: #050505;
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
}
.viewer-header h2 {
@@ -647,6 +651,31 @@ tbody tr:hover {
letter-spacing: -0.04em;
}
.viewer-tools {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 8px;
flex-wrap: wrap;
}
.viewer-tools input[type="search"] {
min-width: min(260px, 40vw);
}
.viewer-auto-refresh {
display: inline-flex;
align-items: center;
gap: 6px;
min-height: 34px;
color: var(--dim);
font-size: 0.82rem;
}
.viewer-auto-refresh input {
min-width: auto;
}
.messages-list {
flex: 1;
overflow-y: auto;
@@ -852,6 +881,54 @@ tbody tr:hover {
display: none;
}
.empty-state,
.viewer-empty-state {
padding: 16px;
color: var(--dim);
border: 1px solid var(--line);
border-radius: 14px;
background: #0a0a0a;
}
.viewer-empty-state {
align-self: center;
margin-top: 16px;
}
.toast-root {
position: fixed;
right: 18px;
bottom: 18px;
z-index: 1000;
display: grid;
gap: 8px;
width: min(360px, calc(100vw - 36px));
}
.toast {
padding: 12px 14px;
border: 1px solid var(--line);
border-radius: 14px;
background: #111;
color: var(--text-color);
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36);
transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast-success {
border-color: #1f5b52;
}
.toast-error {
border-color: #7a2a2a;
color: #ffd4d4;
}
.toast-hide {
opacity: 0;
transform: translateY(8px);
}
.api-docs {
display: grid;
gap: 16px;
@@ -1030,6 +1107,16 @@ tbody tr:hover {
background: #0f0f0f;
}
.import-account-row {
display: grid;
gap: 8px;
margin-top: 10px;
padding: 12px;
border: 1px solid var(--line);
border-radius: 16px;
background: #0f0f0f;
}
/* ── Active Account Card ─────────────────────────────── */
#active-account-name {