@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/theme/comment.css
DELETED
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
-
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
-
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
@import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_shadow.css";
|
|
11
|
-
|
|
12
|
-
:root {
|
|
13
|
-
--ck-color-comment-background: hsl(210, 52%, 97%);
|
|
14
|
-
--ck-color-comment-separator: hsl(210, 52%, 87%);
|
|
15
|
-
--ck-color-comment-remove-background: var(--ck-color-light-red);
|
|
16
|
-
--ck-color-comment-input-background: var(--ck-color-comment-background);
|
|
17
|
-
/* Because of default content styles that are inherited from `.ck-content` are affecting the comment font family
|
|
18
|
-
(it's not inherited from `body`) we need to set the `font-family` manually; similar situation is with:
|
|
19
|
-
`font-size` and `color` properties.
|
|
20
|
-
See https://github.com/ckeditor/ckeditor5/issues/18710 */
|
|
21
|
-
--ck-comment-content-font-family: var(--ck-font-face);
|
|
22
|
-
--ck-comment-content-font-size: var(--ck-font-size-base);
|
|
23
|
-
--ck-comment-content-font-color: var(--ck-color-base-text);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.ck .ck-comment__wrapper {
|
|
27
|
-
font-size: var(--ck-font-size-base);
|
|
28
|
-
position: relative;
|
|
29
|
-
outline: 0;
|
|
30
|
-
transition: all 300ms linear;
|
|
31
|
-
|
|
32
|
-
@media (prefers-reduced-motion: reduce) {
|
|
33
|
-
transition: none;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&:first-of-type {
|
|
37
|
-
border-top-right-radius: var(--ck-border-radius);
|
|
38
|
-
border-top-left-radius: var(--ck-border-radius);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&:focus {
|
|
42
|
-
background: var(--ck-color-button-default-hover-background);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.ck .ck-comment {
|
|
47
|
-
&::after {
|
|
48
|
-
content: '';
|
|
49
|
-
display: block;
|
|
50
|
-
position: absolute;
|
|
51
|
-
opacity: 1;
|
|
52
|
-
top: calc( var(--ck-user-avatar-size) + var(--ck-spacing-small) );
|
|
53
|
-
left: calc(
|
|
54
|
-
var(--ck-spacing-standard) + ( var(--ck-user-avatar-size) / 2 )
|
|
55
|
-
|
|
56
|
-
/* Half width of line. */
|
|
57
|
-
- 2px
|
|
58
|
-
);
|
|
59
|
-
width: 4px;
|
|
60
|
-
height: 100%;
|
|
61
|
-
background-color: var(--ck-color-comment-separator);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.ck .ck-comment--edit {
|
|
66
|
-
background-color: var(--ck-color-comment-input-background);
|
|
67
|
-
|
|
68
|
-
&::after {
|
|
69
|
-
opacity: 0;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.ck-comment__input-actions {
|
|
73
|
-
margin-top: var(--ck-spacing-standard);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.ck .ck-comment__content {
|
|
78
|
-
word-break: normal;
|
|
79
|
-
overflow-wrap: anywhere;
|
|
80
|
-
font-family: var(--ck-comment-content-font-family);
|
|
81
|
-
color: var(--ck-comment-content-font-color);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.ck .ck-comment--info {
|
|
85
|
-
& .ck-comment__content {
|
|
86
|
-
font-style: italic;
|
|
87
|
-
/* Override the default content styles that are inherited from `.ck-content`.
|
|
88
|
-
See https://github.com/ckeditor/ckeditor5/issues/18710 */
|
|
89
|
-
font-family: var(--ck-comment-content-font-family);
|
|
90
|
-
font-size: var(--ck-comment-content-font-size);
|
|
91
|
-
color: var(--ck-comment-content-font-color);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
/* Common styles for typography inside comment element and editable input.
|
|
96
|
-
We are styling resetting list-style because of parent <ul> element. */
|
|
97
|
-
.ck .ck-comment,
|
|
98
|
-
.ck .ck-comment__input {
|
|
99
|
-
& p {
|
|
100
|
-
margin: 0;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
& ul,
|
|
104
|
-
& ol {
|
|
105
|
-
padding-left: 10px;
|
|
106
|
-
margin-left: 10px;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
& ul {
|
|
110
|
-
list-style: disc;
|
|
111
|
-
margin-bottom: 5px;
|
|
112
|
-
margin-top: 0;
|
|
113
|
-
|
|
114
|
-
& ul {
|
|
115
|
-
list-style: circle;
|
|
116
|
-
|
|
117
|
-
& ul {
|
|
118
|
-
list-style: square;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.ck .ck-comment__main {
|
|
125
|
-
& .ck-comment__input-wrapper {
|
|
126
|
-
display: flex;
|
|
127
|
-
flex-direction: column;
|
|
128
|
-
position: relative;
|
|
129
|
-
transition: all 300ms linear;
|
|
130
|
-
|
|
131
|
-
& .ck-comment__input {
|
|
132
|
-
padding: 0;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.ck .ck-comment__user {
|
|
138
|
-
/* Display user above vertical line. */
|
|
139
|
-
z-index: var(--ck-z-default);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
/* We need specificity 030 to beat styles in `commentinput.css`. */
|
|
143
|
-
.ck-comment__input-actions .ck.ck-button.ck-comment__input-actions--submit {
|
|
144
|
-
background: var(--ck-color-base-action);
|
|
145
|
-
color: hsl(0, 0%, 100%);
|
|
146
|
-
|
|
147
|
-
&:hover {
|
|
148
|
-
background: var(--ck-color-button-save);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.ck-comment__input-actions .ck.ck-button.ck-comment__input-actions--cancel {
|
|
153
|
-
color: var(--ck-color-text);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.ck .ck-comment__external {
|
|
157
|
-
font-style: italic;
|
|
158
|
-
color: var(--ck-color-annotation-info);
|
|
159
|
-
font-size: var(--ck-font-size-tiny);
|
|
160
|
-
margin-top: var(--ck-spacing-standard);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.ck .ck-comment .ck-dropdown {
|
|
164
|
-
& .ck-dropdown__arrow {
|
|
165
|
-
display: none;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
& .ck-list {
|
|
169
|
-
margin: 0;
|
|
170
|
-
padding: var(--ck-spacing-small) 0;
|
|
171
|
-
|
|
172
|
-
& .ck-list__item {
|
|
173
|
-
font-size: 1.2em;
|
|
174
|
-
color: var(--ck-color-base-text);
|
|
175
|
-
min-width: auto;
|
|
176
|
-
|
|
177
|
-
& .ck-button {
|
|
178
|
-
color: var(--ck-color-text);
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|
package/theme/commentinput.css
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
-
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
-
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
.ck .ck-comment__input-container {
|
|
11
|
-
/* Make avatar size in the comment smaller than in presence list. */
|
|
12
|
-
--ck-user-avatar-size: 28px;
|
|
13
|
-
|
|
14
|
-
font-size: var(--ck-font-size-base);
|
|
15
|
-
|
|
16
|
-
display: none;
|
|
17
|
-
padding: var(--ck-spacing-standard);
|
|
18
|
-
background: var(--ck-color-comment-background);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.ck .ck-comment__input-container--active {
|
|
22
|
-
display: flex;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.ck .ck-comment__input {
|
|
26
|
-
padding: var(--ck-spacing-standard);
|
|
27
|
-
|
|
28
|
-
/* To keep vertical align with avatar. */
|
|
29
|
-
padding-top: var(--ck-spacing-medium);
|
|
30
|
-
|
|
31
|
-
color: var(--ck-color-base-text);
|
|
32
|
-
border-width: 0;
|
|
33
|
-
resize: none;
|
|
34
|
-
background-color: transparent;
|
|
35
|
-
transition: color 300ms ease-in-out;
|
|
36
|
-
|
|
37
|
-
@media (prefers-reduced-motion: reduce) {
|
|
38
|
-
transition: none;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&:focus {
|
|
42
|
-
outline: none;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
& .ck-editor__editable_inline {
|
|
46
|
-
/* Disable default outline and border in editable input. */
|
|
47
|
-
--ck-focus-ring: none;
|
|
48
|
-
--ck-inner-shadow: none;
|
|
49
|
-
|
|
50
|
-
/* Override the default content styles that are inherited from `.ck-content`.
|
|
51
|
-
See https://github.com/ckeditor/ckeditor5/issues/18710 */
|
|
52
|
-
font-family: var(--ck-comment-content-font-family);
|
|
53
|
-
font-size: var(--ck-comment-content-font-size);
|
|
54
|
-
color: var(--ck-comment-content-font-color);
|
|
55
|
-
|
|
56
|
-
padding: 0;
|
|
57
|
-
overflow: visible;
|
|
58
|
-
border: 0;
|
|
59
|
-
background-color: transparent;
|
|
60
|
-
word-break: normal;
|
|
61
|
-
overflow-wrap: anywhere;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/* Overwrite default CKEditor 5 margin of editable children.
|
|
66
|
-
See: ckeditor5-theme-lark/theme/ckeditor5-ui/components/editorui/editorui.css. */
|
|
67
|
-
.ck-comment__input-wrapper .ck.ck-editor__editable_inline *:first-child {
|
|
68
|
-
margin-top: 0;
|
|
69
|
-
}
|
|
70
|
-
.ck-comment__input-wrapper .ck.ck-editor__editable_inline *:last-child {
|
|
71
|
-
margin-bottom: 0;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.ck .ck-comment__input-actions {
|
|
75
|
-
width: 100%;
|
|
76
|
-
text-align: right;
|
|
77
|
-
display: none;
|
|
78
|
-
|
|
79
|
-
&.ck-comment__input-actions--active {
|
|
80
|
-
display: block;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
& .ck.ck-button {
|
|
84
|
-
/* Overwrite CK5 button default styles. */
|
|
85
|
-
display: inline-flex;
|
|
86
|
-
justify-content: center;
|
|
87
|
-
align-items: center;
|
|
88
|
-
cursor: pointer;
|
|
89
|
-
min-height: var(--ck-ui-component-min-height);
|
|
90
|
-
min-width: 60px;
|
|
91
|
-
font-size: var(--ck-annotation-button-size);
|
|
92
|
-
margin-left: var(--ck-spacing-large);
|
|
93
|
-
padding: 0 var(--ck-spacing-medium);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
& .ck-button.ck-disabled {
|
|
97
|
-
opacity: .3;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.ck .ck-comment__input-textarea {
|
|
102
|
-
display: block;
|
|
103
|
-
}
|
package/theme/commentmarker.css
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
-
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
-
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
:root {
|
|
11
|
-
--ck-color-comment-marker: hsl(55, 98%, 83%);
|
|
12
|
-
--ck-color-comment-marker-active: hsl(55, 98%, 68%);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.ck-content .ck-comment-marker {
|
|
16
|
-
background: var(--ck-color-comment-marker);
|
|
17
|
-
|
|
18
|
-
/* Match size with suggestion markers */
|
|
19
|
-
border-top: 3px solid transparent;
|
|
20
|
-
border-bottom: 3px solid transparent;
|
|
21
|
-
|
|
22
|
-
/* #152. In the image case, we change marker background to border. */
|
|
23
|
-
&.ck-widget {
|
|
24
|
-
background-color: transparent;
|
|
25
|
-
border: 3px solid var(--ck-color-comment-marker);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.ck-content .ck-comment-marker--active {
|
|
30
|
-
background: var(--ck-color-comment-marker-active);
|
|
31
|
-
|
|
32
|
-
/* See #2469. Inactive comment marker inside an active one should be highlighted too. */
|
|
33
|
-
& .ck-comment-marker {
|
|
34
|
-
background: var(--ck-color-comment-marker-active);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&.ck-widget {
|
|
38
|
-
border-color: var(--ck-color-comment-marker-active);
|
|
39
|
-
|
|
40
|
-
/* See #2469. Inactive comment in a widget inside an active comment should not be highlighted. */
|
|
41
|
-
& .ck-comment-marker {
|
|
42
|
-
background-color: var(--ck-color-comment-marker);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
-
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
-
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
.ck .ck-comments-archive-dropdown {
|
|
11
|
-
&.ck-dropdown__panel {
|
|
12
|
-
z-index: var( --ck-z-panel );
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.ck .ck-comments-archive {
|
|
17
|
-
width: 400px;
|
|
18
|
-
max-height: 450px;
|
|
19
|
-
box-sizing: content-box;
|
|
20
|
-
|
|
21
|
-
& .ck-annotation {
|
|
22
|
-
animation: none;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
& .ck-comments-archive__header, & .ck-comments-archive__content {
|
|
26
|
-
overflow: auto;
|
|
27
|
-
max-height: 410px;
|
|
28
|
-
padding: var( --ck-spacing-large );
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
& .ck-comments-archive__header {
|
|
32
|
-
max-height: 40px;
|
|
33
|
-
line-height: var( --ck-font-size-base );
|
|
34
|
-
font-weight: bold;
|
|
35
|
-
border-bottom: 1px solid var( --ck-color-toolbar-border );
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
& .ck-comments-archive__content {
|
|
39
|
-
& .ck-annotation-wrapper:not(:last-child) {
|
|
40
|
-
margin-bottom: var( --ck-spacing-large );
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
& .ck-comments-archive__info {
|
|
45
|
-
text-align: center;
|
|
46
|
-
font-style: italic;
|
|
47
|
-
color: var( --ck-color-annotation-info );
|
|
48
|
-
}
|
|
49
|
-
}
|
package/theme/commentthread.css
DELETED
|
@@ -1,256 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
-
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
-
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
@import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_focus.css";
|
|
11
|
-
@import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_shadow.css";
|
|
12
|
-
@import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_rounded.css";
|
|
13
|
-
|
|
14
|
-
:root {
|
|
15
|
-
--ck-color-thread-remove-background: var(--ck-color-comment-remove-background);
|
|
16
|
-
--ck-color-comment-count: hsl(210, 52%, 57%);
|
|
17
|
-
|
|
18
|
-
--ck-color-thread-header-background: hsl(54, 88%, 93%);
|
|
19
|
-
--ck-color-thread-header-active-background: hsl(52, 100%, 83%);
|
|
20
|
-
|
|
21
|
-
--ck-color-unlinked-background: hsl(0, 0%, 96%);
|
|
22
|
-
--ck-color-unlinked-active-background: hsl(0, 0%, 92%);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.ck .ck-thread {
|
|
26
|
-
@mixin ck-rounded-corners;
|
|
27
|
-
|
|
28
|
-
width: 100%;
|
|
29
|
-
color: var(--ck-color-base-text);
|
|
30
|
-
outline: 0;
|
|
31
|
-
background-color: var(--ck-color-base-background);
|
|
32
|
-
overflow: hidden;
|
|
33
|
-
|
|
34
|
-
/*
|
|
35
|
-
* Beware: Using "transition: all" breaks focus management (unable to obtain focus on show)
|
|
36
|
-
* because the view is displayed in a dialog that gets toggled via "visibility" property.
|
|
37
|
-
*/
|
|
38
|
-
transition-property: color, background-color, width, outline;
|
|
39
|
-
transition-duration: 300ms;
|
|
40
|
-
transition-timing-function: ease;
|
|
41
|
-
|
|
42
|
-
@media (prefers-reduced-motion: reduce) {
|
|
43
|
-
transition: none;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&:focus {
|
|
47
|
-
/*
|
|
48
|
-
* We cannot use the ck-focus-ring mixin here because it adds a border that would need to stay transparent
|
|
49
|
-
* in non-focused state and create an odd space inside the surrounding annotation container.
|
|
50
|
-
*/
|
|
51
|
-
outline: var(--ck-focus-ring);
|
|
52
|
-
|
|
53
|
-
/*
|
|
54
|
-
* We cannot use the ck-box-shadow mixin because we're using outline instead of border (see the comment above).
|
|
55
|
-
* And the shadow size has to be custom because outline is rendered on top of the shadow.
|
|
56
|
-
*/
|
|
57
|
-
box-shadow: 0 0 0 4px var(--ck-color-focus-outer-shadow);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/*
|
|
62
|
-
* In case of inline annotations, their focus styles get hoisted to the balloon panel to work around overflow that would
|
|
63
|
-
* otherwise get them cropped..
|
|
64
|
-
*/
|
|
65
|
-
.ck-balloon-panel:has( .ck-thread:focus ) {
|
|
66
|
-
@mixin ck-focus-ring;
|
|
67
|
-
@mixin ck-box-shadow var(--ck-drop-shadow), var(--ck-focus-outer-shadow);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.ck .ck-thread__header {
|
|
71
|
-
display: flex;
|
|
72
|
-
justify-content: space-between;
|
|
73
|
-
line-height: 1.57;
|
|
74
|
-
padding: var(--ck-spacing-standard);
|
|
75
|
-
background-color: var(--ck-color-thread-header-background);
|
|
76
|
-
font-size: var(--ck-font-size-base);
|
|
77
|
-
|
|
78
|
-
& .ck-button {
|
|
79
|
-
font-size: var(--ck-annotation-button-size);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
& .ck-context-wrapper {
|
|
83
|
-
display: inline-flex;
|
|
84
|
-
width: 100%;
|
|
85
|
-
min-width: 0;
|
|
86
|
-
height: 25px;
|
|
87
|
-
position: relative;
|
|
88
|
-
padding-right: var(--ck-spacing-large);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
& .ck-context {
|
|
92
|
-
display: flex;
|
|
93
|
-
white-space: nowrap;
|
|
94
|
-
overflow: hidden;
|
|
95
|
-
width: 100%;
|
|
96
|
-
padding: var(--ck-spacing-small) var(--ck-spacing-medium);
|
|
97
|
-
|
|
98
|
-
&.ck-context--quotes {
|
|
99
|
-
&::after, &::before {
|
|
100
|
-
display: inline-block;
|
|
101
|
-
content: '"';
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
& .ck-context__type {
|
|
106
|
-
font-weight: bold;
|
|
107
|
-
padding-right: var(--ck-spacing-standard);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
& .ck-context__value {
|
|
111
|
-
overflow: hidden;
|
|
112
|
-
text-overflow: ellipsis;
|
|
113
|
-
border: 1px solid transparent;
|
|
114
|
-
|
|
115
|
-
&:focus {
|
|
116
|
-
@mixin ck-focus-ring;
|
|
117
|
-
@mixin ck-box-shadow var(--ck-focus-outer-shadow);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
&.overlay {
|
|
122
|
-
display: inline-block;
|
|
123
|
-
position: absolute;
|
|
124
|
-
top: 0;
|
|
125
|
-
z-index: 2;
|
|
126
|
-
|
|
127
|
-
background: var(--ck-color-base-background);
|
|
128
|
-
box-shadow: 0 2px 3px hsla(0, 0%, 100%, 0.2);
|
|
129
|
-
border-radius: 2px;
|
|
130
|
-
white-space: normal;
|
|
131
|
-
box-sizing: border-box;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.ck .ck-thread__comment-count {
|
|
137
|
-
/* Make avatar size in the comment smaller than in presence list. */
|
|
138
|
-
--ck-user-avatar-size: 28px;
|
|
139
|
-
|
|
140
|
-
padding-left: calc( var(--ck-user-avatar-size) + var(--ck-spacing-standard) * 2 );
|
|
141
|
-
|
|
142
|
-
color: var(--ck-color-comment-count);
|
|
143
|
-
font-size: var(--ck-font-size-base);
|
|
144
|
-
font-weight: bold;
|
|
145
|
-
cursor: pointer;
|
|
146
|
-
|
|
147
|
-
/* Keep similar transition like `ck-annotation`. */
|
|
148
|
-
transition: background-color 300ms ease;
|
|
149
|
-
|
|
150
|
-
&::before {
|
|
151
|
-
content: '\25BC';
|
|
152
|
-
margin-right: var(--ck-spacing-small);
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.ck .ck-thread--remove {
|
|
157
|
-
& .ck-comment {
|
|
158
|
-
background-color: var(--ck-color-comment-remove-background);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
& .ck-thread__input--active {
|
|
162
|
-
background-color: var(--ck-color-base-background);
|
|
163
|
-
|
|
164
|
-
&.ck-thread__input {
|
|
165
|
-
background-color: var(--ck-color-comment-remove-background);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
& .ck-thread__comment-count {
|
|
170
|
-
background-color: var(--ck-color-comment-remove-background);
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
/* Handle visibility of vertical line below avatars. */
|
|
174
|
-
& .ck-comment__wrapper {
|
|
175
|
-
& .ck-comment::after {
|
|
176
|
-
opacity: 0;
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
/* Handle visibility of vertical line below avatars. */
|
|
182
|
-
.ck .ck-thread__comments .ck-comment__wrapper {
|
|
183
|
-
&:last-of-type {
|
|
184
|
-
& .ck-comment::after {
|
|
185
|
-
opacity: 0;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.ck .ck-thread__container {
|
|
191
|
-
transition: transform 300ms ease;
|
|
192
|
-
|
|
193
|
-
@media (prefers-reduced-motion: reduce) {
|
|
194
|
-
transition: none;
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.ck .ck-thread__comments {
|
|
199
|
-
position: relative;
|
|
200
|
-
z-index: var(--ck-z-default);
|
|
201
|
-
list-style: none;
|
|
202
|
-
margin: 0;
|
|
203
|
-
padding: 0;
|
|
204
|
-
border-radius: var(--ck-border-radius);
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.ck .ck-thread__user {
|
|
208
|
-
font-size: 0.85em;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.ck .ck-thread__input {
|
|
212
|
-
/* #1829. Firefox is wrongly rendering flex container width 100% with overflowed (non-spaced) text. */
|
|
213
|
-
width: calc( 100% - var(--ck-user-avatar-size) );
|
|
214
|
-
white-space: normal;
|
|
215
|
-
|
|
216
|
-
transition: background-color 200ms ease-in-out;
|
|
217
|
-
border-radius: var(--ck-border-radius);
|
|
218
|
-
|
|
219
|
-
/*
|
|
220
|
-
This is equal to the height of the wrapper when the editor instance is loaded.
|
|
221
|
-
Editor instance is loaded _after_ the comment view is created,
|
|
222
|
-
so the min-height is set to avoid jitter.
|
|
223
|
-
*/
|
|
224
|
-
min-height: 38px;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
.ck .ck-thread--active {
|
|
228
|
-
& .ck-comment__options.ck-dropdown {
|
|
229
|
-
display: block;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
& .ck-thread__input {
|
|
233
|
-
display: block;
|
|
234
|
-
background-color: var(--ck-color-comment-background);
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
& .ck-thread__header {
|
|
238
|
-
background-color: var(--ck-color-thread-header-active-background);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.ck .ck-thread--unlinked {
|
|
243
|
-
--ck-color-comment-box-border: var(--ck-color-base-border);
|
|
244
|
-
|
|
245
|
-
--ck-color-thread-header-background: var(--ck-color-unlinked-background);
|
|
246
|
-
--ck-color-thread-header-active-background: var(--ck-color-unlinked-active-background);
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
/* We need specificity 020 to beat .ck.ck-button. */
|
|
250
|
-
.ck.ck-button.ck-confirm-view-submit {
|
|
251
|
-
color: var(--ck-color-button-save);
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
.ck.ck-button.ck-confirm-view-cancel {
|
|
255
|
-
color: var(--ck-color-button-cancel);
|
|
256
|
-
}
|