@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.
- package/LICENSE.md +1 -1
- package/ckeditor5-metadata.json +53 -53
- package/{src → dist}/annotations/annotation.d.ts +4 -4
- package/{src → dist}/annotations/annotationcollection.d.ts +2 -2
- package/{src → dist}/annotations/annotations.d.ts +3 -3
- package/{src → dist}/annotations/annotationsuis.d.ts +2 -2
- package/{src → dist}/annotations/editorannotations.d.ts +1 -1
- package/{src → dist}/annotations/inlineannotations.d.ts +2 -2
- package/{src → dist}/annotations/narrowsidebar.d.ts +2 -2
- package/{src → dist}/annotations/sidebar.d.ts +2 -2
- package/{src → dist}/annotations/view/annotationcounterbuttonview.d.ts +2 -2
- package/{src → dist}/annotations/view/annotationview.d.ts +2 -2
- package/{src → dist}/annotations/view/sidebaritemview.d.ts +2 -2
- package/{src → dist}/annotations/view/sidebarview.d.ts +2 -2
- package/{src → dist}/annotations/widesidebar.d.ts +1 -1
- package/{src → dist}/comments/addcommentthreadcommand.d.ts +2 -2
- package/{src → dist}/comments/commentsarchive.d.ts +2 -2
- package/{src → dist}/comments/commentsarchiveui.d.ts +2 -2
- package/{src → dist}/comments/commentsediting.d.ts +3 -3
- package/{src → dist}/comments/commentsrepository.d.ts +7 -7
- package/{src → dist}/comments/commentsui.d.ts +1 -1
- package/{src → dist}/comments/integrations/clipboard.d.ts +2 -2
- package/{src → dist}/comments/integrations/commentsrestrictededitingmode.d.ts +1 -1
- package/{src → dist}/comments/integrations/importword.d.ts +1 -1
- package/{src → dist}/comments/integrations/showcommenthighlights.d.ts +1 -1
- package/{src → dist}/comments/ui/commenteditor/commenteditor.d.ts +3 -3
- package/{src → dist}/comments/ui/commenteditor/commenteditorui.d.ts +2 -2
- package/{src → dist}/comments/ui/commenteditor/commenteditoruiview.d.ts +3 -3
- package/{src → dist}/comments/ui/commentthreadcontroller.d.ts +2 -2
- package/{src → dist}/comments/ui/view/basecommentthreadview.d.ts +3 -3
- package/{src → dist}/comments/ui/view/basecommentview.d.ts +3 -3
- package/{src → dist}/comments/ui/view/collapsedcommentsview.d.ts +2 -2
- package/{src → dist}/comments/ui/view/commentcontentview.d.ts +2 -2
- package/{src → dist}/comments/ui/view/commentinputview.d.ts +3 -3
- package/{src → dist}/comments/ui/view/commentsarchiveview.d.ts +2 -2
- package/{src → dist}/comments/ui/view/commentslistview.d.ts +2 -2
- package/{src → dist}/comments/ui/view/commentthreadheadercontextview.d.ts +2 -2
- package/{src → dist}/comments/ui/view/commentthreadheaderview.d.ts +2 -2
- package/{src → dist}/comments/ui/view/commentthreadinputview.d.ts +4 -4
- package/{src → dist}/comments/ui/view/commentthreadview.d.ts +4 -4
- package/{src → dist}/comments/ui/view/commentview.d.ts +5 -5
- package/{src → dist}/comments.d.ts +1 -1
- package/{src → dist}/commentsonly.d.ts +1 -1
- package/{src → dist}/config.d.ts +1 -1
- package/dist/index-content.css +15 -15
- package/dist/index-editor.css +468 -496
- package/dist/index.css +472 -736
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/{src → dist}/utils/common-translations.d.ts +1 -1
- package/package.json +27 -52
- package/build/comments.js +0 -5
- package/build/translations/af.js +0 -1
- package/build/translations/ar.js +0 -1
- package/build/translations/ast.js +0 -1
- package/build/translations/az.js +0 -1
- package/build/translations/be.js +0 -1
- package/build/translations/bg.js +0 -1
- package/build/translations/bn.js +0 -1
- package/build/translations/bs.js +0 -1
- package/build/translations/ca.js +0 -1
- package/build/translations/cs.js +0 -1
- package/build/translations/da.js +0 -1
- package/build/translations/de-ch.js +0 -1
- package/build/translations/de.js +0 -1
- package/build/translations/el.js +0 -1
- package/build/translations/en-au.js +0 -1
- package/build/translations/en-gb.js +0 -1
- package/build/translations/eo.js +0 -1
- package/build/translations/es-co.js +0 -1
- package/build/translations/es.js +0 -1
- package/build/translations/et.js +0 -1
- package/build/translations/eu.js +0 -1
- package/build/translations/fa.js +0 -1
- package/build/translations/fi.js +0 -1
- package/build/translations/fr.js +0 -1
- package/build/translations/gl.js +0 -1
- package/build/translations/gu.js +0 -1
- package/build/translations/he.js +0 -1
- package/build/translations/hi.js +0 -1
- package/build/translations/hr.js +0 -1
- package/build/translations/hu.js +0 -1
- package/build/translations/hy.js +0 -1
- package/build/translations/id.js +0 -1
- package/build/translations/it.js +0 -1
- package/build/translations/ja.js +0 -1
- package/build/translations/jv.js +0 -1
- package/build/translations/kk.js +0 -1
- package/build/translations/km.js +0 -1
- package/build/translations/kn.js +0 -1
- package/build/translations/ko.js +0 -1
- package/build/translations/ku.js +0 -1
- package/build/translations/lt.js +0 -1
- package/build/translations/lv.js +0 -1
- package/build/translations/ms.js +0 -1
- package/build/translations/nb.js +0 -1
- package/build/translations/ne.js +0 -1
- package/build/translations/nl.js +0 -1
- package/build/translations/no.js +0 -1
- package/build/translations/oc.js +0 -1
- package/build/translations/pl.js +0 -1
- package/build/translations/pt-br.js +0 -1
- package/build/translations/pt.js +0 -1
- package/build/translations/ro.js +0 -1
- package/build/translations/ru.js +0 -1
- package/build/translations/si.js +0 -1
- package/build/translations/sk.js +0 -1
- package/build/translations/sl.js +0 -1
- package/build/translations/sq.js +0 -1
- package/build/translations/sr-latn.js +0 -1
- package/build/translations/sr.js +0 -1
- package/build/translations/sv.js +0 -1
- package/build/translations/th.js +0 -1
- package/build/translations/ti.js +0 -1
- package/build/translations/tk.js +0 -1
- package/build/translations/tr.js +0 -1
- package/build/translations/tt.js +0 -1
- package/build/translations/ug.js +0 -1
- package/build/translations/uk.js +0 -1
- package/build/translations/ur.js +0 -1
- package/build/translations/uz.js +0 -1
- package/build/translations/vi.js +0 -1
- package/build/translations/zh-cn.js +0 -1
- package/build/translations/zh.js +0 -1
- package/lang/contexts.json +0 -42
- package/lang/translations/af.po +0 -176
- package/lang/translations/ar.po +0 -184
- package/lang/translations/ast.po +0 -176
- package/lang/translations/az.po +0 -176
- package/lang/translations/be.po +0 -178
- package/lang/translations/bg.po +0 -176
- package/lang/translations/bn.po +0 -176
- package/lang/translations/bs.po +0 -178
- package/lang/translations/ca.po +0 -176
- package/lang/translations/cs.po +0 -178
- package/lang/translations/da.po +0 -176
- package/lang/translations/de-ch.po +0 -176
- package/lang/translations/de.po +0 -176
- package/lang/translations/el.po +0 -176
- package/lang/translations/en-au.po +0 -176
- package/lang/translations/en-gb.po +0 -176
- package/lang/translations/en.po +0 -176
- package/lang/translations/eo.po +0 -176
- package/lang/translations/es-co.po +0 -176
- package/lang/translations/es.po +0 -176
- package/lang/translations/et.po +0 -176
- package/lang/translations/eu.po +0 -176
- package/lang/translations/fa.po +0 -174
- package/lang/translations/fi.po +0 -176
- package/lang/translations/fr.po +0 -176
- package/lang/translations/gl.po +0 -176
- package/lang/translations/gu.po +0 -176
- package/lang/translations/he.po +0 -176
- package/lang/translations/hi.po +0 -176
- package/lang/translations/hr.po +0 -178
- package/lang/translations/hu.po +0 -176
- package/lang/translations/hy.po +0 -176
- package/lang/translations/id.po +0 -174
- package/lang/translations/it.po +0 -176
- package/lang/translations/ja.po +0 -174
- package/lang/translations/jv.po +0 -176
- package/lang/translations/kk.po +0 -176
- package/lang/translations/km.po +0 -174
- package/lang/translations/kn.po +0 -176
- package/lang/translations/ko.po +0 -174
- package/lang/translations/ku.po +0 -176
- package/lang/translations/lt.po +0 -178
- package/lang/translations/lv.po +0 -178
- package/lang/translations/ms.po +0 -174
- package/lang/translations/nb.po +0 -176
- package/lang/translations/ne.po +0 -176
- package/lang/translations/nl.po +0 -176
- package/lang/translations/no.po +0 -176
- package/lang/translations/oc.po +0 -176
- package/lang/translations/pl.po +0 -178
- package/lang/translations/pt-br.po +0 -176
- package/lang/translations/pt.po +0 -176
- package/lang/translations/ro.po +0 -178
- package/lang/translations/ru.po +0 -178
- package/lang/translations/si.po +0 -176
- package/lang/translations/sk.po +0 -178
- package/lang/translations/sl.po +0 -180
- package/lang/translations/sq.po +0 -176
- package/lang/translations/sr-latn.po +0 -178
- package/lang/translations/sr.po +0 -178
- package/lang/translations/sv.po +0 -176
- package/lang/translations/th.po +0 -174
- package/lang/translations/ti.po +0 -176
- package/lang/translations/tk.po +0 -176
- package/lang/translations/tr.po +0 -176
- package/lang/translations/tt.po +0 -174
- package/lang/translations/ug.po +0 -174
- package/lang/translations/uk.po +0 -178
- package/lang/translations/ur.po +0 -176
- package/lang/translations/uz.po +0 -176
- package/lang/translations/vi.po +0 -174
- package/lang/translations/zh-cn.po +0 -174
- package/lang/translations/zh.po +0 -174
- package/src/annotations/annotation.js +0 -24
- package/src/annotations/annotationcollection.js +0 -23
- package/src/annotations/annotations.js +0 -23
- package/src/annotations/annotationsuis.js +0 -23
- package/src/annotations/editorannotations.js +0 -23
- package/src/annotations/inlineannotations.js +0 -23
- package/src/annotations/narrowsidebar.js +0 -23
- package/src/annotations/sidebar.js +0 -23
- package/src/annotations/view/annotationcounterbuttonview.js +0 -23
- package/src/annotations/view/annotationview.js +0 -23
- package/src/annotations/view/sidebaritemview.js +0 -24
- package/src/annotations/view/sidebarview.js +0 -24
- package/src/annotations/widesidebar.js +0 -23
- package/src/augmentation.js +0 -23
- package/src/comments/addcommentthreadcommand.js +0 -23
- package/src/comments/commentsarchive.js +0 -23
- package/src/comments/commentsarchiveui.js +0 -23
- package/src/comments/commentsediting.js +0 -23
- package/src/comments/commentsrepository.js +0 -25
- package/src/comments/commentsui.js +0 -23
- package/src/comments/integrations/clipboard.js +0 -23
- package/src/comments/integrations/commentsrestrictededitingmode.js +0 -23
- package/src/comments/integrations/importword.js +0 -23
- package/src/comments/integrations/showcommenthighlights.js +0 -23
- package/src/comments/ui/commenteditor/commenteditor.js +0 -24
- package/src/comments/ui/commenteditor/commenteditorui.js +0 -23
- package/src/comments/ui/commenteditor/commenteditoruiview.js +0 -23
- package/src/comments/ui/commentthreadcontroller.js +0 -24
- package/src/comments/ui/view/basecommentthreadview.js +0 -23
- package/src/comments/ui/view/basecommentview.js +0 -23
- package/src/comments/ui/view/collapsedcommentsview.js +0 -23
- package/src/comments/ui/view/commentcontentview.js +0 -23
- package/src/comments/ui/view/commentinputview.js +0 -23
- package/src/comments/ui/view/commentsarchiveview.js +0 -23
- package/src/comments/ui/view/commentslistview.js +0 -23
- package/src/comments/ui/view/commentthreadheadercontextview.js +0 -23
- package/src/comments/ui/view/commentthreadheaderview.js +0 -23
- package/src/comments/ui/view/commentthreadinputview.js +0 -23
- package/src/comments/ui/view/commentthreadview.js +0 -24
- package/src/comments/ui/view/commentview.js +0 -24
- package/src/comments.js +0 -23
- package/src/commentsonly.js +0 -23
- package/src/config.js +0 -23
- package/src/index.js +0 -23
- package/src/utils/common-translations.js +0 -23
- package/src/utils/createmutationobserver.js +0 -23
- package/src/utils/splitmarkername.js +0 -23
- package/theme/annotation-inline.css +0 -50
- package/theme/annotation.css +0 -151
- package/theme/comment.css +0 -182
- package/theme/commentinput.css +0 -103
- package/theme/commentmarker.css +0 -45
- package/theme/commentsarchive.css +0 -49
- package/theme/commentthread.css +0 -256
- package/theme/sidebar-narrow.css +0 -91
- package/theme/sidebar.css +0 -72
- /package/{src → dist}/augmentation.d.ts +0 -0
- /package/{src → dist}/index.d.ts +0 -0
- /package/{src → dist}/utils/createmutationobserver.d.ts +0 -0
- /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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
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
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
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
|
-
|
|
51
|
-
|
|
23
|
+
.ck .ck-comment__wrapper {
|
|
24
|
+
transition: none;
|
|
25
|
+
}
|
|
52
26
|
}
|
|
53
|
-
}
|
|
54
27
|
|
|
55
28
|
.ck .ck-comment__wrapper:first-of-type {
|
|
56
|
-
|
|
57
|
-
|
|
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
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
.ck .ck-comment
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
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
|
-
|
|
77
|
-
|
|
78
|
-
|
|
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
|
-
|
|
53
|
+
background-color: var(--ck-color-comment-input-background);
|
|
83
54
|
}
|
|
84
55
|
|
|
85
|
-
.ck .ck-comment--edit
|
|
86
|
-
|
|
87
|
-
|
|
56
|
+
.ck .ck-comment--edit:after {
|
|
57
|
+
opacity: 0;
|
|
58
|
+
}
|
|
88
59
|
|
|
89
60
|
.ck .ck-comment--edit .ck-comment__input-actions {
|
|
90
|
-
|
|
91
|
-
|
|
61
|
+
margin-top: var(--ck-spacing-standard);
|
|
62
|
+
}
|
|
92
63
|
|
|
93
64
|
.ck .ck-comment__content {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
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
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
.ck .ck-comment
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
.ck .ck-comment
|
|
127
|
-
|
|
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
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
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
|
-
|
|
142
|
-
|
|
109
|
+
padding: 0;
|
|
110
|
+
}
|
|
143
111
|
|
|
144
112
|
.ck .ck-comment__user {
|
|
145
|
-
|
|
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
|
-
|
|
152
|
-
|
|
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
|
-
|
|
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
|
-
|
|
126
|
+
color: var(--ck-color-text);
|
|
160
127
|
}
|
|
161
128
|
|
|
162
129
|
.ck .ck-comment__external {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
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
|
-
|
|
171
|
-
|
|
137
|
+
display: none;
|
|
138
|
+
}
|
|
172
139
|
|
|
173
140
|
.ck .ck-comment .ck-dropdown .ck-list {
|
|
174
|
-
|
|
175
|
-
|
|
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
|
-
|
|
180
|
-
|
|
181
|
-
|
|
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
|
-
|
|
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
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
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
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
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
|
-
|
|
262
|
-
|
|
177
|
+
.ck .ck-thread {
|
|
178
|
+
transition: none;
|
|
179
|
+
}
|
|
263
180
|
}
|
|
264
|
-
}
|
|
265
181
|
|
|
266
182
|
.ck .ck-thread:focus {
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
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
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
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
|
-
|
|
302
|
-
|
|
203
|
+
font-size: var(--ck-annotation-button-size);
|
|
204
|
+
}
|
|
303
205
|
|
|
304
206
|
.ck .ck-thread__header .ck-context-wrapper {
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
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
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
.ck .ck-thread__header .ck-context.ck-context--quotes
|
|
322
|
-
|
|
323
|
-
|
|
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
|
-
|
|
328
|
-
|
|
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
|
-
|
|
333
|
-
|
|
334
|
-
|
|
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
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
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
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
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
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
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
|
|
373
|
-
|
|
374
|
-
|
|
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
|
-
|
|
379
|
-
|
|
273
|
+
background-color: var(--ck-color-comment-remove-background);
|
|
274
|
+
}
|
|
380
275
|
|
|
381
276
|
.ck .ck-thread--remove .ck-thread__input--active {
|
|
382
|
-
|
|
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
|
-
|
|
387
|
-
|
|
281
|
+
background-color: var(--ck-color-comment-remove-background);
|
|
282
|
+
}
|
|
388
283
|
|
|
389
284
|
.ck .ck-thread--remove .ck-thread__comment-count {
|
|
390
|
-
|
|
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
|
|
396
|
-
|
|
397
|
-
|
|
288
|
+
.ck .ck-thread--remove .ck-comment__wrapper .ck-comment:after {
|
|
289
|
+
opacity: 0;
|
|
290
|
+
}
|
|
398
291
|
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
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
|
-
|
|
297
|
+
transition: transform .3s;
|
|
406
298
|
}
|
|
407
299
|
|
|
408
300
|
@media (prefers-reduced-motion: reduce) {
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
301
|
+
.ck .ck-thread__container {
|
|
302
|
+
transition: none;
|
|
303
|
+
}
|
|
412
304
|
}
|
|
413
|
-
}
|
|
414
305
|
|
|
415
306
|
.ck .ck-thread__comments {
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
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
|
-
|
|
316
|
+
font-size: .85em;
|
|
426
317
|
}
|
|
427
318
|
|
|
428
319
|
.ck .ck-thread__input {
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
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
|
-
|
|
446
|
-
|
|
328
|
+
display: block;
|
|
329
|
+
}
|
|
447
330
|
|
|
448
331
|
.ck .ck-thread--active .ck-thread__input {
|
|
449
|
-
|
|
450
|
-
|
|
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
|
-
|
|
455
|
-
|
|
337
|
+
background-color: var(--ck-color-thread-header-active-background);
|
|
338
|
+
}
|
|
456
339
|
|
|
457
340
|
.ck .ck-thread--unlinked {
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
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
|
-
|
|
347
|
+
color: var(--ck-color-button-save);
|
|
467
348
|
}
|
|
468
349
|
|
|
469
350
|
.ck.ck-button.ck-confirm-view-cancel {
|
|
470
|
-
|
|
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
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
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
|
-
|
|
363
|
+
display: flex;
|
|
495
364
|
}
|
|
496
365
|
|
|
497
366
|
.ck .ck-comment__input {
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
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
|
-
|
|
513
|
-
|
|
377
|
+
.ck .ck-comment__input {
|
|
378
|
+
transition: none;
|
|
379
|
+
}
|
|
514
380
|
}
|
|
515
|
-
}
|
|
516
381
|
|
|
517
382
|
.ck .ck-comment__input:focus {
|
|
518
|
-
|
|
519
|
-
|
|
383
|
+
outline: none;
|
|
384
|
+
}
|
|
520
385
|
|
|
521
386
|
.ck .ck-comment__input .ck-editor__editable_inline {
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
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
|
-
|
|
541
|
-
|
|
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
|
-
|
|
546
|
-
|
|
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
|
-
|
|
551
|
-
|
|
552
|
-
|
|
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
|
-
|
|
557
|
-
|
|
415
|
+
display: block;
|
|
416
|
+
}
|
|
558
417
|
|
|
559
418
|
.ck .ck-comment__input-actions .ck.ck-button {
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
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
|
-
|
|
574
|
-
|
|
431
|
+
opacity: .3;
|
|
432
|
+
}
|
|
575
433
|
|
|
576
434
|
.ck .ck-comment__input-textarea {
|
|
577
|
-
|
|
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
|
-
|
|
593
|
-
|
|
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
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
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
|
-
|
|
614
|
-
animation: none;
|
|
452
|
+
animation: none;
|
|
615
453
|
}
|
|
616
454
|
|
|
617
455
|
.ck.ck-balloon-panel .ck-annotation-wrapper * {
|
|
618
|
-
|
|
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
|
-
|
|
460
|
+
font-weight: bold;
|
|
625
461
|
}
|
|
626
462
|
|
|
627
463
|
.ck.ck-balloon-panel .ck-annotation-wrapper i {
|
|
628
|
-
|
|
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
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
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
|
-
|
|
652
|
-
|
|
477
|
+
justify-content: center;
|
|
478
|
+
display: flex;
|
|
653
479
|
}
|
|
654
480
|
|
|
655
481
|
.ck.ck-sidebar--narrow .ck-annotation-counter {
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
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
|
-
|
|
669
|
-
|
|
670
|
-
|
|
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
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
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
|
-
|
|
515
|
+
line-height: 1;
|
|
704
516
|
}
|
|
705
517
|
|
|
706
|
-
.ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-insertion,
|
|
707
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
735
|
-
|
|
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
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
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
|
-
|
|
757
|
-
|
|
758
|
-
|
|
552
|
+
.ck .ck-annotation {
|
|
553
|
+
transition: none;
|
|
554
|
+
animation: none;
|
|
555
|
+
}
|
|
759
556
|
}
|
|
760
|
-
}
|
|
761
557
|
|
|
762
558
|
.ck .ck-annotation .ck-button {
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
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
|
-
|
|
775
|
-
|
|
569
|
+
font-size: .85em;
|
|
570
|
+
}
|
|
776
571
|
|
|
777
572
|
.ck .ck-annotation__main {
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
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
|
-
|
|
795
|
-
|
|
584
|
+
.ck .ck-annotation__main {
|
|
585
|
+
transition: none;
|
|
586
|
+
}
|
|
796
587
|
}
|
|
797
|
-
}
|
|
798
588
|
|
|
799
589
|
.ck .ck-annotation__main p {
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
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
|
-
|
|
597
|
+
margin-top: var(--ck-spacing-small);
|
|
812
598
|
}
|
|
813
599
|
|
|
814
600
|
.ck .ck-annotation__info {
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
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
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
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
|
-
|
|
617
|
+
text-overflow: ellipsis;
|
|
838
618
|
}
|
|
839
619
|
|
|
840
620
|
.ck .ck-annotation__info-time {
|
|
841
|
-
|
|
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
|
-
|
|
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
|
-
|
|
853
|
-
|
|
854
|
-
|
|
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
|
-
|
|
861
|
-
|
|
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
|
-
|
|
868
|
-
|
|
869
|
-
width: 100%;
|
|
642
|
+
grid-area: content;
|
|
643
|
+
width: 100%;
|
|
870
644
|
}
|
|
871
645
|
|
|
872
|
-
@keyframes
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
646
|
+
@keyframes annotationFadeInLeft {
|
|
647
|
+
from {
|
|
648
|
+
opacity: 0;
|
|
649
|
+
transform: translate3d(-5%, 0, 0);
|
|
650
|
+
}
|
|
877
651
|
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
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
|
-
|
|
895
|
-
|
|
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
|
-
|
|
900
|
-
|
|
901
|
-
|
|
664
|
+
outline: 0;
|
|
665
|
+
transition: min-height .25s;
|
|
666
|
+
position: relative;
|
|
902
667
|
}
|
|
903
668
|
|
|
904
669
|
@media (prefers-reduced-motion: reduce) {
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
670
|
+
.ck.ck-sidebar {
|
|
671
|
+
transition: none;
|
|
672
|
+
}
|
|
908
673
|
}
|
|
909
|
-
}
|
|
910
674
|
|
|
911
675
|
.ck-sidebar-item {
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
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
|
-
|
|
920
|
-
|
|
682
|
+
.ck-sidebar-item {
|
|
683
|
+
transition: none;
|
|
684
|
+
}
|
|
921
685
|
}
|
|
922
|
-
}
|
|
923
686
|
|
|
924
687
|
.ck-sidebar-item--no-animation {
|
|
925
|
-
|
|
688
|
+
transition: top !important;
|
|
926
689
|
}
|
|
927
690
|
|
|
928
691
|
.ck.ck-annotation-wrapper {
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
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
|
|
936
|
-
|
|
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
|
|
940
|
-
|
|
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
|
|
944
|
-
|
|
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
|
|
948
|
-
|
|
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
|
-
|
|
715
|
+
box-shadow: var(--ck-drop-shadow);
|
|
954
716
|
}
|
|
955
717
|
|
|
956
718
|
.ck.ck-annotation-wrapper--active {
|
|
957
|
-
|
|
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
|
-
|
|
971
|
-
|
|
723
|
+
z-index: var(--ck-z-panel);
|
|
724
|
+
}
|
|
972
725
|
|
|
973
726
|
.ck .ck-comments-archive {
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
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
|
-
|
|
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
|
-
|
|
985
|
-
|
|
986
|
-
|
|
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
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
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
|
-
|
|
998
|
-
|
|
750
|
+
margin-bottom: var(--ck-spacing-large);
|
|
751
|
+
}
|
|
999
752
|
|
|
1000
753
|
.ck .ck-comments-archive .ck-comments-archive__info {
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
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
|
-
|
|
1017
|
-
|
|
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
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
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
|
-
|
|
1032
|
-
|
|
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
|
-
|
|
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
|
-
|
|
1043
|
-
|
|
780
|
+
background: var(--ck-color-comment-marker-active);
|
|
781
|
+
}
|
|
1044
782
|
|
|
1045
783
|
.ck-content .ck-comment-marker--active.ck-widget {
|
|
1046
|
-
|
|
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
|
-
|
|
1053
|
-
|
|
788
|
+
background-color: var(--ck-color-comment-marker);
|
|
789
|
+
}
|