@ckeditor/ckeditor5-comments 41.3.1 → 41.4.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/build/comments.js +1 -1
- package/dist/index-content.css +4 -0
- package/dist/index-editor.css +596 -0
- package/dist/index.css +926 -0
- package/dist/index.js +23 -0
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +23 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sq.d.ts +8 -0
- package/dist/translations/sq.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +23 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/types/annotations/annotation.d.ts +94 -0
- package/dist/types/annotations/annotationcollection.d.ts +102 -0
- package/dist/types/annotations/annotations.d.ts +158 -0
- package/dist/types/annotations/annotationsuis.d.ts +236 -0
- package/dist/types/annotations/editorannotations.d.ts +71 -0
- package/dist/types/annotations/inlineannotations.d.ts +94 -0
- package/dist/types/annotations/narrowsidebar.d.ts +89 -0
- package/dist/types/annotations/sidebar.d.ts +104 -0
- package/dist/types/annotations/view/annotationcounterbuttonview.d.ts +33 -0
- package/dist/types/annotations/view/annotationview.d.ts +94 -0
- package/dist/types/annotations/view/sidebaritemview.d.ts +59 -0
- package/dist/types/annotations/view/sidebarview.d.ts +36 -0
- package/dist/types/annotations/widesidebar.d.ts +81 -0
- package/dist/types/augmentation.d.ts +56 -0
- package/dist/types/comments/addcommentthreadcommand.d.ts +39 -0
- package/dist/types/comments/commentsarchive.d.ts +35 -0
- package/dist/types/comments/commentsarchiveui.d.ts +42 -0
- package/dist/types/comments/commentsediting.d.ts +84 -0
- package/dist/types/comments/commentsrepository.d.ts +1134 -0
- package/dist/types/comments/commentsui.d.ts +37 -0
- package/dist/types/comments/integrations/clipboard.d.ts +30 -0
- package/dist/types/comments/integrations/commentsrestrictededitingmode.d.ts +21 -0
- package/dist/types/comments/integrations/importword.d.ts +25 -0
- package/dist/types/comments/ui/commenteditor/commenteditor.d.ts +40 -0
- package/dist/types/comments/ui/commenteditor/commenteditorui.d.ts +35 -0
- package/dist/types/comments/ui/commenteditor/commenteditoruiview.d.ts +40 -0
- package/dist/types/comments/ui/commentthreadcontroller.d.ts +68 -0
- package/dist/types/comments/ui/view/basecommentthreadview.d.ts +123 -0
- package/dist/types/comments/ui/view/basecommentview.d.ts +116 -0
- package/dist/types/comments/ui/view/collapsedcommentsview.d.ts +17 -0
- package/dist/types/comments/ui/view/commentcontentview.d.ts +18 -0
- package/dist/types/comments/ui/view/commentinputview.d.ts +90 -0
- package/dist/types/comments/ui/view/commentsarchiveview.d.ts +42 -0
- package/dist/types/comments/ui/view/commentslistview.d.ts +104 -0
- package/dist/types/comments/ui/view/commentthreadheaderview.d.ts +54 -0
- package/dist/types/comments/ui/view/commentthreadinputview.d.ts +45 -0
- package/dist/types/comments/ui/view/commentthreadview.d.ts +122 -0
- package/dist/types/comments/ui/view/commentview.d.ts +247 -0
- package/dist/types/comments.d.ts +39 -0
- package/dist/types/commentsonly.d.ts +37 -0
- package/dist/types/config.d.ts +202 -0
- package/dist/types/index.d.ts +28 -0
- package/dist/types/utils/common-translations.d.ts +13 -0
- package/dist/types/utils/createmutationobserver.d.ts +18 -0
- package/package.json +4 -3
- package/src/annotations/annotation.js +1 -1
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +1 -1
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +1 -1
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +1 -1
- package/src/comments/ui/view/commentview.js +1 -1
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -0,0 +1,596 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
:root {
|
|
6
|
+
--ck-color-comment-marker: hsl(55, 98%, 83%);
|
|
7
|
+
--ck-color-comment-marker-active: hsl(55, 98%, 68%);
|
|
8
|
+
--ck-color-comment-background: hsl(210, 52%, 97%);
|
|
9
|
+
--ck-color-comment-separator: hsl(210, 52%, 87%);
|
|
10
|
+
--ck-color-comment-remove-background: var(--ck-color-light-red);
|
|
11
|
+
--ck-color-comment-input-background: var(--ck-color-comment-background);
|
|
12
|
+
--ck-color-comment-count: hsl(210, 52%, 57%);
|
|
13
|
+
--ck-color-thread-header-background: hsl(54, 88%, 93%);
|
|
14
|
+
--ck-color-thread-header-active-background: hsl(52, 100%, 83%);
|
|
15
|
+
--ck-color-unlinked-background: hsl(0, 0%, 96%);
|
|
16
|
+
--ck-color-unlinked-active-background: hsl(0, 0%, 92%);
|
|
17
|
+
--ck-inline-annotation-container-width: 300px;
|
|
18
|
+
--ck-inline-annotation-container-max-height: 400px;
|
|
19
|
+
--ck-color-annotation-wrapper-background: hsl(0, 0%, 100%);
|
|
20
|
+
--ck-color-annotation-wrapper-drop-shadow: 0 1px 1px 1px hsl(0, 0%, 90%);
|
|
21
|
+
--ck-annotation-counter-icon-size: 16px;
|
|
22
|
+
--ck-annotation-counter-number-size: 10px;
|
|
23
|
+
--ck-color-annotation-counter-comment: hsl(55, 98%, 48%);
|
|
24
|
+
--ck-color-annotation-counter-suggestion-insertion: hsl(128, 62%, 60%);
|
|
25
|
+
--ck-color-annotation-counter-suggestion-deletion: hsl(345, 62%, 60%);
|
|
26
|
+
--ck-color-annotation-counter-suggestion-format: hsl(191, 62%, 60%);
|
|
27
|
+
--ck-color-annotation-icon: hsl(0, 0%, 50%);
|
|
28
|
+
--ck-color-annotation-info: hsl(0, 0%, 46%);
|
|
29
|
+
--ck-annotation-button-size: 0.85em;
|
|
30
|
+
}
|
|
31
|
+
.ck-comment-marker {
|
|
32
|
+
background: var(--ck-color-comment-marker);
|
|
33
|
+
border-top: 3px solid transparent;
|
|
34
|
+
border-bottom: 3px solid transparent;
|
|
35
|
+
}
|
|
36
|
+
.ck-comment-marker.ck-widget {
|
|
37
|
+
background-color: transparent;
|
|
38
|
+
border: 3px solid var(--ck-color-comment-marker);
|
|
39
|
+
}
|
|
40
|
+
.ck-comment-marker--active {
|
|
41
|
+
background: var(--ck-color-comment-marker-active);
|
|
42
|
+
}
|
|
43
|
+
.ck-comment-marker--active .ck-comment-marker {
|
|
44
|
+
background: var(--ck-color-comment-marker-active);
|
|
45
|
+
}
|
|
46
|
+
.ck-comment-marker--active.ck-widget {
|
|
47
|
+
border-color: var(--ck-color-comment-marker-active);
|
|
48
|
+
}
|
|
49
|
+
.ck-comment-marker--active.ck-widget .ck-comment-marker {
|
|
50
|
+
background-color: var(--ck-color-comment-marker);
|
|
51
|
+
}
|
|
52
|
+
.ck .ck-comments-archive-dropdown.ck-dropdown__panel {
|
|
53
|
+
z-index: var( --ck-z-panel );
|
|
54
|
+
}
|
|
55
|
+
.ck .ck-comments-archive {
|
|
56
|
+
width: 400px;
|
|
57
|
+
max-height: 450px;
|
|
58
|
+
box-sizing: content-box;
|
|
59
|
+
}
|
|
60
|
+
.ck .ck-comments-archive .ck-annotation {
|
|
61
|
+
animation: none;
|
|
62
|
+
}
|
|
63
|
+
.ck .ck-comments-archive .ck-comments-archive__header {
|
|
64
|
+
overflow: auto;
|
|
65
|
+
max-height: 410px;
|
|
66
|
+
padding: var( --ck-spacing-large );
|
|
67
|
+
}
|
|
68
|
+
.ck .ck-comments-archive .ck-comments-archive__header {
|
|
69
|
+
max-height: 40px;
|
|
70
|
+
line-height: var( --ck-font-size-base );
|
|
71
|
+
font-weight: bold;
|
|
72
|
+
border-bottom: 1px solid var( --ck-color-toolbar-border );
|
|
73
|
+
}
|
|
74
|
+
.ck .ck-comments-archive .ck-comments-archive__content .ck-annotation-wrapper:not(:last-child) {
|
|
75
|
+
margin-bottom: var( --ck-spacing-large );
|
|
76
|
+
}
|
|
77
|
+
.ck .ck-comments-archive .ck-comments-archive__info {
|
|
78
|
+
text-align: center;
|
|
79
|
+
font-style: italic;
|
|
80
|
+
color: var( --ck-color-annotation-info );
|
|
81
|
+
}
|
|
82
|
+
.ck .ck-comment__wrapper {
|
|
83
|
+
font-size: var(--ck-font-size-base);
|
|
84
|
+
position: relative;
|
|
85
|
+
outline: 0;
|
|
86
|
+
transition: all 300ms linear;
|
|
87
|
+
}
|
|
88
|
+
.ck .ck-comment__wrapper.ck-comment--remove-confirmation {
|
|
89
|
+
transform: translate3d( -100%, 0, 0 );
|
|
90
|
+
}
|
|
91
|
+
.ck .ck-comment__wrapper:first-of-type {
|
|
92
|
+
border-top-right-radius: var(--ck-border-radius);
|
|
93
|
+
border-top-left-radius: var(--ck-border-radius);
|
|
94
|
+
}
|
|
95
|
+
.ck .ck-comment::after {
|
|
96
|
+
content: '';
|
|
97
|
+
display: block;
|
|
98
|
+
position: absolute;
|
|
99
|
+
opacity: 1;
|
|
100
|
+
top: calc( var(--ck-user-avatar-size) + var(--ck-spacing-small) );
|
|
101
|
+
left: calc(
|
|
102
|
+
var(--ck-spacing-standard) + ( var(--ck-user-avatar-size) / 2 )
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
- 2px
|
|
106
|
+
);
|
|
107
|
+
width: 4px;
|
|
108
|
+
height: 100%;
|
|
109
|
+
background-color: var(--ck-color-comment-separator);
|
|
110
|
+
}
|
|
111
|
+
.ck .ck-comment--remove {
|
|
112
|
+
background-color: var(--ck-color-comment-remove-background);
|
|
113
|
+
}
|
|
114
|
+
.ck .ck-comment--remove::after {
|
|
115
|
+
opacity: 0;
|
|
116
|
+
}
|
|
117
|
+
.ck .ck-comment--edit {
|
|
118
|
+
background-color: var(--ck-color-comment-input-background);
|
|
119
|
+
}
|
|
120
|
+
.ck .ck-comment--edit::after {
|
|
121
|
+
opacity: 0;
|
|
122
|
+
}
|
|
123
|
+
.ck .ck-comment--edit .ck-comment__input-actions {
|
|
124
|
+
margin-top: var(--ck-spacing-standard);
|
|
125
|
+
}
|
|
126
|
+
.ck .ck-comment__content {
|
|
127
|
+
word-break: break-word;
|
|
128
|
+
}
|
|
129
|
+
.ck .ck-comment--info .ck-comment__content {
|
|
130
|
+
font-style: italic;
|
|
131
|
+
}
|
|
132
|
+
.ck .ck-comment p {
|
|
133
|
+
margin: 0;
|
|
134
|
+
}
|
|
135
|
+
.ck .ck-comment ul {
|
|
136
|
+
padding-left: 10px;
|
|
137
|
+
margin-left: 10px;
|
|
138
|
+
}
|
|
139
|
+
.ck .ck-comment ul {
|
|
140
|
+
list-style: disc;
|
|
141
|
+
margin-bottom: 5px;
|
|
142
|
+
margin-top: 0;
|
|
143
|
+
}
|
|
144
|
+
.ck .ck-comment ul ul {
|
|
145
|
+
list-style: circle;
|
|
146
|
+
}
|
|
147
|
+
.ck .ck-comment ul ul ul {
|
|
148
|
+
list-style: square;
|
|
149
|
+
}
|
|
150
|
+
.ck .ck-comment__main .ck-comment__input-wrapper {
|
|
151
|
+
display: flex;
|
|
152
|
+
flex-direction: column;
|
|
153
|
+
position: relative;
|
|
154
|
+
transition: all 300ms linear;
|
|
155
|
+
}
|
|
156
|
+
.ck .ck-comment__main .ck-comment__input-wrapper .ck-comment__input {
|
|
157
|
+
padding: 0;
|
|
158
|
+
}
|
|
159
|
+
.ck .ck-comment__user {
|
|
160
|
+
z-index: var(--ck-z-default);
|
|
161
|
+
}
|
|
162
|
+
.ck-comment__input-actions .ck.ck-button.ck-comment__input-actions--submit {
|
|
163
|
+
background: var(--ck-color-base-action);
|
|
164
|
+
color: hsl(0, 0%, 100%);
|
|
165
|
+
}
|
|
166
|
+
.ck-comment__input-actions .ck.ck-button.ck-comment__input-actions--submit:hover {
|
|
167
|
+
background: var(--ck-color-button-save);
|
|
168
|
+
}
|
|
169
|
+
.ck-comment__input-actions .ck.ck-button.ck-comment__input-actions--cancel {
|
|
170
|
+
color: var(--ck-color-text);
|
|
171
|
+
}
|
|
172
|
+
.ck .ck-comment__external {
|
|
173
|
+
font-style: italic;
|
|
174
|
+
color: var(--ck-color-annotation-info);
|
|
175
|
+
font-size: var(--ck-font-size-tiny);
|
|
176
|
+
margin-top: var(--ck-spacing-standard);
|
|
177
|
+
}
|
|
178
|
+
.ck .ck-comment .ck-dropdown .ck-dropdown__arrow {
|
|
179
|
+
display: none;
|
|
180
|
+
}
|
|
181
|
+
.ck .ck-comment .ck-dropdown .ck-list {
|
|
182
|
+
margin: 0;
|
|
183
|
+
padding: 0;
|
|
184
|
+
}
|
|
185
|
+
.ck .ck-comment .ck-dropdown .ck-list .ck-list__item {
|
|
186
|
+
font-size: 1.2em;
|
|
187
|
+
color: var(--ck-color-base-text);
|
|
188
|
+
min-width: auto;
|
|
189
|
+
}
|
|
190
|
+
.ck .ck-comment .ck-dropdown .ck-list .ck-list__item .ck-button {
|
|
191
|
+
color: var(--ck-color-text);
|
|
192
|
+
}
|
|
193
|
+
.ck .ck-comment .ck-dropdown .ck-list .ck-list__item .ck-button__label {
|
|
194
|
+
margin: 0 var(--ck-spacing-large);
|
|
195
|
+
}
|
|
196
|
+
.ck .ck-thread {
|
|
197
|
+
width: 100%;
|
|
198
|
+
color: var(--ck-color-base-text);
|
|
199
|
+
outline: 0;
|
|
200
|
+
background-color: var(--ck-color-base-background);
|
|
201
|
+
overflow: hidden;
|
|
202
|
+
transition: all 300ms ease;
|
|
203
|
+
border-radius: var(--ck-border-radius);
|
|
204
|
+
}
|
|
205
|
+
.ck .ck-thread__header {
|
|
206
|
+
display: flex;
|
|
207
|
+
justify-content: space-between;
|
|
208
|
+
line-height: 1.57;
|
|
209
|
+
padding: var(--ck-spacing-standard);
|
|
210
|
+
background-color: var(--ck-color-thread-header-background);
|
|
211
|
+
font-size: var(--ck-font-size-base);
|
|
212
|
+
}
|
|
213
|
+
.ck .ck-thread__header .ck-button {
|
|
214
|
+
font-size: var(--ck-annotation-button-size);
|
|
215
|
+
}
|
|
216
|
+
.ck .ck-thread__header .ck-context-wrapper {
|
|
217
|
+
display: inline-flex;
|
|
218
|
+
width: 100%;
|
|
219
|
+
min-width: 0;
|
|
220
|
+
height: 25px;
|
|
221
|
+
position: relative;
|
|
222
|
+
padding-right: var(--ck-spacing-large);
|
|
223
|
+
}
|
|
224
|
+
.ck .ck-thread__header .ck-context {
|
|
225
|
+
display: flex;
|
|
226
|
+
white-space: nowrap;
|
|
227
|
+
overflow: hidden;
|
|
228
|
+
width: 100%;
|
|
229
|
+
padding: var(--ck-spacing-small) var(--ck-spacing-medium);
|
|
230
|
+
}
|
|
231
|
+
.ck .ck-thread__header .ck-context.ck-context--quotes::after {
|
|
232
|
+
display: inline-block;
|
|
233
|
+
content: '"';
|
|
234
|
+
}
|
|
235
|
+
.ck .ck-thread__header .ck-context .ck-context__type {
|
|
236
|
+
font-weight: bold;
|
|
237
|
+
padding-right: var(--ck-spacing-standard);
|
|
238
|
+
}
|
|
239
|
+
.ck .ck-thread__header .ck-context .ck-context__value {
|
|
240
|
+
overflow: hidden;
|
|
241
|
+
text-overflow: ellipsis;
|
|
242
|
+
}
|
|
243
|
+
.ck .ck-thread__header .ck-context.overlay {
|
|
244
|
+
display: inline-block;
|
|
245
|
+
position: absolute;
|
|
246
|
+
top: 0;
|
|
247
|
+
z-index: 2;
|
|
248
|
+
background: var(--ck-color-base-background);
|
|
249
|
+
box-shadow: 0 2px 3px hsla(0, 0%, 100%, 0.2);
|
|
250
|
+
border-radius: 2px;
|
|
251
|
+
white-space: normal;
|
|
252
|
+
box-sizing: border-box;
|
|
253
|
+
}
|
|
254
|
+
.ck .ck-thread__comment-count {
|
|
255
|
+
--ck-user-avatar-size: 28px;
|
|
256
|
+
padding-left: calc( var(--ck-user-avatar-size) + var(--ck-spacing-standard) * 2 );
|
|
257
|
+
color: var(--ck-color-comment-count);
|
|
258
|
+
font-size: var(--ck-font-size-base);
|
|
259
|
+
font-weight: bold;
|
|
260
|
+
cursor: pointer;
|
|
261
|
+
transition: background-color 300ms ease;
|
|
262
|
+
}
|
|
263
|
+
.ck .ck-thread__comment-count::before {
|
|
264
|
+
content: '\25BC';
|
|
265
|
+
margin-right: var(--ck-spacing-small);
|
|
266
|
+
}
|
|
267
|
+
.ck .ck-thread--remove .ck-comment {
|
|
268
|
+
background-color: var(--ck-color-comment-remove-background);
|
|
269
|
+
}
|
|
270
|
+
.ck .ck-thread--remove .ck-thread__input--active {
|
|
271
|
+
background-color: var(--ck-color-base-background);
|
|
272
|
+
}
|
|
273
|
+
.ck .ck-thread--remove .ck-thread__input--active.ck-thread__input {
|
|
274
|
+
background-color: var(--ck-color-comment-remove-background);
|
|
275
|
+
}
|
|
276
|
+
.ck .ck-thread--remove .ck-thread__comment-count {
|
|
277
|
+
background-color: var(--ck-color-comment-remove-background);
|
|
278
|
+
}
|
|
279
|
+
.ck .ck-thread--remove .ck-comment__wrapper .ck-comment::after {
|
|
280
|
+
opacity: 0;
|
|
281
|
+
}
|
|
282
|
+
.ck .ck-thread__comments .ck-comment__wrapper:last-of-type .ck-comment::after {
|
|
283
|
+
opacity: 0;
|
|
284
|
+
}
|
|
285
|
+
.ck .ck-thread__container {
|
|
286
|
+
transition: transform 300ms ease;
|
|
287
|
+
}
|
|
288
|
+
.ck .ck-thread__comments {
|
|
289
|
+
position: relative;
|
|
290
|
+
z-index: var(--ck-z-default);
|
|
291
|
+
list-style: none;
|
|
292
|
+
margin: 0;
|
|
293
|
+
padding: 0;
|
|
294
|
+
border-radius: var(--ck-border-radius);
|
|
295
|
+
}
|
|
296
|
+
.ck .ck-thread__user {
|
|
297
|
+
font-size: 0.85em;
|
|
298
|
+
}
|
|
299
|
+
.ck .ck-thread__input {
|
|
300
|
+
width: calc( 100% - var(--ck-user-avatar-size) );
|
|
301
|
+
white-space: normal;
|
|
302
|
+
transition: background-color 200ms ease-in-out;
|
|
303
|
+
border-radius: var(--ck-border-radius);
|
|
304
|
+
min-height: 38px;
|
|
305
|
+
}
|
|
306
|
+
.ck .ck-thread--active .ck-comment__options.ck-dropdown {
|
|
307
|
+
display: block;
|
|
308
|
+
}
|
|
309
|
+
.ck .ck-thread--active .ck-thread__input {
|
|
310
|
+
display: block;
|
|
311
|
+
background-color: var(--ck-color-comment-background);
|
|
312
|
+
}
|
|
313
|
+
.ck .ck-thread--active .ck-thread__header {
|
|
314
|
+
background-color: var(--ck-color-thread-header-active-background);
|
|
315
|
+
}
|
|
316
|
+
.ck .ck-thread--unlinked {
|
|
317
|
+
--ck-color-comment-box-border: var(--ck-color-base-border);
|
|
318
|
+
--ck-color-thread-header-background: var(--ck-color-unlinked-background);
|
|
319
|
+
--ck-color-thread-header-active-background: var(--ck-color-unlinked-active-background);
|
|
320
|
+
}
|
|
321
|
+
.ck .ck-thread--remove-confirmation .ck-thread__container {
|
|
322
|
+
transform: translate3d( -100%, 0, 0 );
|
|
323
|
+
}
|
|
324
|
+
.ck.ck-button.ck-thread__remove-confirm-submit {
|
|
325
|
+
color: var(--ck-color-button-save);
|
|
326
|
+
}
|
|
327
|
+
.ck.ck-button.ck-thread__remove-confirm-cancel {
|
|
328
|
+
color: var(--ck-color-button-cancel);
|
|
329
|
+
}
|
|
330
|
+
.ck .ck-thread__remove-confirm {
|
|
331
|
+
font-size: var(--ck-font-size-base);
|
|
332
|
+
position: absolute;
|
|
333
|
+
display: flex;
|
|
334
|
+
justify-content: flex-start;
|
|
335
|
+
top: 0;
|
|
336
|
+
left: 100%;
|
|
337
|
+
width: 100%;
|
|
338
|
+
height: 100%;
|
|
339
|
+
background-color: var(--ck-color-comment-remove-background);
|
|
340
|
+
}
|
|
341
|
+
.ck .ck-thread__remove-confirm .ck-thread__remove-confirm-inner {
|
|
342
|
+
display: flex;
|
|
343
|
+
flex-direction: column;
|
|
344
|
+
align-items: center;
|
|
345
|
+
justify-content: center;
|
|
346
|
+
padding-top: var(--ck-spacing-standard);
|
|
347
|
+
height: 100%;
|
|
348
|
+
width: 100%;
|
|
349
|
+
max-height: 400px;
|
|
350
|
+
}
|
|
351
|
+
.ck .ck-thread__remove-confirm p {
|
|
352
|
+
font-weight: bold;
|
|
353
|
+
margin: 0;
|
|
354
|
+
}
|
|
355
|
+
.ck .ck-comment__input-container {
|
|
356
|
+
--ck-user-avatar-size: 28px;
|
|
357
|
+
font-size: var(--ck-font-size-base);
|
|
358
|
+
display: none;
|
|
359
|
+
padding: var(--ck-spacing-standard);
|
|
360
|
+
background: var(--ck-color-comment-background);
|
|
361
|
+
}
|
|
362
|
+
.ck .ck-comment__input-container--active {
|
|
363
|
+
display: flex;
|
|
364
|
+
}
|
|
365
|
+
.ck .ck-comment__input {
|
|
366
|
+
padding: var(--ck-spacing-standard);
|
|
367
|
+
padding-top: var(--ck-spacing-medium);
|
|
368
|
+
color: var(--ck-color-base-text);
|
|
369
|
+
border-width: 0;
|
|
370
|
+
resize: none;
|
|
371
|
+
background-color: transparent;
|
|
372
|
+
transition: color 300ms ease-in-out;
|
|
373
|
+
}
|
|
374
|
+
.ck .ck-comment__input:focus {
|
|
375
|
+
outline: none;
|
|
376
|
+
}
|
|
377
|
+
.ck .ck-comment__input .ck-editor__editable_inline {
|
|
378
|
+
--ck-focus-ring: none;
|
|
379
|
+
--ck-inner-shadow: none;
|
|
380
|
+
padding: 0;
|
|
381
|
+
overflow: visible;
|
|
382
|
+
border: 0;
|
|
383
|
+
background-color: transparent;
|
|
384
|
+
word-break: break-word;
|
|
385
|
+
}
|
|
386
|
+
.ck-comment__input-wrapper .ck.ck-editor__editable_inline *:first-child {
|
|
387
|
+
margin-top: 0;
|
|
388
|
+
}
|
|
389
|
+
.ck-comment__input-wrapper .ck.ck-editor__editable_inline *:last-child {
|
|
390
|
+
margin-bottom: 0;
|
|
391
|
+
}
|
|
392
|
+
.ck .ck-comment__input-actions {
|
|
393
|
+
width: 100%;
|
|
394
|
+
text-align: right;
|
|
395
|
+
display: none;
|
|
396
|
+
}
|
|
397
|
+
.ck .ck-comment__input-actions.ck-comment__input-actions--active {
|
|
398
|
+
display: block;
|
|
399
|
+
}
|
|
400
|
+
.ck .ck-comment__input-actions .ck.ck-button {
|
|
401
|
+
display: inline-flex;
|
|
402
|
+
justify-content: center;
|
|
403
|
+
align-items: center;
|
|
404
|
+
cursor: pointer;
|
|
405
|
+
min-height: var(--ck-ui-component-min-height);
|
|
406
|
+
min-width: 60px;
|
|
407
|
+
font-size: var(--ck-annotation-button-size);
|
|
408
|
+
margin-left: var(--ck-spacing-large);
|
|
409
|
+
padding: 0 var(--ck-spacing-medium);
|
|
410
|
+
}
|
|
411
|
+
.ck .ck-comment__input-actions .ck-button.ck-disabled {
|
|
412
|
+
opacity: .3;
|
|
413
|
+
}
|
|
414
|
+
.ck .ck-comment__input-textarea {
|
|
415
|
+
display: block;
|
|
416
|
+
}
|
|
417
|
+
.ck.ck-balloon-panel .ck-annotation-wrapper {
|
|
418
|
+
position: static;
|
|
419
|
+
width: var(--ck-inline-annotation-container-width);
|
|
420
|
+
max-height: var(--ck-inline-annotation-container-max-height);
|
|
421
|
+
overflow-y: auto;
|
|
422
|
+
overscroll-behavior-y: contain;
|
|
423
|
+
overflow-x: hidden;
|
|
424
|
+
}
|
|
425
|
+
.ck.ck-balloon-panel .ck-annotation {
|
|
426
|
+
animation: none;
|
|
427
|
+
}
|
|
428
|
+
.ck.ck-balloon-panel .ck-annotation-wrapper * {
|
|
429
|
+
white-space: normal;
|
|
430
|
+
}
|
|
431
|
+
.ck.ck-balloon-panel .ck-annotation-wrapper strong {
|
|
432
|
+
font-weight: bold;
|
|
433
|
+
}
|
|
434
|
+
.ck.ck-balloon-panel .ck-annotation-wrapper i {
|
|
435
|
+
font-style: italic;
|
|
436
|
+
}
|
|
437
|
+
.ck.ck-sidebar {
|
|
438
|
+
position: relative;
|
|
439
|
+
transition: min-height 250ms ease;
|
|
440
|
+
outline: 0;
|
|
441
|
+
}
|
|
442
|
+
.ck-sidebar-item {
|
|
443
|
+
position: absolute;
|
|
444
|
+
width: 100%;
|
|
445
|
+
transition: top 300ms ease, box-shadow 300ms ease;
|
|
446
|
+
}
|
|
447
|
+
.ck-sidebar-item--no-animation {
|
|
448
|
+
transition: top 0s ease !important;
|
|
449
|
+
}
|
|
450
|
+
.ck.ck-annotation-wrapper {
|
|
451
|
+
outline: 0;
|
|
452
|
+
border-radius: var(--ck-border-radius);
|
|
453
|
+
background: var(--ck-color-annotation-wrapper-background);
|
|
454
|
+
box-shadow: var(--ck-color-annotation-wrapper-drop-shadow);
|
|
455
|
+
}
|
|
456
|
+
.ck.ck-annotation-wrapper--active .ck-annotation__actions {
|
|
457
|
+
opacity: 1;
|
|
458
|
+
}
|
|
459
|
+
.ck.ck-annotation-wrapper--active .ck-annotation__actions .ck-comment--resolve {
|
|
460
|
+
color: var(--ck-color-button-save);
|
|
461
|
+
}
|
|
462
|
+
.ck.ck-annotation-wrapper--active .ck-suggestion--accept {
|
|
463
|
+
color: var(--ck-color-button-save);
|
|
464
|
+
}
|
|
465
|
+
.ck.ck-annotation-wrapper--active .ck-suggestion--discard {
|
|
466
|
+
color: var(--ck-color-button-cancel);
|
|
467
|
+
}
|
|
468
|
+
.ck.ck-annotation-wrapper:not(.ck-annotation-wrapper--active):hover {
|
|
469
|
+
box-shadow: var(--ck-drop-shadow);
|
|
470
|
+
}
|
|
471
|
+
.ck.ck-annotation-wrapper--active {
|
|
472
|
+
box-shadow: var(--ck-drop-shadow-active);
|
|
473
|
+
}
|
|
474
|
+
.ck.ck-sidebar--narrow .ck-sidebar-item {
|
|
475
|
+
display: flex;
|
|
476
|
+
justify-content: center;
|
|
477
|
+
}
|
|
478
|
+
.ck.ck-sidebar--narrow .ck-annotation-counter {
|
|
479
|
+
font-size: var(--ck-annotation-counter-icon-size);
|
|
480
|
+
min-height: unset;
|
|
481
|
+
padding: 0;
|
|
482
|
+
cursor: pointer;
|
|
483
|
+
color: hsl(0, 0%, 50%);
|
|
484
|
+
}
|
|
485
|
+
.ck.ck-sidebar--narrow .ck-annotation-counter:hover {
|
|
486
|
+
background: transparent;
|
|
487
|
+
box-shadow: none;
|
|
488
|
+
color: hsl(0, 0%, 30%);
|
|
489
|
+
}
|
|
490
|
+
.ck.ck-sidebar--narrow .ck-annotation-counter__badge {
|
|
491
|
+
border-radius: 50%;
|
|
492
|
+
position: absolute;
|
|
493
|
+
width: 16px;
|
|
494
|
+
height: 16px;
|
|
495
|
+
background: hsl(0, 0%, 20%);
|
|
496
|
+
font-weight: bold;
|
|
497
|
+
color: hsl(0, 0%, 100%);
|
|
498
|
+
font-size: var(--ck-annotation-counter-number-size);
|
|
499
|
+
font-family: var(--ck-font-face);
|
|
500
|
+
right: 0;
|
|
501
|
+
top: -6px;
|
|
502
|
+
text-shadow: -1px 0 2px hsl(0, 0%, 27%), 1px 0 2px hsl(0, 0%, 27%);
|
|
503
|
+
display: flex;
|
|
504
|
+
justify-content: center;
|
|
505
|
+
line-height: 16px;
|
|
506
|
+
z-index: 1;
|
|
507
|
+
}
|
|
508
|
+
.ck.ck-sidebar--narrow .ck-annotation-counter__badge--edit-mode {
|
|
509
|
+
line-height: 1;
|
|
510
|
+
}
|
|
511
|
+
.ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-insertion {
|
|
512
|
+
background: var(--ck-color-annotation-counter-suggestion-insertion);
|
|
513
|
+
}
|
|
514
|
+
.ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-deletion {
|
|
515
|
+
background: var(--ck-color-annotation-counter-suggestion-deletion);
|
|
516
|
+
}
|
|
517
|
+
.ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-format {
|
|
518
|
+
background: var(--ck-color-annotation-counter-suggestion-format);
|
|
519
|
+
}
|
|
520
|
+
.ck.ck-sidebar--narrow .ck-annotation-counter__badge--comment {
|
|
521
|
+
background: var(--ck-color-annotation-counter-comment);
|
|
522
|
+
}
|
|
523
|
+
.ck .ck-annotation {
|
|
524
|
+
--ck-user-avatar-size: 28px;
|
|
525
|
+
font-size: var(--ck-font-size-base);
|
|
526
|
+
display: flex;
|
|
527
|
+
position: relative;
|
|
528
|
+
animation: fadeInLeft 300ms;
|
|
529
|
+
transition: background-color 300ms ease;
|
|
530
|
+
padding: var(--ck-spacing-standard);
|
|
531
|
+
white-space: normal;
|
|
532
|
+
}
|
|
533
|
+
.ck .ck-annotation .ck-button {
|
|
534
|
+
background-color: transparent;
|
|
535
|
+
min-width: unset;
|
|
536
|
+
min-height: unset;
|
|
537
|
+
cursor: pointer;
|
|
538
|
+
color: var(--ck-color-annotation-icon);
|
|
539
|
+
border-radius: var(--ck-border-radius);
|
|
540
|
+
font-size: var(--ck-annotation-button-size);
|
|
541
|
+
}
|
|
542
|
+
.ck .ck-annotation .ck-user {
|
|
543
|
+
font-size: 0.85em;
|
|
544
|
+
}
|
|
545
|
+
.ck .ck-annotation__main {
|
|
546
|
+
display: grid;
|
|
547
|
+
grid-template-areas: "info actions"
|
|
548
|
+
"content content";
|
|
549
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
550
|
+
width: calc( 100% - var(--ck-user-avatar-size) );
|
|
551
|
+
transition: all 200ms ease;
|
|
552
|
+
border-radius: var(--ck-border-radius);
|
|
553
|
+
padding-left: var(--ck-spacing-standard);
|
|
554
|
+
}
|
|
555
|
+
.ck .ck-annotation__main p {
|
|
556
|
+
margin: 0;
|
|
557
|
+
white-space: normal;
|
|
558
|
+
font-size: var(--ck-font-size-base);
|
|
559
|
+
line-height: 1.5em;
|
|
560
|
+
}
|
|
561
|
+
.ck .ck-annotation__user {
|
|
562
|
+
margin-top: var(--ck-spacing-small);
|
|
563
|
+
}
|
|
564
|
+
.ck .ck-annotation__info {
|
|
565
|
+
grid-area: info;
|
|
566
|
+
display: flex;
|
|
567
|
+
align-items: center;
|
|
568
|
+
color: var(--ck-color-annotation-info);
|
|
569
|
+
min-height: 2.4em;
|
|
570
|
+
}
|
|
571
|
+
.ck .ck-annotation__info-name {
|
|
572
|
+
font-weight: bold;
|
|
573
|
+
white-space: nowrap;
|
|
574
|
+
overflow: hidden;
|
|
575
|
+
color: var(--ck-color-annotation-info);
|
|
576
|
+
font-size: var(--ck-font-size-small);
|
|
577
|
+
}
|
|
578
|
+
.ck .ck-annotation__info-name {
|
|
579
|
+
text-overflow: ellipsis;
|
|
580
|
+
}
|
|
581
|
+
.ck .ck-annotation__info-time {
|
|
582
|
+
flex: 0 0 auto;
|
|
583
|
+
margin: 0 var(--ck-spacing-large);
|
|
584
|
+
}
|
|
585
|
+
.ck.ck-balloon-panel .ck-annotation-wrapper .ck-annotation__info-name {
|
|
586
|
+
white-space: nowrap;
|
|
587
|
+
}
|
|
588
|
+
.ck .ck-annotation__actions {
|
|
589
|
+
grid-area: actions;
|
|
590
|
+
transition: opacity 200ms ease;
|
|
591
|
+
opacity: 0.5;
|
|
592
|
+
}
|
|
593
|
+
.ck .ck-annotation__content-wrapper {
|
|
594
|
+
grid-area: content;
|
|
595
|
+
width: 100%;
|
|
596
|
+
}
|