Prevent broken hover state on touch devices
authorAlexander Ebert <ebert@woltlab.com>
Mon, 12 Dec 2016 12:01:41 +0000 (13:01 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 12 Dec 2016 12:02:29 +0000 (13:02 +0100)
wcfsetup/install/files/style/ui/like.scss

index 0b46896120c87e6816da6b16b5053c5aaec37eb7..e6e1f09dfbbfa9c9c2fa6659acd819047fde39d4 100644 (file)
@@ -23,3 +23,9 @@
                color: #900 !important;
        }
 }
+
+html.touch .wcfLikeButton > .button:not(.active):hover,
+html.touch .wcfDislikeButton > .button:not(.active):hover {
+       background-color: $wcfButtonBackground !important;
+       color: $wcfButtonText !important;
+}
\ No newline at end of file