From 9fddcb48ff27cc5df38aa0a9489015180debba40 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 28 Jun 2023 19:36:24 +0200 Subject: [PATCH] Fix the hover state of the link balloon tooltip See https://www.woltlab.com/community/thread/300338-link-bearbeiten-nicht-optimale-farbwahl/ --- wcfsetup/install/files/style/ui/ckeditor.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/wcfsetup/install/files/style/ui/ckeditor.scss b/wcfsetup/install/files/style/ui/ckeditor.scss index 48404508823..124ae14ce31 100644 --- a/wcfsetup/install/files/style/ui/ckeditor.scss +++ b/wcfsetup/install/files/style/ui/ckeditor.scss @@ -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 { @@ -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 {