From: Alexander Ebert Date: Tue, 18 Jul 2023 13:01:52 +0000 (+0200) Subject: Suppress button hover states on touch devices X-Git-Tag: 6.0.0_Alpha_7~15 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e298864ab469d7fd941e71e17958dd329c28aa73;p=GitHub%2FWoltLab%2FWCF.git Suppress button hover states on touch devices See https://www.woltlab.com/community/thread/300684-mobil-ist-es-nicht-erkennbar-wenn-man-eine-formatierung-deaktiviert/ --- diff --git a/wcfsetup/install/files/style/ui/ckeditor.scss b/wcfsetup/install/files/style/ui/ckeditor.scss index 58be5fbd05..a480cb2f53 100644 --- a/wcfsetup/install/files/style/ui/ckeditor.scss +++ b/wcfsetup/install/files/style/ui/ckeditor.scss @@ -192,6 +192,13 @@ } } +@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-body-wrapper { .ck.ck-balloon-panel { box-shadow: var(--wcfBoxShadow);