From c459b0aae06b841cb95314aeeedf3b7066fe2e1c Mon Sep 17 00:00:00 2001 From: fatadel Date: Thu, 30 Apr 2026 14:29:30 +0200 Subject: [PATCH] Drop the global a:active rule It styled every anchor red while clicked, including ones styled as buttons (e.g. the Download button rendered via BlobUrlLink). Introduced in #5740. Removing it lets anchors keep whatever color their wrapping class sets, avoiding the same trap for any future link-styled element. Fixes #5948 --- res/css/global.css | 4 ---- 1 file changed, 4 deletions(-) diff --git a/res/css/global.css b/res/css/global.css index 5353f161f0..0d04e2fafc 100644 --- a/res/css/global.css +++ b/res/css/global.css @@ -153,10 +153,6 @@ a:visited { color: var(--link-visited-foreground-color); } -a:active { - color: var(--link-active-foreground-color); -} - /** * This class should be used to create a small colored square. It's used * especially for categories and network mime types.