@ckeditor/ckeditor5-ui
Version:
The UI framework and standard UI library of CKEditor 5.
27 lines (21 loc) • 639 B
CSS
/*
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/
@import "../../mixins/_unselectable.css";
.ck.ck-list {
@mixin ck-unselectable;
display: flex;
flex-direction: column;
& .ck-list__item,
& .ck-list__separator {
display: block;
}
/* Make sure that whatever child of the list item gets focus, it remains on the
top. Thanks to that, styles like box-shadow, outline, etc. are not masked by
adjacent list items. */
& .ck-list__item > *:focus {
position: relative;
z-index: var(--ck-z-default);
}
}