From 1a74d7f44526e49dceedde2200bb958d2ccf832c Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Mon, 2 Nov 2026 22:09:13 -0500 Subject: [PATCH] Keep the phone header's project title white On phones the project jump button is the header bar's big title; its dark-mode field colours made the text dark on the dark header. Co-Authored-By: Claude Opus 5.5 --- assets/stylesheets/dark_mode.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/assets/stylesheets/dark_mode.css b/assets/stylesheets/dark_mode.css index 490f01c..523212d 100644 --- a/assets/stylesheets/dark_mode.css +++ b/assets/stylesheets/dark_mode.css @@ -174,6 +174,14 @@ html.dark-mode #header select { } +/* Phones: the project jump button becomes the header bar's big title, on the header's colour */ +@media screen and (max-width: 899px) { + html.dark-mode #header #project-jump .drdn-trigger { + --oc-white: #ffffff; + --oc-white-rgb: 255, 255, 255; + } +} + /* ------------------------------------------------------------------ Core Redmine */ html.dark-mode body,