@ckeditor/ckeditor5-fullscreen 47.6.1 → 48.0.0-alpha.1
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.
- package/ckeditor5-metadata.json +2 -2
- package/{src → dist}/fullscreen.d.ts +1 -1
- package/{src → dist}/fullscreencommand.d.ts +2 -2
- package/{src → dist}/fullscreenediting.d.ts +1 -1
- package/{src → dist}/fullscreenui.d.ts +1 -1
- package/{src → dist}/handlers/abstracteditorhandler.d.ts +2 -2
- package/dist/index-editor.css +153 -154
- package/dist/index.css +150 -191
- package/dist/index.css.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/package.json +24 -48
- package/build/fullscreen.js +0 -5
- package/build/translations/af.js +0 -1
- package/build/translations/ar.js +0 -1
- package/build/translations/ast.js +0 -1
- package/build/translations/az.js +0 -1
- package/build/translations/be.js +0 -1
- package/build/translations/bg.js +0 -1
- package/build/translations/bn.js +0 -1
- package/build/translations/bs.js +0 -1
- package/build/translations/ca.js +0 -1
- package/build/translations/cs.js +0 -1
- package/build/translations/da.js +0 -1
- package/build/translations/de-ch.js +0 -1
- package/build/translations/de.js +0 -1
- package/build/translations/el.js +0 -1
- package/build/translations/en-au.js +0 -1
- package/build/translations/en-gb.js +0 -1
- package/build/translations/eo.js +0 -1
- package/build/translations/es-co.js +0 -1
- package/build/translations/es.js +0 -1
- package/build/translations/et.js +0 -1
- package/build/translations/eu.js +0 -1
- package/build/translations/fa.js +0 -1
- package/build/translations/fi.js +0 -1
- package/build/translations/fr.js +0 -1
- package/build/translations/gl.js +0 -1
- package/build/translations/gu.js +0 -1
- package/build/translations/he.js +0 -1
- package/build/translations/hi.js +0 -1
- package/build/translations/hr.js +0 -1
- package/build/translations/hu.js +0 -1
- package/build/translations/hy.js +0 -1
- package/build/translations/id.js +0 -1
- package/build/translations/it.js +0 -1
- package/build/translations/ja.js +0 -1
- package/build/translations/jv.js +0 -1
- package/build/translations/kk.js +0 -1
- package/build/translations/km.js +0 -1
- package/build/translations/kn.js +0 -1
- package/build/translations/ko.js +0 -1
- package/build/translations/ku.js +0 -1
- package/build/translations/lt.js +0 -1
- package/build/translations/lv.js +0 -1
- package/build/translations/ms.js +0 -1
- package/build/translations/nb.js +0 -1
- package/build/translations/ne.js +0 -1
- package/build/translations/nl.js +0 -1
- package/build/translations/no.js +0 -1
- package/build/translations/oc.js +0 -1
- package/build/translations/pl.js +0 -1
- package/build/translations/pt-br.js +0 -1
- package/build/translations/pt.js +0 -1
- package/build/translations/ro.js +0 -1
- package/build/translations/ru.js +0 -1
- package/build/translations/si.js +0 -1
- package/build/translations/sk.js +0 -1
- package/build/translations/sl.js +0 -1
- package/build/translations/sq.js +0 -1
- package/build/translations/sr-latn.js +0 -1
- package/build/translations/sr.js +0 -1
- package/build/translations/sv.js +0 -1
- package/build/translations/th.js +0 -1
- package/build/translations/ti.js +0 -1
- package/build/translations/tk.js +0 -1
- package/build/translations/tr.js +0 -1
- package/build/translations/tt.js +0 -1
- package/build/translations/ug.js +0 -1
- package/build/translations/uk.js +0 -1
- package/build/translations/ur.js +0 -1
- package/build/translations/uz.js +0 -1
- package/build/translations/vi.js +0 -1
- package/build/translations/zh-cn.js +0 -1
- package/build/translations/zh.js +0 -1
- package/lang/contexts.json +0 -11
- package/lang/translations/af.po +0 -48
- package/lang/translations/ar.po +0 -48
- package/lang/translations/ast.po +0 -48
- package/lang/translations/az.po +0 -48
- package/lang/translations/be.po +0 -48
- package/lang/translations/bg.po +0 -48
- package/lang/translations/bn.po +0 -48
- package/lang/translations/bs.po +0 -48
- package/lang/translations/ca.po +0 -48
- package/lang/translations/cs.po +0 -48
- package/lang/translations/da.po +0 -48
- package/lang/translations/de-ch.po +0 -48
- package/lang/translations/de.po +0 -48
- package/lang/translations/el.po +0 -48
- package/lang/translations/en-au.po +0 -48
- package/lang/translations/en-gb.po +0 -48
- package/lang/translations/en.po +0 -48
- package/lang/translations/eo.po +0 -48
- package/lang/translations/es-co.po +0 -48
- package/lang/translations/es.po +0 -48
- package/lang/translations/et.po +0 -48
- package/lang/translations/eu.po +0 -48
- package/lang/translations/fa.po +0 -48
- package/lang/translations/fi.po +0 -48
- package/lang/translations/fr.po +0 -48
- package/lang/translations/gl.po +0 -48
- package/lang/translations/gu.po +0 -48
- package/lang/translations/he.po +0 -48
- package/lang/translations/hi.po +0 -48
- package/lang/translations/hr.po +0 -48
- package/lang/translations/hu.po +0 -48
- package/lang/translations/hy.po +0 -48
- package/lang/translations/id.po +0 -48
- package/lang/translations/it.po +0 -48
- package/lang/translations/ja.po +0 -48
- package/lang/translations/jv.po +0 -48
- package/lang/translations/kk.po +0 -48
- package/lang/translations/km.po +0 -48
- package/lang/translations/kn.po +0 -48
- package/lang/translations/ko.po +0 -48
- package/lang/translations/ku.po +0 -48
- package/lang/translations/lt.po +0 -48
- package/lang/translations/lv.po +0 -48
- package/lang/translations/ms.po +0 -48
- package/lang/translations/nb.po +0 -48
- package/lang/translations/ne.po +0 -48
- package/lang/translations/nl.po +0 -48
- package/lang/translations/no.po +0 -48
- package/lang/translations/oc.po +0 -48
- package/lang/translations/pl.po +0 -48
- package/lang/translations/pt-br.po +0 -48
- package/lang/translations/pt.po +0 -48
- package/lang/translations/ro.po +0 -48
- package/lang/translations/ru.po +0 -48
- package/lang/translations/si.po +0 -48
- package/lang/translations/sk.po +0 -48
- package/lang/translations/sl.po +0 -48
- package/lang/translations/sq.po +0 -48
- package/lang/translations/sr-latn.po +0 -48
- package/lang/translations/sr.po +0 -48
- package/lang/translations/sv.po +0 -48
- package/lang/translations/th.po +0 -48
- package/lang/translations/ti.po +0 -48
- package/lang/translations/tk.po +0 -48
- package/lang/translations/tr.po +0 -48
- package/lang/translations/tt.po +0 -48
- package/lang/translations/ug.po +0 -48
- package/lang/translations/uk.po +0 -48
- package/lang/translations/ur.po +0 -48
- package/lang/translations/uz.po +0 -48
- package/lang/translations/vi.po +0 -48
- package/lang/translations/zh-cn.po +0 -48
- package/lang/translations/zh.po +0 -48
- package/src/augmentation.js +0 -5
- package/src/fullscreen.js +0 -33
- package/src/fullscreencommand.js +0 -92
- package/src/fullscreenconfig.js +0 -5
- package/src/fullscreenediting.js +0 -69
- package/src/fullscreenui.js +0 -85
- package/src/handlers/abstracteditorhandler.js +0 -904
- package/src/handlers/classiceditorhandler.js +0 -60
- package/src/handlers/decouplededitorhandler.js +0 -38
- package/src/index.js +0 -15
- package/theme/fullscreen.css +0 -283
- /package/{src → dist}/augmentation.d.ts +0 -0
- /package/{src → dist}/fullscreenconfig.d.ts +0 -0
- /package/{src → dist}/handlers/classiceditorhandler.d.ts +0 -0
- /package/{src → dist}/handlers/decouplededitorhandler.d.ts +0 -0
- /package/{src → dist}/index.d.ts +0 -0
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module fullscreen/handlers/classiceditorhandler
|
|
7
|
-
*/
|
|
8
|
-
import { MenuBarView } from 'ckeditor5/src/ui.js';
|
|
9
|
-
import { FullscreenAbstractEditorHandler } from './abstracteditorhandler.js';
|
|
10
|
-
/**
|
|
11
|
-
* The classic editor fullscreen mode handler.
|
|
12
|
-
*/
|
|
13
|
-
export class FullscreenClassicEditorHandler extends FullscreenAbstractEditorHandler {
|
|
14
|
-
/**
|
|
15
|
-
* An editor instance.
|
|
16
|
-
*/
|
|
17
|
-
_editor;
|
|
18
|
-
/**
|
|
19
|
-
* @inheritDoc
|
|
20
|
-
*/
|
|
21
|
-
constructor(editor) {
|
|
22
|
-
super(editor);
|
|
23
|
-
this._editor = editor;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* A function that moves the editor UI elements to the fullscreen mode.
|
|
27
|
-
*/
|
|
28
|
-
defaultOnEnter() {
|
|
29
|
-
const editorUI = this._editor.ui;
|
|
30
|
-
const editorUIView = editorUI.view;
|
|
31
|
-
// Code coverage is provided in the commercial package repository as integration unit tests.
|
|
32
|
-
/* istanbul ignore next -- @preserve */
|
|
33
|
-
if (this._editor.plugins.has('Pagination') && this._editor.plugins.get('Pagination').isEnabled) {
|
|
34
|
-
this.moveToFullscreen(editorUI.getEditableElement().parentElement.querySelector('.ck-pagination-view'), 'pagination-view');
|
|
35
|
-
}
|
|
36
|
-
this.moveToFullscreen(editorUI.getEditableElement(), 'editable');
|
|
37
|
-
this.moveToFullscreen(editorUIView.toolbar.element, 'toolbar');
|
|
38
|
-
editorUIView.toolbar.switchBehavior(this._editor.config.get('fullscreen.toolbar.shouldNotGroupWhenFull') === true ? 'static' : 'dynamic');
|
|
39
|
-
// In classic editor, the `dir` attribute is set on the top-level container and it affects the styling
|
|
40
|
-
// in both menu bar and toolbar (adding the side padding to the elements).
|
|
41
|
-
// Since we don't move the whole container but only parts, we need to reapply the attribute value manually.
|
|
42
|
-
// Decupled editor doesn't have this issue because there is no top-level container,
|
|
43
|
-
// so `dir` attribute is set on each component separately.
|
|
44
|
-
this.getWrapper().setAttribute('dir', editorUIView.element.getAttribute('dir'));
|
|
45
|
-
// The `ck-rounded-corners` class is added to the wrapper element to ensure that the corners in menu bar, toolbar etc are rounded
|
|
46
|
-
// when the editor is in fullscreen mode.
|
|
47
|
-
// Decupled editor doesn't have this issue because there is no top-level container,
|
|
48
|
-
// so `ck-rounded-corners` class is set on each component separately.
|
|
49
|
-
this.getWrapper().classList.add('ck-rounded-corners');
|
|
50
|
-
if (this._editor.config.get('fullscreen.menuBar.isVisible')) {
|
|
51
|
-
if (!editorUIView.menuBarView) {
|
|
52
|
-
editorUIView.menuBarView = new MenuBarView(this._editor.locale);
|
|
53
|
-
editorUIView.menuBarView.render();
|
|
54
|
-
editorUI.initMenuBar(editorUIView.menuBarView);
|
|
55
|
-
}
|
|
56
|
-
this.moveToFullscreen(editorUIView.menuBarView.element, 'menu-bar');
|
|
57
|
-
}
|
|
58
|
-
return this.getWrapper();
|
|
59
|
-
}
|
|
60
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
import { FullscreenAbstractEditorHandler } from './abstracteditorhandler.js';
|
|
6
|
-
/**
|
|
7
|
-
* The decoupled editor fullscreen mode handler.
|
|
8
|
-
*/
|
|
9
|
-
export class FullscreenDecoupledEditorHandler extends FullscreenAbstractEditorHandler {
|
|
10
|
-
/**
|
|
11
|
-
* An editor instance.
|
|
12
|
-
*/
|
|
13
|
-
_editor;
|
|
14
|
-
/**
|
|
15
|
-
* @inheritDoc
|
|
16
|
-
*/
|
|
17
|
-
constructor(editor) {
|
|
18
|
-
super(editor);
|
|
19
|
-
this._editor = editor;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* A function that moves the editor UI elements to the fullscreen mode.
|
|
23
|
-
*/
|
|
24
|
-
defaultOnEnter() {
|
|
25
|
-
// Code coverage is provided in the commercial package repository as integration unit tests.
|
|
26
|
-
/* istanbul ignore next -- @preserve */
|
|
27
|
-
if (this._editor.plugins.has('Pagination') && this._editor.plugins.get('Pagination').isEnabled) {
|
|
28
|
-
this.moveToFullscreen(this._editor.ui.getEditableElement().parentElement.querySelector('.ck-pagination-view'), 'pagination-view');
|
|
29
|
-
}
|
|
30
|
-
this.moveToFullscreen(this._editor.ui.getEditableElement(), 'editable');
|
|
31
|
-
this.moveToFullscreen(this._editor.ui.view.toolbar.element, 'toolbar');
|
|
32
|
-
this._editor.ui.view.toolbar.switchBehavior(this._editor.config.get('fullscreen.toolbar.shouldNotGroupWhenFull') === true ? 'static' : 'dynamic');
|
|
33
|
-
if (this._editor.config.get('fullscreen.menuBar.isVisible')) {
|
|
34
|
-
this.moveToFullscreen(this._editor.ui.view.menuBarView.element, 'menu-bar');
|
|
35
|
-
}
|
|
36
|
-
return this.getWrapper();
|
|
37
|
-
}
|
|
38
|
-
}
|
package/src/index.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module fullscreen
|
|
7
|
-
*/
|
|
8
|
-
export { Fullscreen } from './fullscreen.js';
|
|
9
|
-
export { FullscreenEditing } from './fullscreenediting.js';
|
|
10
|
-
export { FullscreenUI } from './fullscreenui.js';
|
|
11
|
-
export { FullscreenCommand } from './fullscreencommand.js';
|
|
12
|
-
export { FullscreenAbstractEditorHandler } from './handlers/abstracteditorhandler.js';
|
|
13
|
-
export { FullscreenClassicEditorHandler } from './handlers/classiceditorhandler.js';
|
|
14
|
-
export { FullscreenDecoupledEditorHandler } from './handlers/decouplededitorhandler.js';
|
|
15
|
-
import './augmentation.js';
|
package/theme/fullscreen.css
DELETED
|
@@ -1,283 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
/* Increase z-index of everything to make sure nothing sticks in front of the editor.
|
|
7
|
-
Disable scrollbars that can be present due to the rest of the website content. */
|
|
8
|
-
html.ck-fullscreen,
|
|
9
|
-
body.ck-fullscreen {
|
|
10
|
-
--ck-z-fullscreen: 10000;
|
|
11
|
-
|
|
12
|
-
overflow: hidden;
|
|
13
|
-
|
|
14
|
-
--ck-z-default: calc(var(--ck-z-fullscreen) + 1);
|
|
15
|
-
--ck-z-panel: calc(var(--ck-z-default) + 999);
|
|
16
|
-
--ck-z-dialog: 100000;
|
|
17
|
-
|
|
18
|
-
/* CKBox wrappers have z-index of 9999, let's bump them over the dialog's to ensure visibility like outside fullscreen mode. */
|
|
19
|
-
& .ckbox-reset:not(#n)>.ckbox--dialog {
|
|
20
|
-
--ckbox-z-index-root: calc(var(--ck-z-dialog) + 1);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
& .ckbox:not(#n) .ckbox-img-editor {
|
|
24
|
-
--ckbox-z-index-preview: calc(var(--ck-z-dialog) + 1);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
& .ck-pagination-view-line {
|
|
28
|
-
z-index: calc(var(--ck-z-fullscreen) + 1);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
& .page-break__label {
|
|
32
|
-
/* Needs to be higher than for .ck-pagination-view-line to be displayed on top of the line. */
|
|
33
|
-
z-index: calc(var(--ck-z-fullscreen) + 2);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/*
|
|
38
|
-
Fullscreen layout:
|
|
39
|
-
|
|
40
|
-
<div class="ck ck-fullscreen__main-wrapper">
|
|
41
|
-
<div class="ck ck-fullscreen__top-wrapper ck-reset_all">
|
|
42
|
-
<div class="ck ck-fullscreen__menu-bar" data-ck-fullscreen="menu-bar"></div>
|
|
43
|
-
<div class="ck ck-fullscreen__toolbar" data-ck-fullscreen="toolbar"></div>
|
|
44
|
-
</div>
|
|
45
|
-
<div class="ck ck-fullscreen__editable-wrapper">
|
|
46
|
-
<div class="ck ck-fullscreen__sidebar ck-fullscreen__left-sidebar" data-ck-fullscreen="left-sidebar"></div>
|
|
47
|
-
<div class="ck ck-fullscreen__editable" data-ck-fullscreen="editable"></div>
|
|
48
|
-
<div class="ck ck-fullscreen__sidebar ck-fullscreen__right-sidebar" data-ck-fullscreen="right-sidebar"></div>
|
|
49
|
-
<div class="ck ck-fullscreen__right-edge" data-ck-fullscreen="right-edge"></div>
|
|
50
|
-
</div>
|
|
51
|
-
<div class="ck ck-fullscreen__bottom-wrapper">
|
|
52
|
-
<div class="ck ck-fullscreen__body-wrapper" data-ck-fullscreen="body-wrapper"></div>
|
|
53
|
-
</div>
|
|
54
|
-
</div>
|
|
55
|
-
*/
|
|
56
|
-
|
|
57
|
-
.ck.ck-fullscreen__main-wrapper {
|
|
58
|
-
/* `position: fixed` prevents the overscroll on macos that would happen with `position: absolute`. */
|
|
59
|
-
position: fixed;
|
|
60
|
-
top: 0;
|
|
61
|
-
left: 0;
|
|
62
|
-
width: 100%;
|
|
63
|
-
height: 100%;
|
|
64
|
-
z-index: var(--ck-z-fullscreen);
|
|
65
|
-
background: var(--ck-color-base-foreground);
|
|
66
|
-
display: flex;
|
|
67
|
-
flex-direction: column;
|
|
68
|
-
|
|
69
|
-
& .ck.ck-revision-history-ui__changes-navigation {
|
|
70
|
-
margin-top: 0px;
|
|
71
|
-
margin-bottom: 0px;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/* If the fullscreen container is not directly in the body, we need to make sure it's positioned absolutely. */
|
|
76
|
-
:not(body> .ck-fullscreen__main-wrapper).ck-fullscreen__main-wrapper {
|
|
77
|
-
position: absolute;
|
|
78
|
-
|
|
79
|
-
& .ck-fullscreen__top-wrapper {
|
|
80
|
-
border-top: 1px solid var(--ck-color-base-border);
|
|
81
|
-
border-left: 1px solid var(--ck-color-base-border);
|
|
82
|
-
border-right: 1px solid var(--ck-color-base-border);
|
|
83
|
-
border-radius: var(--ck-border-radius) 0;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.ck-fullscreen__menu-bar .ck.ck-menu-bar {
|
|
88
|
-
border: none;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.ck.ck-fullscreen__toolbar .ck-toolbar {
|
|
92
|
-
border-left: 0;
|
|
93
|
-
border-right: 0;
|
|
94
|
-
border-radius: 0;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.ck-fullscreen__main-wrapper .ck-fullscreen__editable-wrapper {
|
|
98
|
-
--ck-fullscreen-editor-top-margin: 28px;
|
|
99
|
-
--ck-fullscreen-editor-bottom-margin: 28px;
|
|
100
|
-
display: flex;
|
|
101
|
-
justify-content: flex-start;
|
|
102
|
-
overflow: auto;
|
|
103
|
-
max-height: 100%;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.ck-fullscreen__main-wrapper .ck-fullscreen__editable {
|
|
107
|
-
margin-top: var(--ck-fullscreen-editor-top-margin);
|
|
108
|
-
height: 100%;
|
|
109
|
-
margin-left: auto;
|
|
110
|
-
|
|
111
|
-
&::after {
|
|
112
|
-
content: '';
|
|
113
|
-
display: block;
|
|
114
|
-
height: var(--ck-fullscreen-editor-bottom-margin);
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck.ck-editor__editable:not(.ck-editor__nested-editable) {
|
|
119
|
-
box-sizing: border-box;
|
|
120
|
-
/* Make sure the border is taken into account. */
|
|
121
|
-
width: calc(210mm + 2px);
|
|
122
|
-
/* Make sure the border is taken into account. */
|
|
123
|
-
max-width: calc(210mm + 2px);
|
|
124
|
-
min-height: 297mm;
|
|
125
|
-
height: fit-content;
|
|
126
|
-
/* Reset margins that may be present on editable. We add them in other places. */
|
|
127
|
-
margin: 0;
|
|
128
|
-
padding: 20mm 12mm;
|
|
129
|
-
border: 1px var(--ck-color-base-border) solid;
|
|
130
|
-
background: hsl(0, 0%, 100%);
|
|
131
|
-
box-shadow: 0 2px 3px hsla(0, 0%, 0%, 0.078);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck-source-editing-area {
|
|
135
|
-
width: calc(210mm + 2px);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.ck-fullscreen__sidebar {
|
|
139
|
-
width: 270px;
|
|
140
|
-
margin-top: var(--ck-fullscreen-editor-top-margin);
|
|
141
|
-
margin-left: 10px;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.ck-fullscreen__left-sidebar {
|
|
145
|
-
font-family: Helvetica, Arial, sans-serif;
|
|
146
|
-
--ck-user-avatar-size: 28px;
|
|
147
|
-
position: sticky;
|
|
148
|
-
align-self: flex-start;
|
|
149
|
-
top: 0;
|
|
150
|
-
height: 100%;
|
|
151
|
-
background-color: transparent;
|
|
152
|
-
margin-top: 0px;
|
|
153
|
-
margin-right: 10px;
|
|
154
|
-
box-sizing: border-box;
|
|
155
|
-
display: flex;
|
|
156
|
-
flex-direction: column;
|
|
157
|
-
|
|
158
|
-
& .ck-button.ck-fullscreen__left-sidebar-toggle-button {
|
|
159
|
-
--ck-icon-size: 20px;
|
|
160
|
-
--ck-ui-component-min-height: 0px;
|
|
161
|
-
|
|
162
|
-
align-self: flex-start;
|
|
163
|
-
padding-top: 0;
|
|
164
|
-
margin-top: var(--ck-fullscreen-editor-top-margin);
|
|
165
|
-
margin-bottom: var(--ck-spacing-large);
|
|
166
|
-
opacity: 0.5;
|
|
167
|
-
border-radius: 100%;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
> .ck-fullscreen__left-sidebar-sticky {
|
|
171
|
-
/* Set minimal width if there is any item in the sidebar. */
|
|
172
|
-
min-width: 270px;
|
|
173
|
-
|
|
174
|
-
&:first-child {
|
|
175
|
-
padding-top: var(--ck-fullscreen-editor-top-margin);
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
&.ck-fullscreen__left-sidebar--collapsed {
|
|
180
|
-
width: 65px;
|
|
181
|
-
|
|
182
|
-
> :not(.ck-fullscreen__left-sidebar-toggle-button) {
|
|
183
|
-
display: none;
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.ck-fullscreen__left-sidebar .ck.ck-presence-list--collapsed {
|
|
189
|
-
--ck-user-avatar-size: 32px;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.ck-fullscreen__left-sidebar .ck-user {
|
|
193
|
-
font-size: 0.85em;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.ck-fullscreen__left-sidebar .ck-presence-list__users-counter__text {
|
|
197
|
-
font-size: 0.85em;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.ck-fullscreen__left-sidebar-item {
|
|
201
|
-
padding: var(--ck-spacing-medium);
|
|
202
|
-
margin-bottom: var(--ck-spacing-medium);
|
|
203
|
-
|
|
204
|
-
/* First header should not have top padding. */
|
|
205
|
-
&:first-child {
|
|
206
|
-
padding-top: 0;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
&:last-child {
|
|
210
|
-
margin-bottom: 0;
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
.ck-fullscreen__left-sidebar-header {
|
|
215
|
-
--ck-fullscreen-presence-list-header-font-size: 0.875em;
|
|
216
|
-
font-size: var(--ck-fullscreen-presence-list-header-font-size);
|
|
217
|
-
font-weight: bold;
|
|
218
|
-
color: var(--ck-document-outline-item-default-color);
|
|
219
|
-
white-space: nowrap;
|
|
220
|
-
text-overflow: ellipsis;
|
|
221
|
-
overflow: hidden;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
.ck-fullscreen__left-sidebar--sticky {
|
|
225
|
-
position: sticky;
|
|
226
|
-
top: 0;
|
|
227
|
-
|
|
228
|
-
& > :first-child {
|
|
229
|
-
padding-top: 0;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
.ck-fullscreen__presence-list {
|
|
234
|
-
margin-top: var(--ck-spacing-medium);
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
.ck-fullscreen__left-sidebar-item--no-margin {
|
|
238
|
-
margin: 0;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
.ck-fullscreen__left-sidebar .ck.ck-document-outline {
|
|
242
|
-
padding-top: 0;
|
|
243
|
-
padding-left: 0;
|
|
244
|
-
padding-right: 0;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
.ck-fullscreen__document-outline-wrapper {
|
|
248
|
-
padding-top: 0;
|
|
249
|
-
overflow-y: auto;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.ck-fullscreen__sidebar.ck-fullscreen__right-sidebar {
|
|
253
|
-
margin-top: var(--ck-fullscreen-editor-top-margin);
|
|
254
|
-
margin-right: auto;
|
|
255
|
-
|
|
256
|
-
&:not(.ck-fullscreen__right-sidebar--collapsed) > :first-child {
|
|
257
|
-
/* Set minimal width if there is any item in the sidebar. */
|
|
258
|
-
min-width: 270px;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
&.ck-fullscreen__right-sidebar--collapsed {
|
|
262
|
-
width: 65px;
|
|
263
|
-
|
|
264
|
-
& > :first-child {
|
|
265
|
-
min-width: 65px;
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
.ck.ck-fullscreen__right-edge {
|
|
271
|
-
position: sticky;
|
|
272
|
-
top: 0;
|
|
273
|
-
margin-top: 0;
|
|
274
|
-
margin-left: 10px;
|
|
275
|
-
|
|
276
|
-
& > :first-child {
|
|
277
|
-
border-top: none;
|
|
278
|
-
border-bottom: none;
|
|
279
|
-
border-right: none;
|
|
280
|
-
height: 100%;
|
|
281
|
-
width: 495px;
|
|
282
|
-
}
|
|
283
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{src → dist}/index.d.ts
RENAMED
|
File without changes
|