HEL-878: preserve original author continuous voice wiring
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -389,6 +389,26 @@ body.offline .composer .send{opacity:.4;pointer-events:none}
|
||||
.voice-row{display:flex;align-items:center;justify-content:center;gap:12px;font-size:12px;color:var(--text-2);margin-bottom:6px;text-shadow:0 1px 10px var(--pool)}.voice-row button{color:var(--accent);padding:4px 2px}
|
||||
.voice-wave{display:inline-flex;gap:3px;align-items:center;height:14px}.voice-wave i{width:2px;height:100%;background:var(--accent);border-radius:2px;animation:r-wave 1.1s var(--ease-in-out) infinite}.voice-wave i:nth-child(2){animation-delay:.15s}.voice-wave i:nth-child(3){animation-delay:.3s}.voice-wave i:nth-child(4){animation-delay:.45s}
|
||||
@keyframes r-wave{50%{transform:scaleY(.3)}}
|
||||
/* Real voice (HEL-878): one quiet glass line above the stage, same width language as the composer. The wave says who
|
||||
has the floor without relying on colour alone (the words beside it always name the state): your open-ring colour
|
||||
while she listens, her lit accent while she speaks, a slow breath while connecting or thinking. */
|
||||
.voice-row.real{max-width:min(640px,100%);min-height:34px;padding:0 6px 0 14px;border-radius:17px;gap:10px;background:color-mix(in srgb,var(--surface) 34%,transparent);border:1px solid var(--glass-line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);animation:voice-in 280ms var(--ease-out) both}
|
||||
@keyframes voice-in{from{opacity:0;transform:translateY(6px)}}
|
||||
.voice-row.real .voice-state{white-space:nowrap;color:var(--text-1);letter-spacing:.04em}
|
||||
.voice-row.real .voice-heard{min-width:0;max-width:24em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--user);opacity:.82}
|
||||
.voice-row.real .voice-heard.said{color:var(--text-2)}
|
||||
.voice-row.real .voice-heard em{font-style:normal;font-size:11px;color:var(--warn);margin-left:8px}
|
||||
.voice-row.real button{white-space:nowrap;height:28px;padding:0 10px;border-radius:14px;transition:background-color 160ms var(--ease-out)}
|
||||
.voice-row.real .voice-end{color:var(--text-1);box-shadow:inset 0 0 0 1px var(--glass-line)}
|
||||
.voice-row.real .voice-wave i{transition:background-color var(--dur-ui) var(--ease-out),opacity var(--dur-ui) var(--ease-out)}
|
||||
.voice-row[data-phase="opening"] .voice-wave i,.voice-row[data-phase="joining"] .voice-wave i,.voice-row[data-phase="thinking"] .voice-wave i{animation:r-breath 1.4s var(--ease-in-out) infinite;transform:scaleY(.35)}
|
||||
.voice-row[data-phase="opening"] .voice-wave i,.voice-row[data-phase="joining"] .voice-wave i{background:var(--text-3)}
|
||||
.voice-row[data-phase="listening"] .voice-wave i{background:var(--user);animation-duration:1.6s;opacity:.85}
|
||||
.voice-row[data-phase="speaking"] .voice-wave i{box-shadow:0 0 6px var(--accent-glow)}
|
||||
@keyframes r-breath{50%{opacity:.3}}
|
||||
.voice-button.on{box-shadow:0 0 0 4px var(--accent-soft),0 0 18px var(--accent-glow)}
|
||||
.voice-note{display:block;margin-top:10px;color:var(--warn);font-size:12px}
|
||||
@media(hover:hover) and (pointer:fine){.voice-row.real button:hover{background:#ffffff0d}}
|
||||
|
||||
/* 完整记录与全文:房间里的阅读面,她仍在桌对面;不是模态框,导航始终可以直接切换 */
|
||||
.record{position:fixed;z-index:20;top:calc(var(--view-top) + 84px);left:4vw;width:min(470px,36vw);height:calc(var(--view-h) - 150px - var(--safe-bottom));border-radius:26px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 25px 100px #02041270,inset 0 1px 0 #ffffff10;animation:sheet-in 240ms var(--ease-out)}
|
||||
@@ -703,6 +723,7 @@ body.creating .create{opacity:1;pointer-events:auto}
|
||||
.reader-bar .latest span{max-width:9em;overflow:hidden;text-overflow:ellipsis}
|
||||
.composer{min-height:48px;padding:0 4px}.composer textarea{font-size:16px}
|
||||
.composer .round{width:36px;height:36px}
|
||||
.voice-row.real{width:100%;gap:8px;padding:0 4px 0 12px}.voice-row.real .voice-heard{flex:1;max-width:none}.voice-row.real button{height:34px}
|
||||
|
||||
.nav{padding:3px}
|
||||
.nav-item{width:70px;height:40px}
|
||||
|
||||
Reference in New Issue
Block a user