Fix the suppressed hover states on mobile
authorAlexander Ebert <ebert@woltlab.com>
Thu, 3 Aug 2023 16:59:47 +0000 (18:59 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 3 Aug 2023 16:59:47 +0000 (18:59 +0200)
See https://www.woltlab.com/community/thread/300930-button-farbe-in-der-editor-toolbar-fehlt-im-hellen-farbschema/

wcfsetup/install/files/style/ui/ckeditor.scss

index 5b53d5fdd546674072a16014c2c96960475eb3f2..e90607511f245da71c8b39f778063891592f1c2d 100644 (file)
 }
 
 @media (pointer: coarse) {
-       .ck-button:not(.ck-disabled, .ck-on) {
-               background: var(--ck-color-button-default-background) !important;
-               color: var(--ck-color-text) !important;
+       .ck.ck-toolbar__items .ck.ck-button:not(.ck-disabled, .ck-on):hover {
+               background: var(--ck-color-button-default-background);
+               color: var(--ck-color-text);
        }
 }