Fixed toolbar style on mobile
authorAlexander Ebert <ebert@woltlab.com>
Thu, 18 Aug 2016 11:15:42 +0000 (13:15 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 18 Aug 2016 11:15:42 +0000 (13:15 +0200)
wcfsetup/install/files/style/ui/redactor.scss

index a0e00895cc68d8663f3c89aa4098abe087ea93c2..6187228c377e39d52c35d95cd8cc940288ef27a6 100644 (file)
                                cursor: default;
                        }
                        
-                       &:hover,
                        &.redactor-act,
                        &.dropact {
                                background-color: $wcfHeaderMenuLinkBackgroundActive;
                                color: inherit;
                                cursor: inherit !important;
                        }
+                       
+                       @include screen-lg {
+                               // hover-styles on mobile are misleading as they stay much longer
+                               // due to the click-like behavior
+                               &:hover {
+                                       background-color: $wcfHeaderMenuLinkBackgroundActive;
+                                       color: $wcfHeaderMenuLinkActive;
+                               }
+                       }
                }
                
                @include screen-sm-up {