From 1ed75a3932ad98bd57960efc3e24805551d3cf71 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 4 Jul 2019 17:13:49 +0200 Subject: [PATCH] Icon in reaction counter changes with negative/neutral value --- wcfsetup/install/files/style/ui/reactions.scss | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/style/ui/reactions.scss b/wcfsetup/install/files/style/ui/reactions.scss index d78bcf8233..a4ea8891d0 100644 --- a/wcfsetup/install/files/style/ui/reactions.scss +++ b/wcfsetup/install/files/style/ui/reactions.scss @@ -127,15 +127,23 @@ li.reactCountButton:hover { &.positive { color: #060 !important; + + &::before { + content: $fa-var-smile-o + "\00A0"; + } } &.negative { color: #900 !important; + + &::before { + content: $fa-var-frown-o + "\00A0"; + } } &::before { font-family: FontAwesome; - content: $fa-var-smile-o + "\00A0"; + content: $fa-var-meh-o + "\00A0"; display: inline-block; } -- 2.20.1