Update voice demo chat id handling

This commit is contained in:
Xin Wang
2026-06-01 09:44:44 +08:00
parent d62c564a0d
commit 0913f8e655
3 changed files with 108 additions and 14 deletions

View File

@@ -328,11 +328,50 @@ body {
min-width: 0;
}
.connection__field input:disabled {
color: var(--text-dim);
background: rgba(148, 163, 184, 0.12);
cursor: not-allowed;
}
.connection__field input:focus {
border-color: var(--accent);
box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.18);
}
.chat-id-control {
display: flex;
min-width: 0;
}
.chat-id-control input {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.chat-id-control__copy {
flex: 0 0 auto;
border: 1px solid var(--border);
border-left: 0;
border-radius: 0 10px 10px 0;
background: var(--bg-soft);
color: var(--text-dim);
padding: 0 10px;
font: inherit;
font-size: 12px;
cursor: pointer;
}
.chat-id-control__copy:disabled {
opacity: 0.55;
cursor: not-allowed;
}
.chat-id-control__copy:not(:disabled):hover {
color: var(--text);
border-color: var(--accent);
}
.status {
display: flex;
align-items: center;