From 9f33ea79756c9ad16d82095d8f09b5bc163a983c Mon Sep 17 00:00:00 2001 From: Josh Knapp Date: Sun, 15 Nov 2026 17:53:34 -0800 Subject: [PATCH] Progress bar: use accent gradient fill so a full bar is visible Co-Authored-By: Claude Sonnet 5.5 --- assets/donate/donate.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/donate/donate.css b/assets/donate/donate.css index 4fb13ae..a345d3c 100644 --- a/assets/donate/donate.css +++ b/assets/donate/donate.css @@ -45,8 +45,8 @@ /* Progress bar (theme-neutral: inherits text colour; fill uses currentColor so it follows the theme). */ .sg-donate .sg-progress{margin:0 0 .9rem;max-width:100%;box-sizing:border-box} -.sg-donate .sg-progress-bar{position:relative;height:14px;border:1px solid rgba(128,128,128,.6);border-radius:999px;background:rgba(128,128,128,.18);overflow:hidden} -.sg-donate .sg-progress-fill{display:block;height:100%;width:0;background:currentColor;opacity:.75;border-radius:999px;transition:width .6s ease} +.sg-donate .sg-progress-bar{position:relative;height:14px;border:1px solid rgba(128,128,128,.45);border-radius:999px;background:rgba(128,128,128,.22);overflow:hidden;box-shadow:inset 0 1px 2px rgba(0,0,0,.18)} +.sg-donate .sg-progress-fill{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--sg-accent,#7c5cff),var(--sg-accent2,#22d3ee));min-width:0;border-radius:999px;transition:width .6s ease} .sg-donate .sg-progress-text{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.25rem .75rem;margin-top:.35rem;font-weight:600;line-height:1.4;overflow-wrap:anywhere} .sg-donate .sg-progress-tier,.sg-donate .sg-progress-done{margin:.25rem 0 0;font-size:.9em;line-height:1.4;overflow-wrap:anywhere} .sg-donate .sg-progress-done{font-weight:700}