From 26e140ee22a95e04e1cd7fc39a5e97a8deb489db Mon Sep 17 00:00:00 2001 From: Tobias Hagemann Date: Thu, 30 Apr 2020 16:31:25 +0200 Subject: [PATCH] fixed checkmark color if it's selected and disabled --- main/ui/src/main/resources/css/dark_theme.css | 4 ++++ main/ui/src/main/resources/css/light_theme.css | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/main/ui/src/main/resources/css/dark_theme.css b/main/ui/src/main/resources/css/dark_theme.css index f9b113c77..6f8022beb 100644 --- a/main/ui/src/main/resources/css/dark_theme.css +++ b/main/ui/src/main/resources/css/dark_theme.css @@ -631,6 +631,10 @@ -fx-background-color: TEXT_FILL; } +.check-box:selected:disabled > .box > .mark { + -fx-background-color: TEXT_FILL_MUTED; +} + /******************************************************************************* * * * RadioButton * diff --git a/main/ui/src/main/resources/css/light_theme.css b/main/ui/src/main/resources/css/light_theme.css index 0170b32d7..42f93bfbf 100644 --- a/main/ui/src/main/resources/css/light_theme.css +++ b/main/ui/src/main/resources/css/light_theme.css @@ -630,6 +630,10 @@ -fx-background-color: TEXT_FILL; } +.check-box:selected:disabled > .box > .mark { + -fx-background-color: TEXT_FILL_MUTED; +} + /******************************************************************************* * * * RadioButton *