mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-01 00:42:49 +08:00
Mobile: readable accent buttons, calmer disconnected state, no demo toggle on phones
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
1 parent
dab1a7637e
commit
9364a7d48a
2 files changed
+15
-4
No files matched your search
+13
-2
@@ -5244,7 +5244,7 @@ input.ts-identities-uid {
|
||||
border: none;
|
||||
border-radius: 22px;
|
||||
background: var(--accent);
|
||||
color: #fff;
|
||||
color: var(--bg);
|
||||
}
|
||||
|
||||
/* Bottom: voice bar + tabs */
|
||||
@@ -5322,7 +5322,7 @@ input.ts-identities-uid {
|
||||
border: none;
|
||||
border-radius: var(--m-radius, 14px);
|
||||
background: var(--accent);
|
||||
color: #fff;
|
||||
color: var(--bg);
|
||||
font-size: 16px;
|
||||
font-weight: 650;
|
||||
}
|
||||
@@ -5408,3 +5408,14 @@ input.ts-identities-uid {
|
||||
order: -1;
|
||||
border-bottom: 1px solid var(--border-soft);
|
||||
}
|
||||
|
||||
/* Disconnected: the header already says so, keep the panel calm and centered. */
|
||||
.ts-app.ts-mobile .ts-tree-panel > .ts-tree-empty:only-child {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-style: normal;
|
||||
font-size: 16px;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
+2
-2
@@ -12623,9 +12623,9 @@ function AppInner() {
|
||||
<a href="https://github.com/WebSpeak3/webspeak3" target="_blank" rel="noreferrer">
|
||||
Get WebSpeak3
|
||||
</a>
|
||||
<button className="ts-demo-mobile-toggle" onClick={() => setDemoForceMobile((v) => !v)}>
|
||||
{!narrowScreen && <button className="ts-demo-mobile-toggle" onClick={() => setDemoForceMobile((v) => !v)}>
|
||||
{demoForceMobile ? "🖥 Desktop view" : "📱 Mobile view"}
|
||||
</button>
|
||||
</button>}
|
||||
</div>
|
||||
)}
|
||||
<div className="ts-menubar">
|
||||
|
||||
Reference in new issue
Block a user