@seafile/sdoc-editor 3.0.257-alpha.3 → 3.0.257
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.txt +13 -0
- package/dist/assets/css/default.css +2 -2
- package/dist/assets/css/dropdown-menu.css +6 -6
- package/dist/assets/css/layout.css +4 -8
- package/dist/assets/css/popover.css +1 -1
- package/dist/assets/css/sdoc-editor-article.css +1 -10
- package/dist/assets/css/sdoc-editor-plugins.css +1 -18
- package/dist/comment/components/comment-all-participants/index.css +4 -9
- package/dist/comment/components/comment-context-menu/index.css +3 -3
- package/dist/comment/components/comment-list.css +11 -126
- package/dist/comment/components/comment-participants-editor/index.css +10 -10
- package/dist/comment/components/elements-comment-count/index.css +0 -8
- package/dist/comment/components/global-comment/index.css +11 -59
- package/dist/comment/components/style.css +1 -9
- package/dist/constants/index.js +1 -1
- package/dist/extension/commons/color-menu/index.css +8 -8
- package/dist/extension/commons/dropdown-menu-item/index.css +1 -1
- package/dist/extension/commons/menu/menu.css +6 -6
- package/dist/extension/commons/select/menu/style.css +7 -7
- package/dist/extension/commons/select/style.css +5 -5
- package/dist/extension/plugins/callout/render-elem/callout-color-selector/style.css +2 -2
- package/dist/extension/plugins/callout/render-elem/callout-hover-menu/style.css +8 -8
- package/dist/extension/plugins/callout/render-elem/callout-icon/style.css +3 -3
- package/dist/extension/plugins/code-block/element.css +8 -28
- package/dist/extension/plugins/code-block/hover-menu/index.css +12 -12
- package/dist/extension/plugins/embed-link/hover-menu/index.css +7 -7
- package/dist/extension/plugins/file-link/hover-menu/index.css +14 -24
- package/dist/extension/plugins/file-link/render-elem.css +1 -22
- package/dist/extension/plugins/formula/hover-menu/index.css +7 -7
- package/dist/extension/plugins/header/menu/style.css +7 -7
- package/dist/extension/plugins/image/hover-menu/index.css +11 -11
- package/dist/extension/plugins/link/dialog/add-link-dialog/index.css +10 -11
- package/dist/extension/plugins/link/dialog/add-link-dialog/select-forms/linked-page.css +5 -5
- package/dist/extension/plugins/link/hover/index.css +13 -13
- package/dist/extension/plugins/sdoc-link/hover-menu/index.css +14 -24
- package/dist/extension/plugins/sdoc-link/render/render-elem.css +2 -22
- package/dist/extension/plugins/search-replace/helper.js +2 -1
- package/dist/extension/plugins/search-replace/popover/index.css +7 -7
- package/dist/extension/plugins/table/popover/table-size-popover/index.css +6 -6
- package/dist/extension/plugins/table/popover/table-size-popover/index.js +2 -2
- package/dist/extension/plugins/table/popover/table-template/index.css +5 -5
- package/dist/extension/plugins/table/render/index.css +0 -8
- package/dist/extension/plugins/table/render/table-header/index.css +0 -17
- package/dist/extension/plugins/text-style/helpers.js +1 -8
- package/dist/extension/plugins/text-style/render-elem.js +1 -1
- package/dist/extension/plugins/video/hover-menu/index.css +7 -7
- package/dist/extension/plugins/whiteboard/hover-menu/index.css +7 -7
- package/dist/extension/toolbar/context-toolbar/index.css +3 -3
- package/dist/extension/toolbar/quick-insert-toolbar/style.css +1 -1
- package/dist/extension/toolbar/side-toolbar/index.css +0 -12
- package/dist/extension/toolbar/side-toolbar/side-menu.css +6 -7
- package/dist/outline/style.css +3 -49
- package/dist/right-panel/index.css +0 -4
- package/dist/wiki-outline/style.css +0 -12
- package/package.json +2 -2
package/LICENSE.txt
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Copyright (c) 2025 Seafile Ltd.
|
|
2
|
+
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License.
|
|
5
|
+
You may obtain a copy of the License at
|
|
6
|
+
|
|
7
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
|
|
9
|
+
Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
See the License for the specific language governing permissions and
|
|
13
|
+
limitations under the License.
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.sdoc-icon-btn:hover {
|
|
12
|
-
background-color:
|
|
12
|
+
background-color: #EFEFEF;
|
|
13
13
|
cursor: pointer;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.sdoc-icon-btn .sdocfont {
|
|
17
|
-
color:
|
|
17
|
+
color: #666;
|
|
18
18
|
font-size: 16px;
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
height: 0;
|
|
13
13
|
margin: 0.5rem 0;
|
|
14
14
|
overflow: hidden;
|
|
15
|
-
border-top: 1px solid
|
|
15
|
+
border-top: 1px solid #eee;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.sdoc-dropdown-menu .sdoc-dropdown-menu-item {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.sdoc-dropdown-menu .sdoc-dropdown-menu-item-title {
|
|
28
|
-
color:
|
|
28
|
+
color: #666;
|
|
29
29
|
padding: 3px 12px;
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.sdoc-dropdown-menu .sdoc-dropdown-menu-item:hover {
|
|
57
|
-
background-color:
|
|
57
|
+
background-color: rgba(0, 0, 0, 0.04);
|
|
58
58
|
border-radius: 4px;
|
|
59
59
|
cursor: pointer;
|
|
60
60
|
}
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
.sdoc-dropdown-menu .sdoc-dropdown-menu-item .sdocfont {
|
|
69
69
|
font-size: 14px;
|
|
70
70
|
line-height: 14px;
|
|
71
|
-
color:
|
|
71
|
+
color: #666;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
.sdoc-dropdown-menu .sdoc-dropdown-menu-item .sdoc-dropdown-item-content {
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
.sdoc-dropdown-menu .sdoc-arrow-right {
|
|
87
|
-
color:
|
|
87
|
+
color: #666;
|
|
88
88
|
font-size: 12px !important;
|
|
89
89
|
height: 21px;
|
|
90
90
|
line-height: 21px !important;
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
.sdoc-dropdown-menu .sdoc-check-mark {
|
|
99
|
-
color:
|
|
99
|
+
color: #666;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
/* sub menu */
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.sdoc-editor-container.fullscreen a {
|
|
60
|
-
color:
|
|
60
|
+
color: #212529;
|
|
61
61
|
font-weight: 500;
|
|
62
62
|
text-decoration: underline;
|
|
63
63
|
text-underline-position: under;
|
|
@@ -78,17 +78,13 @@
|
|
|
78
78
|
height: 44px;
|
|
79
79
|
align-items: center;
|
|
80
80
|
padding: 0 10px;
|
|
81
|
-
background-color:
|
|
81
|
+
background-color: #fff;
|
|
82
82
|
user-select: none;
|
|
83
83
|
border-bottom: 1px solid #e5e6e8;
|
|
84
84
|
position: relative;
|
|
85
85
|
z-index: 102;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
[data-bs-theme="dark"] .sdoc-editor-container .sdoc-editor-toolbar {
|
|
89
|
-
border-bottom: 1px solid var(--bs-border-color);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
88
|
.sdoc-editor-container .sdoc-editor-toolbar .sdoc-editor-toolbar-right-menu {
|
|
93
89
|
display: flex;
|
|
94
90
|
flex-direction: row-reverse;
|
|
@@ -101,7 +97,7 @@
|
|
|
101
97
|
width: 100%;
|
|
102
98
|
flex: 1;
|
|
103
99
|
display: flex;
|
|
104
|
-
background:
|
|
100
|
+
background: #f5f5f5;
|
|
105
101
|
}
|
|
106
102
|
|
|
107
103
|
.sdoc-editor-container .sdoc-editor-content {
|
|
@@ -122,7 +118,7 @@
|
|
|
122
118
|
height: 100%;
|
|
123
119
|
position: relative;
|
|
124
120
|
flex: 1;
|
|
125
|
-
background:
|
|
121
|
+
background: #f5f5f5;
|
|
126
122
|
}
|
|
127
123
|
|
|
128
124
|
.sdoc-editor-container .sdoc-article-container {
|
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
.sdoc-editor__article {
|
|
2
|
-
color: var(--bs-body-color, #212529);
|
|
3
2
|
width: 100%;
|
|
4
3
|
min-height: 800px;
|
|
5
4
|
padding: 40px 60px;
|
|
6
|
-
background-color:
|
|
5
|
+
background-color: #fff;
|
|
7
6
|
border: 1px solid #e5e6e8;
|
|
8
7
|
box-shadow: 0 0 15px rgba(0, 0, 0, 0.06);
|
|
9
8
|
font-size: 11pt;
|
|
10
9
|
}
|
|
11
10
|
|
|
12
|
-
[data-bs-theme="dark"] .sdoc-editor__article {
|
|
13
|
-
border: 1px solid var(--bs-border-color);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
11
|
.mobile .sdoc-editor__article {
|
|
17
12
|
padding: 1rem;
|
|
18
13
|
border: 0px solid #e5e6e8;
|
|
@@ -22,10 +17,6 @@
|
|
|
22
17
|
caret-color: blue;
|
|
23
18
|
}
|
|
24
19
|
|
|
25
|
-
[data-bs-theme="dark"] .sdoc-editor__article>div {
|
|
26
|
-
caret-color: var(--bs-body-color);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
20
|
.sdoc-editor__article .sdoc-drag-cover::before {
|
|
30
21
|
content: ' ';
|
|
31
22
|
width: 59px;
|
|
@@ -332,7 +332,7 @@
|
|
|
332
332
|
/* link */
|
|
333
333
|
.sdoc-editor__article .virtual-link a,
|
|
334
334
|
.sdoc-editor__article .virtual-link {
|
|
335
|
-
color:
|
|
335
|
+
color: #212529;
|
|
336
336
|
font-weight: 500;
|
|
337
337
|
text-decoration: underline;
|
|
338
338
|
text-underline-position: under;
|
|
@@ -350,23 +350,6 @@
|
|
|
350
350
|
cursor: pointer;
|
|
351
351
|
}
|
|
352
352
|
|
|
353
|
-
[data-bs-theme="dark"] .sdoc-editor__article .virtual-link,
|
|
354
|
-
[data-bs-theme="dark"] .sdoc-editor__article .virtual-link a,
|
|
355
|
-
[data-bs-theme="dark"] .sdoc-file-link-render .sdoc-file-text-link a,
|
|
356
|
-
[data-bs-theme="dark"] .sdoc-file-render .sdoc-file-text-link a,
|
|
357
|
-
[data-bs-theme="dark"] .sdoc-editor-container.fullscreen a {
|
|
358
|
-
color: var(--bs-link-color, #ff8000);
|
|
359
|
-
text-decoration-color: currentColor;
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
[data-bs-theme="dark"] .sdoc-editor__article .virtual-link:hover,
|
|
363
|
-
[data-bs-theme="dark"] .sdoc-editor__article .virtual-link a:hover,
|
|
364
|
-
[data-bs-theme="dark"] .sdoc-file-link-render .sdoc-file-text-link a:hover,
|
|
365
|
-
[data-bs-theme="dark"] .sdoc-file-render .sdoc-file-text-link a:hover {
|
|
366
|
-
color: var(--bs-link-hover-color, #c60);
|
|
367
|
-
text-decoration-color: currentColor;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
353
|
/* temporary selection */
|
|
371
354
|
.sdoc-editor__article .sdoc-temporary-selection {
|
|
372
355
|
padding: 3px 0;
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
.sdoc-comment-drawer .comments-panel-body__header .comment-participant-avatar img {
|
|
28
28
|
width: 28px;
|
|
29
29
|
height: 28px;
|
|
30
|
-
border: 2px solid
|
|
30
|
+
border: 2px solid #fff;
|
|
31
31
|
line-height: 2rem;
|
|
32
32
|
border-radius: 50%;
|
|
33
33
|
display: inline-block;
|
|
@@ -41,11 +41,6 @@
|
|
|
41
41
|
user-select: none;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
[data-bs-theme="dark"] .sdoc-comment-drawer .comments-panel-body__header .comment-participant-avatar img {
|
|
45
|
-
background: var(--bs-bg-secondary-color) no-repeat center/cover;
|
|
46
|
-
color: var(--bs-body-secondary-color);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
44
|
.sdoc-comment-drawer .comments-panel-body__header .add-comments-participants {
|
|
50
45
|
position: relative;
|
|
51
46
|
bottom: -3px;
|
|
@@ -53,8 +48,8 @@
|
|
|
53
48
|
margin-right: -0.5rem;
|
|
54
49
|
height: 20px;
|
|
55
50
|
width: 20px;
|
|
56
|
-
background-color:
|
|
57
|
-
border: 1px solid
|
|
51
|
+
background-color: #fff;
|
|
52
|
+
border: 1px solid #fff;
|
|
58
53
|
border-radius: 50%;
|
|
59
54
|
display: flex;
|
|
60
55
|
align-items: center;
|
|
@@ -79,7 +74,7 @@
|
|
|
79
74
|
justify-content: center;
|
|
80
75
|
overflow: hidden;
|
|
81
76
|
background-color: rgba(0, 0, 0, .6);
|
|
82
|
-
border: 2px solid
|
|
77
|
+
border: 2px solid #fff;
|
|
83
78
|
}
|
|
84
79
|
|
|
85
80
|
.sdoc-comment-drawer .comment-participants-more .sdocfont {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.menu-group-item.sdoc-comment-menu-container {
|
|
2
2
|
width: auto;
|
|
3
|
-
color:
|
|
3
|
+
color: #212529;
|
|
4
4
|
font-size: 14px;
|
|
5
5
|
}
|
|
6
6
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.menu-group-item.sdoc-comment-menu-container .sdocfont {
|
|
12
|
-
color:
|
|
12
|
+
color: #666;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.sdoc-comment-menu-item .sdoc-comments {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
.sdoc-context-menu-divider {
|
|
20
20
|
margin-right: 8px;
|
|
21
|
-
border-left: 1px solid
|
|
21
|
+
border-left: 1px solid #e5e5e5;
|
|
22
22
|
width: 1px;
|
|
23
23
|
height: 24px;
|
|
24
24
|
}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
font-size: 14px;
|
|
27
27
|
overflow: hidden;
|
|
28
28
|
text-overflow: ellipsis;
|
|
29
|
-
color:
|
|
29
|
+
color: #212529;
|
|
30
30
|
text-wrap: auto;
|
|
31
31
|
}
|
|
32
32
|
|
|
@@ -52,10 +52,6 @@
|
|
|
52
52
|
border-bottom: 1px solid #ececec;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
[data-bs-theme="dark"] .sdoc-context-comment-popover-wrapper .non-global-comment-input-wrapper {
|
|
56
|
-
border-bottom: 1px solid var(--bs-border-color);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
55
|
.sdoc-comment-list-container .sdoc-context-comment-popover-wrapper:last-child .non-global-comment-input-wrapper {
|
|
60
56
|
border-bottom: none !important;
|
|
61
57
|
}
|
|
@@ -66,10 +62,6 @@
|
|
|
66
62
|
display: flex;
|
|
67
63
|
}
|
|
68
64
|
|
|
69
|
-
[data-bs-theme="dark"] .sdoc-comment-list-container .comment-item-list .context-comment-item-selected-text-container {
|
|
70
|
-
color: var(--bs-body-color);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
65
|
.comment-item-list .context-comment-item-selected-text-container .sdoc-quote-left {
|
|
74
66
|
font-size: 12px;
|
|
75
67
|
padding-top: 2px;
|
|
@@ -79,7 +71,7 @@
|
|
|
79
71
|
display: flex;
|
|
80
72
|
flex-direction: column;
|
|
81
73
|
font-size: 14px;
|
|
82
|
-
color:
|
|
74
|
+
color: #212529;
|
|
83
75
|
}
|
|
84
76
|
|
|
85
77
|
.sdoc-comment-list-container .comment-item {
|
|
@@ -144,10 +136,6 @@
|
|
|
144
136
|
margin-top: 16px;
|
|
145
137
|
}
|
|
146
138
|
|
|
147
|
-
[data-bs-theme="dark"] .comment-item .comment-footer {
|
|
148
|
-
color: var(--bs-body-color);
|
|
149
|
-
}
|
|
150
|
-
|
|
151
139
|
.comment-item .comment-footer .comments-count {
|
|
152
140
|
display: flex;
|
|
153
141
|
align-items: center;
|
|
@@ -188,7 +176,7 @@
|
|
|
188
176
|
}
|
|
189
177
|
|
|
190
178
|
.sdoc-comment-list-container .comment-header .comment-author__info .name {
|
|
191
|
-
color:
|
|
179
|
+
color: #212529;
|
|
192
180
|
font-size: 14px;
|
|
193
181
|
line-height: 20px;
|
|
194
182
|
font-weight: 500;
|
|
@@ -202,10 +190,6 @@
|
|
|
202
190
|
align-items: center;
|
|
203
191
|
}
|
|
204
192
|
|
|
205
|
-
[data-bs-theme="dark"] .sdoc-comment-list-container .comment-header .comment-author__info .time {
|
|
206
|
-
color: var(--bs-body-color);
|
|
207
|
-
}
|
|
208
|
-
|
|
209
193
|
.sdoc-comment-list-container .comment-header .comment-author__info .time .comment-success-resolved {
|
|
210
194
|
color: rgb(71, 184, 129);
|
|
211
195
|
margin-left: 6px;
|
|
@@ -238,32 +222,24 @@
|
|
|
238
222
|
display: flex;
|
|
239
223
|
align-items: center;
|
|
240
224
|
justify-content: center;
|
|
241
|
-
background-color:
|
|
225
|
+
background-color: #fff;
|
|
242
226
|
color: #666;
|
|
243
227
|
overflow: hidden;
|
|
244
228
|
border-radius: 2px;
|
|
245
229
|
}
|
|
246
230
|
|
|
247
|
-
[data-bs-theme="dark"] .sdoc-comment-list-container .comment-ui-container .comment-operation {
|
|
248
|
-
color: var(--bs-body-color);
|
|
249
|
-
}
|
|
250
|
-
|
|
251
231
|
.sdoc-comment-list-container .comment-ui-container.active .comment-operation:hover {
|
|
252
232
|
cursor: pointer;
|
|
253
233
|
background-color: #EFEFEF;
|
|
254
234
|
}
|
|
255
235
|
|
|
256
|
-
[data-bs-theme="dark"] .sdoc-comment-list-container .comment-ui-container.active .comment-operation:hover {
|
|
257
|
-
background-color: var(--bs-nav-hover-bg);
|
|
258
|
-
}
|
|
259
|
-
|
|
260
236
|
.sdoc-comment-menu {
|
|
261
237
|
padding: 0;
|
|
262
238
|
border-radius: 2px;
|
|
263
239
|
}
|
|
264
240
|
|
|
265
241
|
.sdoc-popover-menu {
|
|
266
|
-
background:
|
|
242
|
+
background: rgb(255, 255, 255);
|
|
267
243
|
width: 140px;
|
|
268
244
|
padding: 8px 0;
|
|
269
245
|
height: auto;
|
|
@@ -276,84 +252,13 @@
|
|
|
276
252
|
font-size: 14px;
|
|
277
253
|
background-color: transparent;
|
|
278
254
|
cursor: default;
|
|
279
|
-
color:
|
|
280
|
-
background-color:
|
|
255
|
+
color: #202428;
|
|
256
|
+
background-color: #fff;
|
|
281
257
|
}
|
|
282
258
|
|
|
283
259
|
.sdoc-popover-menu__item:hover {
|
|
284
|
-
background-color:
|
|
285
|
-
color:
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
/* @seafile/comment-editor uses different classes from the legacy editor. */
|
|
289
|
-
.sdoc-comment-list-container .comment-editor-wrapper .comment-editor-content {
|
|
290
|
-
color: var(--bs-body-color, #212529);
|
|
291
|
-
border-color: #ececec;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
[data-bs-theme="dark"] .sdoc-comment-list-container .comment-editor-wrapper .comment-editor-content {
|
|
295
|
-
border-color: var(--bs-border-color);
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
.sdoc-comment-list-container .comment-editor-wrapper .comment-editor-content:focus-within {
|
|
299
|
-
border-color: #ff8e03;
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
.sdoc-comment-list-container .comment-editor-wrapper .article.comment-editor {
|
|
303
|
-
color: var(--bs-body-color, #212529);
|
|
304
|
-
caret-color: var(--bs-body-color, #212529);
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
/* The dependency renders its paragraph placeholder with an inline color. */
|
|
308
|
-
.sdoc-comment-list-container .comment-editor [data-slate-node='element'] > span[contenteditable='false']:not([data-slate-node]) {
|
|
309
|
-
color: #bfbfbf !important;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
[data-bs-theme="dark"] .sdoc-comment-list-container .comment-editor [data-slate-node='element'] > span[contenteditable='false']:not([data-slate-node]) {
|
|
313
|
-
color: var(--bs-body-secondary-color) !important;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
.sdoc-comment-list-container .comment-editor-toolbar .comment-editor-menu-group,
|
|
317
|
-
.sdoc-comment-list-container .comment-editor-toolbar .comment-editor-menu-group .comment-editor-menu-group-item {
|
|
318
|
-
color: #666;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
[data-bs-theme="dark"] .sdoc-comment-list-container .comment-editor-toolbar .comment-editor-menu-group,
|
|
322
|
-
[data-bs-theme="dark"] .sdoc-comment-list-container .comment-editor-toolbar .comment-editor-menu-group .comment-editor-menu-group-item {
|
|
323
|
-
color: var(--bs-body-color);
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
.sdoc-comment-list-container .comment-editor-toolbar .comment-editor-menu-group .comment-editor-menu-group-item:hover:not(:disabled) {
|
|
327
|
-
background-color: #EFEFEF;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
[data-bs-theme="dark"] .sdoc-comment-list-container .comment-editor-toolbar .comment-editor-menu-group .comment-editor-menu-group-item:hover:not(:disabled) {
|
|
331
|
-
background-color: var(--bs-dropdown-link-hover-bg);
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
.sdoc-comment-list-container .comment-editor-toolbar .comment-editor-menu-group .comment-editor-menu-group-item:disabled {
|
|
335
|
-
color: #C2C2C2;
|
|
336
|
-
background-color: transparent;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
[data-bs-theme="dark"] .sdoc-comment-list-container .comment-editor-toolbar .comment-editor-menu-group .comment-editor-menu-group-item:disabled {
|
|
340
|
-
color: var(--bs-body-secondary-color);
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
.sdoc-comment-list-container .comment-editor-toolbar .comment-editor-menu-group .comment-editor-menu-group-item[data-active='true']:not(:disabled) {
|
|
344
|
-
color: #ED7109;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
/* The mention picker is mounted outside the comment drawer. */
|
|
348
|
-
.sdoc-comment-caret-list {
|
|
349
|
-
background: var(--bs-dropdown-bg, #fff);
|
|
350
|
-
color: var(--bs-dropdown-link-color, #212529);
|
|
351
|
-
border-color: var(--bs-dropdown-border-color, #ededed);
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
.sdoc-comment-caret-list .comment-participant-item.active,
|
|
355
|
-
.sdoc-comment-caret-list .comment-participant-item:hover {
|
|
356
|
-
background: var(--bs-dropdown-link-hover-bg, #f5f5f5);
|
|
260
|
+
background-color: #20a0ff;
|
|
261
|
+
color: #fff;
|
|
357
262
|
}
|
|
358
263
|
|
|
359
264
|
.sdoc-comment-editor-wrapper {
|
|
@@ -364,10 +269,6 @@
|
|
|
364
269
|
transition: border-color 0.3s ease;
|
|
365
270
|
}
|
|
366
271
|
|
|
367
|
-
[data-bs-theme="dark"] .sdoc-comment-editor-wrapper {
|
|
368
|
-
border: 1px solid var(--bs-border-color);
|
|
369
|
-
}
|
|
370
|
-
|
|
371
272
|
.sdoc-comment-editor-wrapper:focus-within {
|
|
372
273
|
border-color: #ff8e03;
|
|
373
274
|
}
|
|
@@ -417,10 +318,6 @@
|
|
|
417
318
|
border: 1px solid rgba(0, 0, 0, .12);
|
|
418
319
|
}
|
|
419
320
|
|
|
420
|
-
[data-bs-theme="dark"] .sdoc-comment-list-container .comment-editor-wrapper .comment-editor:focus {
|
|
421
|
-
border: 1px solid var(--bs-border-color);
|
|
422
|
-
}
|
|
423
|
-
|
|
424
321
|
.sdoc-comment-list-container .comment-editor-wrapper .comment-editor-user-info {
|
|
425
322
|
display: flex;
|
|
426
323
|
align-items: center;
|
|
@@ -489,7 +386,7 @@
|
|
|
489
386
|
|
|
490
387
|
.sdoc-comment-list-container-popover {
|
|
491
388
|
z-index: 102;
|
|
492
|
-
background-color:
|
|
389
|
+
background-color: rgba(255, 255, 255);
|
|
493
390
|
box-shadow: 0 1px 3px rgba(0, 0, 0, .15), 0 4px 8px 3px rgba(0, 0, 0, .15);
|
|
494
391
|
border-radius: 5px;
|
|
495
392
|
}
|
|
@@ -501,17 +398,13 @@
|
|
|
501
398
|
border-bottom: 1px solid #ececec;
|
|
502
399
|
}
|
|
503
400
|
|
|
504
|
-
[data-bs-theme="dark"] .sdoc-comment-list-container-popover .comment-item-list {
|
|
505
|
-
border-bottom: 1px solid var(--bs-border-color);
|
|
506
|
-
}
|
|
507
|
-
|
|
508
401
|
.sdoc-comment-list-container-popover .non-global-comment-input-wrapper {
|
|
509
402
|
padding: 0px 16px 16px 16px;
|
|
510
403
|
width: 100%;
|
|
511
404
|
}
|
|
512
405
|
|
|
513
406
|
.sdoc-comment-list-container-popover .non-global-comment-input-wrapper .form-control[readonly] {
|
|
514
|
-
background-color:
|
|
407
|
+
background-color: #fff;
|
|
515
408
|
}
|
|
516
409
|
|
|
517
410
|
.sdoc-comment-list-container-popover .non-global-comment-input-wrapper .form-control {
|
|
@@ -520,10 +413,6 @@
|
|
|
520
413
|
border: 1px solid #ececec;
|
|
521
414
|
}
|
|
522
415
|
|
|
523
|
-
[data-bs-theme="dark"] .sdoc-comment-list-container-popover .non-global-comment-input-wrapper .form-control {
|
|
524
|
-
border: 1px solid var(--bs-border-color);
|
|
525
|
-
}
|
|
526
|
-
|
|
527
416
|
.sdoc-comment-list-container-popover .non-global-comment-input-wrapper.active .form-control {
|
|
528
417
|
padding-top: 14px;
|
|
529
418
|
}
|
|
@@ -533,10 +422,6 @@
|
|
|
533
422
|
border-color: #e1e2e5;
|
|
534
423
|
}
|
|
535
424
|
|
|
536
|
-
[data-bs-theme="dark"] .sdoc-comment-list-container-popover .non-global-comment-input-wrapper .form-control:focus {
|
|
537
|
-
border-color: var(--bs-border-color);
|
|
538
|
-
}
|
|
539
|
-
|
|
540
425
|
.sdoc-comment-list-container-popover .non-global-comment-input-wrapper .form-control::placeholder {
|
|
541
426
|
color: rgb(191, 191, 191);
|
|
542
427
|
}
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.sdoc-comments-participants-popover .sdoc-selected-participants {
|
|
12
|
-
background-color:
|
|
12
|
+
background-color: #f6f6f6;
|
|
13
13
|
padding: 5px;
|
|
14
|
-
border-bottom: 1px solid
|
|
14
|
+
border-bottom: 1px solid #dde2ea;
|
|
15
15
|
border-radius: 3px 3px 0 0;
|
|
16
16
|
min-height: 34px;
|
|
17
17
|
}
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
padding: 0 8px 0 2px;
|
|
25
25
|
font-size: 13px;
|
|
26
26
|
border-radius: 10px;
|
|
27
|
-
background:
|
|
27
|
+
background: #eaeaea;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.sdoc-comments-participants-popover .sdoc-selected-participant img {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
.sdoc-comments-participants-popover .sdoc-selected-participant .sdoc-selected-participant-name {
|
|
38
38
|
margin-left: 4px;
|
|
39
39
|
flex: 1 1;
|
|
40
|
-
color:
|
|
40
|
+
color: #16181b;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.sdoc-comments-participants-popover .sdoc-selected-participant .sdoc-selected-participant-delete {
|
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
.sdoc-comments-participants-popover .sdoc-selected-participant .sdoc-selected-participant-delete .sdocfont {
|
|
54
54
|
display: inline-block;
|
|
55
55
|
font-size: 14px;
|
|
56
|
-
color:
|
|
56
|
+
color: #909090;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.sdoc-comments-participants-popover .sdoc-selected-participant .sdoc-selected-participant-delete:hover .sdocfont {
|
|
60
|
-
color:
|
|
60
|
+
color: #5a5a5a;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.sdoc-comments-participants-popover .sdoc-search-collaborators {
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
padding: 0.25rem 0;
|
|
91
91
|
clear: both;
|
|
92
92
|
font-weight: 400;
|
|
93
|
-
color:
|
|
93
|
+
color: #212529;
|
|
94
94
|
height: 30px;
|
|
95
95
|
border-radius: 2px;
|
|
96
96
|
font-size: 14px;
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
|
|
99
99
|
.sdoc-comments-participants-popover .sdoc-searched-collaborator:hover {
|
|
100
100
|
cursor: pointer;
|
|
101
|
-
background-color:
|
|
101
|
+
background-color: #f8f9fa;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.sdoc-comments-participants-popover .sdoc-searched-collaborator img {
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
text-overflow: ellipsis;
|
|
116
116
|
white-space: nowrap;
|
|
117
117
|
margin-left: 4px;
|
|
118
|
-
color:
|
|
118
|
+
color: #16181b;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
.sdoc-comments-participants-popover .sdoc-searched-collaborator .sdoc-searched-collaborator-operation {
|
|
@@ -128,5 +128,5 @@
|
|
|
128
128
|
|
|
129
129
|
.sdoc-comments-participants-popover .sdoc-searched-collaborator .sdoc-searched-collaborator-operation .sdocfont {
|
|
130
130
|
font-size: 14px;
|
|
131
|
-
color:
|
|
131
|
+
color: #666;
|
|
132
132
|
}
|
|
@@ -9,19 +9,11 @@
|
|
|
9
9
|
color: #999;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
[data-bs-theme="dark"] .sdoc-comment-container .comment-container-right .element-comments-count {
|
|
13
|
-
color: var(--bs-icon-color);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
12
|
.sdoc-comment-container .comment-container-right .element-comments-count:hover {
|
|
17
13
|
color: #666;
|
|
18
14
|
cursor: pointer;
|
|
19
15
|
}
|
|
20
16
|
|
|
21
|
-
[data-bs-theme="dark"] .sdoc-comment-container .comment-container-right .element-comments-count:hover {
|
|
22
|
-
color: var(--bs-body-color);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
17
|
.sdoc-comment-container .comment-container-right .element-comments-count-value {
|
|
26
18
|
width: 16px;
|
|
27
19
|
height: 14px;
|