style(next)/formatting toolbar: tweak the appearance of split buttons

This commit is contained in:
Adorian Doran 2025-05-23 17:49:19 +03:00
parent a0aa7b6721
commit 45cc8aa99b

View File

@ -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
*/