@ckeditor/ckeditor5-document-outline 42.0.1-alpha.1 → 42.0.1-alpha.3
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/dist/index-content.css
CHANGED
|
@@ -9,29 +9,36 @@
|
|
|
9
9
|
}
|
|
10
10
|
.ck-content .table-of-contents {
|
|
11
11
|
margin: 0.9em auto;
|
|
12
|
+
|
|
12
13
|
}
|
|
13
14
|
.ck-content .table-of-contents.table-of-contents_empty {
|
|
14
15
|
display: none;
|
|
16
|
+
|
|
15
17
|
}
|
|
16
18
|
.ck-content .table-of-contents .table-of-contents__placeholder {
|
|
17
19
|
margin: 0;
|
|
18
20
|
padding: var(--ck-table-of-contents-padding);
|
|
19
21
|
font-style: italic;
|
|
22
|
+
|
|
20
23
|
}
|
|
21
24
|
.ck-content .table-of-contents > ol {
|
|
22
25
|
padding: var(--ck-table-of-contents-padding);
|
|
26
|
+
|
|
23
27
|
}
|
|
24
28
|
.ck-content .table-of-contents ol {
|
|
25
29
|
margin: 0;
|
|
26
30
|
line-height: var(--ck-table-of-contents-line-height);
|
|
27
31
|
list-style-type: none;
|
|
32
|
+
|
|
28
33
|
}
|
|
29
34
|
.ck-content .table-of-contents ol ol {
|
|
30
35
|
padding-inline-start: var(--ck-table-of-contents-items-start-padding);
|
|
36
|
+
|
|
31
37
|
}
|
|
32
38
|
.ck-content .table-of-contents ol li {
|
|
33
39
|
white-space: nowrap;
|
|
34
40
|
text-overflow: ellipsis;
|
|
35
41
|
overflow: hidden;
|
|
36
42
|
cursor: default;
|
|
43
|
+
|
|
37
44
|
}
|
package/dist/index-editor.css
CHANGED
|
@@ -24,11 +24,13 @@
|
|
|
24
24
|
padding: var(--ck-document-outline-padding);
|
|
25
25
|
font-size: var(--ck-document-outline-base-font-size);
|
|
26
26
|
user-select: none;
|
|
27
|
+
|
|
27
28
|
}
|
|
28
29
|
.ck.ck-document-outline:empty::before {
|
|
29
30
|
content: attr(data-document-outline-empty-placeholder);
|
|
30
31
|
display: inline-block;
|
|
31
32
|
color: var(--ck-document-outline-placeholder-color);
|
|
33
|
+
|
|
32
34
|
}
|
|
33
35
|
.ck.ck-document-outline .ck-document-outline__item {
|
|
34
36
|
padding: var(--ck-document-outline-item-padding);
|
|
@@ -37,56 +39,73 @@ white-space: nowrap;
|
|
|
37
39
|
text-overflow: ellipsis;
|
|
38
40
|
overflow: hidden;
|
|
39
41
|
cursor: pointer;
|
|
42
|
+
|
|
40
43
|
}
|
|
41
44
|
.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_empty {
|
|
42
45
|
font-style: italic;
|
|
46
|
+
|
|
43
47
|
}
|
|
44
48
|
.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_empty:hover {
|
|
45
49
|
color: var(--ck-document-outline-item-hover-state-color);
|
|
46
50
|
text-decoration: underline;
|
|
51
|
+
|
|
47
52
|
}
|
|
48
53
|
.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_active {
|
|
49
54
|
color: var(--ck-document-outline-item-active-color);
|
|
55
|
+
|
|
50
56
|
}
|
|
51
57
|
.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_level-1 {
|
|
52
58
|
font-size: 1.1em;
|
|
53
59
|
font-weight: bold;
|
|
60
|
+
|
|
54
61
|
}
|
|
55
62
|
.ck.ck-document-outline[dir="ltr"] .ck-document-outline__item.ck-document-outline__item_level-1 {
|
|
56
63
|
padding-left: var(--ck-document-outline-indent-level-1);
|
|
64
|
+
|
|
57
65
|
}
|
|
58
66
|
.ck.ck-document-outline[dir="ltr"] .ck-document-outline__item.ck-document-outline__item_level-2 {
|
|
59
67
|
padding-left: var(--ck-document-outline-indent-level-2);
|
|
68
|
+
|
|
60
69
|
}
|
|
61
70
|
.ck.ck-document-outline[dir="ltr"] .ck-document-outline__item.ck-document-outline__item_level-3 {
|
|
62
71
|
padding-left: var(--ck-document-outline-indent-level-3);
|
|
72
|
+
|
|
63
73
|
}
|
|
64
74
|
.ck.ck-document-outline[dir="ltr"] .ck-document-outline__item.ck-document-outline__item_level-4 {
|
|
65
75
|
padding-left: var(--ck-document-outline-indent-level-4);
|
|
76
|
+
|
|
66
77
|
}
|
|
67
78
|
.ck.ck-document-outline[dir="ltr"] .ck-document-outline__item.ck-document-outline__item_level-5 {
|
|
68
79
|
padding-left: var(--ck-document-outline-indent-level-5);
|
|
80
|
+
|
|
69
81
|
}
|
|
70
82
|
.ck.ck-document-outline[dir="ltr"] .ck-document-outline__item.ck-document-outline__item_level-6 {
|
|
71
83
|
padding-left: var(--ck-document-outline-indent-level-6);
|
|
84
|
+
|
|
72
85
|
}
|
|
73
86
|
.ck.ck-document-outline[dir="rtl"] .ck-document-outline__item.ck-document-outline__item_level-1 {
|
|
74
87
|
padding-right: var(--ck-document-outline-indent-level-1);
|
|
88
|
+
|
|
75
89
|
}
|
|
76
90
|
.ck.ck-document-outline[dir="rtl"] .ck-document-outline__item.ck-document-outline__item_level-2 {
|
|
77
91
|
padding-right: var(--ck-document-outline-indent-level-2);
|
|
92
|
+
|
|
78
93
|
}
|
|
79
94
|
.ck.ck-document-outline[dir="rtl"] .ck-document-outline__item.ck-document-outline__item_level-3 {
|
|
80
95
|
padding-right: var(--ck-document-outline-indent-level-3);
|
|
96
|
+
|
|
81
97
|
}
|
|
82
98
|
.ck.ck-document-outline[dir="rtl"] .ck-document-outline__item.ck-document-outline__item_level-4 {
|
|
83
99
|
padding-right: var(--ck-document-outline-indent-level-4);
|
|
100
|
+
|
|
84
101
|
}
|
|
85
102
|
.ck.ck-document-outline[dir="rtl"] .ck-document-outline__item.ck-document-outline__item_level-5 {
|
|
86
103
|
padding-right: var(--ck-document-outline-indent-level-5);
|
|
104
|
+
|
|
87
105
|
}
|
|
88
106
|
.ck.ck-document-outline[dir="rtl"] .ck-document-outline__item.ck-document-outline__item_level-6 {
|
|
89
107
|
padding-right: var(--ck-document-outline-indent-level-6);
|
|
108
|
+
|
|
90
109
|
}
|
|
91
110
|
.ck-editor__editable .ck-widget.table-of-contents {
|
|
92
111
|
position: relative;
|
|
@@ -94,6 +113,7 @@ background-color: var(--ck-table-of-contents-background-color);
|
|
|
94
113
|
border: 1px solid var(--ck-table-of-contents-border-color);
|
|
95
114
|
display: flow-root;
|
|
96
115
|
min-width: 15em;
|
|
116
|
+
|
|
97
117
|
}
|
|
98
118
|
.ck-editor__editable .ck-widget.table-of-contents[data-table-of-contents-label]::after {
|
|
99
119
|
content: attr(data-table-of-contents-label);
|
|
@@ -107,8 +127,10 @@ font-family: var(--ck-font-face);
|
|
|
107
127
|
line-height: 16px;
|
|
108
128
|
color: hsl(0, 0%, 100%);
|
|
109
129
|
white-space: nowrap;
|
|
130
|
+
|
|
110
131
|
}
|
|
111
132
|
[dir="rtl"] .ck-editor__editable .ck-widget.table-of-contents[data-table-of-contents-label]::after {
|
|
112
133
|
left: 10px;
|
|
113
134
|
right: auto;
|
|
135
|
+
|
|
114
136
|
}
|