From e8a569a7e420c58974d5a5dc52e7f7aaba995137 Mon Sep 17 00:00:00 2001 From: yuancheng Date: Tue, 21 Jul 2026 15:29:36 +0800 Subject: [PATCH] Fix invisible table header text (white-on-white contrast bug) table th switched to background: transparent + text-transform: uppercase in a past redesign, but a.tooltip (the link wrapping every 's text across the whole dashboard) still hardcoded color: #FFFFFF from the old solid-indigo-background header design. With no colored block behind it anymore, white text sits directly on --page-bg/--content-bg (near-white), making every table header effectively unreadable. Switch a.tooltip to color: var(--content-text) (dark, same variable the th itself already uses) so header text is visible again. --- css/pistar-css-mini.php | 4 ++-- css/pistar-css.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/css/pistar-css-mini.php b/css/pistar-css-mini.php index 4eb11ac..b377569 100644 --- a/css/pistar-css-mini.php +++ b/css/pistar-css-mini.php @@ -660,13 +660,13 @@ a:hover { a.tooltip, a.tooltip:link, a.tooltip:visited, a.tooltip:active { text-decoration: none; position: relative; - color: #FFFFFF; + color: var(--content-text); } a.tooltip:hover { text-shadow: none; text-decoration: none; - color: #FFFFFF; + color: var(--content-text); background: transparent; } diff --git a/css/pistar-css.php b/css/pistar-css.php index fc13710..163f6c8 100644 --- a/css/pistar-css.php +++ b/css/pistar-css.php @@ -801,13 +801,13 @@ a:hover { a.tooltip, a.tooltip:link, a.tooltip:visited, a.tooltip:active { text-decoration: none; position: relative; - color: #FFFFFF; + color: var(--content-text); } a.tooltip:hover { text-shadow: none; text-decoration: none; - color: #FFFFFF; + color: var(--content-text); background: transparent; }