From ffbee5f7d905999dd17fbd2fa7cf566121adaf22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magdalena=20Chrze=C5=9Bcian?= Date: Mon, 4 Jan 2021 18:59:38 +0100 Subject: [PATCH] Removed inner shadow for active drop-downs. --- .../ckeditor5-ui/components/dropdown/dropdown.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/dropdown.css b/packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/dropdown.css index bc8952e08d6..0e03d5d44dd 100644 --- a/packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/dropdown.css +++ b/packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/dropdown.css @@ -78,6 +78,16 @@ &.ck-dropdown__button_label-width_auto .ck-button__label { width: auto; } + + /* https://github.com/ckeditor/ckeditor5/issues/8699 */ + &.ck-off:active, + &.ck-on:active { + box-shadow: none; + + &:focus { + @mixin ck-box-shadow var(--ck-focus-outer-shadow); + } + } } }