@ckeditor/ckeditor5-comments 41.3.0-alpha.3 → 41.3.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.
Files changed (201) hide show
  1. package/build/comments.js +1 -1
  2. package/package.json +3 -4
  3. package/src/annotations/annotation.js +1 -1
  4. package/src/annotations/annotationcollection.js +1 -1
  5. package/src/annotations/annotations.js +1 -1
  6. package/src/annotations/annotationsuis.js +1 -1
  7. package/src/annotations/editorannotations.js +1 -1
  8. package/src/annotations/inlineannotations.js +1 -1
  9. package/src/annotations/narrowsidebar.js +1 -1
  10. package/src/annotations/sidebar.js +1 -1
  11. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  12. package/src/annotations/view/annotationview.js +1 -1
  13. package/src/annotations/view/sidebaritemview.js +1 -1
  14. package/src/annotations/view/sidebarview.js +1 -1
  15. package/src/annotations/widesidebar.js +1 -1
  16. package/src/comments/addcommentthreadcommand.js +1 -1
  17. package/src/comments/commentsarchive.js +1 -1
  18. package/src/comments/commentsarchiveui.d.ts +2 -2
  19. package/src/comments/commentsarchiveui.js +1 -1
  20. package/src/comments/commentsediting.js +1 -1
  21. package/src/comments/commentsrepository.js +1 -1
  22. package/src/comments/commentsui.js +1 -1
  23. package/src/comments/integrations/clipboard.js +1 -1
  24. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  25. package/src/comments/integrations/importword.js +1 -1
  26. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  27. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  28. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  29. package/src/comments/ui/commentthreadcontroller.js +1 -1
  30. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  31. package/src/comments/ui/view/basecommentview.js +1 -1
  32. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  33. package/src/comments/ui/view/commentcontentview.js +1 -1
  34. package/src/comments/ui/view/commentinputview.js +1 -1
  35. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  36. package/src/comments/ui/view/commentslistview.js +1 -1
  37. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  38. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  39. package/src/comments/ui/view/commentthreadview.js +1 -1
  40. package/src/comments/ui/view/commentview.js +1 -1
  41. package/src/comments.js +1 -1
  42. package/src/commentsonly.js +1 -1
  43. package/src/index.js +1 -1
  44. package/src/utils/common-translations.js +1 -1
  45. package/src/utils/createmutationobserver.js +1 -1
  46. package/theme/commentsarchive.css +1 -1
  47. package/dist/content-index.css +0 -332
  48. package/dist/editor-index.css +0 -902
  49. package/dist/index.css +0 -1874
  50. package/dist/translations/af.d.ts +0 -8
  51. package/dist/translations/af.js +0 -23
  52. package/dist/translations/ar.d.ts +0 -8
  53. package/dist/translations/ar.js +0 -23
  54. package/dist/translations/bg.d.ts +0 -8
  55. package/dist/translations/bg.js +0 -23
  56. package/dist/translations/bn.d.ts +0 -8
  57. package/dist/translations/bn.js +0 -23
  58. package/dist/translations/bs.d.ts +0 -8
  59. package/dist/translations/bs.js +0 -23
  60. package/dist/translations/ca.d.ts +0 -8
  61. package/dist/translations/ca.js +0 -23
  62. package/dist/translations/cs.d.ts +0 -8
  63. package/dist/translations/cs.js +0 -23
  64. package/dist/translations/da.d.ts +0 -8
  65. package/dist/translations/da.js +0 -23
  66. package/dist/translations/de-ch.d.ts +0 -8
  67. package/dist/translations/de-ch.js +0 -23
  68. package/dist/translations/de.d.ts +0 -8
  69. package/dist/translations/de.js +0 -23
  70. package/dist/translations/el.d.ts +0 -8
  71. package/dist/translations/el.js +0 -23
  72. package/dist/translations/en-au.d.ts +0 -8
  73. package/dist/translations/en-au.js +0 -23
  74. package/dist/translations/en.d.ts +0 -8
  75. package/dist/translations/en.js +0 -23
  76. package/dist/translations/es-co.d.ts +0 -8
  77. package/dist/translations/es-co.js +0 -23
  78. package/dist/translations/es.d.ts +0 -8
  79. package/dist/translations/es.js +0 -23
  80. package/dist/translations/et.d.ts +0 -8
  81. package/dist/translations/et.js +0 -23
  82. package/dist/translations/fa.d.ts +0 -8
  83. package/dist/translations/fa.js +0 -23
  84. package/dist/translations/fi.d.ts +0 -8
  85. package/dist/translations/fi.js +0 -23
  86. package/dist/translations/fr.d.ts +0 -8
  87. package/dist/translations/fr.js +0 -23
  88. package/dist/translations/gl.d.ts +0 -8
  89. package/dist/translations/gl.js +0 -23
  90. package/dist/translations/he.d.ts +0 -8
  91. package/dist/translations/he.js +0 -23
  92. package/dist/translations/hi.d.ts +0 -8
  93. package/dist/translations/hi.js +0 -23
  94. package/dist/translations/hr.d.ts +0 -8
  95. package/dist/translations/hr.js +0 -23
  96. package/dist/translations/hu.d.ts +0 -8
  97. package/dist/translations/hu.js +0 -23
  98. package/dist/translations/id.d.ts +0 -8
  99. package/dist/translations/id.js +0 -23
  100. package/dist/translations/it.d.ts +0 -8
  101. package/dist/translations/it.js +0 -23
  102. package/dist/translations/ja.d.ts +0 -8
  103. package/dist/translations/ja.js +0 -23
  104. package/dist/translations/jv.d.ts +0 -8
  105. package/dist/translations/jv.js +0 -23
  106. package/dist/translations/ko.d.ts +0 -8
  107. package/dist/translations/ko.js +0 -23
  108. package/dist/translations/lt.d.ts +0 -8
  109. package/dist/translations/lt.js +0 -23
  110. package/dist/translations/lv.d.ts +0 -8
  111. package/dist/translations/lv.js +0 -23
  112. package/dist/translations/ms.d.ts +0 -8
  113. package/dist/translations/ms.js +0 -23
  114. package/dist/translations/nl.d.ts +0 -8
  115. package/dist/translations/nl.js +0 -23
  116. package/dist/translations/no.d.ts +0 -8
  117. package/dist/translations/no.js +0 -23
  118. package/dist/translations/pl.d.ts +0 -8
  119. package/dist/translations/pl.js +0 -23
  120. package/dist/translations/pt-br.d.ts +0 -8
  121. package/dist/translations/pt-br.js +0 -23
  122. package/dist/translations/pt.d.ts +0 -8
  123. package/dist/translations/pt.js +0 -23
  124. package/dist/translations/ro.d.ts +0 -8
  125. package/dist/translations/ro.js +0 -23
  126. package/dist/translations/ru.d.ts +0 -8
  127. package/dist/translations/ru.js +0 -23
  128. package/dist/translations/sk.d.ts +0 -8
  129. package/dist/translations/sk.js +0 -23
  130. package/dist/translations/sq.d.ts +0 -8
  131. package/dist/translations/sq.js +0 -23
  132. package/dist/translations/sr-latn.d.ts +0 -8
  133. package/dist/translations/sr-latn.js +0 -23
  134. package/dist/translations/sr.d.ts +0 -8
  135. package/dist/translations/sr.js +0 -23
  136. package/dist/translations/sv.d.ts +0 -8
  137. package/dist/translations/sv.js +0 -23
  138. package/dist/translations/th.d.ts +0 -8
  139. package/dist/translations/th.js +0 -23
  140. package/dist/translations/tk.d.ts +0 -8
  141. package/dist/translations/tk.js +0 -23
  142. package/dist/translations/tr.d.ts +0 -8
  143. package/dist/translations/tr.js +0 -23
  144. package/dist/translations/tt.d.ts +0 -8
  145. package/dist/translations/tt.js +0 -23
  146. package/dist/translations/ug.d.ts +0 -8
  147. package/dist/translations/ug.js +0 -23
  148. package/dist/translations/uk.d.ts +0 -8
  149. package/dist/translations/uk.js +0 -23
  150. package/dist/translations/ur.d.ts +0 -8
  151. package/dist/translations/ur.js +0 -23
  152. package/dist/translations/vi.d.ts +0 -8
  153. package/dist/translations/vi.js +0 -23
  154. package/dist/translations/zh-cn.d.ts +0 -8
  155. package/dist/translations/zh-cn.js +0 -23
  156. package/dist/translations/zh.d.ts +0 -8
  157. package/dist/translations/zh.js +0 -23
  158. package/dist/types/annotations/annotation.d.ts +0 -94
  159. package/dist/types/annotations/annotationcollection.d.ts +0 -102
  160. package/dist/types/annotations/annotations.d.ts +0 -158
  161. package/dist/types/annotations/annotationsuis.d.ts +0 -236
  162. package/dist/types/annotations/editorannotations.d.ts +0 -71
  163. package/dist/types/annotations/inlineannotations.d.ts +0 -94
  164. package/dist/types/annotations/narrowsidebar.d.ts +0 -89
  165. package/dist/types/annotations/sidebar.d.ts +0 -104
  166. package/dist/types/annotations/view/annotationcounterbuttonview.d.ts +0 -33
  167. package/dist/types/annotations/view/annotationview.d.ts +0 -94
  168. package/dist/types/annotations/view/sidebaritemview.d.ts +0 -59
  169. package/dist/types/annotations/view/sidebarview.d.ts +0 -36
  170. package/dist/types/annotations/widesidebar.d.ts +0 -81
  171. package/dist/types/augmentation.d.ts +0 -56
  172. package/dist/types/comments/addcommentthreadcommand.d.ts +0 -39
  173. package/dist/types/comments/commentsarchive.d.ts +0 -35
  174. package/dist/types/comments/commentsarchiveui.d.ts +0 -42
  175. package/dist/types/comments/commentsediting.d.ts +0 -84
  176. package/dist/types/comments/commentsrepository.d.ts +0 -1134
  177. package/dist/types/comments/commentsui.d.ts +0 -37
  178. package/dist/types/comments/integrations/clipboard.d.ts +0 -30
  179. package/dist/types/comments/integrations/commentsrestrictededitingmode.d.ts +0 -21
  180. package/dist/types/comments/integrations/importword.d.ts +0 -25
  181. package/dist/types/comments/ui/commenteditor/commenteditor.d.ts +0 -40
  182. package/dist/types/comments/ui/commenteditor/commenteditorui.d.ts +0 -35
  183. package/dist/types/comments/ui/commenteditor/commenteditoruiview.d.ts +0 -40
  184. package/dist/types/comments/ui/commentthreadcontroller.d.ts +0 -68
  185. package/dist/types/comments/ui/view/basecommentthreadview.d.ts +0 -123
  186. package/dist/types/comments/ui/view/basecommentview.d.ts +0 -116
  187. package/dist/types/comments/ui/view/collapsedcommentsview.d.ts +0 -17
  188. package/dist/types/comments/ui/view/commentcontentview.d.ts +0 -18
  189. package/dist/types/comments/ui/view/commentinputview.d.ts +0 -90
  190. package/dist/types/comments/ui/view/commentsarchiveview.d.ts +0 -42
  191. package/dist/types/comments/ui/view/commentslistview.d.ts +0 -104
  192. package/dist/types/comments/ui/view/commentthreadheaderview.d.ts +0 -54
  193. package/dist/types/comments/ui/view/commentthreadinputview.d.ts +0 -45
  194. package/dist/types/comments/ui/view/commentthreadview.d.ts +0 -122
  195. package/dist/types/comments/ui/view/commentview.d.ts +0 -247
  196. package/dist/types/comments.d.ts +0 -39
  197. package/dist/types/commentsonly.d.ts +0 -37
  198. package/dist/types/config.d.ts +0 -202
  199. package/dist/types/index.d.ts +0 -28
  200. package/dist/types/utils/common-translations.d.ts +0 -13
  201. package/dist/types/utils/createmutationobserver.d.ts +0 -18
package/dist/index.css DELETED
@@ -1,1874 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /*
6
- * What you're currently looking at is the source code of a legally protected, proprietary software.
7
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
8
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
9
- *
10
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
11
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
12
- */
13
-
14
- :root {
15
- --ck-color-comment-marker: hsl(55, 98%, 83%);
16
- --ck-color-comment-marker-active: hsl(55, 98%, 68%);
17
- }
18
-
19
- .ck-comment-marker {
20
- background: var(--ck-color-comment-marker);
21
-
22
- /* Match size with suggestion markers */
23
- border-top: 3px solid transparent;
24
- border-bottom: 3px solid transparent;
25
-
26
- /* #152. In the image case, we change marker background to border. */
27
- }
28
-
29
- .ck-comment-marker.ck-widget {
30
- background-color: transparent;
31
- border: 3px solid var(--ck-color-comment-marker);
32
- }
33
-
34
- .ck-comment-marker--active {
35
- background: var(--ck-color-comment-marker-active);
36
-
37
- /* See #2469. Inactive comment marker inside an active one should be highlighted too. */
38
- }
39
-
40
- .ck-comment-marker--active .ck-comment-marker {
41
- background: var(--ck-color-comment-marker-active);
42
- }
43
-
44
- .ck-comment-marker--active.ck-widget {
45
- border-color: var(--ck-color-comment-marker-active);
46
-
47
- /* See #2469. Inactive comment in a widget inside an active comment should not be highlighted. */
48
- }
49
-
50
- .ck-comment-marker--active.ck-widget .ck-comment-marker {
51
- background-color: var(--ck-color-comment-marker);
52
- }
53
-
54
- /*
55
- * What you're currently looking at is the source code of a legally protected, proprietary software.
56
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
57
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
58
- *
59
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
60
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
61
- */
62
-
63
- .ck .ck-comments-archive-dropdown.ck-dropdown__panel {
64
- z-index: var( --ck-z-panel );
65
- }
66
-
67
- .ck .ck-comments-archive {
68
- width: 320px;
69
- max-height: 450px;
70
- box-sizing: content-box;
71
- }
72
-
73
- .ck .ck-comments-archive .ck-annotation {
74
- animation: none;
75
- }
76
-
77
- .ck .ck-comments-archive .ck-comments-archive__header, .ck .ck-comments-archive .ck-comments-archive__content {
78
- overflow: auto;
79
- max-height: 410px;
80
- padding: var( --ck-spacing-large );
81
- }
82
-
83
- .ck .ck-comments-archive .ck-comments-archive__header {
84
- max-height: 40px;
85
- line-height: var( --ck-font-size-base );
86
- font-weight: bold;
87
- border-bottom: 1px solid var( --ck-color-toolbar-border );
88
- }
89
-
90
- .ck .ck-comments-archive .ck-comments-archive__content .ck-annotation-wrapper:not(:last-child) {
91
- margin-bottom: var( --ck-spacing-large );
92
- }
93
-
94
- .ck .ck-comments-archive .ck-comments-archive__info {
95
- text-align: center;
96
- font-style: italic;
97
- color: var( --ck-color-annotation-info );
98
- }
99
-
100
- /*
101
- * What you're currently looking at is the source code of a legally protected, proprietary software.
102
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
103
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
104
- *
105
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
106
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
107
- */
108
-
109
- /*
110
- * What you're currently looking at is the source code of a legally protected, proprietary software.
111
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
112
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
113
- *
114
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
115
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
116
- */
117
-
118
- :root {
119
- --ck-user-colors--0: hsla(235, 73%, 67%, 1);
120
- --ck-user-colors--0-alpha: hsla(235, 73%, 67%, 0.15);
121
-
122
- --ck-user-colors--1: hsla(173, 100%, 24%, 1);
123
- --ck-user-colors--1-alpha: hsla(173, 100%, 24%, 0.15);
124
-
125
- --ck-user-colors--2: hsla(0, 46%, 50%, 1);
126
- --ck-user-colors--2-alpha: hsla(0, 46%, 50%, 0.15);
127
-
128
- --ck-user-colors--3: hsla(256, 54%, 45%, 1);
129
- --ck-user-colors--3-alpha: hsla(256, 54%, 45%, 0.15);
130
-
131
- --ck-user-colors--4: hsla(95, 50%, 36%, 1);
132
- --ck-user-colors--4-alpha: hsla(95, 50%, 36%, 0.15);
133
-
134
- --ck-user-colors--5: hsla(336, 78%, 43%, 1);
135
- --ck-user-colors--5-alpha: hsla(336, 78%, 43%, 0.15);
136
-
137
- --ck-user-colors--6: hsla(0, 80%, 59%, 1);
138
- --ck-user-colors--6-alpha: hsla(0, 80%, 59%, 0.15);
139
-
140
- --ck-user-colors--7: hsla(184, 90%, 43%, 1);
141
- --ck-user-colors--7-alpha: hsla(184, 90%, 43%, 0.15);
142
-
143
- --ck-user-dot-size: 6px;
144
- }
145
-
146
- /* We are using mixins here because of lack of PostCSS loop plugin. */
147
-
148
- .ck .ck-user__color--0 {
149
- color: var(--ck-user-colors--0);
150
- }
151
-
152
- .ck .ck-user__bg-color--0 {
153
- background-color: var(--ck-user-colors--0);
154
- }
155
-
156
- .ck .ck-user__selection--0 {
157
- background-color: var(--ck-user-colors--0-alpha);
158
- }
159
-
160
- .ck .ck-user__selection--0.ck-widget {
161
- background-color: transparent;
162
- border: 3px solid var(--ck-user-colors--0);
163
- }
164
-
165
- .ck .ck-user__marker--0,
166
- .ck .ck-user__marker--0:after,
167
- .ck .ck-user__marker--0 .ck-user__marker-dot {
168
- background-color: var(--ck-user-colors--0);
169
- }
170
-
171
- .ck .ck-user__marker--0 .ck-user__marker-line {
172
- border: 1px solid var(--ck-user-colors--0);
173
- }
174
- .ck .ck-user__color--1 {
175
- color: var(--ck-user-colors--1);
176
- }
177
- .ck .ck-user__bg-color--1 {
178
- background-color: var(--ck-user-colors--1);
179
- }
180
- .ck .ck-user__selection--1 {
181
- background-color: var(--ck-user-colors--1-alpha);
182
- }
183
- .ck .ck-user__selection--1.ck-widget {
184
- background-color: transparent;
185
- border: 3px solid var(--ck-user-colors--1);
186
- }
187
- .ck .ck-user__marker--1,
188
- .ck .ck-user__marker--1:after,
189
- .ck .ck-user__marker--1 .ck-user__marker-dot {
190
- background-color: var(--ck-user-colors--1);
191
- }
192
- .ck .ck-user__marker--1 .ck-user__marker-line {
193
- border: 1px solid var(--ck-user-colors--1);
194
- }
195
- .ck .ck-user__color--2 {
196
- color: var(--ck-user-colors--2);
197
- }
198
- .ck .ck-user__bg-color--2 {
199
- background-color: var(--ck-user-colors--2);
200
- }
201
- .ck .ck-user__selection--2 {
202
- background-color: var(--ck-user-colors--2-alpha);
203
- }
204
- .ck .ck-user__selection--2.ck-widget {
205
- background-color: transparent;
206
- border: 3px solid var(--ck-user-colors--2);
207
- }
208
- .ck .ck-user__marker--2,
209
- .ck .ck-user__marker--2:after,
210
- .ck .ck-user__marker--2 .ck-user__marker-dot {
211
- background-color: var(--ck-user-colors--2);
212
- }
213
- .ck .ck-user__marker--2 .ck-user__marker-line {
214
- border: 1px solid var(--ck-user-colors--2);
215
- }
216
- .ck .ck-user__color--3 {
217
- color: var(--ck-user-colors--3);
218
- }
219
- .ck .ck-user__bg-color--3 {
220
- background-color: var(--ck-user-colors--3);
221
- }
222
- .ck .ck-user__selection--3 {
223
- background-color: var(--ck-user-colors--3-alpha);
224
- }
225
- .ck .ck-user__selection--3.ck-widget {
226
- background-color: transparent;
227
- border: 3px solid var(--ck-user-colors--3);
228
- }
229
- .ck .ck-user__marker--3,
230
- .ck .ck-user__marker--3:after,
231
- .ck .ck-user__marker--3 .ck-user__marker-dot {
232
- background-color: var(--ck-user-colors--3);
233
- }
234
- .ck .ck-user__marker--3 .ck-user__marker-line {
235
- border: 1px solid var(--ck-user-colors--3);
236
- }
237
- .ck .ck-user__color--4 {
238
- color: var(--ck-user-colors--4);
239
- }
240
- .ck .ck-user__bg-color--4 {
241
- background-color: var(--ck-user-colors--4);
242
- }
243
- .ck .ck-user__selection--4 {
244
- background-color: var(--ck-user-colors--4-alpha);
245
- }
246
- .ck .ck-user__selection--4.ck-widget {
247
- background-color: transparent;
248
- border: 3px solid var(--ck-user-colors--4);
249
- }
250
- .ck .ck-user__marker--4,
251
- .ck .ck-user__marker--4:after,
252
- .ck .ck-user__marker--4 .ck-user__marker-dot {
253
- background-color: var(--ck-user-colors--4);
254
- }
255
- .ck .ck-user__marker--4 .ck-user__marker-line {
256
- border: 1px solid var(--ck-user-colors--4);
257
- }
258
- .ck .ck-user__color--5 {
259
- color: var(--ck-user-colors--5);
260
- }
261
- .ck .ck-user__bg-color--5 {
262
- background-color: var(--ck-user-colors--5);
263
- }
264
- .ck .ck-user__selection--5 {
265
- background-color: var(--ck-user-colors--5-alpha);
266
- }
267
- .ck .ck-user__selection--5.ck-widget {
268
- background-color: transparent;
269
- border: 3px solid var(--ck-user-colors--5);
270
- }
271
- .ck .ck-user__marker--5,
272
- .ck .ck-user__marker--5:after,
273
- .ck .ck-user__marker--5 .ck-user__marker-dot {
274
- background-color: var(--ck-user-colors--5);
275
- }
276
- .ck .ck-user__marker--5 .ck-user__marker-line {
277
- border: 1px solid var(--ck-user-colors--5);
278
- }
279
- .ck .ck-user__color--6 {
280
- color: var(--ck-user-colors--6);
281
- }
282
- .ck .ck-user__bg-color--6 {
283
- background-color: var(--ck-user-colors--6);
284
- }
285
- .ck .ck-user__selection--6 {
286
- background-color: var(--ck-user-colors--6-alpha);
287
- }
288
- .ck .ck-user__selection--6.ck-widget {
289
- background-color: transparent;
290
- border: 3px solid var(--ck-user-colors--6);
291
- }
292
- .ck .ck-user__marker--6,
293
- .ck .ck-user__marker--6:after,
294
- .ck .ck-user__marker--6 .ck-user__marker-dot {
295
- background-color: var(--ck-user-colors--6);
296
- }
297
- .ck .ck-user__marker--6 .ck-user__marker-line {
298
- border: 1px solid var(--ck-user-colors--6);
299
- }
300
- .ck .ck-user__color--7 {
301
- color: var(--ck-user-colors--7);
302
- }
303
- .ck .ck-user__bg-color--7 {
304
- background-color: var(--ck-user-colors--7);
305
- }
306
- .ck .ck-user__selection--7 {
307
- background-color: var(--ck-user-colors--7-alpha);
308
- }
309
- .ck .ck-user__selection--7.ck-widget {
310
- background-color: transparent;
311
- border: 3px solid var(--ck-user-colors--7);
312
- }
313
- .ck .ck-user__marker--7,
314
- .ck .ck-user__marker--7:after,
315
- .ck .ck-user__marker--7 .ck-user__marker-dot {
316
- background-color: var(--ck-user-colors--7);
317
- }
318
- .ck .ck-user__marker--7 .ck-user__marker-line {
319
- border: 1px solid var(--ck-user-colors--7);
320
- }
321
-
322
- /*
323
- * What you're currently looking at is the source code of a legally protected, proprietary software.
324
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
325
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
326
- *
327
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
328
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
329
- */
330
-
331
- /*
332
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
333
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
334
- */
335
-
336
- /**
337
- * Makes element unselectable.
338
- */
339
-
340
- :root {
341
- --ck-user-avatar-size: 40px;
342
- --ck-user-avatar-background: hsl(210, 52%, 44%);
343
- --ck-user-avatar-color: hsl(0, 0%, 100%);
344
- --ck-user-me-border-color: hsl(0, 0%, 100%);
345
- }
346
-
347
- .ck.ck-user {
348
- display: flex;
349
- justify-content: center;
350
- align-items: center;
351
- position: relative;
352
- border-radius: 50%;
353
- background-color: var(--ck-user-avatar-background);
354
- box-sizing: border-box;
355
- height: var(--ck-user-avatar-size);
356
- width: var(--ck-user-avatar-size);
357
- min-width: var(--ck-user-avatar-size);
358
- min-height: var(--ck-user-avatar-size);
359
- line-height: 100%;
360
- margin: 2px;
361
- }
362
-
363
- .ck.ck-user.ck-user_me {
364
- border: 2px solid var(--ck-user-me-border-color);
365
- outline: 2px solid var(--ck-user-avatar-background);
366
- }
367
-
368
- .ck.ck-user__name {
369
- color: var(--ck-user-avatar-color);
370
- cursor: default;
371
- -moz-user-select: none;
372
- -webkit-user-select: none;
373
- -ms-user-select: none;
374
- user-select: none;
375
- }
376
-
377
- .ck.ck-user__name.ck-user__name--hidden {
378
- display: none;
379
- }
380
-
381
- .ck.ck-user__img {
382
- display: none;
383
- width: 100%;
384
- height: 100%;
385
- background-position: center center;
386
- background-repeat: no-repeat;
387
- background-size: cover;
388
- background-color: var(--ck-user-avatar-background);
389
- border-radius: 50%;
390
- border: none;
391
- }
392
-
393
- .ck.ck-user__img.ck-user__anonymous {
394
- display: block;
395
- background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%3E%0A%20%20%3Cpath%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M9.8%2020H2c0-5.7%205-5.7%206-7l.2-.8c-1.6-.8-2.7-2.7-2.7-5%200-2.8%202-5.2%204.3-5.2S14%204.4%2014%207.3c0%202.2-1%204-2.6%205l.2.6c1.2%201.3%206%201.4%206%207H9.8z%22%2F%3E%0A%3C%2Fsvg%3E);
396
-
397
- /* Do not display initials when user is anonymous. */
398
- }
399
-
400
- .ck.ck-user__img.ck-user__anonymous + .ck-user__name {
401
- display: none;
402
- }
403
-
404
- .ck.ck-user__img.ck-user__avatar {
405
- display: block;
406
-
407
- /* In case if avatar is transparent make background white. */
408
- background-color: hsl(0, 0%, 100%);
409
- }
410
-
411
- .ck.ck-user__img.ck-user__img--hidden {
412
- display: none;
413
- }
414
-
415
- .ck.ck-user__notification {
416
- display: flex;
417
- width: 15px;
418
- height: 15px;
419
- justify-content: center;
420
- align-items: center;
421
- background: var(--ck-color-base-background);
422
- border: 2px solid var(--ck-color-base-background);
423
- border-radius: 50%;
424
- box-sizing: content-box;
425
-
426
- position: absolute;
427
- top: -8px;
428
- right: -7px;
429
- overflow: hidden;
430
- transform: translateZ(0);
431
- }
432
-
433
- .ck.ck-user__notification .ck-user__icon {
434
- color: var(--ck-color-annotation-info);
435
- background: var(--ck-color-base-background);
436
- width: 19px;
437
- height: 19px;
438
- max-width: 19px;
439
- max-height: 19px;
440
- min-width: 19px;
441
- min-height: 19px;
442
- }
443
-
444
- /*
445
- * What you're currently looking at is the source code of a legally protected, proprietary software.
446
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
447
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
448
- *
449
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
450
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
451
- */
452
-
453
- :root {
454
- --ck-color-comment-box-border: hsl(55, 98%, 48%);
455
- --ck-color-suggestion-box-deletion-border: hsl(345, 62%, 60%);
456
- --ck-color-suggestion-box-insertion-border: hsl(128, 62%, 60%);
457
- --ck-color-suggestion-box-format-border: hsl(191, 62%, 60%);
458
- }
459
-
460
- .ck .ck-suggestion {
461
- border-top-left-radius: var(--ck-border-radius);
462
- }
463
-
464
- .ck .ck-annotation {
465
- border-left: 3px solid transparent;
466
- }
467
-
468
-
469
- /* See: #3683.
470
- * Inline Suggestion annotations that can't be commented on contains a scrollbar by default */
471
- .ck .ck-suggestion--disabled-comments .ck-annotation {
472
- min-height: 80px;
473
- }
474
-
475
- /* See: #2459.
476
- With track-changes feature enabled, we need to distinguish various types of annotations (comments and suggestions). */
477
- .ck .ck-comment,
478
- .ck .ck-thread__comment-count,
479
- .ck .ck-comment__input-container,
480
- .ck .ck-thread__header {
481
- border-left: 3px solid var(--ck-color-comment-box-border);
482
- }
483
-
484
- .ck .ck-suggestion-insertion .ck-suggestion {
485
- border-left-color: var(--ck-color-suggestion-box-insertion-border);
486
- }
487
-
488
- .ck .ck-suggestion-deletion .ck-suggestion {
489
- border-left-color: var(--ck-color-suggestion-box-deletion-border);
490
- }
491
-
492
- .ck .ck-suggestion-replace .ck-suggestion {
493
- border-left-color: var(--ck-color-suggestion-box-insertion-border);
494
- }
495
-
496
- .ck .ck-suggestion-format .ck-suggestion {
497
- border-left-color: var(--ck-color-suggestion-box-format-border);
498
- }
499
-
500
- .ck .ck-suggestion-wrapper {
501
- outline: 0;
502
- overflow: hidden;
503
- }
504
-
505
- .ck .ck-suggestion-type {
506
- font-weight: bold;
507
- }
508
-
509
- .ck .ck-suggestion-color {
510
- display: inline-block;
511
- width: 14px;
512
- height: 14px;
513
- border-radius: 14px;
514
- vertical-align: text-bottom;
515
- margin: 0 5px;
516
- box-shadow: 0 0 0 1px hsl(0, 0%, 27%);
517
- }
518
-
519
- /* Comments inside suggestion. */
520
-
521
- /* Handle comments inside suggestion keep same border-color. */
522
- .ck .ck-suggestion-insertion .ck-comment,
523
- .ck .ck-suggestion-insertion .ck-thread__comment-count,
524
- .ck .ck-suggestion-insertion .ck-comment__input-container,
525
- .ck .ck-suggestion-replace .ck-comment,
526
- .ck .ck-suggestion-replace .ck-thread__comment-count,
527
- .ck .ck-suggestion-replace .ck-comment__input-container {
528
- border-left-color: var(--ck-color-suggestion-box-insertion-border);
529
- }
530
-
531
- .ck .ck-suggestion-deletion .ck-comment,
532
- .ck .ck-suggestion-deletion .ck-thread__comment-count,
533
- .ck .ck-suggestion-deletion .ck-comment__input-container {
534
- border-left-color: var(--ck-color-suggestion-box-deletion-border);
535
- }
536
-
537
- .ck .ck-suggestion-format .ck-comment,
538
- .ck .ck-suggestion-format .ck-thread__comment-count,
539
- .ck .ck-suggestion-format .ck-comment__input-container {
540
- border-left-color: var(--ck-color-suggestion-box-format-border);
541
- }
542
-
543
- /*
544
- * What you're currently looking at is the source code of a legally protected, proprietary software.
545
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
546
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
547
- *
548
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
549
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
550
- */
551
-
552
- :root {
553
- --ck-color-suggestion-marker-insertion-border: hsla(128, 71%, 40%, .35);
554
- --ck-color-suggestion-marker-insertion-border-active: hsla(128, 71%, 25%, .5);
555
- --ck-color-suggestion-marker-insertion-background: hsla(128, 71%, 65%, .35);
556
- --ck-color-suggestion-marker-insertion-background-active: hsla(128, 71%, 50%, .5);
557
-
558
- --ck-color-suggestion-marker-deletion-border: hsla(345, 71%, 40%, .35);
559
- --ck-color-suggestion-marker-deletion-border-active: hsla(345, 71%, 25%, .5);
560
- --ck-color-suggestion-marker-deletion-background: hsla(345, 71%, 65%, .35);
561
- --ck-color-suggestion-marker-deletion-background-active: hsla(345, 71%, 50%, .5);
562
- --ck-color-suggestion-marker-deletion-stroke: hsla(345, 71%, 20%, .5);
563
-
564
- --ck-color-suggestion-marker-format-border: hsla(191, 60%, 75%, 1);
565
- --ck-color-suggestion-marker-format-border-active: hsla(191, 60%, 60%, 1);
566
-
567
- --ck-color-suggestion-widget-insertion-background: hsla(128, 71%, 65%, .05);
568
- --ck-color-suggestion-widget-insertion-background-active: hsla(128, 71%, 50%, .07);
569
-
570
- --ck-color-suggestion-widget-deletion-background: hsla(345, 71%, 65%, .05);
571
- --ck-color-suggestion-widget-deletion-background-active: hsla(345, 71%, 45%, .07);
572
-
573
- --ck-color-suggestion-widget-format-background: hsla(191, 90%, 40%, .09);
574
- --ck-color-suggestion-widget-format-background-active: hsla(191, 90%, 40%, .16);
575
- }
576
-
577
- .ck-content .ck-suggestion-marker-insertion {
578
- border-top: 3px solid var(--ck-color-suggestion-marker-insertion-border);
579
- border-bottom: 3px solid var(--ck-color-suggestion-marker-insertion-border);
580
- background: var(--ck-color-suggestion-marker-insertion-background);
581
- }
582
-
583
- .ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active {
584
- border-color: var(--ck-color-suggestion-marker-insertion-border-active);
585
- background: var(--ck-color-suggestion-marker-insertion-background-active);
586
- }
587
-
588
- /* Disable background of marker inside widget. */
589
-
590
- .ck-content .ck-suggestion-marker-insertion.ck-widget {
591
- background: none;
592
- text-decoration: none;
593
- border: 3px solid var(--ck-color-suggestion-marker-insertion-border);
594
- }
595
-
596
- .ck-content .ck-suggestion-marker-insertion.ck-widget.ck-suggestion-marker--active {
597
- border-color: var(--ck-color-suggestion-marker-insertion-border-active);
598
- }
599
-
600
- .ck-content .ck-suggestion-marker-deletion {
601
- border-top: 3px solid var(--ck-color-suggestion-marker-deletion-border);
602
- border-bottom: 3px solid var(--ck-color-suggestion-marker-deletion-border);
603
-
604
- /* #2810. Safari doesn't support combined text-decoration values. */
605
- text-decoration: line-through;
606
- text-decoration-color: var(--ck-color-suggestion-marker-deletion-stroke);
607
- text-decoration-thickness: 3px;
608
-
609
- background: var(--ck-color-suggestion-marker-deletion-background);
610
- }
611
-
612
- .ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active {
613
- border-color: var(--ck-color-suggestion-marker-deletion-border-active);
614
- background: var(--ck-color-suggestion-marker-deletion-background-active);
615
- }
616
-
617
- /* Disable background of marker inside widget. */
618
-
619
- .ck-content .ck-suggestion-marker-deletion.ck-widget {
620
- background: none;
621
- text-decoration: none;
622
- border: 3px solid var(--ck-color-suggestion-marker-deletion-border);
623
- }
624
-
625
- .ck-content .ck-suggestion-marker-deletion.ck-widget.ck-suggestion-marker--active {
626
- border-color: var(--ck-color-suggestion-marker-deletion-border-active);
627
- }
628
-
629
- .ck-content .ck-suggestion-marker-merge::after {
630
- border-top: 3px solid var(--ck-color-suggestion-marker-deletion-border);
631
- border-bottom: 3px solid var(--ck-color-suggestion-marker-deletion-border);
632
-
633
- /* #2810. Safari doesn't support combined text-decoration values. */
634
- text-decoration: line-through;
635
- text-decoration-color: var(--ck-color-suggestion-marker-deletion-stroke);
636
-
637
- background: var(--ck-color-suggestion-marker-deletion-background);
638
- color: var(--ck-color-suggestion-marker-deletion-stroke);
639
- content: '¶';
640
- }
641
-
642
- .ck-content .ck-suggestion-marker-merge.ck-suggestion-marker--active::after {
643
- border-color: var(--ck-color-suggestion-marker-deletion-border-active);
644
- background: var(--ck-color-suggestion-marker-deletion-background-active);
645
- }
646
-
647
- .ck-content .ck-suggestion-marker-split::after {
648
- border-top: 3px solid var(--ck-color-suggestion-marker-insertion-border);
649
- border-bottom: 3px solid var(--ck-color-suggestion-marker-insertion-border);
650
- background: var(--ck-color-suggestion-marker-insertion-background);
651
- color: var(--ck-color-suggestion-marker-insertion-border);
652
- content: '¶';
653
- }
654
-
655
- .ck-content .ck-suggestion-marker-split.ck-suggestion-marker--active::after {
656
- border-color: var(--ck-color-suggestion-marker-insertion-border-active);
657
- background: var(--ck-color-suggestion-marker-insertion-background-active);
658
- }
659
-
660
- .ck-content .ck-suggestion-marker-formatInline {
661
- border-top: 3px solid var(--ck-color-suggestion-marker-format-border);
662
- border-bottom: 3px solid var(--ck-color-suggestion-marker-format-border);
663
- }
664
-
665
- .ck-content .ck-suggestion-marker-formatInline.ck-suggestion-marker--active {
666
- border-color: var(--ck-color-suggestion-marker-format-border-active);
667
- }
668
-
669
- .ck-content .ck-suggestion-marker-formatInline.ck-widget {
670
- background: none;
671
- border: 3px solid var(--ck-color-suggestion-marker-format-border);
672
- }
673
-
674
- .ck-content .ck-suggestion-marker-formatInline.ck-widget.ck-suggestion-marker--active {
675
- border-color: var(--ck-color-suggestion-marker-format-border-active);
676
- }
677
-
678
- /* This is a tricky case.
679
- * We can't use `border-left` because sticky marker to the element looks kinda ugly.
680
- * We can't use `::before` pseudoelement because it requires `position: relative` of parent, which breaks side-image.
681
- * We can't use `outline` because it's impossible to display only left side of outline.
682
- * So... we need to use power of CSS hacks <3 and use doubled box-shadow.
683
- */
684
-
685
- .ck-content .ck-suggestion-marker-formatBlock {
686
- border: 0;
687
- background: none;
688
- box-shadow: -7px 0 0 0 var(--ck-color-base-background), -10px 0 0 0 var(--ck-color-suggestion-marker-format-border);
689
- }
690
-
691
- .ck-content .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active {
692
- box-shadow: -5px 0 0 0 var(--ck-color-base-background), -8px 0 0 0 var(--ck-color-suggestion-marker-format-border-active);
693
- }
694
-
695
- .ck-content ul .ck-suggestion-marker-formatBlock,
696
- .ck-content ol .ck-suggestion-marker-formatBlock {
697
- box-shadow: -2px 0 0 0 var(--ck-color-base-background), -5px 0 0 0 var(--ck-color-suggestion-marker-format-border);
698
- }
699
-
700
- .ck-content ul .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active, .ck-content ol .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active {
701
- box-shadow: -2px 0 0 0 var(--ck-color-base-background), -5px 0 0 0 var(--ck-color-suggestion-marker-format-border-active);
702
- }
703
-
704
- /*
705
- * What you're currently looking at is the source code of a legally protected, proprietary software.
706
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
707
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
708
- *
709
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
710
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
711
- */
712
-
713
- .ck-content .ck-widget.image > figcaption.ck-suggestion-marker-deletion {
714
- background-color: var(--ck-color-suggestion-widget-deletion-background);
715
- border: none;
716
- }
717
-
718
- .ck-content .ck-widget.image > figcaption.ck-suggestion-marker-deletion.ck-suggestion-marker--active {
719
- background-color: var(--ck-color-suggestion-widget-deletion-background-active);
720
- }
721
-
722
- .ck-content .ck-widget.image > figcaption.ck-suggestion-marker-insertion {
723
- background-color: var(--ck-color-suggestion-widget-insertion-background);
724
- border: none;
725
- }
726
-
727
- .ck-content .ck-widget.image > figcaption.ck-suggestion-marker-insertion.ck-suggestion-marker--active {
728
- background-color: var(--ck-color-suggestion-widget-insertion-background-active);
729
- }
730
-
731
- .ck-content .ck-suggestion-marker-deletion.ck-widget.image {
732
- background-color: var(--ck-color-suggestion-widget-deletion-background);
733
- }
734
-
735
- .ck-content .ck-suggestion-marker-deletion.ck-widget.image img {
736
- opacity: 0.6;
737
- }
738
-
739
- .ck-content .ck-suggestion-marker-deletion.ck-widget.image figcaption {
740
- background-color: var(--ck-color-suggestion-widget-deletion-background);
741
- }
742
-
743
- .ck-content .ck-suggestion-marker-deletion.ck-widget.image.ck-suggestion-marker--active {
744
- background-color: var(--ck-color-suggestion-widget-deletion-background-active);
745
- }
746
-
747
- .ck-content .ck-suggestion-marker-deletion.ck-widget.image.ck-suggestion-marker--active figcaption {
748
- background-color: var(--ck-color-suggestion-widget-deletion-background-active);
749
- }
750
-
751
- .ck-content .ck-suggestion-marker-insertion.ck-widget.image {
752
- background-color: var(--ck-color-suggestion-widget-insertion-background);
753
-
754
- /* stylelint-disable no-descending-specificity */
755
- }
756
-
757
- .ck-content .ck-suggestion-marker-insertion.ck-widget.image figcaption {
758
- background-color: var(--ck-color-suggestion-widget-insertion-background);
759
- }
760
-
761
- /* stylelint-enable no-descending-specificity */
762
-
763
- .ck-content .ck-suggestion-marker-insertion.ck-widget.image.ck-suggestion-marker--active {
764
- background-color: var(--ck-color-suggestion-widget-insertion-background-active);
765
- }
766
-
767
- .ck-content .ck-suggestion-marker-insertion.ck-widget.image.ck-suggestion-marker--active figcaption {
768
- background-color: var(--ck-color-suggestion-widget-insertion-background-active);
769
- }
770
-
771
- /*
772
- * What you're currently looking at is the source code of a legally protected, proprietary software.
773
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
774
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
775
- *
776
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
777
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
778
- */
779
-
780
- .ck-content .ck-suggestion-marker-deletion.ck-widget.ck-horizontal-line {
781
- background-color: var(--ck-color-suggestion-widget-deletion-background);
782
- }
783
-
784
- .ck-content .ck-suggestion-marker-deletion.ck-widget.ck-horizontal-line.ck-suggestion-marker--active {
785
- background-color: var(--ck-color-suggestion-widget-deletion-background-active);
786
- }
787
-
788
- .ck-content .ck-suggestion-marker-insertion.ck-widget.ck-horizontal-line {
789
- background-color: var(--ck-color-suggestion-widget-insertion-background);
790
- }
791
-
792
- .ck-content .ck-suggestion-marker-insertion.ck-widget.ck-horizontal-line.ck-suggestion-marker--active {
793
- background-color: var(--ck-color-suggestion-widget-insertion-background-active);
794
- }
795
-
796
- /*
797
- * What you're currently looking at is the source code of a legally protected, proprietary software.
798
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
799
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
800
- *
801
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
802
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
803
- */
804
-
805
- .ck-content .ck-suggestion-marker-deletion.ck-widget.media {
806
- background-color: var(--ck-color-suggestion-widget-deletion-background);
807
- }
808
-
809
- .ck-content .ck-suggestion-marker-deletion.ck-widget.media .ck-media__wrapper {
810
- opacity: 0.6;
811
- }
812
-
813
- .ck-content .ck-suggestion-marker-deletion.ck-widget.media.ck-suggestion-marker--active {
814
- background-color: var(--ck-color-suggestion-widget-deletion-background-active);
815
- }
816
-
817
- .ck-content .ck-suggestion-marker-insertion.ck-widget.media {
818
- background-color: var(--ck-color-suggestion-widget-insertion-background);
819
- }
820
-
821
- .ck-content .ck-suggestion-marker-insertion.ck-widget.media.ck-suggestion-marker--active {
822
- background-color: var(--ck-color-suggestion-widget-insertion-background-active);
823
- }
824
-
825
- /*
826
- * What you're currently looking at is the source code of a legally protected, proprietary software.
827
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
828
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
829
- *
830
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
831
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
832
- */
833
-
834
- .ck-content .ck-suggestion-marker-deletion.ck-widget.page-break {
835
- background-color: var(--ck-color-suggestion-widget-deletion-background);
836
- }
837
-
838
- .ck-content .ck-suggestion-marker-deletion.ck-widget.page-break.ck-suggestion-marker--active {
839
- background-color: var(--ck-color-suggestion-widget-deletion-background-active);
840
- }
841
-
842
- .ck-content .ck-suggestion-marker-insertion.ck-widget.page-break {
843
- background-color: var(--ck-color-suggestion-widget-insertion-background);
844
- }
845
-
846
- .ck-content .ck-suggestion-marker-insertion.ck-widget.page-break.ck-suggestion-marker--active {
847
- background-color: var(--ck-color-suggestion-widget-insertion-background-active);
848
- }
849
-
850
- /*
851
- * What you're currently looking at is the source code of a legally protected, proprietary software.
852
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
853
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
854
- *
855
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
856
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
857
- */
858
-
859
- :root {
860
- --ck-color-suggestion-widget-th-insertion-background: hsla(128, 71%, 65%, .12);
861
- --ck-color-suggestion-widget-th-insertion-background-active: hsla(128, 71%, 50%, .14);
862
-
863
- --ck-color-suggestion-widget-th-deletion-background: hsla(345, 71%, 65%, .14);
864
- --ck-color-suggestion-widget-th-deletion-background-active: hsla(345, 71%, 45%, .16);
865
- }
866
-
867
- .ck-content figure.table .ck-suggestion-marker-formatBlock {
868
- box-shadow: -3px 0 0 0 var(--ck-color-suggestion-marker-format-border);
869
- }
870
-
871
- .ck-content figure.table .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active {
872
- box-shadow: -3px 0 0 0 var(--ck-color-suggestion-marker-format-border-active);
873
- }
874
-
875
- .ck-content .ck-widget.table > figcaption.ck-suggestion-marker-deletion {
876
- background-color: var(--ck-color-suggestion-widget-deletion-background);
877
- border: none;
878
- }
879
-
880
- .ck-content .ck-widget.table > figcaption.ck-suggestion-marker-deletion.ck-suggestion-marker--active {
881
- background-color: var(--ck-color-suggestion-widget-deletion-background-active);
882
- }
883
-
884
- .ck-content .ck-widget.table > figcaption.ck-suggestion-marker-insertion {
885
- background-color: var(--ck-color-suggestion-widget-insertion-background);
886
- border: none;
887
- }
888
-
889
- .ck-content .ck-widget.table > figcaption.ck-suggestion-marker-insertion.ck-suggestion-marker--active {
890
- background-color: var(--ck-color-suggestion-widget-insertion-background-active);
891
- }
892
-
893
- .ck-content .ck-suggestion-marker-insertion.table {
894
- border-color: var(--ck-color-suggestion-marker-insertion-border);
895
- }
896
-
897
- .ck-content .ck-suggestion-marker-insertion.table > figcaption {
898
- background-color: var(--ck-color-suggestion-widget-insertion-background);
899
- }
900
-
901
- .ck-content .ck-suggestion-marker-insertion.table > table > tbody > tr > th {
902
- background-color: var(--ck-color-suggestion-widget-th-insertion-background);
903
- border-color: var(--ck-color-suggestion-marker-insertion-border);
904
- }
905
-
906
- .ck-content .ck-suggestion-marker-insertion.table > table > thead > tr > th {
907
- background-color: var(--ck-color-suggestion-widget-th-insertion-background);
908
- border-color: var(--ck-color-suggestion-marker-insertion-border);
909
- }
910
-
911
- .ck-content .ck-suggestion-marker-insertion.table > table > tbody > tr > td {
912
- background-color: var(--ck-color-suggestion-widget-insertion-background);
913
- border-color: var(--ck-color-suggestion-marker-insertion-border);
914
- }
915
-
916
- .ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table {
917
- border-color: var(--ck-color-suggestion-marker-insertion-border-active);
918
- }
919
-
920
- .ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table > figcaption {
921
- background-color: var(--ck-color-suggestion-widget-insertion-background-active);
922
- }
923
-
924
- .ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table > table > tbody > tr > th {
925
- background-color: var(--ck-color-suggestion-widget-th-insertion-background-active);
926
- border-color: var(--ck-color-suggestion-marker-insertion-border-active);
927
- }
928
-
929
- .ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table > table > thead > tr > th {
930
- background-color: var(--ck-color-suggestion-widget-th-insertion-background-active);
931
- border-color: var(--ck-color-suggestion-marker-insertion-border-active);
932
- }
933
-
934
- .ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table > table > tbody > tr > td {
935
- background-color: var(--ck-color-suggestion-widget-insertion-background-active);
936
- border-color: var(--ck-color-suggestion-marker-insertion-border-active);
937
- }
938
-
939
- .ck-content .ck-suggestion-marker-deletion.ck-widget.table {
940
- border-color: var(--ck-color-suggestion-marker-deletion-border);
941
- }
942
-
943
- .ck-content .ck-suggestion-marker-deletion.ck-widget.table > figcaption {
944
- background-color: var(--ck-color-suggestion-widget-deletion-background);
945
- }
946
-
947
- .ck-content .ck-suggestion-marker-deletion.ck-widget.table > table > tbody > tr > th {
948
- background-color: var(--ck-color-suggestion-widget-th-deletion-background);
949
- border-color: var(--ck-color-suggestion-marker-deletion-border);
950
- text-decoration: none;
951
- }
952
-
953
- .ck-content .ck-suggestion-marker-deletion.ck-widget.table > table > thead > tr > th {
954
- background-color: var(--ck-color-suggestion-widget-th-deletion-background);
955
- border-color: var(--ck-color-suggestion-marker-deletion-border);
956
- text-decoration: none;
957
- }
958
-
959
- .ck-content .ck-suggestion-marker-deletion.ck-widget.table > table > tbody > tr > td {
960
- background-color: var(--ck-color-suggestion-widget-deletion-background);
961
- border-color: var(--ck-color-suggestion-marker-deletion-border);
962
- text-decoration: none;
963
- }
964
-
965
- .ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table {
966
- border-color: var(--ck-color-suggestion-marker-deletion-border-active);
967
- }
968
-
969
- .ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table > figcaption {
970
- background-color: var(--ck-color-suggestion-widget-deletion-background-active);
971
- }
972
-
973
- .ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table > table > tbody > tr > th {
974
- background-color: var(--ck-color-suggestion-widget-th-deletion-background-active);
975
- border-color: var(--ck-color-suggestion-marker-deletion-border-active);
976
- }
977
-
978
- .ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table > table > thead > tr > th {
979
- background-color: var(--ck-color-suggestion-widget-th-deletion-background-active);
980
- border-color: var(--ck-color-suggestion-marker-deletion-border-active);
981
- }
982
-
983
- .ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table > table > tbody > tr > td {
984
- background-color: var(--ck-color-suggestion-widget-deletion-background-active);
985
- border-color: var(--ck-color-suggestion-marker-deletion-border-active);
986
- }
987
-
988
- /*
989
- * We need here at least 022 CSS Specificity because of table styles like `.ck-content .table table th { background: ... }
990
- * See: https://github.com/ckeditor/ckeditor5-table/blob/master/theme/table.css#L29
991
- */
992
- .ck-content .table th.ck-suggestion-marker-insertion {
993
- background-color: var(--ck-color-suggestion-widget-th-insertion-background);
994
- }
995
- .ck-content .table th.ck-suggestion-marker-insertion.ck-suggestion-marker--active {
996
- background-color: var(--ck-color-suggestion-widget-th-insertion-background-active);
997
- }
998
- .ck-content .table th.ck-suggestion-marker-deletion {
999
- background-color: var(--ck-color-suggestion-widget-th-deletion-background);
1000
- text-decoration: none;
1001
- }
1002
- .ck-content .table th.ck-suggestion-marker-deletion.ck-suggestion-marker--active {
1003
- background-color: var(--ck-color-suggestion-widget-th-deletion-background-active);
1004
- }
1005
- .ck-content .table td.ck-suggestion-marker-insertion {
1006
- background-color: var(--ck-color-suggestion-widget-insertion-background);
1007
- }
1008
- .ck-content .table td.ck-suggestion-marker-insertion.ck-suggestion-marker--active {
1009
- background-color: var(--ck-color-suggestion-widget-insertion-background-active);
1010
- }
1011
- .ck-content .table td.ck-suggestion-marker-deletion {
1012
- background-color: var(--ck-color-suggestion-widget-deletion-background);
1013
- text-decoration: none;
1014
- }
1015
- .ck-content .table td.ck-suggestion-marker-deletion.ck-suggestion-marker--active {
1016
- background-color: var(--ck-color-suggestion-widget-deletion-background-active);
1017
- }
1018
- .ck-content .table th.ck-suggestion-marker-formatInline,
1019
- .ck-content .table td.ck-suggestion-marker-formatInline,
1020
- .ck-content .table th.ck-suggestion-marker-formatBlock,
1021
- .ck-content .table td.ck-suggestion-marker-formatBlock {
1022
- background-color: var(--ck-color-suggestion-widget-format-background);
1023
- box-shadow: none;
1024
- }
1025
- .ck-content .table th.ck-suggestion-marker-formatInline.ck-suggestion-marker--active, .ck-content .table td.ck-suggestion-marker-formatInline.ck-suggestion-marker--active, .ck-content .table th.ck-suggestion-marker-formatBlock.ck-suggestion-marker--active, .ck-content .table td.ck-suggestion-marker-formatBlock.ck-suggestion-marker--active {
1026
- background-color: var(--ck-color-suggestion-widget-format-background-active);
1027
- box-shadow: none;
1028
- }
1029
-
1030
- /*
1031
- * What you're currently looking at is the source code of a legally protected, proprietary software.
1032
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
1033
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
1034
- *
1035
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1036
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1037
- */
1038
-
1039
- .ck-content pre > code.ck-suggestion-marker-formatBlock {
1040
- display: block;
1041
- box-shadow: -7px 0 0 0 hsl(0deg 0% 93%), -10px 0 0 0 var(--ck-color-suggestion-marker-format-border);
1042
- }
1043
-
1044
- .ck-content pre > code.ck-suggestion-marker-formatBlock.ck-suggestion-marker--active {
1045
- box-shadow: -5px 0 0 0 hsl(0deg 0% 93%), -8px 0 0 0 var(--ck-color-suggestion-marker-format-border-active);
1046
- }
1047
-
1048
- /*
1049
- * What you're currently looking at is the source code of a legally protected, proprietary software.
1050
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
1051
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
1052
- *
1053
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1054
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1055
- */
1056
-
1057
- :root {
1058
- --ck-color-comment-background: hsl(210, 52%, 97%);
1059
- --ck-color-comment-separator: hsl(210, 52%, 87%);
1060
- --ck-color-comment-remove-background: var(--ck-color-light-red);
1061
- --ck-color-comment-input-background: var(--ck-color-comment-background);
1062
- }
1063
-
1064
- .ck .ck-comment__wrapper {
1065
- font-size: var(--ck-font-size-base);
1066
- position: relative;
1067
- outline: 0;
1068
- transition: all 300ms linear;
1069
- }
1070
-
1071
- .ck .ck-comment__wrapper.ck-comment--remove-confirmation {
1072
- transform: translate3d( -100%, 0, 0 );
1073
- }
1074
-
1075
- .ck .ck-comment__wrapper:first-of-type {
1076
- border-top-right-radius: var(--ck-border-radius);
1077
- border-top-left-radius: var(--ck-border-radius);
1078
- }
1079
-
1080
- .ck .ck-comment::after {
1081
- content: '';
1082
- display: block;
1083
- position: absolute;
1084
- opacity: 1;
1085
- top: calc( var(--ck-user-avatar-size) + var(--ck-spacing-small) );
1086
- left: calc(
1087
- var(--ck-spacing-standard) + ( var(--ck-user-avatar-size) / 2 )
1088
-
1089
- /* Half width of line. */
1090
- - 2px
1091
- );
1092
- width: 4px;
1093
- height: 100%;
1094
- background-color: var(--ck-color-comment-separator);
1095
- }
1096
-
1097
- .ck .ck-comment--remove {
1098
- background-color: var(--ck-color-comment-remove-background);
1099
- }
1100
-
1101
- .ck .ck-comment--remove::after {
1102
- opacity: 0;
1103
- }
1104
-
1105
- .ck .ck-comment--edit {
1106
- background-color: var(--ck-color-comment-input-background);
1107
- }
1108
-
1109
- .ck .ck-comment--edit::after {
1110
- opacity: 0;
1111
- }
1112
-
1113
- .ck .ck-comment--edit .ck-comment__input-actions {
1114
- margin-top: var(--ck-spacing-standard);
1115
- }
1116
-
1117
- .ck .ck-comment__content {
1118
- word-break: break-word;
1119
- }
1120
-
1121
- .ck .ck-comment--info .ck-comment__content {
1122
- font-style: italic;
1123
- }
1124
-
1125
- /* Common styles for typography inside comment element and editable input.
1126
- We are styling resetting list-style because of parent <ul> element. */
1127
- .ck .ck-comment p, .ck .ck-comment__input p {
1128
- margin: 0;
1129
- }
1130
- .ck .ck-comment ul,
1131
- .ck .ck-comment__input ul,
1132
- .ck .ck-comment ol,
1133
- .ck .ck-comment__input ol {
1134
- padding-left: 10px;
1135
- margin-left: 10px;
1136
- }
1137
- .ck .ck-comment ul, .ck .ck-comment__input ul {
1138
- list-style: disc;
1139
- margin-bottom: 5px;
1140
- margin-top: 0;
1141
- }
1142
- .ck .ck-comment ul ul, .ck .ck-comment__input ul ul {
1143
- list-style: circle;
1144
- }
1145
- .ck .ck-comment ul ul ul, .ck .ck-comment__input ul ul ul {
1146
- list-style: square;
1147
- }
1148
-
1149
- .ck .ck-comment__main .ck-comment__input-wrapper {
1150
- display: flex;
1151
- flex-direction: column;
1152
- position: relative;
1153
- transition: all 300ms linear;
1154
- }
1155
-
1156
- .ck .ck-comment__main .ck-comment__input-wrapper .ck-comment__input {
1157
- padding: 0;
1158
- }
1159
-
1160
- .ck .ck-comment__user {
1161
- /* Display user above vertical line. */
1162
- z-index: var(--ck-z-default);
1163
- }
1164
-
1165
- /* We need specificity 030 to beat styles in `commentinput.css`. */
1166
- .ck-comment__input-actions .ck.ck-button.ck-comment__input-actions--submit {
1167
- background: var(--ck-color-base-action);
1168
- color: hsl(0, 0%, 100%);
1169
- }
1170
- .ck-comment__input-actions .ck.ck-button.ck-comment__input-actions--submit:hover {
1171
- background: var(--ck-color-button-save);
1172
- }
1173
-
1174
- .ck-comment__input-actions .ck.ck-button.ck-comment__input-actions--cancel {
1175
- color: var(--ck-color-text);
1176
- }
1177
-
1178
- .ck .ck-comment__external {
1179
- font-style: italic;
1180
- color: var(--ck-color-annotation-info);
1181
- font-size: var(--ck-font-size-tiny);
1182
- margin-top: var(--ck-spacing-standard);
1183
- }
1184
-
1185
- .ck .ck-comment .ck-dropdown .ck-dropdown__arrow {
1186
- display: none;
1187
- }
1188
-
1189
- .ck .ck-comment .ck-dropdown .ck-list {
1190
- margin: 0;
1191
- padding: 0;
1192
- }
1193
-
1194
- .ck .ck-comment .ck-dropdown .ck-list .ck-list__item {
1195
- font-size: 1.2em;
1196
- color: var(--ck-color-base-text);
1197
- min-width: auto;
1198
- }
1199
-
1200
- .ck .ck-comment .ck-dropdown .ck-list .ck-list__item .ck-button {
1201
- color: var(--ck-color-text);
1202
- }
1203
-
1204
- .ck .ck-comment .ck-dropdown .ck-list .ck-list__item .ck-button__label {
1205
- margin: 0 var(--ck-spacing-large);
1206
- }
1207
-
1208
- /*
1209
- * What you're currently looking at is the source code of a legally protected, proprietary software.
1210
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
1211
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
1212
- *
1213
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1214
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1215
- */
1216
-
1217
- :root {
1218
- --ck-color-thread-remove-background: var(--ck-color-comment-remove-background);
1219
- --ck-color-comment-count: hsl(210, 52%, 57%);
1220
-
1221
- --ck-color-thread-header-background: hsl(54, 88%, 93%);
1222
- --ck-color-thread-header-active-background: hsl(52, 100%, 83%);
1223
-
1224
- --ck-color-unlinked-background: hsl(0, 0%, 96%);
1225
- --ck-color-unlinked-active-background: hsl(0, 0%, 92%);
1226
- }
1227
-
1228
- .ck .ck-thread {
1229
- width: 100%;
1230
- color: var(--ck-color-base-text);
1231
- outline: 0;
1232
- background-color: var(--ck-color-base-background);
1233
- overflow: hidden;
1234
- transition: all 300ms ease;
1235
- border-radius: var(--ck-border-radius);
1236
- }
1237
-
1238
- .ck .ck-thread__header {
1239
- display: flex;
1240
- justify-content: space-between;
1241
- line-height: 1.57;
1242
- padding: var(--ck-spacing-standard);
1243
- background-color: var(--ck-color-thread-header-background);
1244
- font-size: var(--ck-font-size-base);
1245
- }
1246
-
1247
- .ck .ck-thread__header .ck-button {
1248
- font-size: var(--ck-annotation-button-size);
1249
- }
1250
-
1251
- .ck .ck-thread__header .ck-context-wrapper {
1252
- display: inline-flex;
1253
- width: 100%;
1254
- min-width: 0;
1255
- height: 25px;
1256
- position: relative;
1257
- padding-right: var(--ck-spacing-large);
1258
- }
1259
-
1260
- .ck .ck-thread__header .ck-context {
1261
- display: flex;
1262
- white-space: nowrap;
1263
- overflow: hidden;
1264
- width: 100%;
1265
- padding: var(--ck-spacing-small) var(--ck-spacing-medium);
1266
- }
1267
-
1268
- .ck .ck-thread__header .ck-context.ck-context--quotes::after, .ck .ck-thread__header .ck-context.ck-context--quotes::before {
1269
- display: inline-block;
1270
- content: '"';
1271
- }
1272
-
1273
- .ck .ck-thread__header .ck-context .ck-context__type {
1274
- font-weight: bold;
1275
- padding-right: var(--ck-spacing-standard);
1276
- }
1277
-
1278
- .ck .ck-thread__header .ck-context .ck-context__value {
1279
- overflow: hidden;
1280
- text-overflow: ellipsis;
1281
- }
1282
-
1283
- .ck .ck-thread__header .ck-context.overlay {
1284
- display: inline-block;
1285
- position: absolute;
1286
- top: 0;
1287
- z-index: 2;
1288
-
1289
- background: var(--ck-color-base-background);
1290
- box-shadow: 0 2px 3px hsla(0, 0%, 100%, 0.2);
1291
- border-radius: 2px;
1292
- white-space: normal;
1293
- box-sizing: border-box;
1294
- }
1295
-
1296
- .ck .ck-thread__comment-count {
1297
- /* Make avatar size in the comment smaller than in presence list. */
1298
- --ck-user-avatar-size: 28px;
1299
-
1300
- padding-left: calc( var(--ck-user-avatar-size) + var(--ck-spacing-standard) * 2 );
1301
-
1302
- color: var(--ck-color-comment-count);
1303
- font-size: var(--ck-font-size-base);
1304
- font-weight: bold;
1305
- cursor: pointer;
1306
-
1307
- /* Keep similar transition like `ck-annotation`. */
1308
- transition: background-color 300ms ease;
1309
- }
1310
-
1311
- .ck .ck-thread__comment-count::before {
1312
- content: '\25BC';
1313
- margin-right: var(--ck-spacing-small);
1314
- }
1315
-
1316
- .ck .ck-thread--remove .ck-comment {
1317
- background-color: var(--ck-color-comment-remove-background);
1318
- }
1319
-
1320
- .ck .ck-thread--remove .ck-thread__input--active {
1321
- background-color: var(--ck-color-base-background);
1322
- }
1323
-
1324
- .ck .ck-thread--remove .ck-thread__input--active.ck-thread__input {
1325
- background-color: var(--ck-color-comment-remove-background);
1326
- }
1327
-
1328
- .ck .ck-thread--remove .ck-thread__comment-count {
1329
- background-color: var(--ck-color-comment-remove-background);
1330
- }
1331
-
1332
- /* Handle visibility of vertical line below avatars. */
1333
-
1334
- .ck .ck-thread--remove .ck-comment__wrapper .ck-comment::after {
1335
- opacity: 0;
1336
- }
1337
-
1338
- /* Handle visibility of vertical line below avatars. */
1339
- .ck .ck-thread__comments .ck-comment__wrapper:last-of-type .ck-comment::after {
1340
- opacity: 0;
1341
- }
1342
-
1343
- .ck .ck-thread__container {
1344
- transition: transform 300ms ease;
1345
- }
1346
-
1347
- .ck .ck-thread__comments {
1348
- position: relative;
1349
- z-index: var(--ck-z-default);
1350
- list-style: none;
1351
- margin: 0;
1352
- padding: 0;
1353
- border-radius: var(--ck-border-radius);
1354
- }
1355
-
1356
- .ck .ck-thread__user {
1357
- font-size: 0.85em;
1358
- }
1359
-
1360
- .ck .ck-thread__input {
1361
- /* #1829. Firefox is wrongly rendering flex container width 100% with overflowed (non-spaced) text. */
1362
- width: calc( 100% - var(--ck-user-avatar-size) );
1363
- white-space: normal;
1364
-
1365
- transition: background-color 200ms ease-in-out;
1366
- border-radius: var(--ck-border-radius);
1367
-
1368
- /*
1369
- This is equal to the height of the wrapper when the editor instance is loaded.
1370
- Editor instance is loaded _after_ the comment view is created,
1371
- so the min-height is set to avoid jitter.
1372
- */
1373
- min-height: 38px;
1374
- }
1375
-
1376
- .ck .ck-thread--active .ck-comment__options.ck-dropdown {
1377
- display: block;
1378
- }
1379
-
1380
- .ck .ck-thread--active .ck-thread__input {
1381
- display: block;
1382
- background-color: var(--ck-color-comment-background);
1383
- }
1384
-
1385
- .ck .ck-thread--active .ck-thread__header {
1386
- background-color: var(--ck-color-thread-header-active-background);
1387
- }
1388
-
1389
- .ck .ck-thread--unlinked {
1390
- --ck-color-comment-box-border: var(--ck-color-base-border);
1391
-
1392
- --ck-color-thread-header-background: var(--ck-color-unlinked-background);
1393
- --ck-color-thread-header-active-background: var(--ck-color-unlinked-active-background);
1394
- }
1395
-
1396
- .ck .ck-thread--remove-confirmation .ck-thread__container {
1397
- transform: translate3d( -100%, 0, 0 );
1398
- }
1399
-
1400
- /* We need specificity 020 to beat .ck.ck-button. */
1401
- .ck.ck-button.ck-thread__remove-confirm-submit {
1402
- color: var(--ck-color-button-save);
1403
- }
1404
-
1405
- .ck.ck-button.ck-thread__remove-confirm-cancel {
1406
- color: var(--ck-color-button-cancel);
1407
- }
1408
-
1409
- .ck .ck-thread__remove-confirm {
1410
- font-size: var(--ck-font-size-base);
1411
- position: absolute;
1412
- display: flex;
1413
- justify-content: flex-start;
1414
- top: 0;
1415
- left: 100%;
1416
- width: 100%;
1417
- height: 100%;
1418
- background-color: var(--ck-color-comment-remove-background);
1419
- }
1420
-
1421
- .ck .ck-thread__remove-confirm .ck-thread__remove-confirm-inner {
1422
- display: flex;
1423
- flex-direction: column;
1424
- align-items: center;
1425
- justify-content: center;
1426
- padding-top: var(--ck-spacing-standard);
1427
- height: 100%;
1428
- width: 100%;
1429
-
1430
- /* Maximum height of confirmation (in case with such long comment). */
1431
- max-height: 400px;
1432
- }
1433
-
1434
- .ck .ck-thread__remove-confirm p {
1435
- font-weight: bold;
1436
- margin: 0;
1437
- }
1438
-
1439
- /*
1440
- * What you're currently looking at is the source code of a legally protected, proprietary software.
1441
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
1442
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
1443
- *
1444
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1445
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1446
- */
1447
-
1448
- .ck .ck-comment__input-container {
1449
- /* Make avatar size in the comment smaller than in presence list. */
1450
- --ck-user-avatar-size: 28px;
1451
-
1452
- font-size: var(--ck-font-size-base);
1453
-
1454
- display: none;
1455
- padding: var(--ck-spacing-standard);
1456
- background: var(--ck-color-comment-background);
1457
- }
1458
-
1459
- .ck .ck-comment__input-container--active {
1460
- display: flex;
1461
- }
1462
-
1463
- .ck .ck-comment__input {
1464
- padding: var(--ck-spacing-standard);
1465
-
1466
- /* To keep vertical align with avatar. */
1467
- padding-top: var(--ck-spacing-medium);
1468
-
1469
- color: var(--ck-color-base-text);
1470
- border-width: 0;
1471
- resize: none;
1472
- background-color: transparent;
1473
- transition: color 300ms ease-in-out;
1474
- }
1475
-
1476
- .ck .ck-comment__input:focus {
1477
- outline: none;
1478
- }
1479
-
1480
- .ck .ck-comment__input .ck-editor__editable_inline {
1481
- /* Disable default outline and border in editable input. */
1482
- --ck-focus-ring: none;
1483
- --ck-inner-shadow: none;
1484
-
1485
- padding: 0;
1486
- overflow: visible;
1487
- border: 0;
1488
- background-color: transparent;
1489
- word-break: break-word;
1490
- }
1491
-
1492
- /* Overwrite default CKEditor 5 margin of editable children.
1493
- See: ckeditor5-theme-lark/theme/ckeditor5-ui/components/editorui/editorui.css. */
1494
- .ck-comment__input-wrapper .ck.ck-editor__editable_inline *:first-child {
1495
- margin-top: 0;
1496
- }
1497
- .ck-comment__input-wrapper .ck.ck-editor__editable_inline *:last-child {
1498
- margin-bottom: 0;
1499
- }
1500
-
1501
- .ck .ck-comment__input-actions {
1502
- width: 100%;
1503
- text-align: right;
1504
- display: none;
1505
- }
1506
-
1507
- .ck .ck-comment__input-actions.ck-comment__input-actions--active {
1508
- display: block;
1509
- }
1510
-
1511
- .ck .ck-comment__input-actions .ck.ck-button {
1512
- /* Overwrite CK5 button default styles. */
1513
- display: inline-flex;
1514
- justify-content: center;
1515
- align-items: center;
1516
- cursor: pointer;
1517
- min-height: var(--ck-ui-component-min-height);
1518
- min-width: 60px;
1519
- font-size: var(--ck-annotation-button-size);
1520
- margin-left: var(--ck-spacing-large);
1521
- padding: 0 var(--ck-spacing-medium);
1522
- }
1523
-
1524
- .ck .ck-comment__input-actions .ck-button.ck-disabled {
1525
- opacity: .3;
1526
- }
1527
-
1528
- .ck .ck-comment__input-textarea {
1529
- display: block;
1530
- }
1531
-
1532
- /*
1533
- * What you're currently looking at is the source code of a legally protected, proprietary software.
1534
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
1535
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
1536
- *
1537
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1538
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1539
- */
1540
-
1541
- /* Common styles for inline comment and inline suggestion. */
1542
-
1543
- :root {
1544
- --ck-inline-annotation-container-width: 300px;
1545
- --ck-inline-annotation-container-max-height: 400px;
1546
- }
1547
-
1548
- .ck.ck-balloon-panel .ck-annotation-wrapper {
1549
- /* Override default `position: absolute`. */
1550
- position: static;
1551
-
1552
- width: var(--ck-inline-annotation-container-width);
1553
- max-height: var(--ck-inline-annotation-container-max-height);
1554
-
1555
- overflow-y: auto;
1556
-
1557
- /* Get rid of scroll chaining. */
1558
- overscroll-behavior-y: contain;
1559
-
1560
- /* We need to hide overflow in x-axis to prevent container stretching because of buttons tooltip. */
1561
- overflow-x: hidden;
1562
- }
1563
-
1564
- .ck.ck-balloon-panel .ck-annotation {
1565
- /* We don't need fadeInLeft animation for inline annotations. */
1566
- animation: none;
1567
- }
1568
-
1569
- .ck.ck-balloon-panel .ck-annotation-wrapper * {
1570
- /* Default `.ck.ck-reset_all *` has `white-space: nowrap` and display content in one line. */
1571
- white-space: normal;
1572
- }
1573
-
1574
- /* Because `.ck.ck-reset_all *` is overriding default font property. */
1575
- .ck.ck-balloon-panel .ck-annotation-wrapper strong {
1576
- font-weight: bold;
1577
- }
1578
-
1579
- .ck.ck-balloon-panel .ck-annotation-wrapper i {
1580
- font-style: italic;
1581
- }
1582
-
1583
- /*
1584
- * What you're currently looking at is the source code of a legally protected, proprietary software.
1585
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
1586
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
1587
- *
1588
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1589
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1590
- */
1591
-
1592
- :root {
1593
- --ck-color-annotation-wrapper-background: hsl(0, 0%, 100%);
1594
- --ck-color-annotation-wrapper-drop-shadow: 0 1px 1px 1px hsl(0, 0%, 90%);
1595
- }
1596
-
1597
- .ck.ck-sidebar {
1598
- position: relative;
1599
- transition: min-height 250ms ease;
1600
- outline: 0;
1601
- }
1602
-
1603
- .ck-sidebar-item {
1604
- position: absolute;
1605
- width: 100%;
1606
- transition: top 300ms ease, box-shadow 300ms ease;
1607
- }
1608
-
1609
- .ck-sidebar-item--no-animation {
1610
- transition: top 0s ease !important;
1611
- }
1612
-
1613
- .ck.ck-annotation-wrapper {
1614
- outline: 0;
1615
- border-radius: var(--ck-border-radius);
1616
- background: var(--ck-color-annotation-wrapper-background);
1617
- box-shadow: var(--ck-color-annotation-wrapper-drop-shadow);
1618
- }
1619
-
1620
- .ck.ck-annotation-wrapper--active .ck-annotation__actions, .ck.ck-annotation-wrapper:hover .ck-annotation__actions {
1621
- opacity: 1;
1622
- }
1623
-
1624
- .ck.ck-annotation-wrapper--active .ck-annotation__actions .ck-comment--resolve, .ck.ck-annotation-wrapper:hover .ck-annotation__actions .ck-comment--resolve {
1625
- color: var(--ck-color-button-save);
1626
- }
1627
-
1628
- .ck.ck-annotation-wrapper--active .ck-suggestion--accept, .ck.ck-annotation-wrapper:hover .ck-suggestion--accept {
1629
- color: var(--ck-color-button-save)
1630
- }
1631
-
1632
- .ck.ck-annotation-wrapper--active .ck-suggestion--discard, .ck.ck-annotation-wrapper:hover .ck-suggestion--discard {
1633
- color: var(--ck-color-button-cancel)
1634
- }
1635
-
1636
- /* Handle case where annotation is inactive and users hover them. */
1637
- .ck.ck-annotation-wrapper:not(.ck-annotation-wrapper--active):hover {
1638
- box-shadow: var(--ck-drop-shadow);
1639
- }
1640
-
1641
- .ck.ck-annotation-wrapper--active {
1642
- box-shadow: var(--ck-drop-shadow-active);
1643
- }
1644
-
1645
- /*
1646
- * What you're currently looking at is the source code of a legally protected, proprietary software.
1647
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
1648
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
1649
- *
1650
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1651
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1652
- */
1653
-
1654
- :root {
1655
- --ck-annotation-counter-icon-size: 16px;
1656
- --ck-annotation-counter-number-size: 10px;
1657
- --ck-color-annotation-counter-comment: hsl(55, 98%, 48%);
1658
- --ck-color-annotation-counter-suggestion-insertion: hsl(128, 62%, 60%);
1659
- --ck-color-annotation-counter-suggestion-deletion: hsl(345, 62%, 60%);
1660
- --ck-color-annotation-counter-suggestion-format: hsl(191, 62%, 60%);
1661
- }
1662
-
1663
- /* Center a annotation counter icon no matter of parent container width. */
1664
- .ck.ck-sidebar--narrow .ck-sidebar-item {
1665
- display: flex;
1666
- justify-content: center;
1667
- }
1668
-
1669
- .ck.ck-sidebar--narrow .ck-annotation-counter {
1670
- /* Let's reduce icon size a bit. */
1671
- font-size: var(--ck-annotation-counter-icon-size);
1672
-
1673
- /* Reduce default `.ck-button` min-height which is 2.3em, bigger than current icon. */
1674
- min-height: unset;
1675
- padding: 0;
1676
-
1677
- cursor: pointer;
1678
- color: hsl(0, 0%, 50%);
1679
- }
1680
-
1681
- .ck.ck-sidebar--narrow .ck-annotation-counter:hover,
1682
- .ck.ck-sidebar--narrow .ck-annotation-counter:focus {
1683
- background: transparent;
1684
- box-shadow: none;
1685
- color: hsl(0, 0%, 30%);
1686
- }
1687
-
1688
- .ck.ck-sidebar--narrow .ck-annotation-counter__badge {
1689
- border-radius: 50%;
1690
- position: absolute;
1691
- width: 16px;
1692
- height: 16px;
1693
- background: hsl(0, 0%, 20%);
1694
- font-weight: bold;
1695
- color: hsl(0, 0%, 100%);
1696
- font-size: var(--ck-annotation-counter-number-size);
1697
- font-family: var(--ck-font-face);
1698
- right: 0;
1699
- top: -6px;
1700
-
1701
- /* Improve visibility of counter number. */
1702
- text-shadow: -1px 0 2px hsl(0, 0%, 27%), 1px 0 2px hsl(0, 0%, 27%);
1703
-
1704
- /* Display number perfectly center of circle. */
1705
- display: flex;
1706
- justify-content: center;
1707
-
1708
- /* We can't use here `align-items: center` because we need to edit `line-height` for edit mode case. */
1709
- line-height: 16px;
1710
-
1711
- /* To display above comment icon. */
1712
- z-index: 1;
1713
- }
1714
-
1715
- /* When annotation is in edit mode, center `...` differently. */
1716
- .ck.ck-sidebar--narrow .ck-annotation-counter__badge--edit-mode {
1717
- line-height: 1;
1718
- }
1719
-
1720
- .ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-insertion,
1721
- .ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-replace {
1722
- background: var(--ck-color-annotation-counter-suggestion-insertion);
1723
- }
1724
-
1725
- .ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-deletion {
1726
- background: var(--ck-color-annotation-counter-suggestion-deletion);
1727
- }
1728
-
1729
- .ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-format {
1730
- background: var(--ck-color-annotation-counter-suggestion-format);
1731
- }
1732
-
1733
- .ck.ck-sidebar--narrow .ck-annotation-counter__badge--comment {
1734
- background: var(--ck-color-annotation-counter-comment);
1735
- }
1736
-
1737
- /*
1738
- * What you're currently looking at is the source code of a legally protected, proprietary software.
1739
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
1740
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
1741
- *
1742
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1743
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1744
- */
1745
-
1746
- /* Common styles for single comment and single suggestion. */
1747
- :root {
1748
- --ck-color-annotation-icon: hsl(0, 0%, 50%);
1749
- --ck-color-annotation-info: hsl(0, 0%, 46%);
1750
-
1751
- --ck-annotation-button-size: 0.85em;
1752
- }
1753
-
1754
- .ck .ck-annotation {
1755
- /* Make avatar size in the comment smaller than in presence list. */
1756
- --ck-user-avatar-size: 28px;
1757
-
1758
- font-size: var(--ck-font-size-base);
1759
-
1760
- display: flex;
1761
- position: relative;
1762
- animation: fadeInLeft 300ms;
1763
- transition: background-color 300ms ease;
1764
- padding: var(--ck-spacing-standard);
1765
- white-space: normal;
1766
- }
1767
-
1768
- .ck .ck-annotation .ck-button {
1769
- /* Overwrite CK5 button default styles. */
1770
- background-color: transparent;
1771
- min-width: unset;
1772
- min-height: unset;
1773
- cursor: pointer;
1774
- color: var(--ck-color-annotation-icon);
1775
- border-radius: var(--ck-border-radius);
1776
- font-size: var(--ck-annotation-button-size);
1777
- }
1778
-
1779
- .ck .ck-annotation .ck-user {
1780
- font-size: 0.85em;
1781
- }
1782
-
1783
- .ck .ck-annotation__main {
1784
- display: grid;
1785
- grid-template-areas:
1786
- "info actions"
1787
- "content content";
1788
- grid-template-columns: minmax(0, 1fr) auto;
1789
-
1790
- /* #1829. Firefox is wrongly rendering flex container width 100% with overflowed (non-spaced) text. */
1791
- width: calc( 100% - var(--ck-user-avatar-size) );
1792
-
1793
- transition: all 200ms ease;
1794
- border-radius: var(--ck-border-radius);
1795
- padding-left: var(--ck-spacing-standard);
1796
- }
1797
-
1798
- .ck .ck-annotation__main p {
1799
- margin: 0;
1800
-
1801
- /* We need it to prevent `.ck.ck-reset` ovverride. */
1802
- white-space: normal;
1803
- font-size: var(--ck-font-size-base);
1804
-
1805
- /* TODO: refactor this value later. */
1806
- line-height: 1.5em;
1807
- }
1808
-
1809
- .ck .ck-annotation__user {
1810
- margin-top: var(--ck-spacing-small);
1811
- }
1812
-
1813
- .ck .ck-annotation__info {
1814
- grid-area: info;
1815
-
1816
- display: flex;
1817
- align-items: center;
1818
- color: var(--ck-color-annotation-info);
1819
-
1820
- /* #156. Edit & remove icon are higher than plain text with the same font-size, so we need to take care if icons are hidden. */
1821
- min-height: 2.4em;
1822
- }
1823
-
1824
- .ck .ck-annotation__info-name,
1825
- .ck .ck-annotation__info-time {
1826
- font-weight: bold;
1827
- white-space: nowrap;
1828
- overflow: hidden;
1829
-
1830
- /* We need it to prevent `.ck.ck-reset` ovverride. */
1831
- color: var(--ck-color-annotation-info);
1832
- font-size: var(--ck-font-size-small);
1833
- }
1834
-
1835
- .ck .ck-annotation__info-name {
1836
- text-overflow: ellipsis;
1837
- }
1838
-
1839
- .ck .ck-annotation__info-time {
1840
- flex: 0 0 auto;
1841
-
1842
- margin: 0 var(--ck-spacing-large);
1843
- }
1844
-
1845
- .ck.ck-balloon-panel .ck-annotation-wrapper .ck-annotation__info-name,
1846
- .ck.ck-balloon-panel .ck-annotation-wrapper .ck-annotation__info-time {
1847
- white-space: nowrap;
1848
- }
1849
-
1850
- .ck .ck-annotation__actions {
1851
- grid-area: actions;
1852
-
1853
- transition: opacity 200ms ease;
1854
- opacity: 0.5;
1855
- }
1856
-
1857
- /* Because of display flex, we need to strech out annotation content to 100%. */
1858
- .ck .ck-annotation__content-wrapper {
1859
- grid-area: content;
1860
-
1861
- width: 100%;
1862
- }
1863
-
1864
- @keyframes fadeInLeft {
1865
- from {
1866
- transform: translate3d( -5%, 0, 0 );
1867
- opacity: 0;
1868
- }
1869
-
1870
- to {
1871
- transform: translate3d( 0, 0, 0 );
1872
- opacity: 1;
1873
- }
1874
- }