From: Alexander Ebert Date: Fri, 28 Apr 2023 14:46:21 +0000 (+0200) Subject: Fix the poll bar colors in dark mode X-Git-Tag: 6.0.0_Alpha_1~176 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dc57b426433c015d147156ec159940ee6a3c7f9e;p=GitHub%2FWoltLab%2FWCF.git Fix the poll bar colors in dark mode Fixes #5432 --- 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%); +}