From 45cc8aa99bbc1b9c89fff8692389400d9c017461 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Fri, 23 May 2025 17:49:19 +0300 Subject: [PATCH] style(next)/formatting toolbar: tweak the appearance of split buttons --- apps/client/src/stylesheets/theme-next/notes/text.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apps/client/src/stylesheets/theme-next/notes/text.css b/apps/client/src/stylesheets/theme-next/notes/text.css index 390f0d937..a159e2c87 100644 --- a/apps/client/src/stylesheets/theme-next/notes/text.css +++ b/apps/client/src/stylesheets/theme-next/notes/text.css @@ -22,6 +22,8 @@ --ck-color-button-on-hover-background: var(--hover-item-background-color); --ck-color-button-default-active-background: var(--hover-item-background-color); + --ck-color-split-button-hover-background: var(--ck-editor-toolbar-dropdown-button-open-background); + --ck-focus-ring: 1px solid transparent; --ck-color-focus-border: var(--input-focus-outline-color); --ck-focus-outer-shadow: none; @@ -69,6 +71,11 @@ --ck-focus-ring: 1px solid var(--input-focus-outline-color); } +/* Remove the border from hovered split arrow button */ +.ck.ck-splitbutton:hover > .ck-splitbutton__arrow:not(.ck-disabled)::after { + visibility: collapse; +} + /* * Dropdowns */