@ckeditor/ckeditor5-collaboration-core 41.3.1 → 41.4.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 (200) hide show
  1. package/dist/index-content.css +332 -0
  2. package/dist/index-editor.css +312 -0
  3. package/dist/index.css +935 -0
  4. package/dist/index.js +23 -0
  5. package/dist/translations/af.d.ts +8 -0
  6. package/dist/translations/af.js +23 -0
  7. package/dist/translations/af.umd.js +23 -0
  8. package/dist/translations/ar.d.ts +8 -0
  9. package/dist/translations/ar.js +23 -0
  10. package/dist/translations/ar.umd.js +23 -0
  11. package/dist/translations/az.d.ts +8 -0
  12. package/dist/translations/az.js +23 -0
  13. package/dist/translations/az.umd.js +23 -0
  14. package/dist/translations/bg.d.ts +8 -0
  15. package/dist/translations/bg.js +23 -0
  16. package/dist/translations/bg.umd.js +23 -0
  17. package/dist/translations/bn.d.ts +8 -0
  18. package/dist/translations/bn.js +23 -0
  19. package/dist/translations/bn.umd.js +23 -0
  20. package/dist/translations/bs.d.ts +8 -0
  21. package/dist/translations/bs.js +23 -0
  22. package/dist/translations/bs.umd.js +23 -0
  23. package/dist/translations/ca.d.ts +8 -0
  24. package/dist/translations/ca.js +23 -0
  25. package/dist/translations/ca.umd.js +23 -0
  26. package/dist/translations/cs.d.ts +8 -0
  27. package/dist/translations/cs.js +23 -0
  28. package/dist/translations/cs.umd.js +23 -0
  29. package/dist/translations/da.d.ts +8 -0
  30. package/dist/translations/da.js +23 -0
  31. package/dist/translations/da.umd.js +23 -0
  32. package/dist/translations/de-ch.d.ts +8 -0
  33. package/dist/translations/de-ch.js +23 -0
  34. package/dist/translations/de-ch.umd.js +23 -0
  35. package/dist/translations/de.d.ts +8 -0
  36. package/dist/translations/de.js +23 -0
  37. package/dist/translations/de.umd.js +23 -0
  38. package/dist/translations/el.d.ts +8 -0
  39. package/dist/translations/el.js +23 -0
  40. package/dist/translations/el.umd.js +23 -0
  41. package/dist/translations/en-au.d.ts +8 -0
  42. package/dist/translations/en-au.js +23 -0
  43. package/dist/translations/en-au.umd.js +23 -0
  44. package/dist/translations/en.d.ts +8 -0
  45. package/dist/translations/en.js +23 -0
  46. package/dist/translations/en.umd.js +23 -0
  47. package/dist/translations/es-co.d.ts +8 -0
  48. package/dist/translations/es-co.js +23 -0
  49. package/dist/translations/es-co.umd.js +23 -0
  50. package/dist/translations/es.d.ts +8 -0
  51. package/dist/translations/es.js +23 -0
  52. package/dist/translations/es.umd.js +23 -0
  53. package/dist/translations/et.d.ts +8 -0
  54. package/dist/translations/et.js +23 -0
  55. package/dist/translations/et.umd.js +23 -0
  56. package/dist/translations/fa.d.ts +8 -0
  57. package/dist/translations/fa.js +23 -0
  58. package/dist/translations/fa.umd.js +23 -0
  59. package/dist/translations/fi.d.ts +8 -0
  60. package/dist/translations/fi.js +23 -0
  61. package/dist/translations/fi.umd.js +23 -0
  62. package/dist/translations/fr.d.ts +8 -0
  63. package/dist/translations/fr.js +23 -0
  64. package/dist/translations/fr.umd.js +23 -0
  65. package/dist/translations/gl.d.ts +8 -0
  66. package/dist/translations/gl.js +23 -0
  67. package/dist/translations/gl.umd.js +23 -0
  68. package/dist/translations/he.d.ts +8 -0
  69. package/dist/translations/he.js +23 -0
  70. package/dist/translations/he.umd.js +23 -0
  71. package/dist/translations/hi.d.ts +8 -0
  72. package/dist/translations/hi.js +23 -0
  73. package/dist/translations/hi.umd.js +23 -0
  74. package/dist/translations/hr.d.ts +8 -0
  75. package/dist/translations/hr.js +23 -0
  76. package/dist/translations/hr.umd.js +23 -0
  77. package/dist/translations/hu.d.ts +8 -0
  78. package/dist/translations/hu.js +23 -0
  79. package/dist/translations/hu.umd.js +23 -0
  80. package/dist/translations/id.d.ts +8 -0
  81. package/dist/translations/id.js +23 -0
  82. package/dist/translations/id.umd.js +23 -0
  83. package/dist/translations/it.d.ts +8 -0
  84. package/dist/translations/it.js +23 -0
  85. package/dist/translations/it.umd.js +23 -0
  86. package/dist/translations/ja.d.ts +8 -0
  87. package/dist/translations/ja.js +23 -0
  88. package/dist/translations/ja.umd.js +23 -0
  89. package/dist/translations/jv.d.ts +8 -0
  90. package/dist/translations/jv.js +23 -0
  91. package/dist/translations/jv.umd.js +23 -0
  92. package/dist/translations/ko.d.ts +8 -0
  93. package/dist/translations/ko.js +23 -0
  94. package/dist/translations/ko.umd.js +23 -0
  95. package/dist/translations/lt.d.ts +8 -0
  96. package/dist/translations/lt.js +23 -0
  97. package/dist/translations/lt.umd.js +23 -0
  98. package/dist/translations/lv.d.ts +8 -0
  99. package/dist/translations/lv.js +23 -0
  100. package/dist/translations/lv.umd.js +23 -0
  101. package/dist/translations/ms.d.ts +8 -0
  102. package/dist/translations/ms.js +23 -0
  103. package/dist/translations/ms.umd.js +23 -0
  104. package/dist/translations/nl.d.ts +8 -0
  105. package/dist/translations/nl.js +23 -0
  106. package/dist/translations/nl.umd.js +23 -0
  107. package/dist/translations/no.d.ts +8 -0
  108. package/dist/translations/no.js +23 -0
  109. package/dist/translations/no.umd.js +23 -0
  110. package/dist/translations/pl.d.ts +8 -0
  111. package/dist/translations/pl.js +23 -0
  112. package/dist/translations/pl.umd.js +23 -0
  113. package/dist/translations/pt-br.d.ts +8 -0
  114. package/dist/translations/pt-br.js +23 -0
  115. package/dist/translations/pt-br.umd.js +23 -0
  116. package/dist/translations/pt.d.ts +8 -0
  117. package/dist/translations/pt.js +23 -0
  118. package/dist/translations/pt.umd.js +23 -0
  119. package/dist/translations/ro.d.ts +8 -0
  120. package/dist/translations/ro.js +23 -0
  121. package/dist/translations/ro.umd.js +23 -0
  122. package/dist/translations/ru.d.ts +8 -0
  123. package/dist/translations/ru.js +23 -0
  124. package/dist/translations/ru.umd.js +23 -0
  125. package/dist/translations/sk.d.ts +8 -0
  126. package/dist/translations/sk.js +23 -0
  127. package/dist/translations/sk.umd.js +23 -0
  128. package/dist/translations/sr-latn.d.ts +8 -0
  129. package/dist/translations/sr-latn.js +23 -0
  130. package/dist/translations/sr-latn.umd.js +23 -0
  131. package/dist/translations/sr.d.ts +8 -0
  132. package/dist/translations/sr.js +23 -0
  133. package/dist/translations/sr.umd.js +23 -0
  134. package/dist/translations/sv.d.ts +8 -0
  135. package/dist/translations/sv.js +23 -0
  136. package/dist/translations/sv.umd.js +23 -0
  137. package/dist/translations/th.d.ts +8 -0
  138. package/dist/translations/th.js +23 -0
  139. package/dist/translations/th.umd.js +23 -0
  140. package/dist/translations/tk.d.ts +8 -0
  141. package/dist/translations/tk.js +23 -0
  142. package/dist/translations/tk.umd.js +23 -0
  143. package/dist/translations/tr.d.ts +8 -0
  144. package/dist/translations/tr.js +23 -0
  145. package/dist/translations/tr.umd.js +23 -0
  146. package/dist/translations/tt.d.ts +8 -0
  147. package/dist/translations/tt.js +23 -0
  148. package/dist/translations/tt.umd.js +23 -0
  149. package/dist/translations/ug.d.ts +8 -0
  150. package/dist/translations/ug.js +23 -0
  151. package/dist/translations/ug.umd.js +23 -0
  152. package/dist/translations/uk.d.ts +8 -0
  153. package/dist/translations/uk.js +23 -0
  154. package/dist/translations/uk.umd.js +23 -0
  155. package/dist/translations/ur.d.ts +8 -0
  156. package/dist/translations/ur.js +23 -0
  157. package/dist/translations/ur.umd.js +23 -0
  158. package/dist/translations/vi.d.ts +8 -0
  159. package/dist/translations/vi.js +23 -0
  160. package/dist/translations/vi.umd.js +23 -0
  161. package/dist/translations/zh-cn.d.ts +8 -0
  162. package/dist/translations/zh-cn.js +23 -0
  163. package/dist/translations/zh-cn.umd.js +23 -0
  164. package/dist/translations/zh.d.ts +8 -0
  165. package/dist/translations/zh.js +23 -0
  166. package/dist/translations/zh.umd.js +23 -0
  167. package/dist/types/augmentation.d.ts +42 -0
  168. package/dist/types/collaborationhistory.d.ts +25 -0
  169. package/dist/types/collaborationoperation.d.ts +32 -0
  170. package/dist/types/config.d.ts +106 -0
  171. package/dist/types/index.d.ts +23 -0
  172. package/dist/types/permissions.d.ts +50 -0
  173. package/dist/types/suggestionstyles.d.ts +16 -0
  174. package/dist/types/users/view/userview.d.ts +20 -0
  175. package/dist/types/users.d.ts +169 -0
  176. package/dist/types/utils/common-translations.d.ts +13 -0
  177. package/dist/types/utils/confirmmixin.d.ts +24 -0
  178. package/dist/types/utils/confirmview.d.ts +17 -0
  179. package/dist/types/utils/getdatetimeformatter.d.ts +33 -0
  180. package/dist/types/utils/getmarkerdomelement.d.ts +26 -0
  181. package/dist/types/utils/hashobject.d.ts +12 -0
  182. package/dist/types/utils/sanitizeEditorConfig.d.ts +19 -0
  183. package/dist/types/utils/surroundingmarkersdetector.d.ts +20 -0
  184. package/dist/types/utils/trim-html.d.ts +20 -0
  185. package/package.json +3 -2
  186. package/src/index.d.ts +2 -2
  187. package/src/index.js +1 -1
  188. package/src/permissions.js +1 -1
  189. package/src/suggestionstyles.js +1 -1
  190. package/src/users/view/userview.js +1 -1
  191. package/src/users.js +1 -1
  192. package/src/utils/common-translations.js +1 -1
  193. package/src/utils/confirmmixin.js +1 -1
  194. package/src/utils/confirmview.js +1 -1
  195. package/src/utils/getdatetimeformatter.js +1 -1
  196. package/src/utils/getmarkerdomelement.js +1 -1
  197. package/src/utils/hashobject.js +1 -1
  198. package/src/utils/sanitizeEditorConfig.js +1 -1
  199. package/src/utils/surroundingmarkersdetector.js +1 -1
  200. package/src/utils/trim-html.js +1 -1
package/dist/index.css ADDED
@@ -0,0 +1,935 @@
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
+ /*
15
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
16
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
17
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
18
+ *
19
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
20
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
21
+ */
22
+
23
+ :root {
24
+ --ck-user-colors--0: hsla(235, 73%, 67%, 1);
25
+ --ck-user-colors--0-alpha: hsla(235, 73%, 67%, 0.15);
26
+
27
+ --ck-user-colors--1: hsla(173, 100%, 24%, 1);
28
+ --ck-user-colors--1-alpha: hsla(173, 100%, 24%, 0.15);
29
+
30
+ --ck-user-colors--2: hsla(0, 46%, 50%, 1);
31
+ --ck-user-colors--2-alpha: hsla(0, 46%, 50%, 0.15);
32
+
33
+ --ck-user-colors--3: hsla(256, 54%, 45%, 1);
34
+ --ck-user-colors--3-alpha: hsla(256, 54%, 45%, 0.15);
35
+
36
+ --ck-user-colors--4: hsla(95, 50%, 36%, 1);
37
+ --ck-user-colors--4-alpha: hsla(95, 50%, 36%, 0.15);
38
+
39
+ --ck-user-colors--5: hsla(336, 78%, 43%, 1);
40
+ --ck-user-colors--5-alpha: hsla(336, 78%, 43%, 0.15);
41
+
42
+ --ck-user-colors--6: hsla(0, 80%, 59%, 1);
43
+ --ck-user-colors--6-alpha: hsla(0, 80%, 59%, 0.15);
44
+
45
+ --ck-user-colors--7: hsla(184, 90%, 43%, 1);
46
+ --ck-user-colors--7-alpha: hsla(184, 90%, 43%, 0.15);
47
+
48
+ --ck-user-dot-size: 6px;
49
+ }
50
+
51
+ /* We are using mixins here because of lack of PostCSS loop plugin. */
52
+
53
+ .ck .ck-user__color--0 {
54
+ color: var(--ck-user-colors--0);
55
+ }
56
+
57
+ .ck .ck-user__bg-color--0 {
58
+ background-color: var(--ck-user-colors--0);
59
+ }
60
+
61
+ .ck .ck-user__selection--0 {
62
+ background-color: var(--ck-user-colors--0-alpha);
63
+ }
64
+
65
+ .ck .ck-user__selection--0.ck-widget {
66
+ background-color: transparent;
67
+ border: 3px solid var(--ck-user-colors--0);
68
+ }
69
+
70
+ .ck .ck-user__marker--0, .ck .ck-user__marker--0 .ck-user__marker-tooltip, .ck .ck-user__marker--0 .ck-user__marker-dot, .ck .ck-user__marker--0::selection, .ck .ck-user__marker--0 .ck-user__marker-tooltip::selection, .ck .ck-user__marker--0 .ck-user__marker-dot::selection {
71
+ background-color: var(--ck-user-colors--0);
72
+ }
73
+
74
+ .ck .ck-user__marker--0 .ck-user__marker-line {
75
+ border: 1px solid var(--ck-user-colors--0);
76
+ }
77
+ .ck .ck-user__color--1 {
78
+ color: var(--ck-user-colors--1);
79
+ }
80
+ .ck .ck-user__bg-color--1 {
81
+ background-color: var(--ck-user-colors--1);
82
+ }
83
+ .ck .ck-user__selection--1 {
84
+ background-color: var(--ck-user-colors--1-alpha);
85
+ }
86
+ .ck .ck-user__selection--1.ck-widget {
87
+ background-color: transparent;
88
+ border: 3px solid var(--ck-user-colors--1);
89
+ }
90
+ .ck .ck-user__marker--1, .ck .ck-user__marker--1 .ck-user__marker-tooltip, .ck .ck-user__marker--1 .ck-user__marker-dot, .ck .ck-user__marker--1::selection, .ck .ck-user__marker--1 .ck-user__marker-tooltip::selection, .ck .ck-user__marker--1 .ck-user__marker-dot::selection {
91
+ background-color: var(--ck-user-colors--1);
92
+ }
93
+ .ck .ck-user__marker--1 .ck-user__marker-line {
94
+ border: 1px solid var(--ck-user-colors--1);
95
+ }
96
+ .ck .ck-user__color--2 {
97
+ color: var(--ck-user-colors--2);
98
+ }
99
+ .ck .ck-user__bg-color--2 {
100
+ background-color: var(--ck-user-colors--2);
101
+ }
102
+ .ck .ck-user__selection--2 {
103
+ background-color: var(--ck-user-colors--2-alpha);
104
+ }
105
+ .ck .ck-user__selection--2.ck-widget {
106
+ background-color: transparent;
107
+ border: 3px solid var(--ck-user-colors--2);
108
+ }
109
+ .ck .ck-user__marker--2, .ck .ck-user__marker--2 .ck-user__marker-tooltip, .ck .ck-user__marker--2 .ck-user__marker-dot, .ck .ck-user__marker--2::selection, .ck .ck-user__marker--2 .ck-user__marker-tooltip::selection, .ck .ck-user__marker--2 .ck-user__marker-dot::selection {
110
+ background-color: var(--ck-user-colors--2);
111
+ }
112
+ .ck .ck-user__marker--2 .ck-user__marker-line {
113
+ border: 1px solid var(--ck-user-colors--2);
114
+ }
115
+ .ck .ck-user__color--3 {
116
+ color: var(--ck-user-colors--3);
117
+ }
118
+ .ck .ck-user__bg-color--3 {
119
+ background-color: var(--ck-user-colors--3);
120
+ }
121
+ .ck .ck-user__selection--3 {
122
+ background-color: var(--ck-user-colors--3-alpha);
123
+ }
124
+ .ck .ck-user__selection--3.ck-widget {
125
+ background-color: transparent;
126
+ border: 3px solid var(--ck-user-colors--3);
127
+ }
128
+ .ck .ck-user__marker--3, .ck .ck-user__marker--3 .ck-user__marker-tooltip, .ck .ck-user__marker--3 .ck-user__marker-dot, .ck .ck-user__marker--3::selection, .ck .ck-user__marker--3 .ck-user__marker-tooltip::selection, .ck .ck-user__marker--3 .ck-user__marker-dot::selection {
129
+ background-color: var(--ck-user-colors--3);
130
+ }
131
+ .ck .ck-user__marker--3 .ck-user__marker-line {
132
+ border: 1px solid var(--ck-user-colors--3);
133
+ }
134
+ .ck .ck-user__color--4 {
135
+ color: var(--ck-user-colors--4);
136
+ }
137
+ .ck .ck-user__bg-color--4 {
138
+ background-color: var(--ck-user-colors--4);
139
+ }
140
+ .ck .ck-user__selection--4 {
141
+ background-color: var(--ck-user-colors--4-alpha);
142
+ }
143
+ .ck .ck-user__selection--4.ck-widget {
144
+ background-color: transparent;
145
+ border: 3px solid var(--ck-user-colors--4);
146
+ }
147
+ .ck .ck-user__marker--4, .ck .ck-user__marker--4 .ck-user__marker-tooltip, .ck .ck-user__marker--4 .ck-user__marker-dot, .ck .ck-user__marker--4::selection, .ck .ck-user__marker--4 .ck-user__marker-tooltip::selection, .ck .ck-user__marker--4 .ck-user__marker-dot::selection {
148
+ background-color: var(--ck-user-colors--4);
149
+ }
150
+ .ck .ck-user__marker--4 .ck-user__marker-line {
151
+ border: 1px solid var(--ck-user-colors--4);
152
+ }
153
+ .ck .ck-user__color--5 {
154
+ color: var(--ck-user-colors--5);
155
+ }
156
+ .ck .ck-user__bg-color--5 {
157
+ background-color: var(--ck-user-colors--5);
158
+ }
159
+ .ck .ck-user__selection--5 {
160
+ background-color: var(--ck-user-colors--5-alpha);
161
+ }
162
+ .ck .ck-user__selection--5.ck-widget {
163
+ background-color: transparent;
164
+ border: 3px solid var(--ck-user-colors--5);
165
+ }
166
+ .ck .ck-user__marker--5, .ck .ck-user__marker--5 .ck-user__marker-tooltip, .ck .ck-user__marker--5 .ck-user__marker-dot, .ck .ck-user__marker--5::selection, .ck .ck-user__marker--5 .ck-user__marker-tooltip::selection, .ck .ck-user__marker--5 .ck-user__marker-dot::selection {
167
+ background-color: var(--ck-user-colors--5);
168
+ }
169
+ .ck .ck-user__marker--5 .ck-user__marker-line {
170
+ border: 1px solid var(--ck-user-colors--5);
171
+ }
172
+ .ck .ck-user__color--6 {
173
+ color: var(--ck-user-colors--6);
174
+ }
175
+ .ck .ck-user__bg-color--6 {
176
+ background-color: var(--ck-user-colors--6);
177
+ }
178
+ .ck .ck-user__selection--6 {
179
+ background-color: var(--ck-user-colors--6-alpha);
180
+ }
181
+ .ck .ck-user__selection--6.ck-widget {
182
+ background-color: transparent;
183
+ border: 3px solid var(--ck-user-colors--6);
184
+ }
185
+ .ck .ck-user__marker--6, .ck .ck-user__marker--6 .ck-user__marker-tooltip, .ck .ck-user__marker--6 .ck-user__marker-dot, .ck .ck-user__marker--6::selection, .ck .ck-user__marker--6 .ck-user__marker-tooltip::selection, .ck .ck-user__marker--6 .ck-user__marker-dot::selection {
186
+ background-color: var(--ck-user-colors--6);
187
+ }
188
+ .ck .ck-user__marker--6 .ck-user__marker-line {
189
+ border: 1px solid var(--ck-user-colors--6);
190
+ }
191
+ .ck .ck-user__color--7 {
192
+ color: var(--ck-user-colors--7);
193
+ }
194
+ .ck .ck-user__bg-color--7 {
195
+ background-color: var(--ck-user-colors--7);
196
+ }
197
+ .ck .ck-user__selection--7 {
198
+ background-color: var(--ck-user-colors--7-alpha);
199
+ }
200
+ .ck .ck-user__selection--7.ck-widget {
201
+ background-color: transparent;
202
+ border: 3px solid var(--ck-user-colors--7);
203
+ }
204
+ .ck .ck-user__marker--7, .ck .ck-user__marker--7 .ck-user__marker-tooltip, .ck .ck-user__marker--7 .ck-user__marker-dot, .ck .ck-user__marker--7::selection, .ck .ck-user__marker--7 .ck-user__marker-tooltip::selection, .ck .ck-user__marker--7 .ck-user__marker-dot::selection {
205
+ background-color: var(--ck-user-colors--7);
206
+ }
207
+ .ck .ck-user__marker--7 .ck-user__marker-line {
208
+ border: 1px solid var(--ck-user-colors--7);
209
+ }
210
+
211
+ /*
212
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
213
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
214
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
215
+ *
216
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
217
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
218
+ */
219
+
220
+ /*
221
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
222
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
223
+ */
224
+
225
+ /**
226
+ * Makes element unselectable.
227
+ */
228
+
229
+ :root {
230
+ --ck-user-avatar-size: 40px;
231
+ --ck-user-avatar-background: hsl(210, 52%, 44%);
232
+ --ck-user-avatar-color: hsl(0, 0%, 100%);
233
+ --ck-user-me-border-color: hsl(0, 0%, 100%);
234
+ }
235
+
236
+ .ck.ck-user {
237
+ display: flex;
238
+ justify-content: center;
239
+ align-items: center;
240
+ position: relative;
241
+ border-radius: 50%;
242
+ background-color: var(--ck-user-avatar-background);
243
+ box-sizing: border-box;
244
+ height: var(--ck-user-avatar-size);
245
+ width: var(--ck-user-avatar-size);
246
+ min-width: var(--ck-user-avatar-size);
247
+ min-height: var(--ck-user-avatar-size);
248
+ line-height: 100%;
249
+ margin: 2px;
250
+ }
251
+
252
+ .ck.ck-user.ck-user_me {
253
+ border: 2px solid var(--ck-user-me-border-color);
254
+ outline: 2px solid var(--ck-user-avatar-background);
255
+ }
256
+
257
+ .ck.ck-user__name {
258
+ color: var(--ck-user-avatar-color);
259
+ cursor: default;
260
+ -moz-user-select: none;
261
+ -webkit-user-select: none;
262
+ -ms-user-select: none;
263
+ user-select: none;
264
+ }
265
+
266
+ .ck.ck-user__name.ck-user__name--hidden {
267
+ display: none;
268
+ }
269
+
270
+ .ck.ck-user__img {
271
+ display: none;
272
+ width: 100%;
273
+ height: 100%;
274
+ background-position: center center;
275
+ background-repeat: no-repeat;
276
+ background-size: cover;
277
+ background-color: var(--ck-user-avatar-background);
278
+ border-radius: 50%;
279
+ border: none;
280
+ }
281
+
282
+ .ck.ck-user__img.ck-user__anonymous {
283
+ display: block;
284
+ 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);
285
+
286
+ /* Do not display initials when user is anonymous. */
287
+ }
288
+
289
+ .ck.ck-user__img.ck-user__anonymous + .ck-user__name {
290
+ display: none;
291
+ }
292
+
293
+ .ck.ck-user__img.ck-user__avatar {
294
+ display: block;
295
+
296
+ /* In case if avatar is transparent make background white. */
297
+ background-color: hsl(0, 0%, 100%);
298
+ }
299
+
300
+ .ck.ck-user__img.ck-user__img--hidden {
301
+ display: none;
302
+ }
303
+
304
+ .ck.ck-user__notification {
305
+ display: flex;
306
+ width: 15px;
307
+ height: 15px;
308
+ justify-content: center;
309
+ align-items: center;
310
+ background: var(--ck-color-base-background);
311
+ border: 2px solid var(--ck-color-base-background);
312
+ border-radius: 50%;
313
+ box-sizing: content-box;
314
+
315
+ position: absolute;
316
+ top: -8px;
317
+ right: -7px;
318
+ overflow: hidden;
319
+ transform: translateZ(0);
320
+ }
321
+
322
+ .ck.ck-user__notification .ck-user__icon {
323
+ color: var(--ck-color-annotation-info);
324
+ background: var(--ck-color-base-background);
325
+ width: 19px;
326
+ height: 19px;
327
+ max-width: 19px;
328
+ max-height: 19px;
329
+ min-width: 19px;
330
+ min-height: 19px;
331
+ }
332
+
333
+ /*
334
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
335
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
336
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
337
+ *
338
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
339
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
340
+ */
341
+
342
+ :root {
343
+ --ck-color-comment-box-border: hsl(55, 98%, 48%);
344
+ --ck-color-suggestion-box-deletion-border: hsl(345, 62%, 60%);
345
+ --ck-color-suggestion-box-insertion-border: hsl(128, 62%, 60%);
346
+ --ck-color-suggestion-box-format-border: hsl(191, 62%, 60%);
347
+ }
348
+
349
+ .ck .ck-suggestion {
350
+ border-top-left-radius: var(--ck-border-radius);
351
+ }
352
+
353
+ .ck .ck-annotation {
354
+ border-left: 3px solid transparent;
355
+ }
356
+
357
+
358
+ /* See: #3683.
359
+ * Inline Suggestion annotations that can't be commented on contains a scrollbar by default */
360
+ .ck .ck-suggestion--disabled-comments .ck-annotation {
361
+ min-height: 80px;
362
+ }
363
+
364
+ /* See: #2459.
365
+ With track-changes feature enabled, we need to distinguish various types of annotations (comments and suggestions). */
366
+ .ck .ck-comment,
367
+ .ck .ck-thread__comment-count,
368
+ .ck .ck-comment__input-container,
369
+ .ck .ck-thread__header {
370
+ border-left: 3px solid var(--ck-color-comment-box-border);
371
+ }
372
+
373
+ .ck .ck-suggestion-insertion .ck-suggestion {
374
+ border-left-color: var(--ck-color-suggestion-box-insertion-border);
375
+ }
376
+
377
+ .ck .ck-suggestion-deletion .ck-suggestion {
378
+ border-left-color: var(--ck-color-suggestion-box-deletion-border);
379
+ }
380
+
381
+ .ck .ck-suggestion-replace .ck-suggestion {
382
+ border-left-color: var(--ck-color-suggestion-box-insertion-border);
383
+ }
384
+
385
+ .ck .ck-suggestion-format .ck-suggestion {
386
+ border-left-color: var(--ck-color-suggestion-box-format-border);
387
+ }
388
+
389
+ .ck .ck-suggestion-wrapper {
390
+ outline: 0;
391
+ overflow: hidden;
392
+ }
393
+
394
+ .ck .ck-suggestion-type {
395
+ font-weight: bold;
396
+ }
397
+
398
+ .ck .ck-suggestion-color {
399
+ display: inline-block;
400
+ width: 14px;
401
+ height: 14px;
402
+ border-radius: 14px;
403
+ vertical-align: text-bottom;
404
+ margin: 0 5px;
405
+ box-shadow: 0 0 0 1px hsl(0, 0%, 27%);
406
+ }
407
+
408
+ /* Comments inside suggestion. */
409
+
410
+ /* Handle comments inside suggestion keep same border-color. */
411
+ .ck .ck-suggestion-insertion .ck-comment,
412
+ .ck .ck-suggestion-insertion .ck-thread__comment-count,
413
+ .ck .ck-suggestion-insertion .ck-comment__input-container,
414
+ .ck .ck-suggestion-replace .ck-comment,
415
+ .ck .ck-suggestion-replace .ck-thread__comment-count,
416
+ .ck .ck-suggestion-replace .ck-comment__input-container {
417
+ border-left-color: var(--ck-color-suggestion-box-insertion-border);
418
+ }
419
+
420
+ .ck .ck-suggestion-deletion .ck-comment,
421
+ .ck .ck-suggestion-deletion .ck-thread__comment-count,
422
+ .ck .ck-suggestion-deletion .ck-comment__input-container {
423
+ border-left-color: var(--ck-color-suggestion-box-deletion-border);
424
+ }
425
+
426
+ .ck .ck-suggestion-format .ck-comment,
427
+ .ck .ck-suggestion-format .ck-thread__comment-count,
428
+ .ck .ck-suggestion-format .ck-comment__input-container {
429
+ border-left-color: var(--ck-color-suggestion-box-format-border);
430
+ }
431
+
432
+ /*
433
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
434
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
435
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
436
+ *
437
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
438
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
439
+ */
440
+
441
+ :root {
442
+ --ck-color-suggestion-marker-insertion-border: hsla(128, 71%, 40%, .35);
443
+ --ck-color-suggestion-marker-insertion-border-active: hsla(128, 71%, 25%, .5);
444
+ --ck-color-suggestion-marker-insertion-background: hsla(128, 71%, 65%, .35);
445
+ --ck-color-suggestion-marker-insertion-background-active: hsla(128, 71%, 50%, .5);
446
+
447
+ --ck-color-suggestion-marker-deletion-border: hsla(345, 71%, 40%, .35);
448
+ --ck-color-suggestion-marker-deletion-border-active: hsla(345, 71%, 25%, .5);
449
+ --ck-color-suggestion-marker-deletion-background: hsla(345, 71%, 65%, .35);
450
+ --ck-color-suggestion-marker-deletion-background-active: hsla(345, 71%, 50%, .5);
451
+ --ck-color-suggestion-marker-deletion-stroke: hsla(345, 71%, 20%, .5);
452
+
453
+ --ck-color-suggestion-marker-format-border: hsla(191, 60%, 75%, 1);
454
+ --ck-color-suggestion-marker-format-border-active: hsla(191, 60%, 60%, 1);
455
+
456
+ --ck-color-suggestion-widget-insertion-background: hsla(128, 71%, 65%, .05);
457
+ --ck-color-suggestion-widget-insertion-background-active: hsla(128, 71%, 50%, .07);
458
+
459
+ --ck-color-suggestion-widget-deletion-background: hsla(345, 71%, 65%, .05);
460
+ --ck-color-suggestion-widget-deletion-background-active: hsla(345, 71%, 45%, .07);
461
+
462
+ --ck-color-suggestion-widget-format-background: hsla(191, 90%, 40%, .09);
463
+ --ck-color-suggestion-widget-format-background-active: hsla(191, 90%, 40%, .16);
464
+ }
465
+
466
+ .ck-content .ck-suggestion-marker-insertion {
467
+ border-top: 3px solid var(--ck-color-suggestion-marker-insertion-border);
468
+ border-bottom: 3px solid var(--ck-color-suggestion-marker-insertion-border);
469
+ background: var(--ck-color-suggestion-marker-insertion-background);
470
+ }
471
+
472
+ .ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active {
473
+ border-color: var(--ck-color-suggestion-marker-insertion-border-active);
474
+ background: var(--ck-color-suggestion-marker-insertion-background-active);
475
+ }
476
+
477
+ /* Disable background of marker inside widget. */
478
+
479
+ .ck-content .ck-suggestion-marker-insertion.ck-widget {
480
+ background: none;
481
+ text-decoration: none;
482
+ border: 3px solid var(--ck-color-suggestion-marker-insertion-border);
483
+ }
484
+
485
+ .ck-content .ck-suggestion-marker-insertion.ck-widget.ck-suggestion-marker--active {
486
+ border-color: var(--ck-color-suggestion-marker-insertion-border-active);
487
+ }
488
+
489
+ .ck-content .ck-suggestion-marker-deletion {
490
+ border-top: 3px solid var(--ck-color-suggestion-marker-deletion-border);
491
+ border-bottom: 3px solid var(--ck-color-suggestion-marker-deletion-border);
492
+
493
+ /* #2810. Safari doesn't support combined text-decoration values. */
494
+ text-decoration: line-through;
495
+ text-decoration-color: var(--ck-color-suggestion-marker-deletion-stroke);
496
+ text-decoration-thickness: 3px;
497
+
498
+ background: var(--ck-color-suggestion-marker-deletion-background);
499
+ }
500
+
501
+ .ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active {
502
+ border-color: var(--ck-color-suggestion-marker-deletion-border-active);
503
+ background: var(--ck-color-suggestion-marker-deletion-background-active);
504
+ }
505
+
506
+ /* Disable background of marker inside widget. */
507
+
508
+ .ck-content .ck-suggestion-marker-deletion.ck-widget {
509
+ background: none;
510
+ text-decoration: none;
511
+ border: 3px solid var(--ck-color-suggestion-marker-deletion-border);
512
+ }
513
+
514
+ .ck-content .ck-suggestion-marker-deletion.ck-widget.ck-suggestion-marker--active {
515
+ border-color: var(--ck-color-suggestion-marker-deletion-border-active);
516
+ }
517
+
518
+ .ck-content .ck-suggestion-marker-merge::after {
519
+ border-top: 3px solid var(--ck-color-suggestion-marker-deletion-border);
520
+ border-bottom: 3px solid var(--ck-color-suggestion-marker-deletion-border);
521
+
522
+ /* #2810. Safari doesn't support combined text-decoration values. */
523
+ text-decoration: line-through;
524
+ text-decoration-color: var(--ck-color-suggestion-marker-deletion-stroke);
525
+
526
+ background: var(--ck-color-suggestion-marker-deletion-background);
527
+ color: var(--ck-color-suggestion-marker-deletion-stroke);
528
+ content: '¶';
529
+ }
530
+
531
+ .ck-content .ck-suggestion-marker-merge.ck-suggestion-marker--active::after {
532
+ border-color: var(--ck-color-suggestion-marker-deletion-border-active);
533
+ background: var(--ck-color-suggestion-marker-deletion-background-active);
534
+ }
535
+
536
+ .ck-content .ck-suggestion-marker-split::after {
537
+ border-top: 3px solid var(--ck-color-suggestion-marker-insertion-border);
538
+ border-bottom: 3px solid var(--ck-color-suggestion-marker-insertion-border);
539
+ background: var(--ck-color-suggestion-marker-insertion-background);
540
+ color: var(--ck-color-suggestion-marker-insertion-border);
541
+ content: '¶';
542
+ }
543
+
544
+ .ck-content .ck-suggestion-marker-split.ck-suggestion-marker--active::after {
545
+ border-color: var(--ck-color-suggestion-marker-insertion-border-active);
546
+ background: var(--ck-color-suggestion-marker-insertion-background-active);
547
+ }
548
+
549
+ .ck-content .ck-suggestion-marker-formatInline {
550
+ border-top: 3px solid var(--ck-color-suggestion-marker-format-border);
551
+ border-bottom: 3px solid var(--ck-color-suggestion-marker-format-border);
552
+ }
553
+
554
+ .ck-content .ck-suggestion-marker-formatInline.ck-suggestion-marker--active {
555
+ border-color: var(--ck-color-suggestion-marker-format-border-active);
556
+ }
557
+
558
+ .ck-content .ck-suggestion-marker-formatInline.ck-widget {
559
+ background: none;
560
+ border: 3px solid var(--ck-color-suggestion-marker-format-border);
561
+ }
562
+
563
+ .ck-content .ck-suggestion-marker-formatInline.ck-widget.ck-suggestion-marker--active {
564
+ border-color: var(--ck-color-suggestion-marker-format-border-active);
565
+ }
566
+
567
+ /* This is a tricky case.
568
+ * We can't use `border-left` because sticky marker to the element looks kinda ugly.
569
+ * We can't use `::before` pseudoelement because it requires `position: relative` of parent, which breaks side-image.
570
+ * We can't use `outline` because it's impossible to display only left side of outline.
571
+ * So... we need to use power of CSS hacks <3 and use doubled box-shadow.
572
+ */
573
+
574
+ .ck-content .ck-suggestion-marker-formatBlock {
575
+ border: 0;
576
+ background: none;
577
+ box-shadow: -7px 0 0 0 var(--ck-color-base-background), -10px 0 0 0 var(--ck-color-suggestion-marker-format-border);
578
+ }
579
+
580
+ .ck-content .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active {
581
+ box-shadow: -5px 0 0 0 var(--ck-color-base-background), -8px 0 0 0 var(--ck-color-suggestion-marker-format-border-active);
582
+ }
583
+
584
+ .ck-content ul .ck-suggestion-marker-formatBlock,
585
+ .ck-content ol .ck-suggestion-marker-formatBlock {
586
+ box-shadow: -2px 0 0 0 var(--ck-color-base-background), -5px 0 0 0 var(--ck-color-suggestion-marker-format-border);
587
+ }
588
+
589
+ .ck-content ul .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active, .ck-content ol .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active {
590
+ box-shadow: -2px 0 0 0 var(--ck-color-base-background), -5px 0 0 0 var(--ck-color-suggestion-marker-format-border-active);
591
+ }
592
+
593
+ /*
594
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
595
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
596
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
597
+ *
598
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
599
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
600
+ */
601
+
602
+ .ck-content .ck-widget.image > figcaption.ck-suggestion-marker-deletion {
603
+ background-color: var(--ck-color-suggestion-widget-deletion-background);
604
+ border: none;
605
+ }
606
+
607
+ .ck-content .ck-widget.image > figcaption.ck-suggestion-marker-deletion.ck-suggestion-marker--active {
608
+ background-color: var(--ck-color-suggestion-widget-deletion-background-active);
609
+ }
610
+
611
+ .ck-content .ck-widget.image > figcaption.ck-suggestion-marker-insertion {
612
+ background-color: var(--ck-color-suggestion-widget-insertion-background);
613
+ border: none;
614
+ }
615
+
616
+ .ck-content .ck-widget.image > figcaption.ck-suggestion-marker-insertion.ck-suggestion-marker--active {
617
+ background-color: var(--ck-color-suggestion-widget-insertion-background-active);
618
+ }
619
+
620
+ .ck-content .ck-suggestion-marker-deletion.ck-widget.image {
621
+ background-color: var(--ck-color-suggestion-widget-deletion-background);
622
+ }
623
+
624
+ .ck-content .ck-suggestion-marker-deletion.ck-widget.image img {
625
+ opacity: 0.6;
626
+ }
627
+
628
+ .ck-content .ck-suggestion-marker-deletion.ck-widget.image figcaption {
629
+ background-color: var(--ck-color-suggestion-widget-deletion-background);
630
+ }
631
+
632
+ .ck-content .ck-suggestion-marker-deletion.ck-widget.image.ck-suggestion-marker--active {
633
+ background-color: var(--ck-color-suggestion-widget-deletion-background-active);
634
+ }
635
+
636
+ .ck-content .ck-suggestion-marker-deletion.ck-widget.image.ck-suggestion-marker--active figcaption {
637
+ background-color: var(--ck-color-suggestion-widget-deletion-background-active);
638
+ }
639
+
640
+ .ck-content .ck-suggestion-marker-insertion.ck-widget.image {
641
+ background-color: var(--ck-color-suggestion-widget-insertion-background);
642
+
643
+ /* stylelint-disable no-descending-specificity */
644
+ }
645
+
646
+ .ck-content .ck-suggestion-marker-insertion.ck-widget.image figcaption {
647
+ background-color: var(--ck-color-suggestion-widget-insertion-background);
648
+ }
649
+
650
+ /* stylelint-enable no-descending-specificity */
651
+
652
+ .ck-content .ck-suggestion-marker-insertion.ck-widget.image.ck-suggestion-marker--active {
653
+ background-color: var(--ck-color-suggestion-widget-insertion-background-active);
654
+ }
655
+
656
+ .ck-content .ck-suggestion-marker-insertion.ck-widget.image.ck-suggestion-marker--active figcaption {
657
+ background-color: var(--ck-color-suggestion-widget-insertion-background-active);
658
+ }
659
+
660
+ /*
661
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
662
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
663
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
664
+ *
665
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
666
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
667
+ */
668
+
669
+ .ck-content .ck-suggestion-marker-deletion.ck-widget.ck-horizontal-line {
670
+ background-color: var(--ck-color-suggestion-widget-deletion-background);
671
+ }
672
+
673
+ .ck-content .ck-suggestion-marker-deletion.ck-widget.ck-horizontal-line.ck-suggestion-marker--active {
674
+ background-color: var(--ck-color-suggestion-widget-deletion-background-active);
675
+ }
676
+
677
+ .ck-content .ck-suggestion-marker-insertion.ck-widget.ck-horizontal-line {
678
+ background-color: var(--ck-color-suggestion-widget-insertion-background);
679
+ }
680
+
681
+ .ck-content .ck-suggestion-marker-insertion.ck-widget.ck-horizontal-line.ck-suggestion-marker--active {
682
+ background-color: var(--ck-color-suggestion-widget-insertion-background-active);
683
+ }
684
+
685
+ /*
686
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
687
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
688
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
689
+ *
690
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
691
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
692
+ */
693
+
694
+ .ck-content .ck-suggestion-marker-deletion.ck-widget.media {
695
+ background-color: var(--ck-color-suggestion-widget-deletion-background);
696
+ }
697
+
698
+ .ck-content .ck-suggestion-marker-deletion.ck-widget.media .ck-media__wrapper {
699
+ opacity: 0.6;
700
+ }
701
+
702
+ .ck-content .ck-suggestion-marker-deletion.ck-widget.media.ck-suggestion-marker--active {
703
+ background-color: var(--ck-color-suggestion-widget-deletion-background-active);
704
+ }
705
+
706
+ .ck-content .ck-suggestion-marker-insertion.ck-widget.media {
707
+ background-color: var(--ck-color-suggestion-widget-insertion-background);
708
+ }
709
+
710
+ .ck-content .ck-suggestion-marker-insertion.ck-widget.media.ck-suggestion-marker--active {
711
+ background-color: var(--ck-color-suggestion-widget-insertion-background-active);
712
+ }
713
+
714
+ /*
715
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
716
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
717
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
718
+ *
719
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
720
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
721
+ */
722
+
723
+ .ck-content .ck-suggestion-marker-deletion.ck-widget.page-break {
724
+ background-color: var(--ck-color-suggestion-widget-deletion-background);
725
+ }
726
+
727
+ .ck-content .ck-suggestion-marker-deletion.ck-widget.page-break.ck-suggestion-marker--active {
728
+ background-color: var(--ck-color-suggestion-widget-deletion-background-active);
729
+ }
730
+
731
+ .ck-content .ck-suggestion-marker-insertion.ck-widget.page-break {
732
+ background-color: var(--ck-color-suggestion-widget-insertion-background);
733
+ }
734
+
735
+ .ck-content .ck-suggestion-marker-insertion.ck-widget.page-break.ck-suggestion-marker--active {
736
+ background-color: var(--ck-color-suggestion-widget-insertion-background-active);
737
+ }
738
+
739
+ /*
740
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
741
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
742
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
743
+ *
744
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
745
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
746
+ */
747
+
748
+ :root {
749
+ --ck-color-suggestion-widget-th-insertion-background: hsla(128, 71%, 65%, .12);
750
+ --ck-color-suggestion-widget-th-insertion-background-active: hsla(128, 71%, 50%, .14);
751
+
752
+ --ck-color-suggestion-widget-th-deletion-background: hsla(345, 71%, 65%, .14);
753
+ --ck-color-suggestion-widget-th-deletion-background-active: hsla(345, 71%, 45%, .16);
754
+ }
755
+
756
+ .ck-content figure.table .ck-suggestion-marker-formatBlock {
757
+ box-shadow: -3px 0 0 0 var(--ck-color-suggestion-marker-format-border);
758
+ }
759
+
760
+ .ck-content figure.table .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active {
761
+ box-shadow: -3px 0 0 0 var(--ck-color-suggestion-marker-format-border-active);
762
+ }
763
+
764
+ .ck-content .ck-widget.table > figcaption.ck-suggestion-marker-deletion {
765
+ background-color: var(--ck-color-suggestion-widget-deletion-background);
766
+ border: none;
767
+ }
768
+
769
+ .ck-content .ck-widget.table > figcaption.ck-suggestion-marker-deletion.ck-suggestion-marker--active {
770
+ background-color: var(--ck-color-suggestion-widget-deletion-background-active);
771
+ }
772
+
773
+ .ck-content .ck-widget.table > figcaption.ck-suggestion-marker-insertion {
774
+ background-color: var(--ck-color-suggestion-widget-insertion-background);
775
+ border: none;
776
+ }
777
+
778
+ .ck-content .ck-widget.table > figcaption.ck-suggestion-marker-insertion.ck-suggestion-marker--active {
779
+ background-color: var(--ck-color-suggestion-widget-insertion-background-active);
780
+ }
781
+
782
+ .ck-content .ck-suggestion-marker-insertion.table {
783
+ border-color: var(--ck-color-suggestion-marker-insertion-border);
784
+ }
785
+
786
+ .ck-content .ck-suggestion-marker-insertion.table > figcaption {
787
+ background-color: var(--ck-color-suggestion-widget-insertion-background);
788
+ }
789
+
790
+ .ck-content .ck-suggestion-marker-insertion.table > table > tbody > tr > th {
791
+ background-color: var(--ck-color-suggestion-widget-th-insertion-background);
792
+ border-color: var(--ck-color-suggestion-marker-insertion-border);
793
+ }
794
+
795
+ .ck-content .ck-suggestion-marker-insertion.table > table > thead > tr > th {
796
+ background-color: var(--ck-color-suggestion-widget-th-insertion-background);
797
+ border-color: var(--ck-color-suggestion-marker-insertion-border);
798
+ }
799
+
800
+ .ck-content .ck-suggestion-marker-insertion.table > table > tbody > tr > td {
801
+ background-color: var(--ck-color-suggestion-widget-insertion-background);
802
+ border-color: var(--ck-color-suggestion-marker-insertion-border);
803
+ }
804
+
805
+ .ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table {
806
+ border-color: var(--ck-color-suggestion-marker-insertion-border-active);
807
+ }
808
+
809
+ .ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table > figcaption {
810
+ background-color: var(--ck-color-suggestion-widget-insertion-background-active);
811
+ }
812
+
813
+ .ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table > table > tbody > tr > th {
814
+ background-color: var(--ck-color-suggestion-widget-th-insertion-background-active);
815
+ border-color: var(--ck-color-suggestion-marker-insertion-border-active);
816
+ }
817
+
818
+ .ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table > table > thead > tr > th {
819
+ background-color: var(--ck-color-suggestion-widget-th-insertion-background-active);
820
+ border-color: var(--ck-color-suggestion-marker-insertion-border-active);
821
+ }
822
+
823
+ .ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table > table > tbody > tr > td {
824
+ background-color: var(--ck-color-suggestion-widget-insertion-background-active);
825
+ border-color: var(--ck-color-suggestion-marker-insertion-border-active);
826
+ }
827
+
828
+ .ck-content .ck-suggestion-marker-deletion.ck-widget.table {
829
+ border-color: var(--ck-color-suggestion-marker-deletion-border);
830
+ }
831
+
832
+ .ck-content .ck-suggestion-marker-deletion.ck-widget.table > figcaption {
833
+ background-color: var(--ck-color-suggestion-widget-deletion-background);
834
+ }
835
+
836
+ .ck-content .ck-suggestion-marker-deletion.ck-widget.table > table > tbody > tr > th {
837
+ background-color: var(--ck-color-suggestion-widget-th-deletion-background);
838
+ border-color: var(--ck-color-suggestion-marker-deletion-border);
839
+ text-decoration: none;
840
+ }
841
+
842
+ .ck-content .ck-suggestion-marker-deletion.ck-widget.table > table > thead > tr > th {
843
+ background-color: var(--ck-color-suggestion-widget-th-deletion-background);
844
+ border-color: var(--ck-color-suggestion-marker-deletion-border);
845
+ text-decoration: none;
846
+ }
847
+
848
+ .ck-content .ck-suggestion-marker-deletion.ck-widget.table > table > tbody > tr > td {
849
+ background-color: var(--ck-color-suggestion-widget-deletion-background);
850
+ border-color: var(--ck-color-suggestion-marker-deletion-border);
851
+ text-decoration: none;
852
+ }
853
+
854
+ .ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table {
855
+ border-color: var(--ck-color-suggestion-marker-deletion-border-active);
856
+ }
857
+
858
+ .ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table > figcaption {
859
+ background-color: var(--ck-color-suggestion-widget-deletion-background-active);
860
+ }
861
+
862
+ .ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table > table > tbody > tr > th {
863
+ background-color: var(--ck-color-suggestion-widget-th-deletion-background-active);
864
+ border-color: var(--ck-color-suggestion-marker-deletion-border-active);
865
+ }
866
+
867
+ .ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table > table > thead > tr > th {
868
+ background-color: var(--ck-color-suggestion-widget-th-deletion-background-active);
869
+ border-color: var(--ck-color-suggestion-marker-deletion-border-active);
870
+ }
871
+
872
+ .ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table > table > tbody > tr > td {
873
+ background-color: var(--ck-color-suggestion-widget-deletion-background-active);
874
+ border-color: var(--ck-color-suggestion-marker-deletion-border-active);
875
+ }
876
+
877
+ /*
878
+ * We need here at least 022 CSS Specificity because of table styles like `.ck-content .table table th { background: ... }
879
+ * See: https://github.com/ckeditor/ckeditor5-table/blob/master/theme/table.css#L29
880
+ */
881
+ .ck-content .table th.ck-suggestion-marker-insertion {
882
+ background-color: var(--ck-color-suggestion-widget-th-insertion-background);
883
+ }
884
+ .ck-content .table th.ck-suggestion-marker-insertion.ck-suggestion-marker--active {
885
+ background-color: var(--ck-color-suggestion-widget-th-insertion-background-active);
886
+ }
887
+ .ck-content .table th.ck-suggestion-marker-deletion {
888
+ background-color: var(--ck-color-suggestion-widget-th-deletion-background);
889
+ text-decoration: none;
890
+ }
891
+ .ck-content .table th.ck-suggestion-marker-deletion.ck-suggestion-marker--active {
892
+ background-color: var(--ck-color-suggestion-widget-th-deletion-background-active);
893
+ }
894
+ .ck-content .table td.ck-suggestion-marker-insertion {
895
+ background-color: var(--ck-color-suggestion-widget-insertion-background);
896
+ }
897
+ .ck-content .table td.ck-suggestion-marker-insertion.ck-suggestion-marker--active {
898
+ background-color: var(--ck-color-suggestion-widget-insertion-background-active);
899
+ }
900
+ .ck-content .table td.ck-suggestion-marker-deletion {
901
+ background-color: var(--ck-color-suggestion-widget-deletion-background);
902
+ text-decoration: none;
903
+ }
904
+ .ck-content .table td.ck-suggestion-marker-deletion.ck-suggestion-marker--active {
905
+ background-color: var(--ck-color-suggestion-widget-deletion-background-active);
906
+ }
907
+ .ck-content .table th.ck-suggestion-marker-formatInline,
908
+ .ck-content .table td.ck-suggestion-marker-formatInline,
909
+ .ck-content .table th.ck-suggestion-marker-formatBlock,
910
+ .ck-content .table td.ck-suggestion-marker-formatBlock {
911
+ background-color: var(--ck-color-suggestion-widget-format-background);
912
+ box-shadow: none;
913
+ }
914
+ .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 {
915
+ background-color: var(--ck-color-suggestion-widget-format-background-active);
916
+ box-shadow: none;
917
+ }
918
+
919
+ /*
920
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
921
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
922
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
923
+ *
924
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
925
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
926
+ */
927
+
928
+ .ck-content pre > code.ck-suggestion-marker-formatBlock {
929
+ display: block;
930
+ box-shadow: -7px 0 0 0 hsl(0deg 0% 93%), -10px 0 0 0 var(--ck-color-suggestion-marker-format-border);
931
+ }
932
+
933
+ .ck-content pre > code.ck-suggestion-marker-formatBlock.ck-suggestion-marker--active {
934
+ box-shadow: -5px 0 0 0 hsl(0deg 0% 93%), -8px 0 0 0 var(--ck-color-suggestion-marker-format-border-active);
935
+ }