From dc57b426433c015d147156ec159940ee6a3c7f9e Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 28 Apr 2023 16:46:21 +0200 Subject: [PATCH] Fix the poll bar colors in dark mode Fixes #5432 --- wcfsetup/install/files/style/ui/poll.scss | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/wcfsetup/install/files/style/ui/poll.scss b/wcfsetup/install/files/style/ui/poll.scss index e5f48b7a92..d3a9292899 100644 --- a/wcfsetup/install/files/style/ui/poll.scss +++ b/wcfsetup/install/files/style/ui/poll.scss @@ -70,7 +70,7 @@ } > .pollOptionRelativeValue { - color: rgb(125, 130, 135); + color: var(--wcfContentDimmedText); flex: 0 0 50px; text-align: right; } @@ -81,11 +81,15 @@ background-color: var(--wcfContentBorderInner); height: 5px; margin-top: 5px; - - > .pollMeterValue { - background-color: var(--wcfContentBorder); - height: 100%; - } } } } + +.pollMeterValue { + background-color: var(--wcfContentBorder); + height: 100%; +} + +html[data-color-scheme="dark"] .pollMeterValue { + background-color: rgb(255 255 255 / 34%); +} -- 2.20.1