From fb55878727382a279cd51edc730b1e20b0f6d9c8 Mon Sep 17 00:00:00 2001 From: "Aaron D. Lee" Date: Sun, 4 Jan 2026 14:56:08 -0500 Subject: [PATCH] Polish UI styling across site MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Flip gradient to purple→blue (eggplant #4a2860 → blue #5570d4) - Add gold title styling (.title-gold) for Stegasoo branding - Style two-choice toggles with gradient-matched purple/blue colors - Equal-width toggle buttons with hover highlight - Tools page: green→amber tab gradient with dark background - Dashed separator between toggle options 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- frontends/web/static/style.css | 43 ++++++++++++++++++++++++++++-- frontends/web/templates/base.html | 2 +- frontends/web/templates/index.html | 2 +- frontends/web/templates/tools.html | 35 +++++++++++++----------- 4 files changed, 62 insertions(+), 20 deletions(-) diff --git a/frontends/web/static/style.css b/frontends/web/static/style.css index 6982050..eea662a 100644 --- a/frontends/web/static/style.css +++ b/frontends/web/static/style.css @@ -6,8 +6,8 @@ CSS Variables ---------------------------------------------------------------------------- */ :root { - --gradient-start: #667eea; - --gradient-end: #764ba2; + --gradient-start: #4a2860; + --gradient-end: #5570d4; --bg-dark-1: #1a1a2e; --bg-dark-2: #16213e; --bg-dark-3: #0f3460; @@ -146,6 +146,45 @@ body { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.33); } +.title-gold { + color: var(--header-gold); + text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55); +} + +/* Two-choice toggle buttons - gradient-matched colors + equal width */ +.btn-group .btn-outline-primary, +.btn-group .btn-outline-secondary { + flex: 1 1 0; + transition: all 0.2s ease; +} +.btn-group .btn-outline-primary:hover, +.btn-group .btn-outline-secondary:hover { + background-color: rgba(255, 255, 255, 0.08); +} +.btn-group .btn-outline-primary:first-of-type, +.btn-group .btn-outline-secondary:first-of-type { + color: #6b4d8a; + border-color: #6b4d8a; + border-right: 1px dashed rgba(255, 255, 255, 0.2); +} +.btn-group .btn-outline-primary:last-of-type, +.btn-group .btn-outline-secondary:last-of-type { + color: #4a62a8; + border-color: #4a62a8; +} +.btn-group .btn-check:checked + .btn-outline-primary:first-of-type, +.btn-group .btn-check:checked + .btn-outline-secondary:first-of-type { + background-color: #6b4d8a; + border-color: #6b4d8a; + color: #fff; +} +.btn-group .btn-check:checked + .btn-outline-primary:last-of-type, +.btn-group .btn-check:checked + .btn-outline-secondary:last-of-type { + background-color: #4a62a8; + border-color: #4a62a8; + color: #fff; +} + /* Override small warning text to use header gold */ .text-warning.small { color: var(--header-gold) !important; diff --git a/frontends/web/templates/base.html b/frontends/web/templates/base.html index 60894c7..d266902 100644 --- a/frontends/web/templates/base.html +++ b/frontends/web/templates/base.html @@ -14,7 +14,7 @@
Stegasoo - Stegasoo + Stegasoo