Skip to content

Commit

Permalink
Fix the hover state of the link balloon tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
dtdesign committed Jun 28, 2023
1 parent 45db35a commit 9fddcb4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions wcfsetup/install/files/style/ui/ckeditor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
--ck-color-list-button-on-background: var(--wcfDropdownBackgroundActive);
--ck-color-list-button-on-background-focus: var(--wcfDropdownBackgroundActive);
--ck-color-list-button-on-text: var(--wcfDropdownLink);

--ck-color-link-default: var(--wcfContentLink);
}

.ck.ck-content {
Expand Down Expand Up @@ -193,6 +195,14 @@
--ck-z-modal: 1;
}

/* Fixes the hover state of the link balloon tooltip. */
.ck.ck-link-actions .ck-button.ck-link-actions__preview:hover .ck-button__label {
color: var(--wcfButtonTextActive);
}
.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label:hover {
text-decoration: none !important;
}

html[data-color-scheme="dark"] {
.ck.ck-editor,
.ck.ck-body {
Expand Down

0 comments on commit 9fddcb4

Please sign in to comment.