Fix the visuals of the “Insert Image from URL” button
authorAlexander Ebert <ebert@woltlab.com>
Fri, 31 May 2024 10:24:57 +0000 (12:24 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 31 May 2024 10:24:57 +0000 (12:24 +0200)
See https://www.woltlab.com/community/thread/306467-darstellungsfehler-im-editor/

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

index 952e632f339e064497a1756c2bc00a32b89d7287..bb43de2a6a87c5694299d317baa915985f54c7e8 100644 (file)
                        color: var(--wcfEditorButtonText);
                }
        }
+
+       /* Extra fix for the handling of buttons that act as a toggle for a
+          collapsible container. */
+       .ck.ck.ck-toolbar__items .ck.ck-collapsible > .ck.ck-button:hover {
+               background: var(--ck-color-button-default-hover-background);
+
+               /* The editor does not support a separate text color on hover. */
+               color: var(--wcfEditorButtonText);
+       }
 }
 
 .ck.ck-toolbar__items,