@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/sidebar-narrow.css
DELETED
|
@@ -1,91 +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-annotation-counter-icon-size: 16px;
|
|
12
|
-
--ck-annotation-counter-number-size: 10px;
|
|
13
|
-
--ck-color-annotation-counter-comment: hsl(55, 98%, 48%);
|
|
14
|
-
--ck-color-annotation-counter-suggestion-insertion: hsl(128, 62%, 60%);
|
|
15
|
-
--ck-color-annotation-counter-suggestion-deletion: hsl(345, 62%, 60%);
|
|
16
|
-
--ck-color-annotation-counter-suggestion-format: hsl(191, 62%, 60%);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/* Center a annotation counter icon no matter of parent container width. */
|
|
20
|
-
.ck.ck-sidebar--narrow .ck-sidebar-item {
|
|
21
|
-
display: flex;
|
|
22
|
-
justify-content: center;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.ck.ck-sidebar--narrow .ck-annotation-counter {
|
|
26
|
-
/* Let's reduce icon size a bit. */
|
|
27
|
-
font-size: var(--ck-annotation-counter-icon-size);
|
|
28
|
-
|
|
29
|
-
/* Reduce default `.ck-button` min-height which is 2.3em, bigger than current icon. */
|
|
30
|
-
min-height: unset;
|
|
31
|
-
padding: 0;
|
|
32
|
-
|
|
33
|
-
cursor: pointer;
|
|
34
|
-
color: hsl(0, 0%, 50%);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.ck.ck-sidebar--narrow .ck-annotation-counter:hover,
|
|
38
|
-
.ck.ck-sidebar--narrow .ck-annotation-counter:focus {
|
|
39
|
-
background: transparent;
|
|
40
|
-
box-shadow: none;
|
|
41
|
-
color: hsl(0, 0%, 30%);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.ck.ck-sidebar--narrow .ck-annotation-counter__badge {
|
|
45
|
-
border-radius: 50%;
|
|
46
|
-
position: absolute;
|
|
47
|
-
width: 16px;
|
|
48
|
-
height: 16px;
|
|
49
|
-
background: hsl(0, 0%, 20%);
|
|
50
|
-
font-weight: bold;
|
|
51
|
-
color: hsl(0, 0%, 100%);
|
|
52
|
-
font-size: var(--ck-annotation-counter-number-size);
|
|
53
|
-
font-family: var(--ck-font-face);
|
|
54
|
-
right: 0;
|
|
55
|
-
top: -6px;
|
|
56
|
-
|
|
57
|
-
/* Improve visibility of counter number. */
|
|
58
|
-
text-shadow: -1px 0 2px hsl(0, 0%, 27%), 1px 0 2px hsl(0, 0%, 27%);
|
|
59
|
-
|
|
60
|
-
/* Display number perfectly center of circle. */
|
|
61
|
-
display: flex;
|
|
62
|
-
justify-content: center;
|
|
63
|
-
|
|
64
|
-
/* We can't use here `align-items: center` because we need to edit `line-height` for edit mode case. */
|
|
65
|
-
line-height: 16px;
|
|
66
|
-
|
|
67
|
-
/* To display above comment icon. */
|
|
68
|
-
z-index: 1;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/* When annotation is in edit mode, center `...` differently. */
|
|
72
|
-
.ck.ck-sidebar--narrow .ck-annotation-counter__badge--edit-mode {
|
|
73
|
-
line-height: 1;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-insertion,
|
|
77
|
-
.ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-replace {
|
|
78
|
-
background: var(--ck-color-annotation-counter-suggestion-insertion);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-deletion {
|
|
82
|
-
background: var(--ck-color-annotation-counter-suggestion-deletion);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-format {
|
|
86
|
-
background: var(--ck-color-annotation-counter-suggestion-format);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.ck.ck-sidebar--narrow .ck-annotation-counter__badge--comment {
|
|
90
|
-
background: var(--ck-color-annotation-counter-comment);
|
|
91
|
-
}
|
package/theme/sidebar.css
DELETED
|
@@ -1,72 +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-annotation-wrapper-background: hsl(0, 0%, 100%);
|
|
12
|
-
--ck-color-annotation-wrapper-drop-shadow: 0 1px 1px 1px hsl(0, 0%, 90%);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.ck.ck-sidebar {
|
|
16
|
-
position: relative;
|
|
17
|
-
transition: min-height 250ms ease;
|
|
18
|
-
outline: 0;
|
|
19
|
-
|
|
20
|
-
@media (prefers-reduced-motion: reduce) {
|
|
21
|
-
transition: none;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.ck-sidebar-item {
|
|
26
|
-
position: absolute;
|
|
27
|
-
width: 100%;
|
|
28
|
-
transition: top 300ms ease, box-shadow 300ms ease;
|
|
29
|
-
|
|
30
|
-
@media (prefers-reduced-motion: reduce) {
|
|
31
|
-
transition: none;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.ck-sidebar-item--no-animation {
|
|
36
|
-
transition: top 0s ease !important;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.ck.ck-annotation-wrapper {
|
|
40
|
-
outline: 0;
|
|
41
|
-
border-radius: var(--ck-border-radius);
|
|
42
|
-
background: var(--ck-color-annotation-wrapper-background);
|
|
43
|
-
box-shadow: var(--ck-color-annotation-wrapper-drop-shadow);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.ck.ck-annotation-wrapper--active,
|
|
47
|
-
.ck.ck-annotation-wrapper:hover{
|
|
48
|
-
& .ck-annotation__actions {
|
|
49
|
-
opacity: 1;
|
|
50
|
-
|
|
51
|
-
& .ck-comment--resolve {
|
|
52
|
-
color: var(--ck-color-button-save);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
& .ck-suggestion--accept {
|
|
57
|
-
color: var(--ck-color-button-save)
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
& .ck-suggestion--discard {
|
|
61
|
-
color: var(--ck-color-button-cancel)
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/* Handle case where annotation is inactive and users hover them. */
|
|
66
|
-
.ck.ck-annotation-wrapper:not(.ck-annotation-wrapper--active):hover {
|
|
67
|
-
box-shadow: var(--ck-drop-shadow);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.ck.ck-annotation-wrapper--active {
|
|
71
|
-
box-shadow: var(--ck-drop-shadow-active);
|
|
72
|
-
}
|
|
File without changes
|
/package/{src → dist}/index.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|