@ckeditor/ckeditor5-comments 48.8.1-alpha.4 → 49.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/LICENSE.md +1 -1
- package/dist/annotations/annotation.d.ts +84 -87
- package/dist/annotations/annotationcollection.d.ts +83 -83
- package/dist/annotations/annotations.d.ts +148 -148
- package/dist/annotations/annotationsuis.d.ts +235 -235
- package/dist/annotations/editorannotations.d.ts +71 -71
- package/dist/annotations/inlineannotations.d.ts +92 -93
- package/dist/annotations/narrowsidebar.d.ts +87 -88
- package/dist/annotations/sidebar.d.ts +105 -105
- package/dist/annotations/view/annotationcounterbuttonview.d.ts +24 -24
- package/dist/annotations/view/annotationview.d.ts +82 -83
- package/dist/annotations/view/sidebaritemview.d.ts +54 -54
- package/dist/annotations/view/sidebarview.d.ts +47 -48
- package/dist/annotations/widesidebar.d.ts +80 -80
- package/dist/augmentation.d.ts +57 -57
- package/dist/comments/addcommentthreadcommand.d.ts +69 -69
- package/dist/comments/commentsarchive.d.ts +34 -34
- package/dist/comments/commentsarchiveui.d.ts +47 -48
- package/dist/comments/commentsediting.d.ts +89 -90
- package/dist/comments/commentsrepository.d.ts +1039 -1054
- package/dist/comments/commentsui.d.ts +40 -40
- package/dist/comments/integrations/clipboard.d.ts +21 -21
- package/dist/comments/integrations/commentsrestrictededitingmode.d.ts +12 -12
- package/dist/comments/integrations/importword.d.ts +16 -16
- package/dist/comments/integrations/showcommenthighlights.d.ts +14 -14
- package/dist/comments/ui/commenteditor/commenteditor.d.ts +33 -32
- package/dist/comments/ui/commenteditor/commenteditorui.d.ts +27 -27
- package/dist/comments/ui/commenteditor/commenteditoruiview.d.ts +32 -32
- package/dist/comments/ui/commentthreadcontroller.d.ts +62 -60
- package/dist/comments/ui/view/basecommentthreadview.d.ts +134 -134
- package/dist/comments/ui/view/basecommentview.d.ts +136 -136
- package/dist/comments/ui/view/collapsedcommentsview.d.ts +16 -9
- package/dist/comments/ui/view/commentcontentview.d.ts +10 -10
- package/dist/comments/ui/view/commentinputview.d.ts +93 -93
- package/dist/comments/ui/view/commentsarchiveview.d.ts +41 -41
- package/dist/comments/ui/view/commentslistview.d.ts +114 -107
- package/dist/comments/ui/view/commentthreadheadercontextview.d.ts +19 -19
- package/dist/comments/ui/view/commentthreadheaderview.d.ts +67 -67
- package/dist/comments/ui/view/commentthreadinputview.d.ts +51 -51
- package/dist/comments/ui/view/commentthreadview.d.ts +116 -116
- package/dist/comments/ui/view/commentview.d.ts +225 -230
- package/dist/comments.d.ts +38 -38
- package/dist/commentsonly.d.ts +36 -36
- package/dist/config.d.ts +200 -185
- package/dist/index-content.css +22 -22
- package/dist/index-editor.css +601 -556
- package/dist/index.css +440 -391
- package/dist/index.d.ts +37 -35
- package/dist/index.js +11 -11
- 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/dist/utils/common-translations.d.ts +6 -6
- package/dist/utils/createmutationobserver.d.ts +9 -9
- package/dist/utils/splitmarkername.d.ts +10 -10
- package/package.json +17 -17
package/dist/index-editor.css
CHANGED
|
@@ -2,760 +2,805 @@
|
|
|
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
|
-
:root{
|
|
6
|
-
--ck-
|
|
7
|
-
--ck-color-comment-separator
|
|
8
|
-
--ck-color-comment-remove-background
|
|
9
|
-
--ck-
|
|
10
|
-
--ck-comment-content-font-family:var(--ck-font-face);
|
|
11
|
-
--ck-comment-content-font-size:var(--ck-font-size-
|
|
12
|
-
--ck-comment-content-font-color:var(--ck-color-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
transition:none;
|
|
5
|
+
:root, :host {
|
|
6
|
+
--ck-comment-background-color: #f7f9fd;
|
|
7
|
+
--ck-comment-separator-color: var(--ck-color-comment-separator, #cddeef);
|
|
8
|
+
--ck-comment-remove-background-color: var(--ck-color-comment-remove-background, var(--ck-color-light-red));
|
|
9
|
+
--ck-comment-input-background-color: var(--ck-color-surface-canvas);
|
|
10
|
+
--ck-comment-content-font-family: var(--ck-font-face, var(--ck-font-family));
|
|
11
|
+
--ck-comment-content-font-size: var(--ck-font-size-md);
|
|
12
|
+
--ck-comment-content-font-color: var(--ck-color-text);
|
|
13
|
+
--ck-comment-thread-line-size: 1px;
|
|
14
|
+
--ck-comment-border-radius: var(--ck-border-radius-surface);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ck .ck-comment__wrapper {
|
|
18
|
+
font-size: var(--ck-font-size-base);
|
|
19
|
+
transition: all var(--ck-transition-duration-control-emphasized) linear;
|
|
20
|
+
outline: 0;
|
|
21
|
+
position: relative;
|
|
22
|
+
|
|
23
|
+
@media (prefers-reduced-motion: reduce) {
|
|
24
|
+
transition: none;
|
|
25
25
|
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.ck .ck-comment__wrapper:first-of-type{
|
|
29
|
-
border-top-right-radius:var(--ck-border-radius);
|
|
30
|
-
border-top-left-radius:var(--ck-border-radius);
|
|
31
|
-
}
|
|
32
26
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
.ck .ck-comment:after{
|
|
38
|
-
content:"";
|
|
39
|
-
opacity:1;
|
|
40
|
-
top:calc(var(--ck-user-avatar-size) + var(--ck-spacing-small));
|
|
41
|
-
left:calc(var(--ck-spacing-standard) + ( var(--ck-user-avatar-size) / 2)
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
- 2px);
|
|
45
|
-
background-color:var(--ck-color-comment-separator);
|
|
46
|
-
width:4px;
|
|
47
|
-
height:100%;
|
|
48
|
-
display:block;
|
|
49
|
-
position:absolute;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.ck .ck-comment--edit{
|
|
53
|
-
background-color:var(--ck-color-comment-input-background);
|
|
54
|
-
}
|
|
27
|
+
&:first-of-type {
|
|
28
|
+
border-top-right-radius: var(--ck-comment-border-radius);
|
|
29
|
+
border-top-left-radius: var(--ck-comment-border-radius);
|
|
30
|
+
}
|
|
55
31
|
|
|
56
|
-
|
|
57
|
-
|
|
32
|
+
&:has( + .ck-thread__comment-count) {
|
|
33
|
+
& .ck-comment {
|
|
34
|
+
&:after {
|
|
35
|
+
height: calc(100% - var(--ck-user-avatar-size) - var(--ck-spacing-padding)
|
|
36
|
+
+ var(--ck-size-control-min-height) /* Comment count button height */);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
58
40
|
}
|
|
59
41
|
|
|
60
|
-
.ck .ck-comment
|
|
61
|
-
|
|
42
|
+
.ck .ck-comment {
|
|
43
|
+
&:after {
|
|
44
|
+
content: "";
|
|
45
|
+
opacity: 1;
|
|
46
|
+
left: calc(var(--ck-spacing-standard, var(--ck-spacing-base)) + ( var(--ck-user-avatar-size) / 2 )
|
|
47
|
+
|
|
48
|
+
/* Half width of line. */
|
|
49
|
+
- calc(var(--ck-comment-thread-line-size) / 2)
|
|
50
|
+
/* Avatar margin size) */
|
|
51
|
+
+ 2px);
|
|
52
|
+
width: var(--ck-comment-thread-line-size);
|
|
53
|
+
background-color: var(--ck-comment-separator-color);
|
|
54
|
+
top: calc(var(--ck-user-avatar-size) + (2 * var(--ck-spacing-padding, var(--ck-spacing-sm))));
|
|
55
|
+
height: calc(100% - var(--ck-user-avatar-size) - var(--ck-spacing-padding));
|
|
56
|
+
border-radius: var(--ck-comment-border-radius);
|
|
57
|
+
display: block;
|
|
58
|
+
position: absolute;
|
|
59
|
+
}
|
|
62
60
|
}
|
|
63
61
|
|
|
64
|
-
.ck .ck-
|
|
65
|
-
|
|
66
|
-
overflow-wrap:anywhere;
|
|
67
|
-
font-family:var(--ck-comment-content-font-family);
|
|
68
|
-
color:var(--ck-comment-content-font-color);
|
|
69
|
-
}
|
|
62
|
+
.ck .ck-comment--edit {
|
|
63
|
+
background-color: var(--ck-comment-input-background-color);
|
|
70
64
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
font-size:var(--ck-comment-content-font-size);
|
|
75
|
-
color:var(--ck-comment-content-font-color);
|
|
76
|
-
}
|
|
65
|
+
&:after {
|
|
66
|
+
opacity: 0;
|
|
67
|
+
}
|
|
77
68
|
|
|
78
|
-
|
|
79
|
-
|
|
69
|
+
& .ck-comment__input-actions {
|
|
70
|
+
margin-top: var(--ck-spacing-standard, var(--ck-spacing-base));
|
|
71
|
+
}
|
|
80
72
|
}
|
|
81
73
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
74
|
+
.ck .ck-comment__content {
|
|
75
|
+
word-break: normal;
|
|
76
|
+
overflow-wrap: anywhere;
|
|
77
|
+
font-family: var(--ck-comment-content-font-family);
|
|
78
|
+
color: var(--ck-comment-content-font-color);
|
|
85
79
|
}
|
|
86
80
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
81
|
+
.ck .ck-comment--info {
|
|
82
|
+
& .ck-comment__content {
|
|
83
|
+
font-style: italic;
|
|
84
|
+
font-family: var(--ck-comment-content-font-family);
|
|
85
|
+
font-size: var(--ck-comment-content-font-size);
|
|
86
|
+
color: var(--ck-comment-content-font-color);
|
|
87
|
+
}
|
|
91
88
|
}
|
|
92
89
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
90
|
+
.ck .ck-comment, .ck .ck-comment__input {
|
|
91
|
+
& p {
|
|
92
|
+
margin: 0;
|
|
93
|
+
}
|
|
96
94
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
95
|
+
& ul, & ol {
|
|
96
|
+
margin-left: 10px;
|
|
97
|
+
padding-left: 10px;
|
|
98
|
+
}
|
|
100
99
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
position:relative;
|
|
106
|
-
}
|
|
100
|
+
& ul {
|
|
101
|
+
margin-top: 0;
|
|
102
|
+
margin-bottom: 5px;
|
|
103
|
+
list-style: outside;
|
|
107
104
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
}
|
|
105
|
+
& ul {
|
|
106
|
+
list-style: circle;
|
|
111
107
|
|
|
112
|
-
|
|
113
|
-
|
|
108
|
+
& ul {
|
|
109
|
+
list-style: square;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
114
113
|
}
|
|
115
114
|
|
|
116
|
-
.ck
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
115
|
+
.ck .ck-comment__main {
|
|
116
|
+
& .ck-comment__input-wrapper {
|
|
117
|
+
transition: all var(--ck-transition-duration-control-emphasized) linear;
|
|
118
|
+
flex-direction: column;
|
|
119
|
+
display: flex;
|
|
120
|
+
position: relative;
|
|
120
121
|
|
|
121
|
-
.ck-comment__input
|
|
122
|
-
|
|
122
|
+
& .ck-comment__input {
|
|
123
|
+
padding: 0;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
123
126
|
}
|
|
124
127
|
|
|
125
|
-
.ck
|
|
126
|
-
|
|
128
|
+
.ck .ck-comment__user {
|
|
129
|
+
z-index: var(--ck-z-default, var(--ck-z-base));
|
|
127
130
|
}
|
|
128
131
|
|
|
129
|
-
.ck .ck-
|
|
130
|
-
color:
|
|
131
|
-
font-style:italic;
|
|
132
|
-
font-size:var(--ck-font-size-tiny);
|
|
133
|
-
margin-top:var(--ck-spacing-standard);
|
|
134
|
-
}
|
|
132
|
+
.ck-comment__input-actions .ck.ck-button.ck-comment__input-actions--submit {
|
|
133
|
+
color: #fff;
|
|
135
134
|
|
|
136
|
-
|
|
137
|
-
|
|
135
|
+
&.ck-disabled {
|
|
136
|
+
cursor: default;
|
|
137
|
+
}
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
.ck .ck
|
|
141
|
-
|
|
142
|
-
margin:0;
|
|
140
|
+
.ck-comment__input-actions .ck.ck-button.ck-comment__input-actions--cancel {
|
|
141
|
+
color: var(--ck-color-text);
|
|
143
142
|
}
|
|
144
143
|
|
|
145
|
-
.ck .ck-
|
|
146
|
-
color:var(--ck-
|
|
147
|
-
|
|
148
|
-
font-size:
|
|
144
|
+
.ck .ck-comment__external {
|
|
145
|
+
color: var(--ck-annotation-info-color);
|
|
146
|
+
font-style: italic;
|
|
147
|
+
font-size: var(--ck-font-size-tiny, var(--ck-font-size-xs));
|
|
148
|
+
margin-top: var(--ck-spacing-standard, var(--ck-spacing-base));
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
.ck .ck-comment .ck-dropdown
|
|
152
|
-
|
|
153
|
-
|
|
151
|
+
.ck .ck-comment .ck-dropdown {
|
|
152
|
+
& .ck-dropdown__arrow {
|
|
153
|
+
display: none;
|
|
154
|
+
}
|
|
154
155
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
--ck-color-thread-header-background:#fdfadd;
|
|
159
|
-
--ck-color-thread-header-active-background:#fff3a8;
|
|
160
|
-
--ck-color-unlinked-background:#f5f5f5;
|
|
161
|
-
--ck-color-unlinked-active-background:#ebebeb;
|
|
162
|
-
}
|
|
156
|
+
& .ck-list {
|
|
157
|
+
padding: var(--ck-list-padding);
|
|
158
|
+
margin: 0;
|
|
163
159
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
background-color:var(--ck-color-base-background);
|
|
169
|
-
outline:0;
|
|
170
|
-
transition-property:color, background-color, width, outline;
|
|
171
|
-
transition-duration:.3s;
|
|
172
|
-
transition-timing-function:ease;
|
|
173
|
-
overflow:hidden;
|
|
174
|
-
}
|
|
160
|
+
& .ck-list__item {
|
|
161
|
+
color: var(--ck-color-text);
|
|
162
|
+
min-width: auto;
|
|
163
|
+
font-size: 1.2em;
|
|
175
164
|
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
165
|
+
& .ck-button {
|
|
166
|
+
color: var(--ck-color-text);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
179
169
|
}
|
|
180
170
|
}
|
|
181
171
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
172
|
+
:root, :host {
|
|
173
|
+
--ck-thread-remove-background-color: var(--ck-color-thread-remove-background, var(--ck-comment-remove-background-color));
|
|
174
|
+
--ck-comment-count-color: #223047;
|
|
175
|
+
--ck-thread-header-background-color: #f3f6fd;
|
|
176
|
+
--ck-thread-header-active-background-color: var(--ck-color-interactive-selected-surface);
|
|
177
|
+
--ck-thread-header-button-hover-background: var(--ck-color-interactive-primary-surface-muted);
|
|
178
|
+
--ck-thread-unlinked-background-color: var(--ck-color-unlinked-background, #f5f5f5);
|
|
179
|
+
--ck-thread-unlinked-active-background-color: var(--ck-color-unlinked-active-background, #ebebeb);
|
|
180
|
+
--ck-comment-thread-background-color: transparent;
|
|
181
|
+
--ck-comment-thread-comments-background-color: var(--ck-color-surface-container);
|
|
182
|
+
--ck-thread-header-padding: var(--ck-spacing-padding);
|
|
183
|
+
--ck-thread-border-radius: calc(var(--ck-border-radius-surface) - var(--ck-border-width-surface));
|
|
184
|
+
--ck-thread-comments-border-radius: var(--ck-border-radius-surface);
|
|
185
|
+
--ck-thread-input-border-radius: var(--ck-border-radius-control);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.ck .ck-thread {
|
|
189
|
+
border-radius: var(--ck-thread-border-radius);
|
|
190
|
+
width: 100%;
|
|
191
|
+
color: var(--ck-color-text);
|
|
192
|
+
background-color: var(--ck-comment-thread-background-color);
|
|
193
|
+
transition-property: color, background-color, width, outline;
|
|
194
|
+
transition-duration: var(--ck-transition-duration-control-emphasized);
|
|
195
|
+
outline: 0;
|
|
196
|
+
transition-timing-function: ease;
|
|
197
|
+
overflow: hidden;
|
|
198
|
+
|
|
199
|
+
@media (prefers-reduced-motion: reduce) {
|
|
200
|
+
transition: none;
|
|
201
|
+
}
|
|
186
202
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
203
|
+
&:focus {
|
|
204
|
+
outline: var(--ck-interactive-focus-ring);
|
|
205
|
+
box-shadow: 0 0 0 4px var(--ck-color-focus-outer-shadow);
|
|
206
|
+
}
|
|
191
207
|
}
|
|
192
208
|
|
|
193
|
-
.ck
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
font-size:var(--ck-font-size-base);
|
|
198
|
-
justify-content:space-between;
|
|
199
|
-
display:flex;
|
|
209
|
+
.ck-balloon-panel:has(.ck-thread:focus) {
|
|
210
|
+
border: var(--ck-interactive-focus-ring);
|
|
211
|
+
box-shadow: var(--ck-shadow-surface-floating), var(--ck-interactive-focus-shadow), 0 0;
|
|
212
|
+
outline: none;
|
|
200
213
|
}
|
|
201
214
|
|
|
202
|
-
.ck .ck-thread__header
|
|
203
|
-
|
|
204
|
-
|
|
215
|
+
.ck .ck-thread__header {
|
|
216
|
+
padding: var(--ck-thread-header-padding);
|
|
217
|
+
background-color: var(--ck-thread-header-background-color);
|
|
218
|
+
line-height: 1.57;
|
|
219
|
+
font-size: var(--ck-font-size-base);
|
|
220
|
+
justify-content: space-between;
|
|
221
|
+
display: flex;
|
|
205
222
|
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
padding-right:var(--ck-spacing-large);
|
|
211
|
-
display:inline-flex;
|
|
212
|
-
position:relative;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.ck .ck-thread__header .ck-context{
|
|
216
|
-
white-space:nowrap;
|
|
217
|
-
width:100%;
|
|
218
|
-
padding:var(--ck-spacing-small) var(--ck-spacing-medium);
|
|
219
|
-
display:flex;
|
|
220
|
-
overflow:hidden;
|
|
221
|
-
}
|
|
223
|
+
& .ck-button {
|
|
224
|
+
--ck-button-hover-background: var(--ck-thread-header-button-hover-background);
|
|
225
|
+
font-size: var(--ck-annotation-button-size);
|
|
226
|
+
}
|
|
222
227
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
228
|
+
& .ck-context-wrapper {
|
|
229
|
+
width: 100%;
|
|
230
|
+
min-width: 0;
|
|
231
|
+
padding-right: var(--ck-spacing-large, var(--ck-spacing-lg));
|
|
232
|
+
display: inline-flex;
|
|
233
|
+
position: relative;
|
|
234
|
+
|
|
235
|
+
&:has(.ck-context--quotes.overlay) {
|
|
236
|
+
&:before {
|
|
237
|
+
content: " ";
|
|
238
|
+
padding: var(--ck-spacing-control-padding-block) var(--ck-spacing-control-padding-inline);
|
|
239
|
+
font-size: 16px;
|
|
240
|
+
display: block;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
227
244
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
245
|
+
& .ck-context {
|
|
246
|
+
white-space: nowrap;
|
|
247
|
+
width: 100%;
|
|
248
|
+
padding: var(--ck-spacing-control-padding-block) var(--ck-spacing-control-padding-inline);
|
|
249
|
+
display: flex;
|
|
250
|
+
overflow: hidden;
|
|
251
|
+
|
|
252
|
+
&.ck-context--quotes {
|
|
253
|
+
&:after, &:before {
|
|
254
|
+
content: "\"";
|
|
255
|
+
display: inline-block;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
& .ck-context__type {
|
|
260
|
+
padding-right: var(--ck-spacing-control-padding-inline);
|
|
261
|
+
font-weight: bold;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
& .ck-context__value {
|
|
265
|
+
text-overflow: ellipsis;
|
|
266
|
+
overflow: hidden;
|
|
267
|
+
|
|
268
|
+
&:focus {
|
|
269
|
+
border: var(--ck-interactive-focus-ring);
|
|
270
|
+
box-shadow: var(--ck-interactive-focus-shadow), 0 0;
|
|
271
|
+
outline: none;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
&.overlay {
|
|
276
|
+
z-index: 2;
|
|
277
|
+
background: var(--ck-color-surface-canvas);
|
|
278
|
+
box-shadow: var(--ck-shadow-surface-floating);
|
|
279
|
+
border-radius: var(--ck-border-radius-surface);
|
|
280
|
+
white-space: normal;
|
|
281
|
+
box-sizing: border-box;
|
|
282
|
+
display: inline-block;
|
|
283
|
+
position: absolute;
|
|
284
|
+
top: 0;
|
|
285
|
+
}
|
|
286
|
+
}
|
|
231
287
|
}
|
|
232
288
|
|
|
233
|
-
.ck .ck-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
289
|
+
.ck .ck-thread__comment-count {
|
|
290
|
+
--ck-user-avatar-size: 32px;
|
|
291
|
+
padding-left: calc(var(--ck-user-avatar-size) + var(--ck-spacing-standard, var(--ck-spacing-base)) * 2);
|
|
292
|
+
color: var(--ck-comment-count-color);
|
|
293
|
+
font-size: var(--ck-font-size-sm);
|
|
294
|
+
cursor: pointer;
|
|
295
|
+
transition: background-color var(--ck-transition-duration-control-emphasized) ease;
|
|
237
296
|
}
|
|
238
297
|
|
|
239
|
-
.ck .ck-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
}
|
|
298
|
+
.ck .ck-thread--remove {
|
|
299
|
+
& .ck-comment {
|
|
300
|
+
background-color: var(--ck-comment-remove-background-color);
|
|
301
|
+
}
|
|
244
302
|
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
border-radius:2px;
|
|
251
|
-
display:inline-block;
|
|
252
|
-
position:absolute;
|
|
253
|
-
top:0;
|
|
254
|
-
box-shadow:0 2px 3px #fff3;
|
|
255
|
-
}
|
|
303
|
+
& .ck-thread__input--active {
|
|
304
|
+
&.ck-thread__input {
|
|
305
|
+
background-color: var(--ck-comment-remove-background-color);
|
|
306
|
+
}
|
|
307
|
+
}
|
|
256
308
|
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
color:var(--ck-color-comment-count);
|
|
261
|
-
font-size:var(--ck-font-size-base);
|
|
262
|
-
cursor:pointer;
|
|
263
|
-
font-weight:bold;
|
|
264
|
-
transition:background-color .3s;
|
|
265
|
-
}
|
|
309
|
+
& .ck-thread__comment-count {
|
|
310
|
+
background-color: var(--ck-comment-remove-background-color);
|
|
311
|
+
}
|
|
266
312
|
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
313
|
+
& .ck-comment__wrapper {
|
|
314
|
+
& .ck-comment:after {
|
|
315
|
+
opacity: 0;
|
|
316
|
+
}
|
|
317
|
+
}
|
|
270
318
|
}
|
|
271
319
|
|
|
272
|
-
.ck .ck-
|
|
273
|
-
|
|
320
|
+
.ck .ck-thread__comments .ck-comment__wrapper {
|
|
321
|
+
&:last-of-type {
|
|
322
|
+
& .ck-comment:after {
|
|
323
|
+
opacity: 0;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
274
326
|
}
|
|
275
327
|
|
|
276
|
-
.ck .ck-
|
|
277
|
-
|
|
278
|
-
}
|
|
328
|
+
.ck .ck-thread__container {
|
|
329
|
+
transition: transform var(--ck-transition-duration-control-emphasized) ease;
|
|
279
330
|
|
|
280
|
-
|
|
281
|
-
|
|
331
|
+
@media (prefers-reduced-motion: reduce) {
|
|
332
|
+
transition: none;
|
|
333
|
+
}
|
|
282
334
|
}
|
|
283
335
|
|
|
284
|
-
.ck .ck-
|
|
285
|
-
|
|
336
|
+
.ck .ck-thread__comments {
|
|
337
|
+
z-index: var(--ck-z-default, var(--ck-z-base));
|
|
338
|
+
border-radius: var(--ck-thread-comments-border-radius);
|
|
339
|
+
background-color: var(--ck-comment-thread-comments-background-color);
|
|
340
|
+
margin: 0;
|
|
341
|
+
padding: 0;
|
|
342
|
+
list-style: none;
|
|
343
|
+
position: relative;
|
|
286
344
|
}
|
|
287
345
|
|
|
288
|
-
.ck .ck-
|
|
289
|
-
|
|
346
|
+
.ck .ck-thread__user {
|
|
347
|
+
font-size: .85em;
|
|
290
348
|
}
|
|
291
349
|
|
|
292
|
-
.ck .ck-
|
|
293
|
-
|
|
350
|
+
.ck .ck-thread__input {
|
|
351
|
+
width: calc(100% - var(--ck-user-avatar-size));
|
|
352
|
+
white-space: normal;
|
|
353
|
+
transition: background-color var(--ck-transition-duration-control) ease-in-out;
|
|
354
|
+
border-radius: var(--ck-thread-input-border-radius);
|
|
355
|
+
min-height: 38px;
|
|
294
356
|
}
|
|
295
357
|
|
|
296
|
-
.ck .ck-
|
|
297
|
-
|
|
298
|
-
|
|
358
|
+
.ck .ck-thread--active {
|
|
359
|
+
& .ck-comment__options.ck-dropdown, & .ck-thread__input {
|
|
360
|
+
display: block;
|
|
361
|
+
}
|
|
299
362
|
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
transition:none;
|
|
363
|
+
& .ck-thread__header {
|
|
364
|
+
background-color: var(--ck-thread-header-active-background-color);
|
|
303
365
|
}
|
|
304
366
|
}
|
|
305
367
|
|
|
306
|
-
.ck .ck-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
padding:0;
|
|
311
|
-
list-style:none;
|
|
312
|
-
position:relative;
|
|
368
|
+
.ck .ck-thread--unlinked {
|
|
369
|
+
--ck-comment-box-border-color: var(--ck-color-comment-box-border, var(--ck-color-base-border));
|
|
370
|
+
--ck-thread-header-background-color: var(--ck-thread-unlinked-background-color);
|
|
371
|
+
--ck-thread-header-active-background-color: var(--ck-thread-unlinked-active-background-color);
|
|
313
372
|
}
|
|
314
373
|
|
|
315
|
-
.ck
|
|
316
|
-
|
|
374
|
+
.ck.ck-button.ck-confirm-view-submit {
|
|
375
|
+
color: var(--ck-button-save-color);
|
|
317
376
|
}
|
|
318
377
|
|
|
319
|
-
.ck
|
|
320
|
-
|
|
321
|
-
white-space:normal;
|
|
322
|
-
border-radius:var(--ck-border-radius);
|
|
323
|
-
min-height:38px;
|
|
324
|
-
transition:background-color .2s ease-in-out;
|
|
378
|
+
.ck.ck-button.ck-confirm-view-cancel {
|
|
379
|
+
color: var(--ck-button-cancel-color);
|
|
325
380
|
}
|
|
326
381
|
|
|
327
|
-
|
|
328
|
-
|
|
382
|
+
:root, :host {
|
|
383
|
+
--ck-comment-input-padding: var(--ck-spacing-padding) var(--ck-spacing-padding);
|
|
329
384
|
}
|
|
330
385
|
|
|
331
|
-
.ck .ck-
|
|
332
|
-
|
|
333
|
-
|
|
386
|
+
.ck .ck-comment__input-container {
|
|
387
|
+
--ck-user-avatar-size: 32px;
|
|
388
|
+
font-size: var(--ck-font-size-base);
|
|
389
|
+
padding: var(--ck-comment-input-padding);
|
|
390
|
+
display: none;
|
|
334
391
|
}
|
|
335
392
|
|
|
336
|
-
.ck .ck-
|
|
337
|
-
|
|
393
|
+
.ck .ck-comment__input-container--active {
|
|
394
|
+
align-items: flex-start;
|
|
395
|
+
display: flex;
|
|
338
396
|
}
|
|
339
397
|
|
|
340
|
-
.ck .ck-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
398
|
+
.ck .ck-comment__input {
|
|
399
|
+
padding: var(--ck-comment-input-padding);
|
|
400
|
+
color: var(--ck-color-text);
|
|
401
|
+
resize: none;
|
|
402
|
+
transition: color var(--ck-transition-duration-control-emphasized) ease-in-out;
|
|
403
|
+
background-color: #0000;
|
|
404
|
+
border-width: 0;
|
|
345
405
|
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
}
|
|
406
|
+
@media (prefers-reduced-motion: reduce) {
|
|
407
|
+
transition: none;
|
|
408
|
+
}
|
|
349
409
|
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
}
|
|
410
|
+
&:focus {
|
|
411
|
+
outline: none;
|
|
412
|
+
}
|
|
353
413
|
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
414
|
+
& .ck-editor__editable_inline {
|
|
415
|
+
--ck-focus-ring: none;
|
|
416
|
+
--ck-inner-shadow: none;
|
|
417
|
+
--ck-inset-shadow-sm: none;
|
|
418
|
+
font-family: var(--ck-comment-content-font-family);
|
|
419
|
+
font-size: var(--ck-comment-content-font-size);
|
|
420
|
+
color: var(--ck-comment-content-font-color);
|
|
421
|
+
word-break: normal;
|
|
422
|
+
overflow-wrap: anywhere;
|
|
423
|
+
background-color: #0000;
|
|
424
|
+
border: 0;
|
|
425
|
+
padding: 0;
|
|
426
|
+
overflow: visible;
|
|
427
|
+
}
|
|
360
428
|
}
|
|
361
429
|
|
|
362
|
-
.ck .ck-
|
|
363
|
-
|
|
430
|
+
.ck-comment__input-wrapper .ck.ck-editor__editable_inline :first-child {
|
|
431
|
+
margin-top: 0;
|
|
364
432
|
}
|
|
365
433
|
|
|
366
|
-
.ck .ck-
|
|
367
|
-
|
|
368
|
-
padding-top:var(--ck-spacing-medium);
|
|
369
|
-
color:var(--ck-color-base-text);
|
|
370
|
-
resize:none;
|
|
371
|
-
background-color:#0000;
|
|
372
|
-
border-width:0;
|
|
373
|
-
transition:color .3s ease-in-out;
|
|
434
|
+
.ck-comment__input-wrapper .ck.ck-editor__editable_inline :last-child {
|
|
435
|
+
margin-bottom: 0;
|
|
374
436
|
}
|
|
375
437
|
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
438
|
+
.ck .ck-comment__input-actions {
|
|
439
|
+
text-align: right;
|
|
440
|
+
width: 100%;
|
|
441
|
+
display: none;
|
|
442
|
+
|
|
443
|
+
&.ck-comment__input-actions--active {
|
|
444
|
+
display: block;
|
|
379
445
|
}
|
|
380
|
-
}
|
|
381
446
|
|
|
382
|
-
.ck
|
|
383
|
-
|
|
447
|
+
& .ck.ck-button {
|
|
448
|
+
cursor: pointer;
|
|
449
|
+
min-height: var(--ck-ui-component-min-height, var(--ck-size-min-height));
|
|
450
|
+
min-width: 60px;
|
|
451
|
+
font-size: var(--ck-annotation-button-size);
|
|
452
|
+
margin-left: var(--ck-spacing-large, var(--ck-spacing-lg));
|
|
453
|
+
padding: 0 var(--ck-spacing-control-padding-inline);
|
|
454
|
+
justify-content: center;
|
|
455
|
+
align-items: center;
|
|
456
|
+
display: inline-flex;
|
|
457
|
+
}
|
|
384
458
|
}
|
|
385
459
|
|
|
386
|
-
.ck .ck-comment__input
|
|
387
|
-
|
|
388
|
-
--ck-inner-shadow:none;
|
|
389
|
-
font-family:var(--ck-comment-content-font-family);
|
|
390
|
-
font-size:var(--ck-comment-content-font-size);
|
|
391
|
-
color:var(--ck-comment-content-font-color);
|
|
392
|
-
word-break:normal;
|
|
393
|
-
overflow-wrap:anywhere;
|
|
394
|
-
background-color:#0000;
|
|
395
|
-
border:0;
|
|
396
|
-
padding:0;
|
|
397
|
-
overflow:visible;
|
|
460
|
+
.ck .ck-comment__input-textarea {
|
|
461
|
+
display: block;
|
|
398
462
|
}
|
|
399
463
|
|
|
400
|
-
|
|
401
|
-
|
|
464
|
+
:root, :host {
|
|
465
|
+
--ck-inline-annotation-container-width: var(--ck-width-sm);
|
|
466
|
+
--ck-inline-annotation-container-max-height: 400px;
|
|
402
467
|
}
|
|
403
468
|
|
|
404
|
-
.ck-
|
|
405
|
-
|
|
469
|
+
.ck.ck-balloon-panel .ck-annotation-wrapper {
|
|
470
|
+
border-radius: calc(var(--ck-balloon-panel-border-radius) - var(--ck-border-width-surface));
|
|
471
|
+
width: var(--ck-inline-annotation-container-width);
|
|
472
|
+
max-height: var(--ck-inline-annotation-container-max-height);
|
|
473
|
+
overscroll-behavior-y: contain;
|
|
474
|
+
border: none;
|
|
475
|
+
position: static;
|
|
476
|
+
overflow: hidden auto;
|
|
406
477
|
}
|
|
407
478
|
|
|
408
|
-
.ck .ck-
|
|
409
|
-
|
|
410
|
-
width:100%;
|
|
411
|
-
display:none;
|
|
479
|
+
.ck.ck-balloon-panel .ck-annotation {
|
|
480
|
+
animation: none;
|
|
412
481
|
}
|
|
413
482
|
|
|
414
|
-
.ck
|
|
415
|
-
|
|
483
|
+
.ck.ck-balloon-panel .ck-annotation-wrapper * {
|
|
484
|
+
white-space: normal;
|
|
416
485
|
}
|
|
417
486
|
|
|
418
|
-
.ck
|
|
419
|
-
|
|
420
|
-
min-height:var(--ck-ui-component-min-height);
|
|
421
|
-
min-width:60px;
|
|
422
|
-
font-size:var(--ck-annotation-button-size);
|
|
423
|
-
margin-left:var(--ck-spacing-large);
|
|
424
|
-
padding:0 var(--ck-spacing-medium);
|
|
425
|
-
justify-content:center;
|
|
426
|
-
align-items:center;
|
|
427
|
-
display:inline-flex;
|
|
487
|
+
.ck.ck-balloon-panel .ck-annotation-wrapper strong {
|
|
488
|
+
font-weight: bold;
|
|
428
489
|
}
|
|
429
490
|
|
|
430
|
-
.ck
|
|
431
|
-
|
|
491
|
+
.ck.ck-balloon-panel .ck-annotation-wrapper i {
|
|
492
|
+
font-style: italic;
|
|
432
493
|
}
|
|
433
494
|
|
|
434
|
-
.ck .ck-
|
|
435
|
-
|
|
495
|
+
.ck.ck-balloon-panel .ck-annotation-wrapper .ck-suggestion-type {
|
|
496
|
+
vertical-align: baseline;
|
|
436
497
|
}
|
|
437
498
|
|
|
438
|
-
:root{
|
|
439
|
-
--ck-
|
|
440
|
-
--ck-
|
|
499
|
+
:root, :host {
|
|
500
|
+
--ck-annotation-counter-icon-size: 16px;
|
|
501
|
+
--ck-annotation-counter-number-size: 10px;
|
|
502
|
+
--ck-annotation-counter-comment-color: #fcbf49;
|
|
503
|
+
--ck-annotation-counter-suggestion-insertion-color: #499167;
|
|
504
|
+
--ck-annotation-counter-suggestion-deletion-color: #ca3c25;
|
|
505
|
+
--ck-annotation-counter-suggestion-format-color: var(--ck-color-base-active);
|
|
441
506
|
}
|
|
442
507
|
|
|
443
|
-
.ck.ck-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
overscroll-behavior-y:contain;
|
|
447
|
-
position:static;
|
|
448
|
-
overflow:hidden auto;
|
|
508
|
+
.ck.ck-sidebar--narrow .ck-sidebar-item {
|
|
509
|
+
justify-content: center;
|
|
510
|
+
display: flex;
|
|
449
511
|
}
|
|
450
512
|
|
|
451
|
-
.ck.ck-
|
|
452
|
-
|
|
513
|
+
.ck.ck-sidebar--narrow .ck-annotation-counter {
|
|
514
|
+
font-size: var(--ck-annotation-counter-icon-size);
|
|
515
|
+
min-height: unset;
|
|
516
|
+
cursor: pointer;
|
|
517
|
+
color: gray;
|
|
518
|
+
padding: 0;
|
|
453
519
|
}
|
|
454
520
|
|
|
455
|
-
.ck.ck-
|
|
456
|
-
|
|
521
|
+
.ck.ck-sidebar--narrow .ck-annotation-counter:hover {
|
|
522
|
+
box-shadow: none;
|
|
523
|
+
color: #4d4d4d;
|
|
524
|
+
background: none;
|
|
457
525
|
}
|
|
458
526
|
|
|
459
|
-
.ck.ck-
|
|
460
|
-
|
|
527
|
+
.ck.ck-sidebar--narrow .ck-annotation-counter:focus {
|
|
528
|
+
border-color: var(--ck-input-focus-border-color);
|
|
529
|
+
box-shadow: var(--ck-interactive-focus-shadow), 0 0;
|
|
530
|
+
outline: none;
|
|
461
531
|
}
|
|
462
532
|
|
|
463
|
-
.ck.ck-
|
|
464
|
-
|
|
533
|
+
.ck.ck-sidebar--narrow .ck-annotation-counter__badge {
|
|
534
|
+
color: #fff;
|
|
535
|
+
width: 16px;
|
|
536
|
+
height: 16px;
|
|
537
|
+
font-weight: bold;
|
|
538
|
+
font-size: var(--ck-annotation-counter-number-size);
|
|
539
|
+
font-family: var(--ck-font-face, var(--ck-font-family));
|
|
540
|
+
text-shadow: -1px 0 2px #454545, 1px 0 2px #454545;
|
|
541
|
+
z-index: 1;
|
|
542
|
+
background: #333;
|
|
543
|
+
border-radius: 50%;
|
|
544
|
+
justify-content: center;
|
|
545
|
+
line-height: 16px;
|
|
546
|
+
display: flex;
|
|
547
|
+
position: absolute;
|
|
548
|
+
top: -6px;
|
|
549
|
+
right: 0;
|
|
465
550
|
}
|
|
466
551
|
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
--ck-annotation-counter-number-size:10px;
|
|
470
|
-
--ck-color-annotation-counter-comment:#f2de02;
|
|
471
|
-
--ck-color-annotation-counter-suggestion-insertion:#5ad86b;
|
|
472
|
-
--ck-color-annotation-counter-suggestion-deletion:#d85a79;
|
|
473
|
-
--ck-color-annotation-counter-suggestion-format:#5ac1d8;
|
|
552
|
+
.ck.ck-sidebar--narrow .ck-annotation-counter__badge--edit-mode {
|
|
553
|
+
line-height: 1;
|
|
474
554
|
}
|
|
475
555
|
|
|
476
|
-
.ck.ck-sidebar--narrow .ck-sidebar-
|
|
477
|
-
|
|
478
|
-
display:flex;
|
|
556
|
+
.ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-insertion, .ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-replace {
|
|
557
|
+
background: var(--ck-annotation-counter-suggestion-insertion-color);
|
|
479
558
|
}
|
|
480
559
|
|
|
481
|
-
.ck.ck-sidebar--narrow .ck-annotation-
|
|
482
|
-
|
|
483
|
-
min-height:unset;
|
|
484
|
-
cursor:pointer;
|
|
485
|
-
color:gray;
|
|
486
|
-
padding:0;
|
|
560
|
+
.ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-deletion {
|
|
561
|
+
background: var(--ck-annotation-counter-suggestion-deletion-color);
|
|
487
562
|
}
|
|
488
563
|
|
|
489
|
-
.ck.ck-sidebar--narrow .ck-annotation-
|
|
490
|
-
|
|
491
|
-
color:#4d4d4d;
|
|
492
|
-
background:none;
|
|
564
|
+
.ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-format {
|
|
565
|
+
background: var(--ck-annotation-counter-suggestion-format-color);
|
|
493
566
|
}
|
|
494
567
|
|
|
495
|
-
.ck.ck-sidebar--narrow .ck-annotation-counter__badge{
|
|
496
|
-
color
|
|
497
|
-
width:16px;
|
|
498
|
-
height:16px;
|
|
499
|
-
font-weight:bold;
|
|
500
|
-
font-size:var(--ck-annotation-counter-number-size);
|
|
501
|
-
font-family:var(--ck-font-face);
|
|
502
|
-
text-shadow:-1px 0 2px #454545, 1px 0 2px #454545;
|
|
503
|
-
z-index:1;
|
|
504
|
-
background:#333;
|
|
505
|
-
border-radius:50%;
|
|
506
|
-
justify-content:center;
|
|
507
|
-
line-height:16px;
|
|
508
|
-
display:flex;
|
|
509
|
-
position:absolute;
|
|
510
|
-
top:-6px;
|
|
511
|
-
right:0;
|
|
568
|
+
.ck.ck-sidebar--narrow .ck-annotation-counter__badge--comment {
|
|
569
|
+
background: var(--ck-annotation-counter-comment-color);
|
|
512
570
|
}
|
|
513
571
|
|
|
514
|
-
|
|
515
|
-
|
|
572
|
+
:root, :host {
|
|
573
|
+
--ck-annotation-icon-color: var(--ck-color-text);
|
|
574
|
+
--ck-annotation-info-color: var(--ck-color-text);
|
|
575
|
+
--ck-annotation-info-name-color: var(--ck-color-text);
|
|
576
|
+
--ck-annotation-info-time-color: var(--ck-color-text-secondary);
|
|
577
|
+
--ck-annotation-button-size: .85em;
|
|
578
|
+
--ck-annotation-dropdown-button-size: 14px;
|
|
579
|
+
--ck-annotation-padding: var(--ck-spacing-padding) var(--ck-spacing-padding);
|
|
580
|
+
--ck-annotation-content-wrapper-padding-inline-end: var(--ck-spacing-padding);
|
|
581
|
+
--ck-annotation-main-border-radius: var(--ck-border-radius-surface);
|
|
582
|
+
--ck-annotation-button-border-radius: var(--ck-border-radius-control);
|
|
516
583
|
}
|
|
517
584
|
|
|
518
|
-
.ck
|
|
519
|
-
|
|
520
|
-
|
|
585
|
+
.ck .ck-annotation {
|
|
586
|
+
--ck-user-avatar-size: 32px;
|
|
587
|
+
font-size: var(--ck-font-size-base);
|
|
588
|
+
animation: annotationFadeInLeft var(--ck-animation-duration-surface-entrance);
|
|
589
|
+
transition: background-color var(--ck-transition-duration-control-emphasized) ease;
|
|
590
|
+
padding: var(--ck-annotation-padding);
|
|
591
|
+
white-space: normal;
|
|
592
|
+
display: flex;
|
|
593
|
+
position: relative;
|
|
521
594
|
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
595
|
+
@media (prefers-reduced-motion: reduce) {
|
|
596
|
+
transition: none;
|
|
597
|
+
animation: none;
|
|
598
|
+
}
|
|
525
599
|
|
|
526
|
-
.ck
|
|
527
|
-
|
|
528
|
-
|
|
600
|
+
& .ck-button {
|
|
601
|
+
min-width: unset;
|
|
602
|
+
min-height: unset;
|
|
603
|
+
color: var(--ck-annotation-icon-color);
|
|
604
|
+
border-radius: var(--ck-annotation-button-border-radius);
|
|
529
605
|
|
|
530
|
-
.ck
|
|
531
|
-
|
|
532
|
-
}
|
|
606
|
+
&:not(.ck-disabled) {
|
|
607
|
+
cursor: pointer;
|
|
608
|
+
}
|
|
609
|
+
}
|
|
533
610
|
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
--ck-annotation-button-size:.85em;
|
|
538
|
-
}
|
|
611
|
+
& .ck-user {
|
|
612
|
+
font-size: 12px;
|
|
613
|
+
}
|
|
539
614
|
|
|
540
|
-
.ck .ck-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
white-space:normal;
|
|
545
|
-
transition:background-color .3s;
|
|
546
|
-
animation:.3s annotationFadeInLeft;
|
|
547
|
-
display:flex;
|
|
548
|
-
position:relative;
|
|
549
|
-
}
|
|
615
|
+
& .ck-dropdown .ck-list {
|
|
616
|
+
& > .ck-list__item:has( > .ck-hidden) {
|
|
617
|
+
display: none;
|
|
618
|
+
}
|
|
550
619
|
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
animation:none;
|
|
620
|
+
& .ck-button {
|
|
621
|
+
font-size: var(--ck-annotation-dropdown-button-size);
|
|
622
|
+
}
|
|
555
623
|
}
|
|
556
624
|
}
|
|
557
625
|
|
|
558
|
-
.ck .ck-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
626
|
+
.ck .ck-annotation__main {
|
|
627
|
+
width: calc(100% - var(--ck-user-avatar-size));
|
|
628
|
+
transition: all var(--ck-transition-duration-control) ease;
|
|
629
|
+
border-radius: var(--ck-annotation-main-border-radius);
|
|
630
|
+
padding-left: var(--ck-spacing-padding);
|
|
631
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
632
|
+
grid-template-areas: "info actions"
|
|
633
|
+
"content content";
|
|
634
|
+
display: grid;
|
|
567
635
|
|
|
568
|
-
|
|
569
|
-
|
|
636
|
+
@media (prefers-reduced-motion: reduce) {
|
|
637
|
+
transition: none;
|
|
638
|
+
}
|
|
570
639
|
}
|
|
571
640
|
|
|
572
|
-
.ck .ck-annotation__main{
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
grid-template-areas:"info actions" "content content";
|
|
578
|
-
transition:all .2s;
|
|
579
|
-
display:grid;
|
|
580
|
-
}
|
|
641
|
+
.ck .ck-annotation__main p {
|
|
642
|
+
white-space: normal;
|
|
643
|
+
font-size: var(--ck-comment-content-font-size);
|
|
644
|
+
margin: 0;
|
|
645
|
+
line-height: 1.5em;
|
|
581
646
|
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
647
|
+
& .ck-suggestion-type {
|
|
648
|
+
font-size: var(--ck-comment-content-font-size);
|
|
649
|
+
line-height: 1.5em;
|
|
585
650
|
}
|
|
586
651
|
}
|
|
587
652
|
|
|
588
|
-
.ck .ck-
|
|
589
|
-
|
|
590
|
-
font-size:var(--ck-comment-content-font-size);
|
|
591
|
-
margin:0;
|
|
592
|
-
line-height:1.5em;
|
|
653
|
+
.ck .ck-annotation__user {
|
|
654
|
+
margin-top: var(--ck-spacing-gap-compact);
|
|
593
655
|
}
|
|
594
656
|
|
|
595
|
-
.ck .ck-
|
|
596
|
-
|
|
657
|
+
.ck .ck-annotation__info {
|
|
658
|
+
min-height: 2.4em;
|
|
659
|
+
margin-bottom: var(--ck-spacing-gap-compact);
|
|
660
|
+
flex-direction: column;
|
|
661
|
+
grid-area: info;
|
|
662
|
+
display: flex;
|
|
597
663
|
}
|
|
598
664
|
|
|
599
|
-
.ck .ck-annotation__info{
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
display:flex;
|
|
665
|
+
.ck .ck-annotation__info-name, .ck .ck-annotation__info-time {
|
|
666
|
+
white-space: nowrap;
|
|
667
|
+
font-size: var(--ck-font-size-small, var(--ck-font-size-sm));
|
|
668
|
+
line-height: var(--ck-line-height-base);
|
|
669
|
+
overflow: hidden;
|
|
605
670
|
}
|
|
606
671
|
|
|
607
|
-
.ck .ck-annotation__info-name
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
overflow:hidden;
|
|
672
|
+
.ck .ck-annotation__info-name {
|
|
673
|
+
font-weight: 500;
|
|
674
|
+
font-size: var(--ck-font-size-control);
|
|
675
|
+
color: var(--ck-annotation-info-name-color);
|
|
676
|
+
text-overflow: ellipsis;
|
|
613
677
|
}
|
|
614
678
|
|
|
615
|
-
.ck .ck-annotation__info-
|
|
616
|
-
|
|
679
|
+
.ck .ck-annotation__info-time {
|
|
680
|
+
color: var(--ck-annotation-info-time-color);
|
|
681
|
+
flex: none;
|
|
617
682
|
}
|
|
618
683
|
|
|
619
|
-
.ck .ck-annotation__info-time{
|
|
620
|
-
|
|
621
|
-
flex:none;
|
|
684
|
+
.ck.ck-balloon-panel .ck-annotation-wrapper .ck-annotation__info-name, .ck.ck-balloon-panel .ck-annotation-wrapper .ck-annotation__info-time {
|
|
685
|
+
white-space: nowrap;
|
|
622
686
|
}
|
|
623
687
|
|
|
624
|
-
.ck
|
|
625
|
-
|
|
626
|
-
|
|
688
|
+
.ck .ck-annotation__actions {
|
|
689
|
+
align-items: flex-start;
|
|
690
|
+
gap: var(--ck-spacing-gap-snug);
|
|
691
|
+
grid-area: actions;
|
|
692
|
+
display: flex;
|
|
627
693
|
|
|
628
|
-
.ck
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
transition:opacity .2s;
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
@media (prefers-reduced-motion: reduce){
|
|
635
|
-
.ck .ck-annotation__actions{
|
|
636
|
-
transition:none;
|
|
694
|
+
& .ck.ck-dropdown {
|
|
695
|
+
align-items: flex-start;
|
|
696
|
+
display: flex;
|
|
637
697
|
}
|
|
638
698
|
}
|
|
639
699
|
|
|
640
|
-
.ck .ck-annotation__content-wrapper{
|
|
641
|
-
|
|
642
|
-
|
|
700
|
+
.ck .ck-annotation__content-wrapper {
|
|
701
|
+
width: 100%;
|
|
702
|
+
grid-area: content;
|
|
703
|
+
padding-inline-end: var(--ck-annotation-content-wrapper-padding-inline-end);
|
|
643
704
|
}
|
|
644
705
|
|
|
645
|
-
@keyframes annotationFadeInLeft{
|
|
646
|
-
from{
|
|
647
|
-
opacity:0;
|
|
648
|
-
transform:translate3d(-5%, 0, 0);
|
|
706
|
+
@keyframes annotationFadeInLeft {
|
|
707
|
+
from {
|
|
708
|
+
opacity: 0;
|
|
709
|
+
transform: translate3d(-5%, 0, 0);
|
|
649
710
|
}
|
|
650
711
|
|
|
651
|
-
to{
|
|
652
|
-
opacity:1;
|
|
653
|
-
transform:translate3d(0, 0, 0);
|
|
712
|
+
to {
|
|
713
|
+
opacity: 1;
|
|
714
|
+
transform: translate3d(0, 0, 0);
|
|
654
715
|
}
|
|
655
716
|
}
|
|
656
717
|
|
|
657
|
-
:root{
|
|
658
|
-
--ck-color-annotation-wrapper-background
|
|
659
|
-
--ck-color-annotation-wrapper-drop-shadow
|
|
718
|
+
:root, :host {
|
|
719
|
+
--ck-annotation-wrapper-background-color: var(--ck-color-annotation-wrapper-background, #fff);
|
|
720
|
+
--ck-annotation-wrapper-shadow: var(--ck-color-annotation-wrapper-drop-shadow, 0 1px 1px 1px #e6e6e6);
|
|
721
|
+
--ck-annotation-wrapper-border-radius: var(--ck-border-radius-surface);
|
|
660
722
|
}
|
|
661
723
|
|
|
662
|
-
.ck.ck-sidebar{
|
|
663
|
-
outline:0;
|
|
664
|
-
transition:min-height .25s;
|
|
665
|
-
position:relative;
|
|
666
|
-
}
|
|
724
|
+
.ck.ck-sidebar {
|
|
725
|
+
outline: 0;
|
|
726
|
+
transition: min-height .25s;
|
|
727
|
+
position: relative;
|
|
667
728
|
|
|
668
|
-
@media (prefers-reduced-motion: reduce){
|
|
669
|
-
|
|
670
|
-
transition:none;
|
|
729
|
+
@media (prefers-reduced-motion: reduce) {
|
|
730
|
+
transition: none;
|
|
671
731
|
}
|
|
672
732
|
}
|
|
673
733
|
|
|
674
|
-
.ck-sidebar-item{
|
|
675
|
-
width:100%;
|
|
676
|
-
transition:top
|
|
677
|
-
position:absolute;
|
|
678
|
-
}
|
|
734
|
+
.ck-sidebar-item {
|
|
735
|
+
width: 100%;
|
|
736
|
+
transition: top var(--ck-transition-duration-control-emphasized) ease, box-shadow var(--ck-transition-duration-control-emphasized) ease;
|
|
737
|
+
position: absolute;
|
|
679
738
|
|
|
680
|
-
@media (prefers-reduced-motion: reduce){
|
|
681
|
-
|
|
682
|
-
transition:none;
|
|
739
|
+
@media (prefers-reduced-motion: reduce) {
|
|
740
|
+
transition: none;
|
|
683
741
|
}
|
|
684
742
|
}
|
|
685
743
|
|
|
686
|
-
.ck-sidebar-item--no-animation{
|
|
687
|
-
transition:top !important;
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
.ck.ck-annotation-wrapper{
|
|
691
|
-
border-radius:var(--ck-border-radius);
|
|
692
|
-
background:var(--ck-color-annotation-wrapper-background);
|
|
693
|
-
box-shadow:var(--ck-color-annotation-wrapper-drop-shadow);
|
|
694
|
-
outline:0;
|
|
695
|
-
}
|
|
696
|
-
|
|
697
|
-
:is(.ck.ck-annotation-wrapper--active, .ck.ck-annotation-wrapper:hover) .ck-annotation__actions{
|
|
698
|
-
opacity:1;
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
:is(.ck.ck-annotation-wrapper--active, .ck.ck-annotation-wrapper:hover) .ck-annotation__actions .ck-comment--resolve{
|
|
702
|
-
color:var(--ck-color-button-save);
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
:is(.ck.ck-annotation-wrapper--active, .ck.ck-annotation-wrapper:hover) .ck-suggestion--accept{
|
|
706
|
-
color:var(--ck-color-button-save);
|
|
707
|
-
}
|
|
708
|
-
|
|
709
|
-
:is(.ck.ck-annotation-wrapper--active, .ck.ck-annotation-wrapper:hover) .ck-suggestion--discard{
|
|
710
|
-
color:var(--ck-color-button-cancel);
|
|
744
|
+
.ck-sidebar-item--no-animation {
|
|
745
|
+
transition: top !important;
|
|
711
746
|
}
|
|
712
747
|
|
|
713
|
-
.ck.ck-annotation-wrapper
|
|
714
|
-
|
|
748
|
+
.ck.ck-annotation-wrapper {
|
|
749
|
+
border-radius: var(--ck-annotation-wrapper-border-radius);
|
|
750
|
+
background: var(--ck-annotation-wrapper-background-color);
|
|
751
|
+
border: var(--ck-border-surface);
|
|
752
|
+
outline: 0;
|
|
715
753
|
}
|
|
716
754
|
|
|
717
|
-
.ck.ck-annotation-wrapper--active{
|
|
718
|
-
|
|
755
|
+
.ck.ck-annotation-wrapper--active, .ck.ck-annotation-wrapper:hover {
|
|
756
|
+
& .ck-annotation__actions {
|
|
757
|
+
opacity: 1;
|
|
758
|
+
}
|
|
719
759
|
}
|
|
720
760
|
|
|
721
|
-
|
|
722
|
-
|
|
761
|
+
:root, :host {
|
|
762
|
+
--ck-comments-archive-width: var(--ck-width-dialog);
|
|
763
|
+
--ck-comments-archive-info-font-size: var(--ck-font-size-md);
|
|
723
764
|
}
|
|
724
765
|
|
|
725
|
-
.ck .ck-comments-archive{
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
766
|
+
.ck .ck-comments-archive-dropdown {
|
|
767
|
+
&.ck-dropdown__panel {
|
|
768
|
+
z-index: var(--ck-z-panel);
|
|
769
|
+
}
|
|
729
770
|
}
|
|
730
771
|
|
|
731
|
-
.ck .ck-comments-archive
|
|
732
|
-
|
|
733
|
-
|
|
772
|
+
.ck .ck-comments-archive {
|
|
773
|
+
width: var(--ck-comments-archive-width);
|
|
774
|
+
box-sizing: content-box;
|
|
775
|
+
max-height: 450px;
|
|
734
776
|
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
overflow:auto;
|
|
739
|
-
}
|
|
777
|
+
& .ck-annotation {
|
|
778
|
+
animation: none;
|
|
779
|
+
}
|
|
740
780
|
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
}
|
|
781
|
+
& .ck-comments-archive__header, & .ck-comments-archive__content {
|
|
782
|
+
max-height: 410px;
|
|
783
|
+
padding: var(--ck-spacing-padding-comfortable);
|
|
784
|
+
overflow: auto;
|
|
785
|
+
}
|
|
747
786
|
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
787
|
+
& .ck-comments-archive__header {
|
|
788
|
+
max-height: 40px;
|
|
789
|
+
line-height: var(--ck-font-size-base);
|
|
790
|
+
border-bottom: var(--ck-border-divider);
|
|
791
|
+
font-weight: bold;
|
|
792
|
+
}
|
|
751
793
|
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
}
|
|
794
|
+
& .ck-comments-archive__content {
|
|
795
|
+
& .ck-annotation-wrapper:not(:last-child) {
|
|
796
|
+
margin-bottom: var(--ck-spacing-gap-comfortable);
|
|
797
|
+
}
|
|
798
|
+
}
|
|
757
799
|
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
800
|
+
& .ck-comments-archive__info {
|
|
801
|
+
text-align: center;
|
|
802
|
+
font-style: italic;
|
|
803
|
+
font-size: var(--ck-comments-archive-info-font-size);
|
|
804
|
+
color: var(--ck-annotation-info-color);
|
|
805
|
+
}
|
|
761
806
|
}
|