Icon in reaction counter changes with negative/neutral value
authorMarcel Werk <burntime@woltlab.com>
Thu, 4 Jul 2019 15:13:49 +0000 (17:13 +0200)
committerMarcel Werk <burntime@woltlab.com>
Thu, 4 Jul 2019 15:13:49 +0000 (17:13 +0200)
wcfsetup/install/files/style/ui/reactions.scss

index d78bcf8233c3c68b65cb862e3755bc21f8aa5cb3..a4ea8891d00cc2d0030a7b83b66a4dea91f6b83d 100644 (file)
@@ -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;
        }