| Current Path : /var/www/html/learn/node_modules/@ckeditor/ckeditor5-ui/theme/components/panel/ |
| Current File : /var/www/html/learn/node_modules/@ckeditor/ckeditor5-ui/theme/components/panel/balloonpanel.css |
/*
* Copyright (c) 2003-2021, 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;
}
}