Apply `cursor: pointer` to all non-disabled buttons
authorAlexander Ebert <ebert@woltlab.com>
Fri, 21 Apr 2023 13:18:07 +0000 (15:18 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 21 Apr 2023 13:18:07 +0000 (15:18 +0200)
wcfsetup/install/files/style/ui/ckeditor.scss

index 556a174313748472c8bc35bea7cb42987e975859..1c04727eb7f7728c5bb80e690f00888687202dad 100644 (file)
        border-radius: 0 !important;
 }
 
+.ck.ck-button.ck-button:not(.ck-disabled) {
+       cursor: pointer;
+}
+
 .ck.ck-toolbar__items {
        --ck-color-button-default-hover-background: var(--wcfEditorButtonBackground);
        --ck-color-button-default-active-background: var(--wcfEditorButtonBackground);
@@ -87,7 +91,6 @@
 
 .ck.ck-list .ck-list__item .ck-button:not(.ck-disabled):hover {
        color: var(--wcfDropdownLink);
-       cursor: pointer;
 }
 
 .ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable),
 .ck.ck-body {
        .ck-button:not(.ck-disabled) {
                color: var(--ck-color-text);
-               cursor: pointer;
        }
 
        .ck-button.ck-disabled {