From 677f17c418635482223e0479b5459d8655442509 Mon Sep 17 00:00:00 2001 From: SethBurkart123 Date: Tue, 11 Feb 2025 22:05:55 +1100 Subject: [PATCH] fix: colour of timetable buttons in dark mode --- src/css/injected.scss | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/css/injected.scss b/src/css/injected.scss index 27f6e8df..2105fa1d 100644 --- a/src/css/injected.scss +++ b/src/css/injected.scss @@ -688,6 +688,7 @@ td.colourBar { #toolbar button.toggled, #toolbar button.depressed { background: #333333; + color: white; } } #toolbar button.toggled, @@ -715,14 +716,19 @@ ul.buttonChecklist { border-radius: 8px !important; } - &:has(.item.checked) button:nth-child(2) { + &:has(.item.checked) button:nth-child(1) { background: var(--background-secondary) !important; } - &:has(.item.unchecked) button:nth-child(1) { + &:has(.item.unchecked) button:nth-child(2) { background: var(--background-secondary) !important; } } +.dark ul.buttonChecklist { + li.item.checked { + background-image: url('data:image/svg+xml;utf8,'); + } +} #toolbar > span:has(input) { flex: 1 1 0%; }