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