@ckeditor/ckeditor5-comments 39.0.1 → 40.0.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/CHANGELOG.md +2 -2
- package/LICENSE.md +6 -6
- package/README.md +14 -14
- package/build/comments.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/lang/translations/af.po +1 -0
- package/lang/translations/ar.po +1 -0
- package/lang/translations/bg.po +1 -0
- package/lang/translations/bn.po +1 -0
- package/lang/translations/bs.po +1 -0
- package/lang/translations/ca.po +1 -0
- package/lang/translations/cs.po +1 -0
- package/lang/translations/da.po +1 -0
- package/lang/translations/de-ch.po +1 -0
- package/lang/translations/de.po +1 -0
- package/lang/translations/el.po +1 -0
- package/lang/translations/en-au.po +1 -0
- package/lang/translations/en.po +1 -0
- package/lang/translations/es-co.po +1 -0
- package/lang/translations/es.po +1 -0
- package/lang/translations/et.po +1 -0
- package/lang/translations/fa.po +10 -9
- package/lang/translations/fi.po +1 -0
- package/lang/translations/fr.po +1 -0
- package/lang/translations/gl.po +1 -0
- package/lang/translations/he.po +1 -0
- package/lang/translations/hi.po +1 -0
- package/lang/translations/hr.po +1 -0
- package/lang/translations/hu.po +1 -0
- package/lang/translations/id.po +1 -0
- package/lang/translations/it.po +1 -0
- package/lang/translations/ja.po +1 -0
- package/lang/translations/jv.po +1 -0
- package/lang/translations/ko.po +1 -0
- package/lang/translations/lt.po +1 -0
- package/lang/translations/lv.po +1 -0
- package/lang/translations/ms.po +1 -0
- package/lang/translations/nl.po +1 -0
- package/lang/translations/no.po +1 -0
- package/lang/translations/pl.po +1 -0
- package/lang/translations/pt-br.po +4 -3
- package/lang/translations/pt.po +1 -0
- package/lang/translations/ro.po +1 -0
- package/lang/translations/ru.po +1 -0
- package/lang/translations/sk.po +1 -0
- package/lang/translations/sq.po +1 -0
- package/lang/translations/sr-latn.po +1 -0
- package/lang/translations/sr.po +1 -0
- package/lang/translations/sv.po +1 -0
- package/lang/translations/th.po +1 -0
- package/lang/translations/tk.po +1 -0
- package/lang/translations/tr.po +1 -0
- package/lang/translations/tt.po +1 -0
- package/lang/translations/ug.po +1 -0
- package/lang/translations/uk.po +1 -0
- package/lang/translations/ur.po +1 -0
- package/lang/translations/vi.po +1 -0
- package/lang/translations/zh-cn.po +1 -0
- package/lang/translations/zh.po +1 -0
- package/package.json +3 -7
- package/src/annotations/annotation.d.ts +90 -90
- package/src/annotations/annotation.js +1 -1
- package/src/annotations/annotationcollection.d.ts +98 -98
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.d.ts +154 -154
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.d.ts +232 -232
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.d.ts +67 -67
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.d.ts +90 -90
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.d.ts +85 -85
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.d.ts +100 -100
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.d.ts +29 -29
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.d.ts +90 -90
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.d.ts +55 -55
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.d.ts +32 -32
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.d.ts +77 -77
- package/src/annotations/widesidebar.js +1 -1
- package/src/augmentation.d.ts +52 -52
- package/src/comments/addcommentthreadcommand.d.ts +35 -35
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.d.ts +31 -31
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.d.ts +38 -38
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.d.ts +79 -79
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.d.ts +1129 -1105
- package/src/comments/commentsrepository.js +1 -1
- package/src/comments/commentsui.d.ts +33 -33
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.d.ts +17 -17
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.d.ts +21 -21
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.d.ts +36 -36
- package/src/comments/ui/commenteditor/commenteditor.js +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.d.ts +31 -31
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +36 -36
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.d.ts +64 -64
- package/src/comments/ui/commentthreadcontroller.js +1 -1
- package/src/comments/ui/view/basecommentthreadview.d.ts +119 -112
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.d.ts +112 -112
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.d.ts +13 -13
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.d.ts +14 -14
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.d.ts +86 -86
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.d.ts +38 -38
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.d.ts +100 -100
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.d.ts +50 -50
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.d.ts +41 -41
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.d.ts +118 -117
- package/src/comments/ui/view/commentthreadview.js +1 -1
- package/src/comments/ui/view/commentview.d.ts +243 -243
- package/src/comments/ui/view/commentview.js +1 -1
- package/src/comments.d.ts +35 -35
- package/src/comments.js +1 -1
- package/src/commentsonly.d.ts +33 -33
- package/src/commentsonly.js +1 -1
- package/src/config.d.ts +176 -176
- package/src/index.d.ts +24 -24
- package/src/utils/common-translations.d.ts +9 -9
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.d.ts +14 -14
- package/src/utils/createmutationobserver.js +1 -1
- package/theme/annotation-inline.css +2 -1
- package/theme/annotation.css +2 -3
- package/theme/comment.css +39 -38
- package/theme/commentinput.css +2 -1
- package/theme/commentmarker.css +7 -6
- package/theme/commentsarchive.css +2 -1
- package/theme/commentthread.css +68 -57
- package/theme/icons/add-comment.svg +1 -1
- package/theme/icons/comments-archive.svg +1 -1
- package/theme/icons/edit-comment.svg +1 -1
- package/theme/icons/remove-comment.svg +1 -1
- package/theme/sidebar-narrow.css +4 -3
- package/theme/sidebar.css +13 -12
package/theme/comment.css
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
7
8
|
*/
|
|
8
9
|
|
|
9
10
|
:root {
|
|
@@ -41,7 +42,7 @@
|
|
|
41
42
|
|
|
42
43
|
/* Half width of line. */
|
|
43
44
|
- 2px
|
|
44
|
-
|
|
45
|
+
);
|
|
45
46
|
width: 4px;
|
|
46
47
|
height: 100%;
|
|
47
48
|
background-color: var(--ck-color-comment-separator);
|
|
@@ -68,48 +69,16 @@
|
|
|
68
69
|
}
|
|
69
70
|
}
|
|
70
71
|
|
|
71
|
-
.ck .ck-comment--info {
|
|
72
|
-
& .ck-comment__content {
|
|
73
|
-
font-style: italic;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.ck .ck-comment__main {
|
|
78
|
-
& .ck-comment__input-wrapper {
|
|
79
|
-
display: flex;
|
|
80
|
-
flex-direction: column;
|
|
81
|
-
position: relative;
|
|
82
|
-
transition: all 300ms linear;
|
|
83
|
-
|
|
84
|
-
& .ck-comment__input {
|
|
85
|
-
padding: 0;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
72
|
.ck .ck-comment__content {
|
|
91
73
|
word-break: break-word;
|
|
92
74
|
}
|
|
93
75
|
|
|
94
|
-
.ck .ck-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
/* We need specificity 030 to beat styles in `commentinput.css`. */
|
|
100
|
-
.ck-comment__input-actions .ck.ck-button.ck-comment__input-actions--submit {
|
|
101
|
-
background: var(--ck-color-base-action);
|
|
102
|
-
color: white;
|
|
103
|
-
|
|
104
|
-
&:hover {
|
|
105
|
-
background: var(--ck-color-button-save);
|
|
76
|
+
.ck .ck-comment--info {
|
|
77
|
+
& .ck-comment__content {
|
|
78
|
+
font-style: italic;
|
|
106
79
|
}
|
|
107
80
|
}
|
|
108
81
|
|
|
109
|
-
.ck-comment__input-actions .ck.ck-button.ck-comment__input-actions--cancel {
|
|
110
|
-
color: var(--ck-color-text);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
82
|
/* Common styles for typography inside comment element and editable input.
|
|
114
83
|
We are styling resetting list-style because of parent <ul> element. */
|
|
115
84
|
.ck .ck-comment,
|
|
@@ -139,6 +108,38 @@ We are styling resetting list-style because of parent <ul> element. */
|
|
|
139
108
|
}
|
|
140
109
|
}
|
|
141
110
|
|
|
111
|
+
.ck .ck-comment__main {
|
|
112
|
+
& .ck-comment__input-wrapper {
|
|
113
|
+
display: flex;
|
|
114
|
+
flex-direction: column;
|
|
115
|
+
position: relative;
|
|
116
|
+
transition: all 300ms linear;
|
|
117
|
+
|
|
118
|
+
& .ck-comment__input {
|
|
119
|
+
padding: 0;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.ck .ck-comment__user {
|
|
125
|
+
/* Display user above vertical line. */
|
|
126
|
+
z-index: var(--ck-z-default);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* We need specificity 030 to beat styles in `commentinput.css`. */
|
|
130
|
+
.ck-comment__input-actions .ck.ck-button.ck-comment__input-actions--submit {
|
|
131
|
+
background: var(--ck-color-base-action);
|
|
132
|
+
color: hsl(0, 0%, 100%);
|
|
133
|
+
|
|
134
|
+
&:hover {
|
|
135
|
+
background: var(--ck-color-button-save);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.ck-comment__input-actions .ck.ck-button.ck-comment__input-actions--cancel {
|
|
140
|
+
color: var(--ck-color-text);
|
|
141
|
+
}
|
|
142
|
+
|
|
142
143
|
.ck .ck-comment__external {
|
|
143
144
|
font-style: italic;
|
|
144
145
|
color: var(--ck-color-annotation-info);
|
|
@@ -167,6 +168,6 @@ We are styling resetting list-style because of parent <ul> element. */
|
|
|
167
168
|
& .ck-button__label {
|
|
168
169
|
margin: 0 var(--ck-spacing-large);
|
|
169
170
|
}
|
|
170
|
-
|
|
171
|
+
}
|
|
171
172
|
}
|
|
172
173
|
}
|
package/theme/commentinput.css
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
7
8
|
*/
|
|
8
9
|
|
|
9
10
|
.ck .ck-comment__input-container {
|
package/theme/commentmarker.css
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
7
8
|
*/
|
|
8
9
|
|
|
9
10
|
:root {
|
|
@@ -28,6 +29,11 @@
|
|
|
28
29
|
.ck-comment-marker--active {
|
|
29
30
|
background: var(--ck-color-comment-marker-active);
|
|
30
31
|
|
|
32
|
+
/* See #2469. Inactive comment marker inside an active one should be highlighted too. */
|
|
33
|
+
& .ck-comment-marker {
|
|
34
|
+
background: var(--ck-color-comment-marker-active);
|
|
35
|
+
}
|
|
36
|
+
|
|
31
37
|
&.ck-widget {
|
|
32
38
|
border-color: var(--ck-color-comment-marker-active);
|
|
33
39
|
|
|
@@ -36,9 +42,4 @@
|
|
|
36
42
|
background-color: var(--ck-color-comment-marker);
|
|
37
43
|
}
|
|
38
44
|
}
|
|
39
|
-
|
|
40
|
-
/* See #2469. Inactive comment marker inside an active one should be highlighted too. */
|
|
41
|
-
& .ck-comment-marker {
|
|
42
|
-
background: var(--ck-color-comment-marker-active);
|
|
43
|
-
}
|
|
44
45
|
}
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
7
8
|
*/
|
|
8
9
|
|
|
9
10
|
.ck .ck-comments-archive-dropdown {
|
package/theme/commentthread.css
CHANGED
|
@@ -3,15 +3,19 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
7
8
|
*/
|
|
8
9
|
|
|
9
10
|
:root {
|
|
10
11
|
--ck-color-thread-remove-background: var(--ck-color-comment-remove-background);
|
|
11
12
|
--ck-color-comment-count: hsl(210, 52%, 57%);
|
|
12
13
|
|
|
13
|
-
--ck-color-thread-header-background:
|
|
14
|
-
--ck-color-thread-header-active-background:
|
|
14
|
+
--ck-color-thread-header-background: hsl(54, 88%, 93%);
|
|
15
|
+
--ck-color-thread-header-active-background: hsl(52, 100%, 83%);
|
|
16
|
+
|
|
17
|
+
--ck-color-unlinked-background: hsl(0, 0%, 96%);
|
|
18
|
+
--ck-color-unlinked-active-background: hsl(0, 0%, 92%);
|
|
15
19
|
}
|
|
16
20
|
|
|
17
21
|
.ck .ck-thread {
|
|
@@ -76,7 +80,7 @@
|
|
|
76
80
|
z-index: 2;
|
|
77
81
|
|
|
78
82
|
background: var(--ck-color-base-background);
|
|
79
|
-
box-shadow: 0 2px 3px
|
|
83
|
+
box-shadow: 0 2px 3px hsla(0, 0%, 100%, 0.2);
|
|
80
84
|
border-radius: 2px;
|
|
81
85
|
white-space: normal;
|
|
82
86
|
box-sizing: border-box;
|
|
@@ -84,28 +88,6 @@
|
|
|
84
88
|
}
|
|
85
89
|
}
|
|
86
90
|
|
|
87
|
-
/* Handle visibility of vertical line below avatars. */
|
|
88
|
-
.ck .ck-thread__comments .ck-comment__wrapper {
|
|
89
|
-
&:last-of-type {
|
|
90
|
-
& .ck-comment::after {
|
|
91
|
-
opacity: 0;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.ck .ck-thread__container {
|
|
97
|
-
transition: transform 300ms ease;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.ck .ck-thread__comments {
|
|
101
|
-
position: relative;
|
|
102
|
-
z-index: var(--ck-z-default);
|
|
103
|
-
list-style: none;
|
|
104
|
-
margin: 0;
|
|
105
|
-
padding: 0;
|
|
106
|
-
border-radius: var(--ck-border-radius);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
91
|
.ck .ck-thread__comment-count {
|
|
110
92
|
/* Make avatar size in the comment smaller than in presence list. */
|
|
111
93
|
--ck-user-avatar-size: 28px;
|
|
@@ -126,21 +108,6 @@
|
|
|
126
108
|
}
|
|
127
109
|
}
|
|
128
110
|
|
|
129
|
-
.ck .ck-thread--active {
|
|
130
|
-
& .ck-comment__options.ck-dropdown {
|
|
131
|
-
display: block;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
& .ck-thread__input {
|
|
135
|
-
display: block;
|
|
136
|
-
background-color: var(--ck-color-comment-background);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
& .ck-thread__header {
|
|
140
|
-
background-color: var(--ck-color-thread-header-active-background);
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
|
|
144
111
|
.ck .ck-thread--remove {
|
|
145
112
|
& .ck-comment {
|
|
146
113
|
background-color: var(--ck-color-comment-remove-background);
|
|
@@ -166,6 +133,66 @@
|
|
|
166
133
|
}
|
|
167
134
|
}
|
|
168
135
|
|
|
136
|
+
/* Handle visibility of vertical line below avatars. */
|
|
137
|
+
.ck .ck-thread__comments .ck-comment__wrapper {
|
|
138
|
+
&:last-of-type {
|
|
139
|
+
& .ck-comment::after {
|
|
140
|
+
opacity: 0;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.ck .ck-thread__container {
|
|
146
|
+
transition: transform 300ms ease;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.ck .ck-thread__comments {
|
|
150
|
+
position: relative;
|
|
151
|
+
z-index: var(--ck-z-default);
|
|
152
|
+
list-style: none;
|
|
153
|
+
margin: 0;
|
|
154
|
+
padding: 0;
|
|
155
|
+
border-radius: var(--ck-border-radius);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.ck .ck-thread__input {
|
|
159
|
+
/* #1829. Firefox is wrongly rendering flex container width 100% with overflowed (non-spaced) text. */
|
|
160
|
+
width: calc( 100% - var(--ck-user-avatar-size) );
|
|
161
|
+
white-space: normal;
|
|
162
|
+
|
|
163
|
+
transition: background-color 200ms ease-in-out;
|
|
164
|
+
border-radius: var(--ck-border-radius);
|
|
165
|
+
|
|
166
|
+
/*
|
|
167
|
+
This is equal to the height of the wrapper when the editor instance is loaded.
|
|
168
|
+
Editor instance is loaded _after_ the comment view is created,
|
|
169
|
+
so the min-height is set to avoid jitter.
|
|
170
|
+
*/
|
|
171
|
+
min-height: 38px;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.ck .ck-thread--active {
|
|
175
|
+
& .ck-comment__options.ck-dropdown {
|
|
176
|
+
display: block;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
& .ck-thread__input {
|
|
180
|
+
display: block;
|
|
181
|
+
background-color: var(--ck-color-comment-background);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
& .ck-thread__header {
|
|
185
|
+
background-color: var(--ck-color-thread-header-active-background);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.ck .ck-thread--unlinked {
|
|
190
|
+
--ck-color-comment-box-border: var(--ck-color-base-border);
|
|
191
|
+
|
|
192
|
+
--ck-color-thread-header-background: var(--ck-color-unlinked-background);
|
|
193
|
+
--ck-color-thread-header-active-background: var(--ck-color-unlinked-active-background);
|
|
194
|
+
}
|
|
195
|
+
|
|
169
196
|
.ck .ck-thread--remove-confirmation {
|
|
170
197
|
& .ck-thread__container {
|
|
171
198
|
transform: translate3d( -100%, 0, 0 );
|
|
@@ -210,19 +237,3 @@
|
|
|
210
237
|
margin: 0;
|
|
211
238
|
}
|
|
212
239
|
}
|
|
213
|
-
|
|
214
|
-
.ck .ck-thread__input {
|
|
215
|
-
/* #1829. Firefox is wrongly rendering flex container width 100% with overflowed (non-spaced) text. */
|
|
216
|
-
width: calc( 100% - var(--ck-user-avatar-size) );
|
|
217
|
-
white-space: normal;
|
|
218
|
-
|
|
219
|
-
transition: background-color 200ms ease-in-out;
|
|
220
|
-
border-radius: var(--ck-border-radius);
|
|
221
|
-
|
|
222
|
-
/*
|
|
223
|
-
This is equal to the height of the wrapper when the editor instance is loaded.
|
|
224
|
-
Editor instance is loaded _after_ the comment view is created,
|
|
225
|
-
so the min-height is set to avoid jitter.
|
|
226
|
-
*/
|
|
227
|
-
min-height: 38px;
|
|
228
|
-
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
5
5
|
all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
6
6
|
|
|
7
|
-
Copyright (c) 2003-
|
|
7
|
+
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
8
8
|
|
|
9
9
|
!-->
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
5
5
|
all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
6
6
|
|
|
7
|
-
Copyright (c) 2003-
|
|
7
|
+
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
8
8
|
|
|
9
9
|
!-->
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
5
5
|
all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
6
6
|
|
|
7
|
-
Copyright (c) 2003-
|
|
7
|
+
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
8
8
|
|
|
9
9
|
!-->
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
5
5
|
all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
6
6
|
|
|
7
|
-
Copyright (c) 2003-
|
|
7
|
+
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
8
8
|
|
|
9
9
|
!-->
|
|
10
10
|
|
package/theme/sidebar-narrow.css
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
7
8
|
*/
|
|
8
9
|
|
|
9
10
|
:root {
|
|
@@ -47,14 +48,14 @@
|
|
|
47
48
|
height: 16px;
|
|
48
49
|
background: hsl(0, 0%, 20%);
|
|
49
50
|
font-weight: bold;
|
|
50
|
-
color:
|
|
51
|
+
color: hsl(0, 0%, 100%);
|
|
51
52
|
font-size: var(--ck-annotation-counter-number-size);
|
|
52
53
|
font-family: var(--ck-font-face);
|
|
53
54
|
right: 0;
|
|
54
55
|
top: -6px;
|
|
55
56
|
|
|
56
57
|
/* Improve visibility of counter number. */
|
|
57
|
-
text-shadow: -1px 0 2px
|
|
58
|
+
text-shadow: -1px 0 2px hsl(0, 0%, 27%), 1px 0 2px hsl(0, 0%, 27%);
|
|
58
59
|
|
|
59
60
|
/* Display number perfectly center of circle. */
|
|
60
61
|
display: flex;
|
package/theme/sidebar.css
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
7
8
|
*/
|
|
8
9
|
|
|
9
10
|
:root {
|
|
@@ -34,17 +35,8 @@
|
|
|
34
35
|
box-shadow: var(--ck-color-annotation-wrapper-drop-shadow);
|
|
35
36
|
}
|
|
36
37
|
|
|
37
|
-
|
|
38
|
-
.ck.ck-annotation-wrapper:
|
|
39
|
-
box-shadow: var(--ck-drop-shadow);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.ck.ck-annotation-wrapper--active {
|
|
43
|
-
box-shadow: var(--ck-drop-shadow-active);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.ck.ck-annotation-wrapper:hover,
|
|
47
|
-
.ck.ck-annotation-wrapper--active {
|
|
38
|
+
.ck.ck-annotation-wrapper--active,
|
|
39
|
+
.ck.ck-annotation-wrapper:hover{
|
|
48
40
|
& .ck-annotation__actions {
|
|
49
41
|
opacity: 1;
|
|
50
42
|
|
|
@@ -61,3 +53,12 @@
|
|
|
61
53
|
color: var(--ck-color-button-cancel)
|
|
62
54
|
}
|
|
63
55
|
}
|
|
56
|
+
|
|
57
|
+
/* Handle case where annotation is inactive and users hover them. */
|
|
58
|
+
.ck.ck-annotation-wrapper:not(.ck-annotation-wrapper--active):hover {
|
|
59
|
+
box-shadow: var(--ck-drop-shadow);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.ck.ck-annotation-wrapper--active {
|
|
63
|
+
box-shadow: var(--ck-drop-shadow-active);
|
|
64
|
+
}
|