@ckeditor/ckeditor5-ui
Version:
The UI framework and standard UI library of CKEditor 5.
43 lines (35 loc) • 776 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
*/
.ck.ck-dialog-overlay {
user-select: none;
overscroll-behavior: none;
position: fixed;
bottom: 0;
left: 0;
right: 0;
top: 0;
&.ck-dialog-overlay__transparent {
pointer-events: none;
animation: none;
background: none;
}
}
.ck.ck-dialog {
overscroll-behavior: none;
width: fit-content;
position: absolute;
& .ck.ck-form__header {
flex-shrink: 0;
}
/* Modals should not be draggable. */
&:not(.ck-dialog_modal) {
& .ck.ck-form__header .ck-form__header__label {
cursor: grab;
}
}
.ck.ck-dialog-overlay.ck-dialog-overlay__transparent & {
pointer-events: all;
}
}