ckeditor5-editor-classic-floating 40.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,16 @@
1
+ /*
2
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ .ck.ck-editor {
7
+ /* All the elements within `.ck-editor` are positioned relatively to it.
8
+ If any element needs to be positioned with respect to the <body>, etc.,
9
+ it must land outside of the `.ck-editor` in DOM. */
10
+ position: relative;
11
+
12
+ & .ck-editor__top .ck-sticky-panel .ck-toolbar {
13
+ /* https://github.com/ckeditor/ckeditor5-editor-classic/issues/62 */
14
+ z-index: var(--ck-z-modal);
15
+ }
16
+ }
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ .ck.ck-sticky-panel {
7
+ & .ck-sticky-panel__content_sticky {
8
+ z-index: var(--ck-z-modal); /* #315 */
9
+ position: fixed;
10
+ top: 0;
11
+ }
12
+
13
+ & .ck-sticky-panel__content_sticky_bottom-limit {
14
+ top: auto;
15
+ position: absolute;
16
+ }
17
+ }