feat(web): iPhone PWA fixes (M1) + warm RTO redesign (M2)
M1 — PWA mechanics: - Generate real app icons (apple-touch-icon + manifest 192/512/maskable) via pure-stdlib gen_icons.py; iOS uses apple-touch-icon, not manifest icons. - viewport-fit=cover + env(safe-area-inset-*) on header/input/menu so content clears the notch and home indicator. - Dynamic height pinned to the VisualViewport (height + offsetTop, re-measured across the keyboard animation) so the input stays above the iOS keyboard; 100dvh fallback. Kills the squish/gap bugs in standalone mode. - overscroll containment; flesh out manifest (scope, portrait, maskable). M2 — visual redesign: - Realign style.css to the warm low-glow RTO palette already used by the standalone pages (#0e0e0e panels, #2a1d12 borders); remove the neon saturated-orange borders and ~15 glow shadows. - Reserve filled accent for one element (Send); glow only on status pulse + input focus. Flat warm message bubbles with tail corners. - Reclaim the mobile header into [≡] Lyra · [status dot]; drop the redundant status bar (relay status now the header dot, updated in checkHealth). - prefers-reduced-motion support; fix undefined var(--text); real light-mode tokens. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+218
-113
@@ -1,31 +1,61 @@
|
||||
:root {
|
||||
--bg-dark: #070707;
|
||||
--bg-panel: rgba(255, 122, 0, 0.1);
|
||||
--bg-elev: #0e0e0e;
|
||||
--bg-line: #141414;
|
||||
--bg-panel: #0e0e0e;
|
||||
--border: #2a1d12;
|
||||
--border-bright: #4a2f15;
|
||||
--accent: #ff7a00;
|
||||
--accent-glow: 0 0 6px rgba(255,122,0,0.28);
|
||||
--gold: #ffb347;
|
||||
--good: #8fd694;
|
||||
--bad: #ff5a5a;
|
||||
--accent-soft: rgba(255, 122, 0, 0.10);
|
||||
--accent-glow: 0 0 6px rgba(255, 122, 0, 0.18);
|
||||
--text-main: #e8e8e8;
|
||||
--text-fade: #999;
|
||||
--font-console: "IBM Plex Mono", monospace;
|
||||
--text-fade: #8a8a8a;
|
||||
--font-console: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
|
||||
--font-voice: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||
}
|
||||
|
||||
/* Light mode variables */
|
||||
/* Light mode (secondary — Brian runs dark) */
|
||||
body {
|
||||
--bg-dark: #f5f5f5;
|
||||
--bg-panel: rgba(255, 122, 0, 0.05);
|
||||
--accent: #ff7a00;
|
||||
--accent-glow: 0 0 6px rgba(255,122,0,0.28);
|
||||
--bg-dark: #f5f3ef;
|
||||
--bg-elev: #ffffff;
|
||||
--bg-line: #ece8e1;
|
||||
--bg-panel: #ffffff;
|
||||
--border: #e2dacb;
|
||||
--border-bright: #c9a87a;
|
||||
--accent: #c75e00;
|
||||
--gold: #b8791f;
|
||||
--good: #3f9a52;
|
||||
--bad: #c0392b;
|
||||
--accent-soft: rgba(199, 94, 0, 0.08);
|
||||
--accent-glow: none;
|
||||
--text-main: #1a1a1a;
|
||||
--text-fade: #666;
|
||||
--text-fade: #6a6a6a;
|
||||
--text: var(--text-main); /* alias: some rules reference var(--text) */
|
||||
}
|
||||
|
||||
/* Dark mode variables */
|
||||
/* Dark mode (primary — RTO warm low-glow) */
|
||||
body.dark {
|
||||
--bg-dark: #070707;
|
||||
--bg-panel: rgba(255, 122, 0, 0.1);
|
||||
--bg-elev: #0e0e0e;
|
||||
--bg-line: #141414;
|
||||
--bg-panel: #0e0e0e;
|
||||
--border: #2a1d12;
|
||||
--border-bright: #4a2f15;
|
||||
--accent: #ff7a00;
|
||||
--accent-glow: 0 0 6px rgba(255,122,0,0.28);
|
||||
--gold: #ffb347;
|
||||
--good: #8fd694;
|
||||
--bad: #ff5a5a;
|
||||
--accent-soft: rgba(255, 122, 0, 0.10);
|
||||
--accent-glow: 0 0 6px rgba(255, 122, 0, 0.18);
|
||||
--text-main: #e8e8e8;
|
||||
--text-fade: #999;
|
||||
--text-fade: #8a8a8a;
|
||||
}
|
||||
|
||||
html {
|
||||
overscroll-behavior: none;
|
||||
}
|
||||
|
||||
body {
|
||||
@@ -33,10 +63,13 @@ body {
|
||||
background: var(--bg-dark);
|
||||
color: var(--text-main);
|
||||
font-family: var(--font-console);
|
||||
height: 100vh;
|
||||
height: 100vh; /* fallback for old browsers */
|
||||
height: 100dvh;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
overscroll-behavior: none;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
#chat {
|
||||
@@ -45,9 +78,9 @@ body {
|
||||
height: 95vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border: 1px solid var(--accent);
|
||||
border-radius: 10px;
|
||||
box-shadow: var(--accent-glow);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 12px;
|
||||
box-shadow: none;
|
||||
background: var(--bg-dark);
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -58,44 +91,51 @@ body {
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 8px 12px;
|
||||
border-bottom: 1px solid var(--accent);
|
||||
background-color: rgba(255, 122, 0, 0.05);
|
||||
border-bottom: 1px solid var(--border);
|
||||
background-color: var(--bg-elev);
|
||||
}
|
||||
#status {
|
||||
justify-content: flex-start;
|
||||
border-top: 1px solid var(--accent);
|
||||
border-top: 1px solid var(--border);
|
||||
}
|
||||
|
||||
label, select, button {
|
||||
font-family: var(--font-console);
|
||||
font-size: 0.9rem;
|
||||
color: var(--text-main);
|
||||
background: transparent;
|
||||
border: 1px solid var(--accent);
|
||||
border-radius: 4px;
|
||||
padding: 4px 8px;
|
||||
background: var(--bg-line);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 6px;
|
||||
padding: 5px 9px;
|
||||
transition: border-color .15s, background-color .15s;
|
||||
}
|
||||
label { background: transparent; border-color: transparent; padding-left: 0; }
|
||||
|
||||
button:hover, select:hover {
|
||||
box-shadow: 0 0 8px var(--accent);
|
||||
border-color: var(--border-bright);
|
||||
background: var(--accent-soft);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#thinkingStreamBtn {
|
||||
background: rgba(255, 179, 71, 0.2);
|
||||
border-color: #ffb347;
|
||||
background: var(--bg-line);
|
||||
border-color: var(--border-bright);
|
||||
color: var(--gold);
|
||||
}
|
||||
|
||||
#thinkingStreamBtn:hover {
|
||||
box-shadow: 0 0 8px #ffb347;
|
||||
background: rgba(255, 179, 71, 0.3);
|
||||
background: var(--accent-soft);
|
||||
border-color: var(--gold);
|
||||
}
|
||||
|
||||
/* Chat area */
|
||||
#messages {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
padding: 16px;
|
||||
overflow-y: auto;
|
||||
overscroll-behavior: contain;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
@@ -106,61 +146,80 @@ button:hover, select:hover {
|
||||
.msg {
|
||||
max-width: 80%;
|
||||
padding: 10px 14px;
|
||||
border-radius: 8px;
|
||||
border-radius: 12px;
|
||||
line-height: 1.4;
|
||||
word-wrap: break-word;
|
||||
box-shadow: 0 0 8px rgba(255,122,0,0.2);
|
||||
box-shadow: none;
|
||||
}
|
||||
.msg.user {
|
||||
align-self: flex-end;
|
||||
background: rgba(255,122,0,0.15);
|
||||
border: 1px solid var(--accent);
|
||||
background: var(--accent-soft);
|
||||
border: 1px solid var(--border-bright);
|
||||
border-bottom-right-radius: 4px;
|
||||
}
|
||||
.msg.assistant {
|
||||
align-self: flex-start;
|
||||
background: rgba(255,122,0,0.08);
|
||||
border: 1px solid rgba(255,122,0,0.5);
|
||||
background: var(--bg-elev);
|
||||
border: 1px solid var(--border);
|
||||
border-bottom-left-radius: 4px;
|
||||
}
|
||||
.msg.system {
|
||||
align-self: center;
|
||||
font-size: 0.8rem;
|
||||
font-size: 0.78rem;
|
||||
color: var(--text-fade);
|
||||
text-align: center;
|
||||
padding: 4px 10px;
|
||||
}
|
||||
|
||||
/* Input bar */
|
||||
#input {
|
||||
display: flex;
|
||||
border-top: 1px solid var(--accent);
|
||||
background: rgba(255, 122, 0, 0.05);
|
||||
border-top: 1px solid var(--border);
|
||||
background: var(--bg-elev);
|
||||
padding: 10px;
|
||||
}
|
||||
#userInput {
|
||||
flex: 1;
|
||||
background: transparent;
|
||||
background: var(--bg-line);
|
||||
color: var(--text-main);
|
||||
border: 1px solid var(--accent);
|
||||
border-radius: 4px;
|
||||
padding: 8px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
padding: 9px 12px;
|
||||
font-family: var(--font-console);
|
||||
transition: border-color .15s, box-shadow .15s;
|
||||
}
|
||||
#userInput::placeholder { color: var(--text-fade); }
|
||||
#userInput:focus {
|
||||
outline: none;
|
||||
border-color: var(--accent);
|
||||
box-shadow: var(--accent-glow);
|
||||
}
|
||||
#sendBtn {
|
||||
margin-left: 8px;
|
||||
background: var(--accent);
|
||||
color: #0a0a0a;
|
||||
border-color: var(--accent);
|
||||
font-weight: 600;
|
||||
}
|
||||
#sendBtn:hover { background: var(--gold); border-color: var(--gold); }
|
||||
#sendBtn:disabled { opacity: .45; background: var(--bg-line); color: var(--text-fade); border-color: var(--border); }
|
||||
|
||||
/* Relay status dot */
|
||||
#status {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin: 10px 0;
|
||||
gap: 8px;
|
||||
font-family: monospace;
|
||||
color: #f5f5f5;
|
||||
font-family: var(--font-console);
|
||||
font-size: 0.82rem;
|
||||
color: var(--text-fade);
|
||||
}
|
||||
|
||||
#status-dot {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
width: 9px;
|
||||
height: 9px;
|
||||
border-radius: 50%;
|
||||
display: inline-block;
|
||||
background: var(--text-fade);
|
||||
}
|
||||
|
||||
@keyframes pulseGreen {
|
||||
@@ -170,29 +229,29 @@ button:hover, select:hover {
|
||||
}
|
||||
|
||||
.dot.ok {
|
||||
background: #8fd694;
|
||||
background: var(--good);
|
||||
animation: pulseGreen 2s infinite ease-in-out;
|
||||
}
|
||||
|
||||
/* Offline state stays solid red */
|
||||
.dot.fail {
|
||||
background: #ff3333;
|
||||
box-shadow: 0 0 10px #ff3333;
|
||||
background: var(--bad);
|
||||
box-shadow: 0 0 8px rgba(255, 90, 90, 0.5);
|
||||
}
|
||||
|
||||
|
||||
/* Dropdown (session selector) styling */
|
||||
select {
|
||||
background-color: var(--bg-dark);
|
||||
background-color: var(--bg-line);
|
||||
color: var(--text-main);
|
||||
border: 1px solid #b84a12;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 6px;
|
||||
padding: 4px 6px;
|
||||
padding: 5px 8px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
select option {
|
||||
background-color: var(--bg-dark);
|
||||
background-color: var(--bg-elev);
|
||||
color: var(--text-main);
|
||||
}
|
||||
|
||||
@@ -200,8 +259,8 @@ select option {
|
||||
select:focus,
|
||||
select:hover {
|
||||
outline: none;
|
||||
border-color: #ff8a00;
|
||||
background-color: var(--bg-panel);
|
||||
border-color: var(--accent);
|
||||
background-color: var(--bg-line);
|
||||
}
|
||||
|
||||
/* Settings Modal */
|
||||
@@ -235,10 +294,10 @@ select:hover {
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
background: linear-gradient(180deg, rgba(255,122,0,0.1) 0%, rgba(10,10,10,0.95) 100%);
|
||||
border: 2px solid var(--accent);
|
||||
border-radius: 12px;
|
||||
box-shadow: var(--accent-glow);
|
||||
background: var(--bg-elev);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 14px;
|
||||
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
|
||||
min-width: 400px;
|
||||
max-width: 600px;
|
||||
max-height: 80vh;
|
||||
@@ -251,8 +310,8 @@ select:hover {
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 16px 20px;
|
||||
border-bottom: 1px solid var(--accent);
|
||||
background: rgba(255,122,0,0.1);
|
||||
border-bottom: 1px solid var(--border);
|
||||
background: var(--bg-line);
|
||||
}
|
||||
|
||||
.modal-header h3 {
|
||||
@@ -277,8 +336,8 @@ select:hover {
|
||||
}
|
||||
|
||||
.close-btn:hover {
|
||||
background: rgba(255,122,0,0.2);
|
||||
box-shadow: 0 0 8px var(--accent);
|
||||
background: var(--accent-soft);
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.modal-body {
|
||||
@@ -307,17 +366,16 @@ select:hover {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 12px;
|
||||
border: 1px solid rgba(255,122,0,0.3);
|
||||
border-radius: 6px;
|
||||
background: rgba(255,122,0,0.05);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
background: var(--bg-line);
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
transition: border-color 0.15s, background-color 0.15s;
|
||||
}
|
||||
|
||||
.radio-label:hover {
|
||||
border-color: var(--accent);
|
||||
background: rgba(255,122,0,0.1);
|
||||
box-shadow: 0 0 8px rgba(255,122,0,0.3);
|
||||
border-color: var(--border-bright);
|
||||
background: var(--accent-soft);
|
||||
}
|
||||
|
||||
.radio-label input[type="radio"] {
|
||||
@@ -358,19 +416,20 @@ select:hover {
|
||||
justify-content: flex-end;
|
||||
gap: 10px;
|
||||
padding: 16px 20px;
|
||||
border-top: 1px solid var(--accent);
|
||||
background: rgba(255,122,0,0.05);
|
||||
border-top: 1px solid var(--border);
|
||||
background: var(--bg-line);
|
||||
}
|
||||
|
||||
.primary-btn {
|
||||
background: var(--accent);
|
||||
color: #000;
|
||||
font-weight: bold;
|
||||
color: #0a0a0a;
|
||||
font-weight: 600;
|
||||
border-color: var(--accent);
|
||||
}
|
||||
|
||||
.primary-btn:hover {
|
||||
background: #ff8a00;
|
||||
box-shadow: var(--accent-glow);
|
||||
background: var(--gold);
|
||||
border-color: var(--gold);
|
||||
}
|
||||
|
||||
/* Session List */
|
||||
@@ -387,15 +446,15 @@ select:hover {
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 12px;
|
||||
border: 1px solid rgba(255,122,0,0.3);
|
||||
border-radius: 6px;
|
||||
background: rgba(255,122,0,0.05);
|
||||
transition: all 0.2s;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
background: var(--bg-line);
|
||||
transition: border-color 0.15s, background-color 0.15s;
|
||||
}
|
||||
|
||||
.session-item:hover {
|
||||
border-color: var(--accent);
|
||||
background: rgba(255,122,0,0.1);
|
||||
border-color: var(--border-bright);
|
||||
background: var(--accent-soft);
|
||||
}
|
||||
|
||||
.session-info {
|
||||
@@ -435,8 +494,8 @@ select:hover {
|
||||
|
||||
/* Thinking Stream Panel */
|
||||
.thinking-panel {
|
||||
border-top: 1px solid var(--accent);
|
||||
background: rgba(255, 122, 0, 0.02);
|
||||
border-top: 1px solid var(--border);
|
||||
background: var(--bg-dark);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
transition: max-height 0.3s ease;
|
||||
@@ -452,16 +511,16 @@ select:hover {
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 10px 12px;
|
||||
background: rgba(255, 122, 0, 0.08);
|
||||
background: var(--bg-elev);
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
border-bottom: 1px solid rgba(255, 122, 0, 0.2);
|
||||
border-bottom: 1px solid var(--border);
|
||||
font-size: 0.9rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.thinking-header:hover {
|
||||
background: rgba(255, 122, 0, 0.12);
|
||||
background: var(--accent-soft);
|
||||
}
|
||||
|
||||
.thinking-controls {
|
||||
@@ -489,19 +548,19 @@ select:hover {
|
||||
|
||||
.thinking-clear-btn,
|
||||
.thinking-toggle-btn {
|
||||
background: transparent;
|
||||
border: 1px solid rgba(255, 122, 0, 0.5);
|
||||
background: var(--bg-line);
|
||||
border: 1px solid var(--border);
|
||||
color: var(--text-main);
|
||||
padding: 4px 8px;
|
||||
border-radius: 4px;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.thinking-clear-btn:hover,
|
||||
.thinking-toggle-btn:hover {
|
||||
background: rgba(255, 122, 0, 0.2);
|
||||
box-shadow: 0 0 6px rgba(255, 122, 0, 0.3);
|
||||
background: var(--accent-soft);
|
||||
border-color: var(--border-bright);
|
||||
}
|
||||
|
||||
.thinking-toggle-btn {
|
||||
@@ -613,6 +672,9 @@ select:hover {
|
||||
|
||||
/* ========== MOBILE RESPONSIVE STYLES ========== */
|
||||
|
||||
/* Wordmark + status dot — shown only in the mobile header (media query below) */
|
||||
.brand, .brand-dot { display: none; }
|
||||
|
||||
/* Hamburger Menu */
|
||||
.hamburger-menu {
|
||||
display: none;
|
||||
@@ -620,9 +682,9 @@ select:hover {
|
||||
gap: 4px;
|
||||
cursor: pointer;
|
||||
padding: 8px;
|
||||
border: 1px solid var(--accent);
|
||||
border-radius: 4px;
|
||||
background: transparent;
|
||||
border: 1px solid var(--border-bright);
|
||||
border-radius: 8px;
|
||||
background: var(--bg-line);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
@@ -654,13 +716,17 @@ select:hover {
|
||||
left: -100%;
|
||||
width: 280px;
|
||||
height: 100vh;
|
||||
background: var(--bg-dark);
|
||||
border-right: 2px solid var(--accent);
|
||||
box-shadow: var(--accent-glow);
|
||||
height: 100dvh;
|
||||
background: var(--bg-elev);
|
||||
border-right: 1px solid var(--border);
|
||||
box-shadow: 8px 0 32px rgba(0, 0, 0, 0.5);
|
||||
z-index: 999;
|
||||
transition: left 0.3s ease;
|
||||
overflow-y: auto;
|
||||
overscroll-behavior: contain;
|
||||
padding: 20px;
|
||||
padding-top: calc(20px + env(safe-area-inset-top));
|
||||
padding-bottom: calc(20px + env(safe-area-inset-bottom));
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
}
|
||||
@@ -689,7 +755,7 @@ select:hover {
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
padding-bottom: 16px;
|
||||
border-bottom: 1px solid rgba(255, 122, 0, 0.3);
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.mobile-menu-section:last-child {
|
||||
@@ -719,12 +785,17 @@ select:hover {
|
||||
}
|
||||
|
||||
#chat {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
height: 100vh;
|
||||
/* Height follows the *visible* viewport (above the keyboard); offsetTop
|
||||
shift is applied via JS transform so it tracks iOS's viewport panning. */
|
||||
height: var(--app-height, 100dvh);
|
||||
transform: translateY(var(--app-offset, 0px));
|
||||
border-radius: 0;
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* Show hamburger, hide desktop header controls */
|
||||
@@ -734,17 +805,38 @@ select:hover {
|
||||
|
||||
#model-select {
|
||||
padding: 12px;
|
||||
justify-content: space-between;
|
||||
padding-top: calc(12px + env(safe-area-inset-top));
|
||||
padding-left: calc(14px + env(safe-area-inset-left));
|
||||
padding-right: calc(14px + env(safe-area-inset-right));
|
||||
justify-content: flex-start;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
/* Hide all controls except hamburger on mobile */
|
||||
#model-select > *:not(.hamburger-menu) {
|
||||
/* Mobile header is [≡] Lyra … [●] — hide everything else. */
|
||||
#model-select > *:not(.hamburger-menu):not(.brand):not(.brand-dot) {
|
||||
display: none;
|
||||
}
|
||||
.brand {
|
||||
display: block;
|
||||
font-family: var(--font-console);
|
||||
font-weight: 600;
|
||||
font-size: 1.1rem;
|
||||
color: var(--accent);
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
.brand-dot {
|
||||
display: block;
|
||||
width: 9px; height: 9px;
|
||||
border-radius: 50%;
|
||||
background: var(--text-fade);
|
||||
margin-left: auto;
|
||||
transition: background-color .2s;
|
||||
}
|
||||
.brand-dot.ok { background: var(--good); box-shadow: 0 0 8px rgba(143, 214, 148, .55); }
|
||||
.brand-dot.fail { background: var(--bad); }
|
||||
|
||||
#session-select {
|
||||
display: none;
|
||||
}
|
||||
#session-select { display: none; }
|
||||
#status { display: none; } /* relay status now lives as the header dot */
|
||||
|
||||
/* Show mobile menu */
|
||||
.mobile-menu {
|
||||
@@ -766,6 +858,9 @@ select:hover {
|
||||
/* Input area - bigger touch targets */
|
||||
#input {
|
||||
padding: 12px;
|
||||
padding-bottom: calc(12px + env(safe-area-inset-bottom));
|
||||
padding-left: calc(12px + env(safe-area-inset-left));
|
||||
padding-right: calc(12px + env(safe-area-inset-right));
|
||||
}
|
||||
|
||||
#userInput {
|
||||
@@ -1003,5 +1098,15 @@ select:hover {
|
||||
padding: 2px 5px; border-radius: 5px; line-height: 1; filter: grayscale(0.6);
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
.rate-btn:hover { filter: none; background: rgba(255,122,0,0.12); }
|
||||
.rate-btn.rated { filter: none; background: rgba(255,122,0,0.25); opacity: 1; }
|
||||
.rate-btn:hover { filter: none; background: var(--accent-soft); }
|
||||
.rate-btn.rated { filter: none; background: rgba(255,122,0,0.22); opacity: 1; }
|
||||
|
||||
/* Quality floor: honor reduced-motion preference. */
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*, *::before, *::after {
|
||||
animation-duration: 0.01ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
transition-duration: 0.01ms !important;
|
||||
scroll-behavior: auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user