From f66b2749f0c1aab2959078c04f795bb91283a5ec Mon Sep 17 00:00:00 2001 From: nmemmert <67961292+nmemmert@users.noreply.github.com> Date: Tue, 4 Aug 2026 16:56:13 -0400 Subject: [PATCH] Style all back/switch/stop buttons as proper pill buttons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaces the plain muted text style with a white card button: border, shadow, hover lift, and transition — consistent across Switch, Back, Stop, and Cancel labels throughout the student app. Co-Authored-By: Claude Sonnet 4.6 --- public/styles.css | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/public/styles.css b/public/styles.css index fa27192..a55fc5b 100644 --- a/public/styles.css +++ b/public/styles.css @@ -178,9 +178,23 @@ body:has(#view-home:not([hidden])) .page-confetti { display: block; } /* ---------- kid home ---------- */ .back-btn { - display: inline-block; - background: none; border: none; color: var(--muted); - font-size: 1rem; cursor: pointer; margin-bottom: 1rem; + display: inline-flex; align-items: center; gap: 0.3rem; + background: var(--card); + border: 1.5px solid #d8d2c0; + border-radius: 10px; + color: var(--muted); + font-size: 0.9rem; font-weight: 600; font-family: inherit; + padding: 0.4rem 0.9rem; + cursor: pointer; margin-bottom: 1rem; + box-shadow: 0 2px 6px rgba(45,49,66,0.07); + transition: background 0.15s, color 0.15s, transform 0.12s, box-shadow 0.15s; +} +.back-btn:hover { + background: #fff; + color: var(--ink); + border-color: #bdb8aa; + box-shadow: 0 4px 12px rgba(45,49,66,0.12); + transform: translateY(-1px); } #kid-greeting { font-size: 2rem; margin: 1rem 0; clear: both; }