ckeditor5-image-upload-base64
Version:
The development environment of CKEditor 5 – the best browser-based rich text editor.
57 lines (45 loc) • 1.07 kB
CSS
/*
* Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
:root {
/* Make sure the balloon arrow does not float over its children. */
--ck-balloon-panel-arrow-z-index: calc(var(--ck-z-default) - 3);
}
.ck.ck-balloon-panel {
display: none;
position: absolute;
z-index: var(--ck-z-modal);
&.ck-balloon-panel_with-arrow {
&::before,
&::after {
content: "";
position: absolute;
}
&::before {
z-index: var(--ck-balloon-panel-arrow-z-index);
}
&::after {
z-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);
}
}
&[class*="arrow_n"] {
&::before {
z-index: var(--ck-balloon-panel-arrow-z-index);
}
&::after {
z-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);
}
}
&[class*="arrow_s"] {
&::before {
z-index: var(--ck-balloon-panel-arrow-z-index);
}
&::after {
z-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);
}
}
&.ck-balloon-panel_visible {
display: block;
}
}