@ckeditor/ckeditor5-comments 47.6.1 → 48.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (403) hide show
  1. package/LICENSE.md +1 -1
  2. package/ckeditor5-metadata.json +53 -53
  3. package/{src → dist}/annotations/annotation.d.ts +4 -4
  4. package/{src → dist}/annotations/annotationcollection.d.ts +2 -2
  5. package/{src → dist}/annotations/annotations.d.ts +3 -3
  6. package/{src → dist}/annotations/annotationsuis.d.ts +2 -2
  7. package/{src → dist}/annotations/editorannotations.d.ts +1 -1
  8. package/{src → dist}/annotations/inlineannotations.d.ts +2 -2
  9. package/{src → dist}/annotations/narrowsidebar.d.ts +2 -2
  10. package/{src → dist}/annotations/sidebar.d.ts +2 -2
  11. package/{src → dist}/annotations/view/annotationcounterbuttonview.d.ts +2 -2
  12. package/{src → dist}/annotations/view/annotationview.d.ts +2 -2
  13. package/{src → dist}/annotations/view/sidebaritemview.d.ts +2 -2
  14. package/{src → dist}/annotations/view/sidebarview.d.ts +2 -2
  15. package/{src → dist}/annotations/widesidebar.d.ts +1 -1
  16. package/{src → dist}/comments/addcommentthreadcommand.d.ts +2 -2
  17. package/{src → dist}/comments/commentsarchive.d.ts +2 -2
  18. package/{src → dist}/comments/commentsarchiveui.d.ts +2 -2
  19. package/{src → dist}/comments/commentsediting.d.ts +3 -3
  20. package/{src → dist}/comments/commentsrepository.d.ts +7 -7
  21. package/{src → dist}/comments/commentsui.d.ts +1 -1
  22. package/{src → dist}/comments/integrations/clipboard.d.ts +2 -2
  23. package/{src → dist}/comments/integrations/commentsrestrictededitingmode.d.ts +1 -1
  24. package/{src → dist}/comments/integrations/importword.d.ts +1 -1
  25. package/{src → dist}/comments/integrations/showcommenthighlights.d.ts +1 -1
  26. package/{src → dist}/comments/ui/commenteditor/commenteditor.d.ts +3 -3
  27. package/{src → dist}/comments/ui/commenteditor/commenteditorui.d.ts +2 -2
  28. package/{src → dist}/comments/ui/commenteditor/commenteditoruiview.d.ts +3 -3
  29. package/{src → dist}/comments/ui/commentthreadcontroller.d.ts +2 -2
  30. package/{src → dist}/comments/ui/view/basecommentthreadview.d.ts +3 -3
  31. package/{src → dist}/comments/ui/view/basecommentview.d.ts +3 -3
  32. package/{src → dist}/comments/ui/view/collapsedcommentsview.d.ts +2 -2
  33. package/{src → dist}/comments/ui/view/commentcontentview.d.ts +2 -2
  34. package/{src → dist}/comments/ui/view/commentinputview.d.ts +3 -3
  35. package/{src → dist}/comments/ui/view/commentsarchiveview.d.ts +2 -2
  36. package/{src → dist}/comments/ui/view/commentslistview.d.ts +2 -2
  37. package/{src → dist}/comments/ui/view/commentthreadheadercontextview.d.ts +2 -2
  38. package/{src → dist}/comments/ui/view/commentthreadheaderview.d.ts +2 -2
  39. package/{src → dist}/comments/ui/view/commentthreadinputview.d.ts +4 -4
  40. package/{src → dist}/comments/ui/view/commentthreadview.d.ts +4 -4
  41. package/{src → dist}/comments/ui/view/commentview.d.ts +5 -5
  42. package/{src → dist}/comments.d.ts +1 -1
  43. package/{src → dist}/commentsonly.d.ts +1 -1
  44. package/{src → dist}/config.d.ts +1 -1
  45. package/dist/index-content.css +15 -15
  46. package/dist/index-editor.css +468 -496
  47. package/dist/index.css +472 -736
  48. package/dist/index.js +11 -11
  49. package/dist/translations/af.js +1 -1
  50. package/dist/translations/af.umd.js +1 -1
  51. package/dist/translations/ar.js +1 -1
  52. package/dist/translations/ar.umd.js +1 -1
  53. package/dist/translations/ast.js +1 -1
  54. package/dist/translations/ast.umd.js +1 -1
  55. package/dist/translations/az.js +1 -1
  56. package/dist/translations/az.umd.js +1 -1
  57. package/dist/translations/be.js +1 -1
  58. package/dist/translations/be.umd.js +1 -1
  59. package/dist/translations/bg.js +1 -1
  60. package/dist/translations/bg.umd.js +1 -1
  61. package/dist/translations/bn.js +1 -1
  62. package/dist/translations/bn.umd.js +1 -1
  63. package/dist/translations/bs.js +1 -1
  64. package/dist/translations/bs.umd.js +1 -1
  65. package/dist/translations/ca.js +1 -1
  66. package/dist/translations/ca.umd.js +1 -1
  67. package/dist/translations/cs.js +1 -1
  68. package/dist/translations/cs.umd.js +1 -1
  69. package/dist/translations/da.js +1 -1
  70. package/dist/translations/da.umd.js +1 -1
  71. package/dist/translations/de-ch.js +1 -1
  72. package/dist/translations/de-ch.umd.js +1 -1
  73. package/dist/translations/de.js +1 -1
  74. package/dist/translations/de.umd.js +1 -1
  75. package/dist/translations/el.js +1 -1
  76. package/dist/translations/el.umd.js +1 -1
  77. package/dist/translations/en-au.js +1 -1
  78. package/dist/translations/en-au.umd.js +1 -1
  79. package/dist/translations/en-gb.js +1 -1
  80. package/dist/translations/en-gb.umd.js +1 -1
  81. package/dist/translations/en.js +1 -1
  82. package/dist/translations/en.umd.js +1 -1
  83. package/dist/translations/eo.js +1 -1
  84. package/dist/translations/eo.umd.js +1 -1
  85. package/dist/translations/es-co.js +1 -1
  86. package/dist/translations/es-co.umd.js +1 -1
  87. package/dist/translations/es.js +1 -1
  88. package/dist/translations/es.umd.js +1 -1
  89. package/dist/translations/et.js +1 -1
  90. package/dist/translations/et.umd.js +1 -1
  91. package/dist/translations/eu.js +1 -1
  92. package/dist/translations/eu.umd.js +1 -1
  93. package/dist/translations/fa.js +1 -1
  94. package/dist/translations/fa.umd.js +1 -1
  95. package/dist/translations/fi.js +1 -1
  96. package/dist/translations/fi.umd.js +1 -1
  97. package/dist/translations/fr.js +1 -1
  98. package/dist/translations/fr.umd.js +1 -1
  99. package/dist/translations/gl.js +1 -1
  100. package/dist/translations/gl.umd.js +1 -1
  101. package/dist/translations/gu.js +1 -1
  102. package/dist/translations/gu.umd.js +1 -1
  103. package/dist/translations/he.js +1 -1
  104. package/dist/translations/he.umd.js +1 -1
  105. package/dist/translations/hi.js +1 -1
  106. package/dist/translations/hi.umd.js +1 -1
  107. package/dist/translations/hr.js +1 -1
  108. package/dist/translations/hr.umd.js +1 -1
  109. package/dist/translations/hu.js +1 -1
  110. package/dist/translations/hu.umd.js +1 -1
  111. package/dist/translations/hy.js +1 -1
  112. package/dist/translations/hy.umd.js +1 -1
  113. package/dist/translations/id.js +1 -1
  114. package/dist/translations/id.umd.js +1 -1
  115. package/dist/translations/it.js +1 -1
  116. package/dist/translations/it.umd.js +1 -1
  117. package/dist/translations/ja.js +1 -1
  118. package/dist/translations/ja.umd.js +1 -1
  119. package/dist/translations/jv.js +1 -1
  120. package/dist/translations/jv.umd.js +1 -1
  121. package/dist/translations/kk.js +1 -1
  122. package/dist/translations/kk.umd.js +1 -1
  123. package/dist/translations/km.js +1 -1
  124. package/dist/translations/km.umd.js +1 -1
  125. package/dist/translations/kn.js +1 -1
  126. package/dist/translations/kn.umd.js +1 -1
  127. package/dist/translations/ko.js +1 -1
  128. package/dist/translations/ko.umd.js +1 -1
  129. package/dist/translations/ku.js +1 -1
  130. package/dist/translations/ku.umd.js +1 -1
  131. package/dist/translations/lt.js +1 -1
  132. package/dist/translations/lt.umd.js +1 -1
  133. package/dist/translations/lv.js +1 -1
  134. package/dist/translations/lv.umd.js +1 -1
  135. package/dist/translations/ms.js +1 -1
  136. package/dist/translations/ms.umd.js +1 -1
  137. package/dist/translations/nb.js +1 -1
  138. package/dist/translations/nb.umd.js +1 -1
  139. package/dist/translations/ne.js +1 -1
  140. package/dist/translations/ne.umd.js +1 -1
  141. package/dist/translations/nl.js +1 -1
  142. package/dist/translations/nl.umd.js +1 -1
  143. package/dist/translations/no.js +1 -1
  144. package/dist/translations/no.umd.js +1 -1
  145. package/dist/translations/oc.js +1 -1
  146. package/dist/translations/oc.umd.js +1 -1
  147. package/dist/translations/pl.js +1 -1
  148. package/dist/translations/pl.umd.js +1 -1
  149. package/dist/translations/pt-br.js +1 -1
  150. package/dist/translations/pt-br.umd.js +1 -1
  151. package/dist/translations/pt.js +1 -1
  152. package/dist/translations/pt.umd.js +1 -1
  153. package/dist/translations/ro.js +1 -1
  154. package/dist/translations/ro.umd.js +1 -1
  155. package/dist/translations/ru.js +1 -1
  156. package/dist/translations/ru.umd.js +1 -1
  157. package/dist/translations/si.js +1 -1
  158. package/dist/translations/si.umd.js +1 -1
  159. package/dist/translations/sk.js +1 -1
  160. package/dist/translations/sk.umd.js +1 -1
  161. package/dist/translations/sl.js +1 -1
  162. package/dist/translations/sl.umd.js +1 -1
  163. package/dist/translations/sq.js +1 -1
  164. package/dist/translations/sq.umd.js +1 -1
  165. package/dist/translations/sr-latn.js +1 -1
  166. package/dist/translations/sr-latn.umd.js +1 -1
  167. package/dist/translations/sr.js +1 -1
  168. package/dist/translations/sr.umd.js +1 -1
  169. package/dist/translations/sv.js +1 -1
  170. package/dist/translations/sv.umd.js +1 -1
  171. package/dist/translations/th.js +1 -1
  172. package/dist/translations/th.umd.js +1 -1
  173. package/dist/translations/ti.js +1 -1
  174. package/dist/translations/ti.umd.js +1 -1
  175. package/dist/translations/tk.js +1 -1
  176. package/dist/translations/tk.umd.js +1 -1
  177. package/dist/translations/tr.js +1 -1
  178. package/dist/translations/tr.umd.js +1 -1
  179. package/dist/translations/tt.js +1 -1
  180. package/dist/translations/tt.umd.js +1 -1
  181. package/dist/translations/ug.js +1 -1
  182. package/dist/translations/ug.umd.js +1 -1
  183. package/dist/translations/uk.js +1 -1
  184. package/dist/translations/uk.umd.js +1 -1
  185. package/dist/translations/ur.js +1 -1
  186. package/dist/translations/ur.umd.js +1 -1
  187. package/dist/translations/uz.js +1 -1
  188. package/dist/translations/uz.umd.js +1 -1
  189. package/dist/translations/vi.js +1 -1
  190. package/dist/translations/vi.umd.js +1 -1
  191. package/dist/translations/zh-cn.js +1 -1
  192. package/dist/translations/zh-cn.umd.js +1 -1
  193. package/dist/translations/zh.js +1 -1
  194. package/dist/translations/zh.umd.js +1 -1
  195. package/{src → dist}/utils/common-translations.d.ts +1 -1
  196. package/package.json +27 -52
  197. package/build/comments.js +0 -5
  198. package/build/translations/af.js +0 -1
  199. package/build/translations/ar.js +0 -1
  200. package/build/translations/ast.js +0 -1
  201. package/build/translations/az.js +0 -1
  202. package/build/translations/be.js +0 -1
  203. package/build/translations/bg.js +0 -1
  204. package/build/translations/bn.js +0 -1
  205. package/build/translations/bs.js +0 -1
  206. package/build/translations/ca.js +0 -1
  207. package/build/translations/cs.js +0 -1
  208. package/build/translations/da.js +0 -1
  209. package/build/translations/de-ch.js +0 -1
  210. package/build/translations/de.js +0 -1
  211. package/build/translations/el.js +0 -1
  212. package/build/translations/en-au.js +0 -1
  213. package/build/translations/en-gb.js +0 -1
  214. package/build/translations/eo.js +0 -1
  215. package/build/translations/es-co.js +0 -1
  216. package/build/translations/es.js +0 -1
  217. package/build/translations/et.js +0 -1
  218. package/build/translations/eu.js +0 -1
  219. package/build/translations/fa.js +0 -1
  220. package/build/translations/fi.js +0 -1
  221. package/build/translations/fr.js +0 -1
  222. package/build/translations/gl.js +0 -1
  223. package/build/translations/gu.js +0 -1
  224. package/build/translations/he.js +0 -1
  225. package/build/translations/hi.js +0 -1
  226. package/build/translations/hr.js +0 -1
  227. package/build/translations/hu.js +0 -1
  228. package/build/translations/hy.js +0 -1
  229. package/build/translations/id.js +0 -1
  230. package/build/translations/it.js +0 -1
  231. package/build/translations/ja.js +0 -1
  232. package/build/translations/jv.js +0 -1
  233. package/build/translations/kk.js +0 -1
  234. package/build/translations/km.js +0 -1
  235. package/build/translations/kn.js +0 -1
  236. package/build/translations/ko.js +0 -1
  237. package/build/translations/ku.js +0 -1
  238. package/build/translations/lt.js +0 -1
  239. package/build/translations/lv.js +0 -1
  240. package/build/translations/ms.js +0 -1
  241. package/build/translations/nb.js +0 -1
  242. package/build/translations/ne.js +0 -1
  243. package/build/translations/nl.js +0 -1
  244. package/build/translations/no.js +0 -1
  245. package/build/translations/oc.js +0 -1
  246. package/build/translations/pl.js +0 -1
  247. package/build/translations/pt-br.js +0 -1
  248. package/build/translations/pt.js +0 -1
  249. package/build/translations/ro.js +0 -1
  250. package/build/translations/ru.js +0 -1
  251. package/build/translations/si.js +0 -1
  252. package/build/translations/sk.js +0 -1
  253. package/build/translations/sl.js +0 -1
  254. package/build/translations/sq.js +0 -1
  255. package/build/translations/sr-latn.js +0 -1
  256. package/build/translations/sr.js +0 -1
  257. package/build/translations/sv.js +0 -1
  258. package/build/translations/th.js +0 -1
  259. package/build/translations/ti.js +0 -1
  260. package/build/translations/tk.js +0 -1
  261. package/build/translations/tr.js +0 -1
  262. package/build/translations/tt.js +0 -1
  263. package/build/translations/ug.js +0 -1
  264. package/build/translations/uk.js +0 -1
  265. package/build/translations/ur.js +0 -1
  266. package/build/translations/uz.js +0 -1
  267. package/build/translations/vi.js +0 -1
  268. package/build/translations/zh-cn.js +0 -1
  269. package/build/translations/zh.js +0 -1
  270. package/lang/contexts.json +0 -42
  271. package/lang/translations/af.po +0 -176
  272. package/lang/translations/ar.po +0 -184
  273. package/lang/translations/ast.po +0 -176
  274. package/lang/translations/az.po +0 -176
  275. package/lang/translations/be.po +0 -178
  276. package/lang/translations/bg.po +0 -176
  277. package/lang/translations/bn.po +0 -176
  278. package/lang/translations/bs.po +0 -178
  279. package/lang/translations/ca.po +0 -176
  280. package/lang/translations/cs.po +0 -178
  281. package/lang/translations/da.po +0 -176
  282. package/lang/translations/de-ch.po +0 -176
  283. package/lang/translations/de.po +0 -176
  284. package/lang/translations/el.po +0 -176
  285. package/lang/translations/en-au.po +0 -176
  286. package/lang/translations/en-gb.po +0 -176
  287. package/lang/translations/en.po +0 -176
  288. package/lang/translations/eo.po +0 -176
  289. package/lang/translations/es-co.po +0 -176
  290. package/lang/translations/es.po +0 -176
  291. package/lang/translations/et.po +0 -176
  292. package/lang/translations/eu.po +0 -176
  293. package/lang/translations/fa.po +0 -174
  294. package/lang/translations/fi.po +0 -176
  295. package/lang/translations/fr.po +0 -176
  296. package/lang/translations/gl.po +0 -176
  297. package/lang/translations/gu.po +0 -176
  298. package/lang/translations/he.po +0 -176
  299. package/lang/translations/hi.po +0 -176
  300. package/lang/translations/hr.po +0 -178
  301. package/lang/translations/hu.po +0 -176
  302. package/lang/translations/hy.po +0 -176
  303. package/lang/translations/id.po +0 -174
  304. package/lang/translations/it.po +0 -176
  305. package/lang/translations/ja.po +0 -174
  306. package/lang/translations/jv.po +0 -176
  307. package/lang/translations/kk.po +0 -176
  308. package/lang/translations/km.po +0 -174
  309. package/lang/translations/kn.po +0 -176
  310. package/lang/translations/ko.po +0 -174
  311. package/lang/translations/ku.po +0 -176
  312. package/lang/translations/lt.po +0 -178
  313. package/lang/translations/lv.po +0 -178
  314. package/lang/translations/ms.po +0 -174
  315. package/lang/translations/nb.po +0 -176
  316. package/lang/translations/ne.po +0 -176
  317. package/lang/translations/nl.po +0 -176
  318. package/lang/translations/no.po +0 -176
  319. package/lang/translations/oc.po +0 -176
  320. package/lang/translations/pl.po +0 -178
  321. package/lang/translations/pt-br.po +0 -176
  322. package/lang/translations/pt.po +0 -176
  323. package/lang/translations/ro.po +0 -178
  324. package/lang/translations/ru.po +0 -178
  325. package/lang/translations/si.po +0 -176
  326. package/lang/translations/sk.po +0 -178
  327. package/lang/translations/sl.po +0 -180
  328. package/lang/translations/sq.po +0 -176
  329. package/lang/translations/sr-latn.po +0 -178
  330. package/lang/translations/sr.po +0 -178
  331. package/lang/translations/sv.po +0 -176
  332. package/lang/translations/th.po +0 -174
  333. package/lang/translations/ti.po +0 -176
  334. package/lang/translations/tk.po +0 -176
  335. package/lang/translations/tr.po +0 -176
  336. package/lang/translations/tt.po +0 -174
  337. package/lang/translations/ug.po +0 -174
  338. package/lang/translations/uk.po +0 -178
  339. package/lang/translations/ur.po +0 -176
  340. package/lang/translations/uz.po +0 -176
  341. package/lang/translations/vi.po +0 -174
  342. package/lang/translations/zh-cn.po +0 -174
  343. package/lang/translations/zh.po +0 -174
  344. package/src/annotations/annotation.js +0 -24
  345. package/src/annotations/annotationcollection.js +0 -23
  346. package/src/annotations/annotations.js +0 -23
  347. package/src/annotations/annotationsuis.js +0 -23
  348. package/src/annotations/editorannotations.js +0 -23
  349. package/src/annotations/inlineannotations.js +0 -23
  350. package/src/annotations/narrowsidebar.js +0 -23
  351. package/src/annotations/sidebar.js +0 -23
  352. package/src/annotations/view/annotationcounterbuttonview.js +0 -23
  353. package/src/annotations/view/annotationview.js +0 -23
  354. package/src/annotations/view/sidebaritemview.js +0 -24
  355. package/src/annotations/view/sidebarview.js +0 -24
  356. package/src/annotations/widesidebar.js +0 -23
  357. package/src/augmentation.js +0 -23
  358. package/src/comments/addcommentthreadcommand.js +0 -23
  359. package/src/comments/commentsarchive.js +0 -23
  360. package/src/comments/commentsarchiveui.js +0 -23
  361. package/src/comments/commentsediting.js +0 -23
  362. package/src/comments/commentsrepository.js +0 -25
  363. package/src/comments/commentsui.js +0 -23
  364. package/src/comments/integrations/clipboard.js +0 -23
  365. package/src/comments/integrations/commentsrestrictededitingmode.js +0 -23
  366. package/src/comments/integrations/importword.js +0 -23
  367. package/src/comments/integrations/showcommenthighlights.js +0 -23
  368. package/src/comments/ui/commenteditor/commenteditor.js +0 -24
  369. package/src/comments/ui/commenteditor/commenteditorui.js +0 -23
  370. package/src/comments/ui/commenteditor/commenteditoruiview.js +0 -23
  371. package/src/comments/ui/commentthreadcontroller.js +0 -24
  372. package/src/comments/ui/view/basecommentthreadview.js +0 -23
  373. package/src/comments/ui/view/basecommentview.js +0 -23
  374. package/src/comments/ui/view/collapsedcommentsview.js +0 -23
  375. package/src/comments/ui/view/commentcontentview.js +0 -23
  376. package/src/comments/ui/view/commentinputview.js +0 -23
  377. package/src/comments/ui/view/commentsarchiveview.js +0 -23
  378. package/src/comments/ui/view/commentslistview.js +0 -23
  379. package/src/comments/ui/view/commentthreadheadercontextview.js +0 -23
  380. package/src/comments/ui/view/commentthreadheaderview.js +0 -23
  381. package/src/comments/ui/view/commentthreadinputview.js +0 -23
  382. package/src/comments/ui/view/commentthreadview.js +0 -24
  383. package/src/comments/ui/view/commentview.js +0 -24
  384. package/src/comments.js +0 -23
  385. package/src/commentsonly.js +0 -23
  386. package/src/config.js +0 -23
  387. package/src/index.js +0 -23
  388. package/src/utils/common-translations.js +0 -23
  389. package/src/utils/createmutationobserver.js +0 -23
  390. package/src/utils/splitmarkername.js +0 -23
  391. package/theme/annotation-inline.css +0 -50
  392. package/theme/annotation.css +0 -151
  393. package/theme/comment.css +0 -182
  394. package/theme/commentinput.css +0 -103
  395. package/theme/commentmarker.css +0 -45
  396. package/theme/commentsarchive.css +0 -49
  397. package/theme/commentthread.css +0 -256
  398. package/theme/sidebar-narrow.css +0 -91
  399. package/theme/sidebar.css +0 -72
  400. /package/{src → dist}/augmentation.d.ts +0 -0
  401. /package/{src → dist}/index.d.ts +0 -0
  402. /package/{src → dist}/utils/createmutationobserver.d.ts +0 -0
  403. /package/{src → dist}/utils/splitmarkername.d.ts +0 -0
package/dist/index.css CHANGED
@@ -2,1052 +2,788 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- /*
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-2026, CKSource Holding sp. z o.o. All rights reserved.
11
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
12
- */
13
-
14
- /*
15
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
16
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
17
- */
18
-
19
- /**
20
- * A helper to combine multiple shadows.
21
- */
22
-
23
- /**
24
- * Gives an element a drop shadow so it looks like a floating panel.
25
- */
26
-
27
5
  :root {
28
- --ck-color-comment-background: hsl(210, 52%, 97%);
29
- --ck-color-comment-separator: hsl(210, 52%, 87%);
30
- --ck-color-comment-remove-background: var(--ck-color-light-red);
31
- --ck-color-comment-input-background: var(--ck-color-comment-background);
32
- /* Because of default content styles that are inherited from `.ck-content` are affecting the comment font family
33
- (it's not inherited from `body`) we need to set the `font-family` manually; similar situation is with:
34
- `font-size` and `color` properties.
35
- See https://github.com/ckeditor/ckeditor5/issues/18710 */
36
- --ck-comment-content-font-family: var(--ck-font-face);
37
- --ck-comment-content-font-size: var(--ck-font-size-base);
38
- --ck-comment-content-font-color: var(--ck-color-base-text);
6
+ --ck-color-comment-background: #f3f7fb;
7
+ --ck-color-comment-separator: #cddeef;
8
+ --ck-color-comment-remove-background: var(--ck-color-light-red);
9
+ --ck-color-comment-input-background: var(--ck-color-comment-background);
10
+ --ck-comment-content-font-family: var(--ck-font-face);
11
+ --ck-comment-content-font-size: var(--ck-font-size-base);
12
+ --ck-comment-content-font-color: var(--ck-color-base-text);
39
13
  }
40
14
 
41
15
  .ck .ck-comment__wrapper {
42
- font-size: var(--ck-font-size-base);
43
- position: relative;
44
- outline: 0;
45
- transition: all 300ms linear;
16
+ font-size: var(--ck-font-size-base);
17
+ outline: 0;
18
+ transition: all .3s linear;
19
+ position: relative;
46
20
  }
47
21
 
48
22
  @media (prefers-reduced-motion: reduce) {
49
-
50
- .ck .ck-comment__wrapper {
51
- transition: none;
23
+ .ck .ck-comment__wrapper {
24
+ transition: none;
25
+ }
52
26
  }
53
- }
54
27
 
55
28
  .ck .ck-comment__wrapper:first-of-type {
56
- border-top-right-radius: var(--ck-border-radius);
57
- border-top-left-radius: var(--ck-border-radius);
58
- }
29
+ border-top-right-radius: var(--ck-border-radius);
30
+ border-top-left-radius: var(--ck-border-radius);
31
+ }
59
32
 
60
33
  .ck .ck-comment__wrapper:focus {
61
- background: var(--ck-color-button-default-hover-background);
62
- }
63
-
64
- .ck .ck-comment::after {
65
- content: '';
66
- display: block;
67
- position: absolute;
68
- opacity: 1;
69
- top: calc( var(--ck-user-avatar-size) + var(--ck-spacing-small) );
70
- left: calc(
71
- var(--ck-spacing-standard) + ( var(--ck-user-avatar-size) / 2 )
34
+ background: var(--ck-color-button-default-hover-background);
35
+ }
36
+
37
+ .ck .ck-comment:after {
38
+ content: "";
39
+ opacity: 1;
40
+ top: calc(var(--ck-user-avatar-size) + var(--ck-spacing-small));
41
+ left: calc(var(--ck-spacing-standard) + ( var(--ck-user-avatar-size) / 2 )
72
42
 
73
43
  /* Half width of line. */
74
- - 2px
75
- );
76
- width: 4px;
77
- height: 100%;
78
- background-color: var(--ck-color-comment-separator);
79
- }
44
+ - 2px);
45
+ background-color: var(--ck-color-comment-separator);
46
+ width: 4px;
47
+ height: 100%;
48
+ display: block;
49
+ position: absolute;
50
+ }
80
51
 
81
52
  .ck .ck-comment--edit {
82
- background-color: var(--ck-color-comment-input-background);
53
+ background-color: var(--ck-color-comment-input-background);
83
54
  }
84
55
 
85
- .ck .ck-comment--edit::after {
86
- opacity: 0;
87
- }
56
+ .ck .ck-comment--edit:after {
57
+ opacity: 0;
58
+ }
88
59
 
89
60
  .ck .ck-comment--edit .ck-comment__input-actions {
90
- margin-top: var(--ck-spacing-standard);
91
- }
61
+ margin-top: var(--ck-spacing-standard);
62
+ }
92
63
 
93
64
  .ck .ck-comment__content {
94
- word-break: normal;
95
- overflow-wrap: anywhere;
96
- font-family: var(--ck-comment-content-font-family);
97
- color: var(--ck-comment-content-font-color);
65
+ word-break: normal;
66
+ overflow-wrap: anywhere;
67
+ font-family: var(--ck-comment-content-font-family);
68
+ color: var(--ck-comment-content-font-color);
98
69
  }
99
70
 
100
71
  .ck .ck-comment--info .ck-comment__content {
101
- font-style: italic;
102
- /* Override the default content styles that are inherited from `.ck-content`.
103
- See https://github.com/ckeditor/ckeditor5/issues/18710 */
104
- font-family: var(--ck-comment-content-font-family);
105
- font-size: var(--ck-comment-content-font-size);
106
- color: var(--ck-comment-content-font-color);
107
- }
108
-
109
- /* Common styles for typography inside comment element and editable input.
110
- We are styling resetting list-style because of parent <ul> element. */
111
- .ck .ck-comment p, .ck .ck-comment__input p {
112
- margin: 0;
113
- }
114
- .ck .ck-comment ul,
115
- .ck .ck-comment__input ul,
116
- .ck .ck-comment ol,
117
- .ck .ck-comment__input ol {
118
- padding-left: 10px;
119
- margin-left: 10px;
120
- }
121
- .ck .ck-comment ul, .ck .ck-comment__input ul {
122
- list-style: disc;
123
- margin-bottom: 5px;
124
- margin-top: 0;
125
- }
126
- .ck .ck-comment ul ul, .ck .ck-comment__input ul ul {
127
- list-style: circle;
128
- }
129
- .ck .ck-comment ul ul ul, .ck .ck-comment__input ul ul ul {
130
- list-style: square;
131
- }
72
+ font-style: italic;
73
+ font-family: var(--ck-comment-content-font-family);
74
+ font-size: var(--ck-comment-content-font-size);
75
+ color: var(--ck-comment-content-font-color);
76
+ }
77
+
78
+ :is(.ck .ck-comment, .ck .ck-comment__input) p {
79
+ margin: 0;
80
+ }
81
+
82
+ :is(.ck .ck-comment, .ck .ck-comment__input) ul, :is(.ck .ck-comment, .ck .ck-comment__input) ol {
83
+ margin-left: 10px;
84
+ padding-left: 10px;
85
+ }
86
+
87
+ :is(.ck .ck-comment, .ck .ck-comment__input) ul {
88
+ margin-top: 0;
89
+ margin-bottom: 5px;
90
+ list-style: outside;
91
+ }
92
+
93
+ :is(.ck .ck-comment, .ck .ck-comment__input) ul ul {
94
+ list-style: circle;
95
+ }
96
+
97
+ :is(.ck .ck-comment, .ck .ck-comment__input) ul ul ul {
98
+ list-style: square;
99
+ }
132
100
 
133
101
  .ck .ck-comment__main .ck-comment__input-wrapper {
134
- display: flex;
135
- flex-direction: column;
136
- position: relative;
137
- transition: all 300ms linear;
138
- }
102
+ flex-direction: column;
103
+ transition: all .3s linear;
104
+ display: flex;
105
+ position: relative;
106
+ }
139
107
 
140
108
  .ck .ck-comment__main .ck-comment__input-wrapper .ck-comment__input {
141
- padding: 0;
142
- }
109
+ padding: 0;
110
+ }
143
111
 
144
112
  .ck .ck-comment__user {
145
- /* Display user above vertical line. */
146
- z-index: var(--ck-z-default);
113
+ z-index: var(--ck-z-default);
147
114
  }
148
115
 
149
- /* We need specificity 030 to beat styles in `commentinput.css`. */
150
116
  .ck-comment__input-actions .ck.ck-button.ck-comment__input-actions--submit {
151
- background: var(--ck-color-base-action);
152
- color: hsl(0, 0%, 100%);
117
+ background: var(--ck-color-base-action);
118
+ color: #fff;
153
119
  }
120
+
154
121
  .ck-comment__input-actions .ck.ck-button.ck-comment__input-actions--submit:hover {
155
- background: var(--ck-color-button-save);
156
- }
122
+ background: var(--ck-color-button-save);
123
+ }
157
124
 
158
125
  .ck-comment__input-actions .ck.ck-button.ck-comment__input-actions--cancel {
159
- color: var(--ck-color-text);
126
+ color: var(--ck-color-text);
160
127
  }
161
128
 
162
129
  .ck .ck-comment__external {
163
- font-style: italic;
164
- color: var(--ck-color-annotation-info);
165
- font-size: var(--ck-font-size-tiny);
166
- margin-top: var(--ck-spacing-standard);
130
+ color: var(--ck-color-annotation-info);
131
+ font-style: italic;
132
+ font-size: var(--ck-font-size-tiny);
133
+ margin-top: var(--ck-spacing-standard);
167
134
  }
168
135
 
169
136
  .ck .ck-comment .ck-dropdown .ck-dropdown__arrow {
170
- display: none;
171
- }
137
+ display: none;
138
+ }
172
139
 
173
140
  .ck .ck-comment .ck-dropdown .ck-list {
174
- margin: 0;
175
- padding: var(--ck-spacing-small) 0;
176
- }
141
+ padding: var(--ck-spacing-small) 0;
142
+ margin: 0;
143
+ }
177
144
 
178
145
  .ck .ck-comment .ck-dropdown .ck-list .ck-list__item {
179
- font-size: 1.2em;
180
- color: var(--ck-color-base-text);
181
- min-width: auto;
182
- }
146
+ color: var(--ck-color-base-text);
147
+ min-width: auto;
148
+ font-size: 1.2em;
149
+ }
183
150
 
184
151
  .ck .ck-comment .ck-dropdown .ck-list .ck-list__item .ck-button {
185
- color: var(--ck-color-text);
186
- }
187
-
188
- /*
189
- * What you're currently looking at is the source code of a legally protected, proprietary software.
190
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
191
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
192
- *
193
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
194
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
195
- */
196
-
197
- /*
198
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
199
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
200
- */
201
-
202
- /**
203
- * A visual style of focused element's border.
204
- */
205
- /*
206
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
207
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
208
- */
209
- /**
210
- * A helper to combine multiple shadows.
211
- */
212
- /**
213
- * Gives an element a drop shadow so it looks like a floating panel.
214
- */
215
- /*
216
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
217
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
218
- */
219
- /**
220
- * Implements rounded corner interface for .ck-rounded-corners class.
221
- *
222
- * @see $ck-border-radius
223
- */
152
+ color: var(--ck-color-text);
153
+ }
224
154
 
225
155
  :root {
226
- --ck-color-thread-remove-background: var(--ck-color-comment-remove-background);
227
- --ck-color-comment-count: hsl(210, 52%, 57%);
228
-
229
- --ck-color-thread-header-background: hsl(54, 88%, 93%);
230
- --ck-color-thread-header-active-background: hsl(52, 100%, 83%);
231
-
232
- --ck-color-unlinked-background: hsl(0, 0%, 96%);
233
- --ck-color-unlinked-active-background: hsl(0, 0%, 92%);
156
+ --ck-color-thread-remove-background: var(--ck-color-comment-remove-background);
157
+ --ck-color-comment-count: #5891ca;
158
+ --ck-color-thread-header-background: #fdfadd;
159
+ --ck-color-thread-header-active-background: #fff3a8;
160
+ --ck-color-unlinked-background: #f5f5f5;
161
+ --ck-color-unlinked-active-background: #ebebeb;
234
162
  }
235
163
 
236
164
  .ck .ck-thread {
237
- border-radius: 0;
238
-
239
- width: 100%;
240
- color: var(--ck-color-base-text);
241
- outline: 0;
242
- background-color: var(--ck-color-base-background);
243
- overflow: hidden;
244
-
245
- /*
246
- * Beware: Using "transition: all" breaks focus management (unable to obtain focus on show)
247
- * because the view is displayed in a dialog that gets toggled via "visibility" property.
248
- */
249
- transition-property: color, background-color, width, outline;
250
- transition-duration: 300ms;
251
- transition-timing-function: ease;
165
+ border-radius: var(--ck-rounded-corners-radius);
166
+ width: 100%;
167
+ color: var(--ck-color-base-text);
168
+ background-color: var(--ck-color-base-background);
169
+ outline: 0;
170
+ transition-property: color, background-color, width, outline;
171
+ transition-duration: .3s;
172
+ transition-timing-function: ease;
173
+ overflow: hidden;
252
174
  }
253
175
 
254
- .ck-rounded-corners .ck .ck-thread,
255
- .ck .ck-thread.ck-rounded-corners {
256
- border-radius: var(--ck-border-radius);
257
- }
258
-
259
176
  @media (prefers-reduced-motion: reduce) {
260
-
261
- .ck .ck-thread {
262
- transition: none;
177
+ .ck .ck-thread {
178
+ transition: none;
179
+ }
263
180
  }
264
- }
265
181
 
266
182
  .ck .ck-thread:focus {
267
- /*
268
- * We cannot use the ck-focus-ring mixin here because it adds a border that would need to stay transparent
269
- * in non-focused state and create an odd space inside the surrounding annotation container.
270
- */
271
- outline: var(--ck-focus-ring);
272
-
273
- /*
274
- * We cannot use the ck-box-shadow mixin because we're using outline instead of border (see the comment above).
275
- * And the shadow size has to be custom because outline is rendered on top of the shadow.
276
- */
277
- box-shadow: 0 0 0 4px var(--ck-color-focus-outer-shadow);
278
- }
279
-
280
- /*
281
- * In case of inline annotations, their focus styles get hoisted to the balloon panel to work around overflow that would
282
- * otherwise get them cropped..
283
- */
284
- .ck-balloon-panel:has( .ck-thread:focus ) {
285
- /* Disable native outline. */
286
- outline: none;
287
- border: var(--ck-focus-ring);
288
- box-shadow: var(--ck-drop-shadow), var(--ck-focus-outer-shadow);
183
+ outline: var(--ck-focus-ring);
184
+ box-shadow: 0 0 0 4px var(--ck-color-focus-outer-shadow);
185
+ }
186
+
187
+ .ck-balloon-panel:has(.ck-thread:focus) {
188
+ border: var(--ck-focus-ring);
189
+ box-shadow: var(--ck-drop-shadow), var(--ck-focus-outer-shadow), 0 0;
190
+ outline: none;
289
191
  }
290
192
 
291
193
  .ck .ck-thread__header {
292
- display: flex;
293
- justify-content: space-between;
294
- line-height: 1.57;
295
- padding: var(--ck-spacing-standard);
296
- background-color: var(--ck-color-thread-header-background);
297
- font-size: var(--ck-font-size-base);
194
+ padding: var(--ck-spacing-standard);
195
+ background-color: var(--ck-color-thread-header-background);
196
+ line-height: 1.57;
197
+ font-size: var(--ck-font-size-base);
198
+ justify-content: space-between;
199
+ display: flex;
298
200
  }
299
201
 
300
202
  .ck .ck-thread__header .ck-button {
301
- font-size: var(--ck-annotation-button-size);
302
- }
203
+ font-size: var(--ck-annotation-button-size);
204
+ }
303
205
 
304
206
  .ck .ck-thread__header .ck-context-wrapper {
305
- display: inline-flex;
306
- width: 100%;
307
- min-width: 0;
308
- height: 25px;
309
- position: relative;
310
- padding-right: var(--ck-spacing-large);
311
- }
207
+ width: 100%;
208
+ min-width: 0;
209
+ height: 25px;
210
+ padding-right: var(--ck-spacing-large);
211
+ display: inline-flex;
212
+ position: relative;
213
+ }
312
214
 
313
215
  .ck .ck-thread__header .ck-context {
314
- display: flex;
315
- white-space: nowrap;
316
- overflow: hidden;
317
- width: 100%;
318
- padding: var(--ck-spacing-small) var(--ck-spacing-medium);
319
- }
320
-
321
- .ck .ck-thread__header .ck-context.ck-context--quotes::after, .ck .ck-thread__header .ck-context.ck-context--quotes::before {
322
- display: inline-block;
323
- content: '"';
324
- }
216
+ white-space: nowrap;
217
+ width: 100%;
218
+ padding: var(--ck-spacing-small) var(--ck-spacing-medium);
219
+ display: flex;
220
+ overflow: hidden;
221
+ }
222
+
223
+ .ck .ck-thread__header .ck-context.ck-context--quotes:after, .ck .ck-thread__header .ck-context.ck-context--quotes:before {
224
+ content: "\"";
225
+ display: inline-block;
226
+ }
325
227
 
326
228
  .ck .ck-thread__header .ck-context .ck-context__type {
327
- font-weight: bold;
328
- padding-right: var(--ck-spacing-standard);
329
- }
229
+ padding-right: var(--ck-spacing-standard);
230
+ font-weight: bold;
231
+ }
330
232
 
331
233
  .ck .ck-thread__header .ck-context .ck-context__value {
332
- overflow: hidden;
333
- text-overflow: ellipsis;
334
- border: 1px solid transparent;
335
- }
234
+ text-overflow: ellipsis;
235
+ border: 1px solid #0000;
236
+ overflow: hidden;
237
+ }
336
238
 
337
239
  .ck .ck-thread__header .ck-context .ck-context__value:focus {
338
- /* Disable native outline. */
339
- outline: none;
340
- border: var(--ck-focus-ring);
341
- box-shadow: var(--ck-focus-outer-shadow), 0 0;
342
- }
240
+ border: var(--ck-focus-ring);
241
+ box-shadow: var(--ck-focus-outer-shadow), 0 0;
242
+ outline: none;
243
+ }
343
244
 
344
245
  .ck .ck-thread__header .ck-context.overlay {
345
- display: inline-block;
346
- position: absolute;
347
- top: 0;
348
- z-index: 2;
349
-
350
- background: var(--ck-color-base-background);
351
- box-shadow: 0 2px 3px hsla(0, 0%, 100%, 0.2);
352
- border-radius: 2px;
353
- white-space: normal;
354
- box-sizing: border-box;
355
- }
246
+ z-index: 2;
247
+ background: var(--ck-color-base-background);
248
+ white-space: normal;
249
+ box-sizing: border-box;
250
+ border-radius: 2px;
251
+ display: inline-block;
252
+ position: absolute;
253
+ top: 0;
254
+ box-shadow: 0 2px 3px #fff3;
255
+ }
356
256
 
357
257
  .ck .ck-thread__comment-count {
358
- /* Make avatar size in the comment smaller than in presence list. */
359
- --ck-user-avatar-size: 28px;
360
-
361
- padding-left: calc( var(--ck-user-avatar-size) + var(--ck-spacing-standard) * 2 );
362
-
363
- color: var(--ck-color-comment-count);
364
- font-size: var(--ck-font-size-base);
365
- font-weight: bold;
366
- cursor: pointer;
367
-
368
- /* Keep similar transition like `ck-annotation`. */
369
- transition: background-color 300ms ease;
258
+ --ck-user-avatar-size: 28px;
259
+ padding-left: calc(var(--ck-user-avatar-size) + var(--ck-spacing-standard) * 2);
260
+ color: var(--ck-color-comment-count);
261
+ font-size: var(--ck-font-size-base);
262
+ cursor: pointer;
263
+ font-weight: bold;
264
+ transition: background-color .3s;
370
265
  }
371
266
 
372
- .ck .ck-thread__comment-count::before {
373
- content: '\25BC';
374
- margin-right: var(--ck-spacing-small);
375
- }
267
+ .ck .ck-thread__comment-count:before {
268
+ content: "▼";
269
+ margin-right: var(--ck-spacing-small);
270
+ }
376
271
 
377
272
  .ck .ck-thread--remove .ck-comment {
378
- background-color: var(--ck-color-comment-remove-background);
379
- }
273
+ background-color: var(--ck-color-comment-remove-background);
274
+ }
380
275
 
381
276
  .ck .ck-thread--remove .ck-thread__input--active {
382
- background-color: var(--ck-color-base-background);
383
- }
277
+ background-color: var(--ck-color-base-background);
278
+ }
384
279
 
385
280
  .ck .ck-thread--remove .ck-thread__input--active.ck-thread__input {
386
- background-color: var(--ck-color-comment-remove-background);
387
- }
281
+ background-color: var(--ck-color-comment-remove-background);
282
+ }
388
283
 
389
284
  .ck .ck-thread--remove .ck-thread__comment-count {
390
- background-color: var(--ck-color-comment-remove-background);
391
- }
392
-
393
- /* Handle visibility of vertical line below avatars. */
285
+ background-color: var(--ck-color-comment-remove-background);
286
+ }
394
287
 
395
- .ck .ck-thread--remove .ck-comment__wrapper .ck-comment::after {
396
- opacity: 0;
397
- }
288
+ .ck .ck-thread--remove .ck-comment__wrapper .ck-comment:after {
289
+ opacity: 0;
290
+ }
398
291
 
399
- /* Handle visibility of vertical line below avatars. */
400
- .ck .ck-thread__comments .ck-comment__wrapper:last-of-type .ck-comment::after {
401
- opacity: 0;
402
- }
292
+ .ck .ck-thread__comments .ck-comment__wrapper:last-of-type .ck-comment:after {
293
+ opacity: 0;
294
+ }
403
295
 
404
296
  .ck .ck-thread__container {
405
- transition: transform 300ms ease;
297
+ transition: transform .3s;
406
298
  }
407
299
 
408
300
  @media (prefers-reduced-motion: reduce) {
409
-
410
- .ck .ck-thread__container {
411
- transition: none;
301
+ .ck .ck-thread__container {
302
+ transition: none;
303
+ }
412
304
  }
413
- }
414
305
 
415
306
  .ck .ck-thread__comments {
416
- position: relative;
417
- z-index: var(--ck-z-default);
418
- list-style: none;
419
- margin: 0;
420
- padding: 0;
421
- border-radius: var(--ck-border-radius);
307
+ z-index: var(--ck-z-default);
308
+ border-radius: var(--ck-border-radius);
309
+ margin: 0;
310
+ padding: 0;
311
+ list-style: none;
312
+ position: relative;
422
313
  }
423
314
 
424
315
  .ck .ck-thread__user {
425
- font-size: 0.85em;
316
+ font-size: .85em;
426
317
  }
427
318
 
428
319
  .ck .ck-thread__input {
429
- /* #1829. Firefox is wrongly rendering flex container width 100% with overflowed (non-spaced) text. */
430
- width: calc( 100% - var(--ck-user-avatar-size) );
431
- white-space: normal;
432
-
433
- transition: background-color 200ms ease-in-out;
434
- border-radius: var(--ck-border-radius);
435
-
436
- /*
437
- This is equal to the height of the wrapper when the editor instance is loaded.
438
- Editor instance is loaded _after_ the comment view is created,
439
- so the min-height is set to avoid jitter.
440
- */
441
- min-height: 38px;
320
+ width: calc(100% - var(--ck-user-avatar-size));
321
+ white-space: normal;
322
+ border-radius: var(--ck-border-radius);
323
+ min-height: 38px;
324
+ transition: background-color .2s ease-in-out;
442
325
  }
443
326
 
444
327
  .ck .ck-thread--active .ck-comment__options.ck-dropdown {
445
- display: block;
446
- }
328
+ display: block;
329
+ }
447
330
 
448
331
  .ck .ck-thread--active .ck-thread__input {
449
- display: block;
450
- background-color: var(--ck-color-comment-background);
451
- }
332
+ background-color: var(--ck-color-comment-background);
333
+ display: block;
334
+ }
452
335
 
453
336
  .ck .ck-thread--active .ck-thread__header {
454
- background-color: var(--ck-color-thread-header-active-background);
455
- }
337
+ background-color: var(--ck-color-thread-header-active-background);
338
+ }
456
339
 
457
340
  .ck .ck-thread--unlinked {
458
- --ck-color-comment-box-border: var(--ck-color-base-border);
459
-
460
- --ck-color-thread-header-background: var(--ck-color-unlinked-background);
461
- --ck-color-thread-header-active-background: var(--ck-color-unlinked-active-background);
341
+ --ck-color-comment-box-border: var(--ck-color-base-border);
342
+ --ck-color-thread-header-background: var(--ck-color-unlinked-background);
343
+ --ck-color-thread-header-active-background: var(--ck-color-unlinked-active-background);
462
344
  }
463
345
 
464
- /* We need specificity 020 to beat .ck.ck-button. */
465
346
  .ck.ck-button.ck-confirm-view-submit {
466
- color: var(--ck-color-button-save);
347
+ color: var(--ck-color-button-save);
467
348
  }
468
349
 
469
350
  .ck.ck-button.ck-confirm-view-cancel {
470
- color: var(--ck-color-button-cancel);
351
+ color: var(--ck-color-button-cancel);
471
352
  }
472
353
 
473
- /*
474
- * What you're currently looking at is the source code of a legally protected, proprietary software.
475
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
476
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
477
- *
478
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
479
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
480
- */
481
-
482
354
  .ck .ck-comment__input-container {
483
- /* Make avatar size in the comment smaller than in presence list. */
484
- --ck-user-avatar-size: 28px;
485
-
486
- font-size: var(--ck-font-size-base);
487
-
488
- display: none;
489
- padding: var(--ck-spacing-standard);
490
- background: var(--ck-color-comment-background);
355
+ --ck-user-avatar-size: 28px;
356
+ font-size: var(--ck-font-size-base);
357
+ padding: var(--ck-spacing-standard);
358
+ background: var(--ck-color-comment-background);
359
+ display: none;
491
360
  }
492
361
 
493
362
  .ck .ck-comment__input-container--active {
494
- display: flex;
363
+ display: flex;
495
364
  }
496
365
 
497
366
  .ck .ck-comment__input {
498
- padding: var(--ck-spacing-standard);
499
-
500
- /* To keep vertical align with avatar. */
501
- padding-top: var(--ck-spacing-medium);
502
-
503
- color: var(--ck-color-base-text);
504
- border-width: 0;
505
- resize: none;
506
- background-color: transparent;
507
- transition: color 300ms ease-in-out;
367
+ padding: var(--ck-spacing-standard);
368
+ padding-top: var(--ck-spacing-medium);
369
+ color: var(--ck-color-base-text);
370
+ resize: none;
371
+ background-color: #0000;
372
+ border-width: 0;
373
+ transition: color .3s ease-in-out;
508
374
  }
509
375
 
510
376
  @media (prefers-reduced-motion: reduce) {
511
-
512
- .ck .ck-comment__input {
513
- transition: none;
377
+ .ck .ck-comment__input {
378
+ transition: none;
379
+ }
514
380
  }
515
- }
516
381
 
517
382
  .ck .ck-comment__input:focus {
518
- outline: none;
519
- }
383
+ outline: none;
384
+ }
520
385
 
521
386
  .ck .ck-comment__input .ck-editor__editable_inline {
522
- /* Disable default outline and border in editable input. */
523
- --ck-focus-ring: none;
524
- --ck-inner-shadow: none;
525
-
526
- /* Override the default content styles that are inherited from `.ck-content`.
527
- See https://github.com/ckeditor/ckeditor5/issues/18710 */
528
- font-family: var(--ck-comment-content-font-family);
529
- font-size: var(--ck-comment-content-font-size);
530
- color: var(--ck-comment-content-font-color);
531
-
532
- padding: 0;
533
- overflow: visible;
534
- border: 0;
535
- background-color: transparent;
536
- word-break: normal;
537
- overflow-wrap: anywhere;
538
- }
387
+ --ck-focus-ring: none;
388
+ --ck-inner-shadow: none;
389
+ font-family: var(--ck-comment-content-font-family);
390
+ font-size: var(--ck-comment-content-font-size);
391
+ color: var(--ck-comment-content-font-color);
392
+ word-break: normal;
393
+ overflow-wrap: anywhere;
394
+ background-color: #0000;
395
+ border: 0;
396
+ padding: 0;
397
+ overflow: visible;
398
+ }
539
399
 
540
- /* Overwrite default CKEditor 5 margin of editable children.
541
- See: ckeditor5-theme-lark/theme/ckeditor5-ui/components/editorui/editorui.css. */
542
- .ck-comment__input-wrapper .ck.ck-editor__editable_inline *:first-child {
543
- margin-top: 0;
400
+ .ck-comment__input-wrapper .ck.ck-editor__editable_inline :first-child {
401
+ margin-top: 0;
544
402
  }
545
- .ck-comment__input-wrapper .ck.ck-editor__editable_inline *:last-child {
546
- margin-bottom: 0;
403
+
404
+ .ck-comment__input-wrapper .ck.ck-editor__editable_inline :last-child {
405
+ margin-bottom: 0;
547
406
  }
548
407
 
549
408
  .ck .ck-comment__input-actions {
550
- width: 100%;
551
- text-align: right;
552
- display: none;
409
+ text-align: right;
410
+ width: 100%;
411
+ display: none;
553
412
  }
554
413
 
555
414
  .ck .ck-comment__input-actions.ck-comment__input-actions--active {
556
- display: block;
557
- }
415
+ display: block;
416
+ }
558
417
 
559
418
  .ck .ck-comment__input-actions .ck.ck-button {
560
- /* Overwrite CK5 button default styles. */
561
- display: inline-flex;
562
- justify-content: center;
563
- align-items: center;
564
- cursor: pointer;
565
- min-height: var(--ck-ui-component-min-height);
566
- min-width: 60px;
567
- font-size: var(--ck-annotation-button-size);
568
- margin-left: var(--ck-spacing-large);
569
- padding: 0 var(--ck-spacing-medium);
570
- }
419
+ cursor: pointer;
420
+ min-height: var(--ck-ui-component-min-height);
421
+ min-width: 60px;
422
+ font-size: var(--ck-annotation-button-size);
423
+ margin-left: var(--ck-spacing-large);
424
+ padding: 0 var(--ck-spacing-medium);
425
+ justify-content: center;
426
+ align-items: center;
427
+ display: inline-flex;
428
+ }
571
429
 
572
430
  .ck .ck-comment__input-actions .ck-button.ck-disabled {
573
- opacity: .3;
574
- }
431
+ opacity: .3;
432
+ }
575
433
 
576
434
  .ck .ck-comment__input-textarea {
577
- display: block;
435
+ display: block;
578
436
  }
579
437
 
580
- /*
581
- * What you're currently looking at is the source code of a legally protected, proprietary software.
582
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
583
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
584
- *
585
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
586
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
587
- */
588
-
589
- /* Common styles for inline comment and inline suggestion. */
590
-
591
438
  :root {
592
- --ck-inline-annotation-container-width: 300px;
593
- --ck-inline-annotation-container-max-height: 400px;
439
+ --ck-inline-annotation-container-width: 300px;
440
+ --ck-inline-annotation-container-max-height: 400px;
594
441
  }
595
442
 
596
443
  .ck.ck-balloon-panel .ck-annotation-wrapper {
597
- /* Override default `position: absolute`. */
598
- position: static;
599
-
600
- width: var(--ck-inline-annotation-container-width);
601
- max-height: var(--ck-inline-annotation-container-max-height);
602
-
603
- overflow-y: auto;
604
-
605
- /* Get rid of scroll chaining. */
606
- overscroll-behavior-y: contain;
607
-
608
- /* We need to hide overflow in x-axis to prevent container stretching because of buttons tooltip. */
609
- overflow-x: hidden;
444
+ width: var(--ck-inline-annotation-container-width);
445
+ max-height: var(--ck-inline-annotation-container-max-height);
446
+ overscroll-behavior-y: contain;
447
+ position: static;
448
+ overflow: hidden auto;
610
449
  }
611
450
 
612
451
  .ck.ck-balloon-panel .ck-annotation {
613
- /* We don't need fadeInLeft animation for inline annotations. */
614
- animation: none;
452
+ animation: none;
615
453
  }
616
454
 
617
455
  .ck.ck-balloon-panel .ck-annotation-wrapper * {
618
- /* Default `.ck.ck-reset_all *` has `white-space: nowrap` and display content in one line. */
619
- white-space: normal;
456
+ white-space: normal;
620
457
  }
621
458
 
622
- /* Because `.ck.ck-reset_all *` is overriding default font property. */
623
459
  .ck.ck-balloon-panel .ck-annotation-wrapper strong {
624
- font-weight: bold;
460
+ font-weight: bold;
625
461
  }
626
462
 
627
463
  .ck.ck-balloon-panel .ck-annotation-wrapper i {
628
- font-style: italic;
464
+ font-style: italic;
629
465
  }
630
466
 
631
- /*
632
- * What you're currently looking at is the source code of a legally protected, proprietary software.
633
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
634
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
635
- *
636
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
637
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
638
- */
639
-
640
467
  :root {
641
- --ck-annotation-counter-icon-size: 16px;
642
- --ck-annotation-counter-number-size: 10px;
643
- --ck-color-annotation-counter-comment: hsl(55, 98%, 48%);
644
- --ck-color-annotation-counter-suggestion-insertion: hsl(128, 62%, 60%);
645
- --ck-color-annotation-counter-suggestion-deletion: hsl(345, 62%, 60%);
646
- --ck-color-annotation-counter-suggestion-format: hsl(191, 62%, 60%);
468
+ --ck-annotation-counter-icon-size: 16px;
469
+ --ck-annotation-counter-number-size: 10px;
470
+ --ck-color-annotation-counter-comment: #f2de02;
471
+ --ck-color-annotation-counter-suggestion-insertion: #5ad86b;
472
+ --ck-color-annotation-counter-suggestion-deletion: #d85a79;
473
+ --ck-color-annotation-counter-suggestion-format: #5ac1d8;
647
474
  }
648
475
 
649
- /* Center a annotation counter icon no matter of parent container width. */
650
476
  .ck.ck-sidebar--narrow .ck-sidebar-item {
651
- display: flex;
652
- justify-content: center;
477
+ justify-content: center;
478
+ display: flex;
653
479
  }
654
480
 
655
481
  .ck.ck-sidebar--narrow .ck-annotation-counter {
656
- /* Let's reduce icon size a bit. */
657
- font-size: var(--ck-annotation-counter-icon-size);
658
-
659
- /* Reduce default `.ck-button` min-height which is 2.3em, bigger than current icon. */
660
- min-height: unset;
661
- padding: 0;
662
-
663
- cursor: pointer;
664
- color: hsl(0, 0%, 50%);
482
+ font-size: var(--ck-annotation-counter-icon-size);
483
+ min-height: unset;
484
+ cursor: pointer;
485
+ color: gray;
486
+ padding: 0;
665
487
  }
666
488
 
667
- .ck.ck-sidebar--narrow .ck-annotation-counter:hover,
668
- .ck.ck-sidebar--narrow .ck-annotation-counter:focus {
669
- background: transparent;
670
- box-shadow: none;
671
- color: hsl(0, 0%, 30%);
489
+ .ck.ck-sidebar--narrow .ck-annotation-counter:hover, .ck.ck-sidebar--narrow .ck-annotation-counter:focus {
490
+ box-shadow: none;
491
+ color: #4d4d4d;
492
+ background: none;
672
493
  }
673
494
 
674
495
  .ck.ck-sidebar--narrow .ck-annotation-counter__badge {
675
- border-radius: 50%;
676
- position: absolute;
677
- width: 16px;
678
- height: 16px;
679
- background: hsl(0, 0%, 20%);
680
- font-weight: bold;
681
- color: hsl(0, 0%, 100%);
682
- font-size: var(--ck-annotation-counter-number-size);
683
- font-family: var(--ck-font-face);
684
- right: 0;
685
- top: -6px;
686
-
687
- /* Improve visibility of counter number. */
688
- text-shadow: -1px 0 2px hsl(0, 0%, 27%), 1px 0 2px hsl(0, 0%, 27%);
689
-
690
- /* Display number perfectly center of circle. */
691
- display: flex;
692
- justify-content: center;
693
-
694
- /* We can't use here `align-items: center` because we need to edit `line-height` for edit mode case. */
695
- line-height: 16px;
696
-
697
- /* To display above comment icon. */
698
- z-index: 1;
496
+ color: #fff;
497
+ width: 16px;
498
+ height: 16px;
499
+ font-weight: bold;
500
+ font-size: var(--ck-annotation-counter-number-size);
501
+ font-family: var(--ck-font-face);
502
+ text-shadow: -1px 0 2px #454545, 1px 0 2px #454545;
503
+ z-index: 1;
504
+ background: #333;
505
+ border-radius: 50%;
506
+ justify-content: center;
507
+ line-height: 16px;
508
+ display: flex;
509
+ position: absolute;
510
+ top: -6px;
511
+ right: 0;
699
512
  }
700
513
 
701
- /* When annotation is in edit mode, center `...` differently. */
702
514
  .ck.ck-sidebar--narrow .ck-annotation-counter__badge--edit-mode {
703
- line-height: 1;
515
+ line-height: 1;
704
516
  }
705
517
 
706
- .ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-insertion,
707
- .ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-replace {
708
- background: var(--ck-color-annotation-counter-suggestion-insertion);
518
+ .ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-insertion, .ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-replace {
519
+ background: var(--ck-color-annotation-counter-suggestion-insertion);
709
520
  }
710
521
 
711
522
  .ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-deletion {
712
- background: var(--ck-color-annotation-counter-suggestion-deletion);
523
+ background: var(--ck-color-annotation-counter-suggestion-deletion);
713
524
  }
714
525
 
715
526
  .ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-format {
716
- background: var(--ck-color-annotation-counter-suggestion-format);
527
+ background: var(--ck-color-annotation-counter-suggestion-format);
717
528
  }
718
529
 
719
530
  .ck.ck-sidebar--narrow .ck-annotation-counter__badge--comment {
720
- background: var(--ck-color-annotation-counter-comment);
531
+ background: var(--ck-color-annotation-counter-comment);
721
532
  }
722
533
 
723
- /*
724
- * What you're currently looking at is the source code of a legally protected, proprietary software.
725
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
726
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
727
- *
728
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
729
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
730
- */
731
-
732
- /* Common styles for single comment and single suggestion. */
733
534
  :root {
734
- --ck-color-annotation-icon: hsl(0, 0%, 50%);
735
- --ck-color-annotation-info: hsl(0, 0%, 46%);
736
-
737
- --ck-annotation-button-size: 0.85em;
535
+ --ck-color-annotation-icon: gray;
536
+ --ck-color-annotation-info: #757575;
537
+ --ck-annotation-button-size: .85em;
738
538
  }
739
539
 
740
540
  .ck .ck-annotation {
741
- /* Make avatar size in the comment smaller than in presence list. */
742
- --ck-user-avatar-size: 28px;
743
-
744
- font-size: var(--ck-font-size-base);
745
-
746
- display: flex;
747
- position: relative;
748
- animation: fadeInLeft 300ms;
749
- transition: background-color 300ms ease;
750
- padding: var(--ck-spacing-standard);
751
- white-space: normal;
541
+ --ck-user-avatar-size: 28px;
542
+ font-size: var(--ck-font-size-base);
543
+ padding: var(--ck-spacing-standard);
544
+ white-space: normal;
545
+ transition: background-color .3s;
546
+ animation: .3s annotationFadeInLeft;
547
+ display: flex;
548
+ position: relative;
752
549
  }
753
550
 
754
551
  @media (prefers-reduced-motion: reduce) {
755
-
756
- .ck .ck-annotation {
757
- animation: none;
758
- transition: none;
552
+ .ck .ck-annotation {
553
+ transition: none;
554
+ animation: none;
555
+ }
759
556
  }
760
- }
761
557
 
762
558
  .ck .ck-annotation .ck-button {
763
- /* Overwrite CK5 button default styles. */
764
- background-color: transparent;
765
- min-width: unset;
766
- min-height: unset;
767
- cursor: pointer;
768
- color: var(--ck-color-annotation-icon);
769
- border-radius: var(--ck-border-radius);
770
- font-size: var(--ck-annotation-button-size);
771
- }
559
+ min-width: unset;
560
+ min-height: unset;
561
+ cursor: pointer;
562
+ color: var(--ck-color-annotation-icon);
563
+ border-radius: var(--ck-border-radius);
564
+ font-size: var(--ck-annotation-button-size);
565
+ background-color: #0000;
566
+ }
772
567
 
773
568
  .ck .ck-annotation .ck-user {
774
- font-size: 0.85em;
775
- }
569
+ font-size: .85em;
570
+ }
776
571
 
777
572
  .ck .ck-annotation__main {
778
- display: grid;
779
- grid-template-areas:
780
- "info actions"
781
- "content content";
782
- grid-template-columns: minmax(0, 1fr) auto;
783
-
784
- /* #1829. Firefox is wrongly rendering flex container width 100% with overflowed (non-spaced) text. */
785
- width: calc( 100% - var(--ck-user-avatar-size) );
786
-
787
- transition: all 200ms ease;
788
- border-radius: var(--ck-border-radius);
789
- padding-left: var(--ck-spacing-standard);
573
+ width: calc(100% - var(--ck-user-avatar-size));
574
+ border-radius: var(--ck-border-radius);
575
+ padding-left: var(--ck-spacing-standard);
576
+ grid-template-columns: minmax(0, 1fr) auto;
577
+ grid-template-areas: "info actions"
578
+ "content content";
579
+ transition: all .2s;
580
+ display: grid;
790
581
  }
791
582
 
792
583
  @media (prefers-reduced-motion: reduce) {
793
-
794
- .ck .ck-annotation__main {
795
- transition: none;
584
+ .ck .ck-annotation__main {
585
+ transition: none;
586
+ }
796
587
  }
797
- }
798
588
 
799
589
  .ck .ck-annotation__main p {
800
- margin: 0;
801
-
802
- /* We need it to prevent `.ck.ck-reset` override. */
803
- white-space: normal;
804
- font-size: var(--ck-comment-content-font-size);
805
-
806
- /* TODO: refactor this value later. */
807
- line-height: 1.5em;
590
+ white-space: normal;
591
+ font-size: var(--ck-comment-content-font-size);
592
+ margin: 0;
593
+ line-height: 1.5em;
808
594
  }
809
595
 
810
596
  .ck .ck-annotation__user {
811
- margin-top: var(--ck-spacing-small);
597
+ margin-top: var(--ck-spacing-small);
812
598
  }
813
599
 
814
600
  .ck .ck-annotation__info {
815
- grid-area: info;
816
-
817
- display: flex;
818
- align-items: center;
819
- color: var(--ck-color-annotation-info);
820
-
821
- /* #156. Edit & remove icon are higher than plain text with the same font-size, so we need to take care if icons are hidden. */
822
- min-height: 2.4em;
601
+ color: var(--ck-color-annotation-info);
602
+ grid-area: info;
603
+ align-items: center;
604
+ min-height: 2.4em;
605
+ display: flex;
823
606
  }
824
607
 
825
- .ck .ck-annotation__info-name,
826
- .ck .ck-annotation__info-time {
827
- font-weight: bold;
828
- white-space: nowrap;
829
- overflow: hidden;
830
-
831
- /* We need it to prevent `.ck.ck-reset` ovverride. */
832
- color: var(--ck-color-annotation-info);
833
- font-size: var(--ck-font-size-small);
608
+ .ck .ck-annotation__info-name, .ck .ck-annotation__info-time {
609
+ white-space: nowrap;
610
+ color: var(--ck-color-annotation-info);
611
+ font-weight: bold;
612
+ font-size: var(--ck-font-size-small);
613
+ overflow: hidden;
834
614
  }
835
615
 
836
616
  .ck .ck-annotation__info-name {
837
- text-overflow: ellipsis;
617
+ text-overflow: ellipsis;
838
618
  }
839
619
 
840
620
  .ck .ck-annotation__info-time {
841
- flex: 0 0 auto;
842
-
843
- margin: 0 var(--ck-spacing-large);
621
+ margin: 0 var(--ck-spacing-large);
622
+ flex: none;
844
623
  }
845
624
 
846
- .ck.ck-balloon-panel .ck-annotation-wrapper .ck-annotation__info-name,
847
- .ck.ck-balloon-panel .ck-annotation-wrapper .ck-annotation__info-time {
848
- white-space: nowrap;
625
+ .ck.ck-balloon-panel .ck-annotation-wrapper .ck-annotation__info-name, .ck.ck-balloon-panel .ck-annotation-wrapper .ck-annotation__info-time {
626
+ white-space: nowrap;
849
627
  }
850
628
 
851
629
  .ck .ck-annotation__actions {
852
- grid-area: actions;
853
-
854
- transition: opacity 200ms ease;
855
- opacity: 0.5;
630
+ opacity: .5;
631
+ grid-area: actions;
632
+ transition: opacity .2s;
856
633
  }
857
634
 
858
635
  @media (prefers-reduced-motion: reduce) {
859
-
860
- .ck .ck-annotation__actions {
861
- transition: none;
636
+ .ck .ck-annotation__actions {
637
+ transition: none;
638
+ }
862
639
  }
863
- }
864
640
 
865
- /* Because of display flex, we need to strech out annotation content to 100%. */
866
641
  .ck .ck-annotation__content-wrapper {
867
- grid-area: content;
868
-
869
- width: 100%;
642
+ grid-area: content;
643
+ width: 100%;
870
644
  }
871
645
 
872
- @keyframes fadeInLeft {
873
- from {
874
- transform: translate3d( -5%, 0, 0 );
875
- opacity: 0;
876
- }
646
+ @keyframes annotationFadeInLeft {
647
+ from {
648
+ opacity: 0;
649
+ transform: translate3d(-5%, 0, 0);
650
+ }
877
651
 
878
- to {
879
- transform: translate3d( 0, 0, 0 );
880
- opacity: 1;
881
- }
652
+ to {
653
+ opacity: 1;
654
+ transform: translate3d(0, 0, 0);
655
+ }
882
656
  }
883
657
 
884
- /*
885
- * What you're currently looking at is the source code of a legally protected, proprietary software.
886
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
887
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
888
- *
889
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
890
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
891
- */
892
-
893
658
  :root {
894
- --ck-color-annotation-wrapper-background: hsl(0, 0%, 100%);
895
- --ck-color-annotation-wrapper-drop-shadow: 0 1px 1px 1px hsl(0, 0%, 90%);
659
+ --ck-color-annotation-wrapper-background: #fff;
660
+ --ck-color-annotation-wrapper-drop-shadow: 0 1px 1px 1px #e6e6e6;
896
661
  }
897
662
 
898
663
  .ck.ck-sidebar {
899
- position: relative;
900
- transition: min-height 250ms ease;
901
- outline: 0;
664
+ outline: 0;
665
+ transition: min-height .25s;
666
+ position: relative;
902
667
  }
903
668
 
904
669
  @media (prefers-reduced-motion: reduce) {
905
-
906
- .ck.ck-sidebar {
907
- transition: none;
670
+ .ck.ck-sidebar {
671
+ transition: none;
672
+ }
908
673
  }
909
- }
910
674
 
911
675
  .ck-sidebar-item {
912
- position: absolute;
913
- width: 100%;
914
- transition: top 300ms ease, box-shadow 300ms ease;
676
+ width: 100%;
677
+ transition: top .3s, box-shadow .3s;
678
+ position: absolute;
915
679
  }
916
680
 
917
681
  @media (prefers-reduced-motion: reduce) {
918
-
919
- .ck-sidebar-item {
920
- transition: none;
682
+ .ck-sidebar-item {
683
+ transition: none;
684
+ }
921
685
  }
922
- }
923
686
 
924
687
  .ck-sidebar-item--no-animation {
925
- transition: top 0s ease !important;
688
+ transition: top !important;
926
689
  }
927
690
 
928
691
  .ck.ck-annotation-wrapper {
929
- outline: 0;
930
- border-radius: var(--ck-border-radius);
931
- background: var(--ck-color-annotation-wrapper-background);
932
- box-shadow: var(--ck-color-annotation-wrapper-drop-shadow);
692
+ border-radius: var(--ck-border-radius);
693
+ background: var(--ck-color-annotation-wrapper-background);
694
+ box-shadow: var(--ck-color-annotation-wrapper-drop-shadow);
695
+ outline: 0;
933
696
  }
934
697
 
935
- .ck.ck-annotation-wrapper--active .ck-annotation__actions, .ck.ck-annotation-wrapper:hover .ck-annotation__actions {
936
- opacity: 1;
937
- }
698
+ :is(.ck.ck-annotation-wrapper--active, .ck.ck-annotation-wrapper:hover) .ck-annotation__actions {
699
+ opacity: 1;
700
+ }
938
701
 
939
- .ck.ck-annotation-wrapper--active .ck-annotation__actions .ck-comment--resolve, .ck.ck-annotation-wrapper:hover .ck-annotation__actions .ck-comment--resolve {
940
- color: var(--ck-color-button-save);
941
- }
702
+ :is(.ck.ck-annotation-wrapper--active, .ck.ck-annotation-wrapper:hover) .ck-annotation__actions .ck-comment--resolve {
703
+ color: var(--ck-color-button-save);
704
+ }
942
705
 
943
- .ck.ck-annotation-wrapper--active .ck-suggestion--accept, .ck.ck-annotation-wrapper:hover .ck-suggestion--accept {
944
- color: var(--ck-color-button-save)
945
- }
706
+ :is(.ck.ck-annotation-wrapper--active, .ck.ck-annotation-wrapper:hover) .ck-suggestion--accept {
707
+ color: var(--ck-color-button-save);
708
+ }
946
709
 
947
- .ck.ck-annotation-wrapper--active .ck-suggestion--discard, .ck.ck-annotation-wrapper:hover .ck-suggestion--discard {
948
- color: var(--ck-color-button-cancel)
949
- }
710
+ :is(.ck.ck-annotation-wrapper--active, .ck.ck-annotation-wrapper:hover) .ck-suggestion--discard {
711
+ color: var(--ck-color-button-cancel);
712
+ }
950
713
 
951
- /* Handle case where annotation is inactive and users hover them. */
952
714
  .ck.ck-annotation-wrapper:not(.ck-annotation-wrapper--active):hover {
953
- box-shadow: var(--ck-drop-shadow);
715
+ box-shadow: var(--ck-drop-shadow);
954
716
  }
955
717
 
956
718
  .ck.ck-annotation-wrapper--active {
957
- box-shadow: var(--ck-drop-shadow-active);
719
+ box-shadow: var(--ck-drop-shadow-active);
958
720
  }
959
721
 
960
- /*
961
- * What you're currently looking at is the source code of a legally protected, proprietary software.
962
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
963
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
964
- *
965
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
966
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
967
- */
968
-
969
722
  .ck .ck-comments-archive-dropdown.ck-dropdown__panel {
970
- z-index: var( --ck-z-panel );
971
- }
723
+ z-index: var(--ck-z-panel);
724
+ }
972
725
 
973
726
  .ck .ck-comments-archive {
974
- width: 400px;
975
- max-height: 450px;
976
- box-sizing: content-box;
727
+ box-sizing: content-box;
728
+ width: 400px;
729
+ max-height: 450px;
977
730
  }
978
731
 
979
732
  .ck .ck-comments-archive .ck-annotation {
980
- animation: none;
981
- }
733
+ animation: none;
734
+ }
982
735
 
983
736
  .ck .ck-comments-archive .ck-comments-archive__header, .ck .ck-comments-archive .ck-comments-archive__content {
984
- overflow: auto;
985
- max-height: 410px;
986
- padding: var( --ck-spacing-large );
987
- }
737
+ max-height: 410px;
738
+ padding: var(--ck-spacing-large);
739
+ overflow: auto;
740
+ }
988
741
 
989
742
  .ck .ck-comments-archive .ck-comments-archive__header {
990
- max-height: 40px;
991
- line-height: var( --ck-font-size-base );
992
- font-weight: bold;
993
- border-bottom: 1px solid var( --ck-color-toolbar-border );
994
- }
743
+ max-height: 40px;
744
+ line-height: var(--ck-font-size-base);
745
+ border-bottom: 1px solid var(--ck-color-toolbar-border);
746
+ font-weight: bold;
747
+ }
995
748
 
996
749
  .ck .ck-comments-archive .ck-comments-archive__content .ck-annotation-wrapper:not(:last-child) {
997
- margin-bottom: var( --ck-spacing-large );
998
- }
750
+ margin-bottom: var(--ck-spacing-large);
751
+ }
999
752
 
1000
753
  .ck .ck-comments-archive .ck-comments-archive__info {
1001
- text-align: center;
1002
- font-style: italic;
1003
- color: var( --ck-color-annotation-info );
1004
- }
1005
-
1006
- /*
1007
- * What you're currently looking at is the source code of a legally protected, proprietary software.
1008
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
1009
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
1010
- *
1011
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
1012
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
1013
- */
754
+ text-align: center;
755
+ color: var(--ck-color-annotation-info);
756
+ font-style: italic;
757
+ }
1014
758
 
1015
759
  :root {
1016
- --ck-color-comment-marker: hsl(55, 98%, 83%);
1017
- --ck-color-comment-marker-active: hsl(55, 98%, 68%);
760
+ --ck-color-comment-marker: #fef7a9;
761
+ --ck-color-comment-marker-active: #fdf05d;
1018
762
  }
1019
763
 
1020
764
  .ck-content .ck-comment-marker {
1021
- background: var(--ck-color-comment-marker);
1022
-
1023
- /* Match size with suggestion markers */
1024
- border-top: 3px solid transparent;
1025
- border-bottom: 3px solid transparent;
1026
-
1027
- /* #152. In the image case, we change marker background to border. */
765
+ background: var(--ck-color-comment-marker);
766
+ border-top: 3px solid #0000;
767
+ border-bottom: 3px solid #0000;
1028
768
  }
1029
769
 
1030
770
  .ck-content .ck-comment-marker.ck-widget {
1031
- background-color: transparent;
1032
- border: 3px solid var(--ck-color-comment-marker);
1033
- }
771
+ border: 3px solid var(--ck-color-comment-marker);
772
+ background-color: #0000;
773
+ }
1034
774
 
1035
775
  .ck-content .ck-comment-marker--active {
1036
- background: var(--ck-color-comment-marker-active);
1037
-
1038
- /* See #2469. Inactive comment marker inside an active one should be highlighted too. */
776
+ background: var(--ck-color-comment-marker-active);
1039
777
  }
1040
778
 
1041
779
  .ck-content .ck-comment-marker--active .ck-comment-marker {
1042
- background: var(--ck-color-comment-marker-active);
1043
- }
780
+ background: var(--ck-color-comment-marker-active);
781
+ }
1044
782
 
1045
783
  .ck-content .ck-comment-marker--active.ck-widget {
1046
- border-color: var(--ck-color-comment-marker-active);
1047
-
1048
- /* See #2469. Inactive comment in a widget inside an active comment should not be highlighted. */
1049
- }
784
+ border-color: var(--ck-color-comment-marker-active);
785
+ }
1050
786
 
1051
787
  .ck-content .ck-comment-marker--active.ck-widget .ck-comment-marker {
1052
- background-color: var(--ck-color-comment-marker);
1053
- }
788
+ background-color: var(--ck-color-comment-marker);
789
+ }