@ckeditor/ckeditor5-document-outline 47.6.1 → 48.0.0-alpha.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.
- package/LICENSE.md +1 -1
- package/ckeditor5-metadata.json +3 -3
- package/{src → dist}/documentoutline/documentoutlineui.d.ts +1 -1
- package/{src → dist}/documentoutline/documentoutlineutils.d.ts +3 -3
- package/{src → dist}/documentoutline/ui/documentoutlineitemview.d.ts +2 -2
- package/{src → dist}/documentoutline/ui/documentoutlineview.d.ts +2 -2
- package/{src → dist}/documentoutline/utils.d.ts +2 -2
- package/{src → dist}/documentoutline.d.ts +3 -3
- package/dist/index-content.css +24 -24
- package/dist/index-editor.css +91 -96
- package/dist/index.css +112 -141
- package/dist/index.js +1 -1
- package/{src → dist}/tableofcontents/headingid.d.ts +1 -1
- package/{src → dist}/tableofcontents/tableofcontentscommand.d.ts +1 -1
- package/{src → dist}/tableofcontents/tableofcontentsediting.d.ts +2 -2
- package/{src → dist}/tableofcontents/tableofcontentsui.d.ts +1 -1
- package/{src → dist}/tableofcontents.d.ts +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/{src → dist}/utils/common-translations.d.ts +1 -1
- package/package.json +21 -45
- package/build/document-outline.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 -6
- package/lang/translations/af.po +0 -28
- package/lang/translations/ar.po +0 -28
- package/lang/translations/ast.po +0 -28
- package/lang/translations/az.po +0 -28
- package/lang/translations/be.po +0 -28
- package/lang/translations/bg.po +0 -28
- package/lang/translations/bn.po +0 -28
- package/lang/translations/bs.po +0 -28
- package/lang/translations/ca.po +0 -28
- package/lang/translations/cs.po +0 -28
- package/lang/translations/da.po +0 -28
- package/lang/translations/de-ch.po +0 -28
- package/lang/translations/de.po +0 -28
- package/lang/translations/el.po +0 -28
- package/lang/translations/en-au.po +0 -28
- package/lang/translations/en-gb.po +0 -28
- package/lang/translations/en.po +0 -28
- package/lang/translations/eo.po +0 -28
- package/lang/translations/es-co.po +0 -28
- package/lang/translations/es.po +0 -28
- package/lang/translations/et.po +0 -28
- package/lang/translations/eu.po +0 -28
- package/lang/translations/fa.po +0 -28
- package/lang/translations/fi.po +0 -28
- package/lang/translations/fr.po +0 -28
- package/lang/translations/gl.po +0 -28
- package/lang/translations/gu.po +0 -28
- package/lang/translations/he.po +0 -28
- package/lang/translations/hi.po +0 -28
- package/lang/translations/hr.po +0 -28
- package/lang/translations/hu.po +0 -28
- package/lang/translations/hy.po +0 -28
- package/lang/translations/id.po +0 -28
- package/lang/translations/it.po +0 -28
- package/lang/translations/ja.po +0 -28
- package/lang/translations/jv.po +0 -28
- package/lang/translations/kk.po +0 -28
- package/lang/translations/km.po +0 -28
- package/lang/translations/kn.po +0 -28
- package/lang/translations/ko.po +0 -28
- package/lang/translations/ku.po +0 -28
- package/lang/translations/lt.po +0 -28
- package/lang/translations/lv.po +0 -28
- package/lang/translations/ms.po +0 -28
- package/lang/translations/nb.po +0 -28
- package/lang/translations/ne.po +0 -28
- package/lang/translations/nl.po +0 -28
- package/lang/translations/no.po +0 -28
- package/lang/translations/oc.po +0 -28
- package/lang/translations/pl.po +0 -28
- package/lang/translations/pt-br.po +0 -28
- package/lang/translations/pt.po +0 -28
- package/lang/translations/ro.po +0 -28
- package/lang/translations/ru.po +0 -28
- package/lang/translations/si.po +0 -28
- package/lang/translations/sk.po +0 -28
- package/lang/translations/sl.po +0 -28
- package/lang/translations/sq.po +0 -28
- package/lang/translations/sr-latn.po +0 -28
- package/lang/translations/sr.po +0 -28
- package/lang/translations/sv.po +0 -28
- package/lang/translations/th.po +0 -28
- package/lang/translations/ti.po +0 -28
- package/lang/translations/tk.po +0 -28
- package/lang/translations/tr.po +0 -28
- package/lang/translations/tt.po +0 -28
- package/lang/translations/ug.po +0 -28
- package/lang/translations/uk.po +0 -28
- package/lang/translations/ur.po +0 -28
- package/lang/translations/uz.po +0 -28
- package/lang/translations/vi.po +0 -28
- package/lang/translations/zh-cn.po +0 -28
- package/lang/translations/zh.po +0 -28
- package/src/augmentation.js +0 -23
- package/src/documentoutline/documentoutlineui.js +0 -23
- package/src/documentoutline/documentoutlineutils.js +0 -23
- package/src/documentoutline/ui/documentoutlineitemview.js +0 -23
- package/src/documentoutline/ui/documentoutlineview.js +0 -23
- package/src/documentoutline/utils.js +0 -23
- package/src/documentoutline.js +0 -23
- package/src/index.js +0 -23
- package/src/legacyerrors.js +0 -23
- package/src/tableofcontents/headingid.js +0 -23
- package/src/tableofcontents/tableofcontentscommand.js +0 -23
- package/src/tableofcontents/tableofcontentsediting.js +0 -23
- package/src/tableofcontents/tableofcontentsui.js +0 -23
- package/src/tableofcontents.js +0 -23
- package/src/utils/common-translations.js +0 -23
- package/theme/documentoutline.css +0 -99
- package/theme/tableofcontents.css +0 -86
- /package/{src → dist}/augmentation.d.ts +0 -0
- /package/{src → dist}/index.d.ts +0 -0
- /package/{src → dist}/legacyerrors.d.ts +0 -0
package/dist/index.css
CHANGED
|
@@ -2,200 +2,171 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
/*
|
|
6
|
-
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
7
|
-
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
8
|
-
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
9
|
-
*
|
|
10
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
11
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
5
|
:root {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
--ck-document-outline-item-default-color: hsl(0, 0%, 26%);
|
|
29
|
-
--ck-document-outline-item-hover-state-color: var(--ck-color-base-text);
|
|
6
|
+
--ck-document-outline-padding: var(--ck-spacing-large);
|
|
7
|
+
--ck-document-outline-base-font-size: .875em;
|
|
8
|
+
--ck-document-outline-placeholder-color: var(--ck-color-engine-placeholder-text);
|
|
9
|
+
--ck-document-outline-indent-level-1: 0;
|
|
10
|
+
--ck-document-outline-indent-level-2: 1.5em;
|
|
11
|
+
--ck-document-outline-indent-level-3: 3em;
|
|
12
|
+
--ck-document-outline-indent-level-4: 4.5em;
|
|
13
|
+
--ck-document-outline-indent-level-5: 6em;
|
|
14
|
+
--ck-document-outline-indent-level-6: 7.5em;
|
|
15
|
+
--ck-document-outline-item-padding: var(--ck-spacing-small);
|
|
16
|
+
--ck-document-outline-item-active-color: var(--ck-color-base-active);
|
|
17
|
+
--ck-document-outline-item-default-color: #424242;
|
|
18
|
+
--ck-document-outline-item-hover-state-color: var(--ck-color-base-text);
|
|
30
19
|
}
|
|
31
20
|
|
|
32
21
|
.ck.ck-document-outline {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
22
|
+
padding: var(--ck-document-outline-padding);
|
|
23
|
+
font-size: var(--ck-document-outline-base-font-size);
|
|
24
|
+
user-select: none;
|
|
36
25
|
}
|
|
37
26
|
|
|
38
|
-
.ck.ck-document-outline:empty
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
27
|
+
.ck.ck-document-outline:empty:before {
|
|
28
|
+
content: attr(data-document-outline-empty-placeholder);
|
|
29
|
+
color: var(--ck-document-outline-placeholder-color);
|
|
30
|
+
display: inline-block;
|
|
31
|
+
}
|
|
43
32
|
|
|
44
33
|
.ck.ck-document-outline .ck-document-outline__item {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
34
|
+
padding: var(--ck-document-outline-item-padding);
|
|
35
|
+
color: var(--ck-document-outline-item-default-color);
|
|
36
|
+
white-space: nowrap;
|
|
37
|
+
text-overflow: ellipsis;
|
|
38
|
+
cursor: pointer;
|
|
39
|
+
overflow: hidden;
|
|
40
|
+
}
|
|
52
41
|
|
|
53
42
|
.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_empty {
|
|
54
|
-
|
|
55
|
-
|
|
43
|
+
font-style: italic;
|
|
44
|
+
}
|
|
56
45
|
|
|
57
|
-
.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_empty:hover,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
46
|
+
.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_empty:hover, .ck.ck-document-outline .ck-document-outline__item:hover {
|
|
47
|
+
color: var(--ck-document-outline-item-hover-state-color);
|
|
48
|
+
text-decoration: underline;
|
|
49
|
+
}
|
|
62
50
|
|
|
63
51
|
.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_active {
|
|
64
|
-
|
|
65
|
-
|
|
52
|
+
color: var(--ck-document-outline-item-active-color);
|
|
53
|
+
}
|
|
66
54
|
|
|
67
55
|
.ck.ck-document-outline[dir="ltr"] .ck-document-outline__item.ck-document-outline__item_level-1 {
|
|
68
|
-
|
|
69
|
-
|
|
56
|
+
padding-left: var(--ck-document-outline-indent-level-1);
|
|
57
|
+
}
|
|
70
58
|
|
|
71
59
|
.ck.ck-document-outline[dir="ltr"] .ck-document-outline__item.ck-document-outline__item_level-2 {
|
|
72
|
-
|
|
73
|
-
|
|
60
|
+
padding-left: var(--ck-document-outline-indent-level-2);
|
|
61
|
+
}
|
|
74
62
|
|
|
75
63
|
.ck.ck-document-outline[dir="ltr"] .ck-document-outline__item.ck-document-outline__item_level-3 {
|
|
76
|
-
|
|
77
|
-
|
|
64
|
+
padding-left: var(--ck-document-outline-indent-level-3);
|
|
65
|
+
}
|
|
78
66
|
|
|
79
67
|
.ck.ck-document-outline[dir="ltr"] .ck-document-outline__item.ck-document-outline__item_level-4 {
|
|
80
|
-
|
|
81
|
-
|
|
68
|
+
padding-left: var(--ck-document-outline-indent-level-4);
|
|
69
|
+
}
|
|
82
70
|
|
|
83
71
|
.ck.ck-document-outline[dir="ltr"] .ck-document-outline__item.ck-document-outline__item_level-5 {
|
|
84
|
-
|
|
85
|
-
|
|
72
|
+
padding-left: var(--ck-document-outline-indent-level-5);
|
|
73
|
+
}
|
|
86
74
|
|
|
87
75
|
.ck.ck-document-outline[dir="ltr"] .ck-document-outline__item.ck-document-outline__item_level-6 {
|
|
88
|
-
|
|
89
|
-
|
|
76
|
+
padding-left: var(--ck-document-outline-indent-level-6);
|
|
77
|
+
}
|
|
90
78
|
|
|
91
79
|
.ck.ck-document-outline[dir="rtl"] .ck-document-outline__item.ck-document-outline__item_level-1 {
|
|
92
|
-
|
|
93
|
-
|
|
80
|
+
padding-right: var(--ck-document-outline-indent-level-1);
|
|
81
|
+
}
|
|
94
82
|
|
|
95
83
|
.ck.ck-document-outline[dir="rtl"] .ck-document-outline__item.ck-document-outline__item_level-2 {
|
|
96
|
-
|
|
97
|
-
|
|
84
|
+
padding-right: var(--ck-document-outline-indent-level-2);
|
|
85
|
+
}
|
|
98
86
|
|
|
99
87
|
.ck.ck-document-outline[dir="rtl"] .ck-document-outline__item.ck-document-outline__item_level-3 {
|
|
100
|
-
|
|
101
|
-
|
|
88
|
+
padding-right: var(--ck-document-outline-indent-level-3);
|
|
89
|
+
}
|
|
102
90
|
|
|
103
91
|
.ck.ck-document-outline[dir="rtl"] .ck-document-outline__item.ck-document-outline__item_level-4 {
|
|
104
|
-
|
|
105
|
-
|
|
92
|
+
padding-right: var(--ck-document-outline-indent-level-4);
|
|
93
|
+
}
|
|
106
94
|
|
|
107
95
|
.ck.ck-document-outline[dir="rtl"] .ck-document-outline__item.ck-document-outline__item_level-5 {
|
|
108
|
-
|
|
109
|
-
|
|
96
|
+
padding-right: var(--ck-document-outline-indent-level-5);
|
|
97
|
+
}
|
|
110
98
|
|
|
111
99
|
.ck.ck-document-outline[dir="rtl"] .ck-document-outline__item.ck-document-outline__item_level-6 {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
/*
|
|
116
|
-
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
117
|
-
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
118
|
-
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
119
|
-
*
|
|
120
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
121
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
122
|
-
*/
|
|
123
|
-
|
|
124
|
-
/*
|
|
125
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
126
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
127
|
-
*/
|
|
100
|
+
padding-right: var(--ck-document-outline-indent-level-6);
|
|
101
|
+
}
|
|
128
102
|
|
|
129
103
|
:root {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
104
|
+
--ck-content-table-of-contents-padding: 1em;
|
|
105
|
+
--ck-content-table-of-contents-line-height: 1.5;
|
|
106
|
+
--ck-content-table-of-contents-items-start-padding: 24px;
|
|
107
|
+
--ck-table-of-contents-border-color: var(--ck-color-base-border);
|
|
108
|
+
--ck-table-of-contents-label-background-color: #757575;
|
|
109
|
+
--ck-table-of-contents-background-color: var(--ck-color-base-foreground);
|
|
136
110
|
}
|
|
137
111
|
|
|
138
112
|
.ck-content .table-of-contents {
|
|
139
|
-
|
|
140
|
-
|
|
113
|
+
margin: .9em auto;
|
|
114
|
+
}
|
|
141
115
|
|
|
142
116
|
.ck-content .table-of-contents.table-of-contents_empty {
|
|
143
|
-
|
|
144
|
-
|
|
117
|
+
display: none;
|
|
118
|
+
}
|
|
145
119
|
|
|
146
120
|
.ck-content .table-of-contents .table-of-contents__placeholder {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
121
|
+
padding: var(--ck-content-table-of-contents-padding);
|
|
122
|
+
margin: 0;
|
|
123
|
+
font-style: italic;
|
|
124
|
+
}
|
|
151
125
|
|
|
152
126
|
.ck-content .table-of-contents > ol {
|
|
153
|
-
|
|
154
|
-
|
|
127
|
+
padding: var(--ck-content-table-of-contents-padding);
|
|
128
|
+
}
|
|
155
129
|
|
|
156
130
|
.ck-content .table-of-contents ol {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
131
|
+
line-height: var(--ck-content-table-of-contents-line-height);
|
|
132
|
+
margin: 0;
|
|
133
|
+
list-style-type: none;
|
|
134
|
+
}
|
|
161
135
|
|
|
162
136
|
.ck-content .table-of-contents ol ol {
|
|
163
|
-
|
|
164
|
-
|
|
137
|
+
padding-inline-start: var(--ck-content-table-of-contents-items-start-padding);
|
|
138
|
+
}
|
|
165
139
|
|
|
166
140
|
.ck-content .table-of-contents ol li {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
141
|
+
white-space: nowrap;
|
|
142
|
+
text-overflow: ellipsis;
|
|
143
|
+
cursor: default;
|
|
144
|
+
overflow: hidden;
|
|
145
|
+
}
|
|
172
146
|
|
|
173
147
|
.ck-editor__editable .ck-widget.table-of-contents {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
left: 10px;
|
|
200
|
-
right: auto;
|
|
201
|
-
}
|
|
148
|
+
background-color: var(--ck-table-of-contents-background-color);
|
|
149
|
+
border: 1px solid var(--ck-table-of-contents-border-color);
|
|
150
|
+
min-width: 15em;
|
|
151
|
+
display: flow-root;
|
|
152
|
+
position: relative;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.ck-editor__editable .ck-widget.table-of-contents[data-table-of-contents-label]:after {
|
|
156
|
+
content: attr(data-table-of-contents-label);
|
|
157
|
+
padding: var(--ck-spacing-tiny) var(--ck-spacing-medium);
|
|
158
|
+
background-color: var(--ck-table-of-contents-label-background-color);
|
|
159
|
+
font-size: 10px;
|
|
160
|
+
font-family: var(--ck-font-face);
|
|
161
|
+
color: #fff;
|
|
162
|
+
white-space: nowrap;
|
|
163
|
+
line-height: 16px;
|
|
164
|
+
position: absolute;
|
|
165
|
+
top: -1px;
|
|
166
|
+
right: 10px;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
[dir="rtl"] :is(.ck-editor__editable .ck-widget.table-of-contents[data-table-of-contents-label]:after) {
|
|
170
|
+
left: 10px;
|
|
171
|
+
right: auto;
|
|
172
|
+
}
|