Package: tracker.debian.org
Severity: normal
Tags: patch

Dear Maintainer,

the distro tracker input controls (buttons, search field) are unreadable with a
dark theme.
I’m using Breeze Dark one of the 2 default themes for plasma and I get black
text on dark grey background.

Here’s a patch fixing the issue by overriding the faulty bootstrap rule in the
distro tracke specific style.css stylesheet.

Cheers,
--Aurélien



-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing'), (150, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
diff --git a/distro_tracker/core/static/css/style.css 
b/distro_tracker/core/static/css/style.css
index 28108c4..2e01769 100644
--- a/distro_tracker/core/static/css/style.css
+++ b/distro_tracker/core/static/css/style.css
@@ -14,6 +14,11 @@ a, a:hover, a:focus {
     color: #0530D7;
 }
 
+/* Override bootstrap rule color:inherit to fix dark themes */
+button, input, optgroup, select, textarea {
+    color: initial;
+}
+
 .page-header {
     padding: 0.5rem 0;
 }

Reply via email to