Work-around for Firefox rendering issue
authorAlexander Ebert <ebert@woltlab.com>
Tue, 27 Dec 2016 16:27:38 +0000 (17:27 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 27 Dec 2016 16:27:44 +0000 (17:27 +0100)
wcfsetup/install/files/style/layout/pageHeader.scss

index 6569c6bc1657f5803051ccfb3284e328c13c8ca7..a22308e2832e1948c481fed0ae5a2457188db9ad 100644 (file)
        }
 }
 
+/* Firefox suffers from subpixel rendering issues */
+@-moz-document url-prefix() {
+       .mainMenu .boxMenu > li:not(:last-child) {
+               box-shadow: 0 0 0 1px $wcfHeaderMenuLinkBackground;
+               
+               &.active,
+               &:hover {
+                       box-shadow: 0 0 0 1px $wcfHeaderMenuLinkBackgroundActive;
+               }
+       }
+}
+
 /* user panel */
 .userPanel {
        flex: 0 0 auto;