@spacecorexdev/core 0.0.4 → 0.0.5

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.
Files changed (132) hide show
  1. package/package.json +2 -36
  2. package/src/api/_base.ts +243 -0
  3. package/src/api/index.ts +17 -0
  4. package/src/api/project.ts +1345 -0
  5. package/src/api/user.ts +1174 -0
  6. package/src/contract.ts +50 -0
  7. package/src/hooks/index.ts +2 -0
  8. package/{dist/hooks/index.js → src/hooks/useLongPress.ts} +53 -49
  9. package/src/hooks/useOnlineStatus.ts +22 -0
  10. package/src/index.ts +14 -0
  11. package/src/types/id.ts +2 -0
  12. package/src/types/index.ts +5 -0
  13. package/src/types/project/base.ts +63 -0
  14. package/src/types/project/contract.ts +79 -0
  15. package/src/types/project/contractStatus.tsx +15 -0
  16. package/src/types/project/index.ts +5 -0
  17. package/src/types/project/member.ts +46 -0
  18. package/src/types/project/progress.ts +43 -0
  19. package/src/types/projectRole.ts +17 -0
  20. package/src/types/theme.ts +1 -0
  21. package/src/types/user/index.ts +1 -0
  22. package/src/types/user/role.ts +7 -0
  23. package/src/ui/CommentTimeline/index.tsx +330 -0
  24. package/src/ui/FileManager/FileContextMenu.tsx +628 -0
  25. package/src/ui/FileManager/FileGridView.tsx +529 -0
  26. package/src/ui/FileManager/FileTableView.tsx +405 -0
  27. package/src/ui/FileManager/FileToolbar.tsx +119 -0
  28. package/src/ui/FileManager/FileVersionHistoryModal.tsx +175 -0
  29. package/src/ui/FileManager/MoveCopyToProjectModal.tsx +119 -0
  30. package/src/ui/FileManager/ShareToWechatModal.tsx +419 -0
  31. package/src/ui/FileManager/hooks/useFileManagerActions.ts +2532 -0
  32. package/src/ui/FileManager/hooks/useFileManagerState.ts +419 -0
  33. package/src/ui/FileManager/index.tsx +580 -0
  34. package/src/ui/FileManager/projectFileManagerApi.ts +57 -0
  35. package/src/ui/FileManager/types.ts +184 -0
  36. package/src/ui/FileManager/utils/fileDeltaWorker.ts +193 -0
  37. package/src/ui/FileManager/utils/fileTree.ts +178 -0
  38. package/src/ui/FileManager/utils/fileUpload.ts +714 -0
  39. package/src/ui/FileManager/utils/fileUtils.ts +65 -0
  40. package/src/ui/InvoiceRecordsList/index.tsx +813 -0
  41. package/src/ui/MyFileSelectorModal.tsx +261 -0
  42. package/src/ui/ProjectSelector/index.tsx +472 -0
  43. package/src/ui/ProjectSelector/projectCache.ts +40 -0
  44. package/src/ui/RoleSelector/index.tsx +473 -0
  45. package/src/ui/RoleSelector/roleCache.ts +40 -0
  46. package/src/ui/UIAlert.tsx +399 -0
  47. package/src/ui/UIAlertExample.tsx +129 -0
  48. package/src/ui/UIConfirm.tsx +335 -0
  49. package/src/ui/UIConfirmExample.tsx +165 -0
  50. package/src/ui/UIDatePicker.tsx +146 -0
  51. package/src/ui/UIDateRangePicker.tsx +38 -0
  52. package/src/ui/UIFilePreview/ExcelEditor/index.tsx +617 -0
  53. package/src/ui/UIFilePreview/ExcelEditor/types.ts +24 -0
  54. package/src/ui/UIFilePreview/ExportDropdown.css +85 -0
  55. package/src/ui/UIFilePreview/ExportDropdown.tsx +109 -0
  56. package/src/ui/UIFilePreview/IndexedDBUtils.ts +564 -0
  57. package/src/ui/UIFilePreview/MarkdownEditor/exportMarkdownPdf.ts +576 -0
  58. package/src/ui/UIFilePreview/MarkdownEditor/index.tsx +677 -0
  59. package/src/ui/UIFilePreview/MarkdownEditor/markdownEditor.css +1005 -0
  60. package/src/ui/UIFilePreview/MarkdownEditor/types.ts +15 -0
  61. package/src/ui/UIFilePreview/PPTXEditor/index.tsx +602 -0
  62. package/src/ui/UIFilePreview/RichDocEditor/exportRDocMarkdown.ts +77 -0
  63. package/src/ui/UIFilePreview/RichDocEditor/exportRDocPdf.ts +374 -0
  64. package/src/ui/UIFilePreview/RichDocEditor/index.tsx +730 -0
  65. package/src/ui/UIFilePreview/RichDocEditor/richdoc-editor.css +59 -0
  66. package/src/ui/UIFilePreview/UIFilePreview.tsx +611 -0
  67. package/src/ui/UIFilePreview/WordEditor/index.tsx +3933 -0
  68. package/src/ui/UIFilePreview/WordEditor/style.ts +1213 -0
  69. package/src/ui/UIFilePreview/WordEditor/word-editor.css +999 -0
  70. package/src/ui/UIFilePreview/filePreview.css +193 -0
  71. package/src/ui/UIFilePreview/filetypes/archive.tsx +66 -0
  72. package/src/ui/UIFilePreview/filetypes/cad.tsx +287 -0
  73. package/src/ui/UIFilePreview/filetypes/excel.tsx +355 -0
  74. package/src/ui/UIFilePreview/filetypes/image.tsx +20 -0
  75. package/src/ui/UIFilePreview/filetypes/imageLoader.ts +63 -0
  76. package/src/ui/UIFilePreview/filetypes/pdf.tsx +156 -0
  77. package/src/ui/UIFilePreview/filetypes/ppt.tsx +535 -0
  78. package/src/ui/UIFilePreview/filetypes/pptExportPdf.ts +523 -0
  79. package/src/ui/UIFilePreview/filetypes/video.tsx +482 -0
  80. package/src/ui/UIFilePreview/filetypes/word.tsx +245 -0
  81. package/src/ui/UIFilePreview/filetypes/wordExportMarkdown.ts +86 -0
  82. package/src/ui/UIFilePreview/filetypes/wordExportPdf.tsx +427 -0
  83. package/src/ui/UIFilePreview/index.ts +35 -0
  84. package/src/ui/UIFilePreview/pdfPagination.ts +143 -0
  85. package/src/ui/UIFilePreview/previewUtils.tsx +531 -0
  86. package/src/ui/UIFileUpload.tsx +382 -0
  87. package/src/ui/UIImageUpload.tsx +195 -0
  88. package/src/ui/UILoading.tsx +255 -0
  89. package/src/ui/UILoadingExample.tsx +139 -0
  90. package/src/ui/UISelect.tsx +105 -0
  91. package/src/ui/UIToast.tsx +381 -0
  92. package/src/ui/UIToastExample.tsx +69 -0
  93. package/src/ui/UIToastSingle.tsx +279 -0
  94. package/src/ui/UIViewToggle.tsx +64 -0
  95. package/src/ui/UserSelector/index.tsx +583 -0
  96. package/src/ui/index.ts +84 -0
  97. package/src/ui/upload/image.ts +135 -0
  98. package/src/ui/upload/index.ts +73 -0
  99. package/src/ui/upload/submitFile.ts +106 -0
  100. package/src/ui/upload/submitForm.ts +124 -0
  101. package/src/ui/upload/upload.err.ts +15 -0
  102. package/src/ui/upload/upload.ts +250 -0
  103. package/src/utils/CacheDepartmentInfo.ts +372 -0
  104. package/src/utils/CacheFileContent.ts +315 -0
  105. package/src/utils/CachePermissionInfo.ts +235 -0
  106. package/src/utils/CacheRoleInfo.ts +303 -0
  107. package/src/utils/CacheUserInfo.ts +818 -0
  108. package/src/utils/CacheViewToggleInfo.ts +182 -0
  109. package/src/utils/MessageContentUtils.ts +268 -0
  110. package/src/utils/clipboard.ts +70 -0
  111. package/src/utils/companyEmail.ts +19 -0
  112. package/src/utils/forbidDebugger.ts +59 -0
  113. package/src/utils/formatters.ts +94 -0
  114. package/src/utils/htmlUtils.tsx +59 -0
  115. package/src/utils/index.ts +18 -0
  116. package/src/utils/keyboard.ts +114 -0
  117. package/src/utils/mammothApi.ts +16 -0
  118. package/src/utils/polyfills.ts +928 -0
  119. package/src/utils/regex.ts +14 -0
  120. package/src/utils/storage.ts +95 -0
  121. package/src/utils/workerBootstrap.ts +87 -0
  122. package/dist/api/index.js +0 -1553
  123. package/dist/contract.js +0 -5
  124. package/dist/index.js +0 -4492
  125. package/dist/types/index.js +0 -49
  126. package/dist/ui/index.css +0 -1876
  127. package/dist/ui/index.js +0 -22245
  128. package/dist/utils/index.js +0 -4296
  129. /package/{dist → src}/styles/ant-modal.css +0 -0
  130. /package/{dist → src}/styles/ant-spin.css +0 -0
  131. /package/{dist → src}/styles/ant-table.css +0 -0
  132. /package/{dist → src}/styles/index.css +0 -0
package/dist/ui/index.css DELETED
@@ -1,1876 +0,0 @@
1
- /* src/ui/UIFilePreview/filePreview.css */
2
- .pptx-preview-wrapper .pptx-preview-slide-wrapper {
3
- border-bottom: 1px solid rgb(var(--color-border));
4
- margin: 0 !important;
5
- }
6
- .pptx-preview-wrapper .pptx-preview-slide-wrapper .slide-master-wrapper,
7
- .pptx-preview-wrapper .pptx-preview-slide-wrapper .slide-layout-wrapper,
8
- .pptx-preview-wrapper .pptx-preview-slide-wrapper .slide-wrapper {
9
- right: 0;
10
- }
11
- .pptx-preview-wrapper .pptx-preview-slide-wrapper table {
12
- width: 100%;
13
- }
14
- .ant-modal-root .ant-modal-wrap .ant-modal.ant-modal-fullscreen.ant-modal-ppt .ant-modal-content {
15
- min-height: 100vh !important;
16
- margin-bottom: 0 !important;
17
- padding-top: 0 !important;
18
- padding-left: 0 !important;
19
- padding-right: 0 !important;
20
- padding-bottom: 0 !important;
21
- }
22
- .ant-modal-root .ant-modal-wrap .ant-modal.ant-modal-fullscreen.ant-modal-ppt .ant-modal-content .ant-modal-body {
23
- min-height: 100vh !important;
24
- background: rgb(var(--color-black));
25
- }
26
- .ant-modal-root .ant-modal-wrap .ant-modal.ant-modal-fullscreen.ant-modal-ppt .ant-modal-content .ant-modal-body > div {
27
- background: rgb(var(--color-black)) !important;
28
- }
29
- .ant-modal-root .ant-modal-wrap .ant-modal.ant-modal-fullscreen.ant-modal-ppt .ant-modal-content .ant-modal-close {
30
- color: rgb(var(--color-gray-300));
31
- }
32
- .ant-modal-root .ant-modal-wrap .ant-modal.ant-modal-fullscreen.ant-modal-ppt .ant-modal-content .ant-modal-close:hover {
33
- color: rgb(var(--color-white));
34
- }
35
- .ant-modal-root .ant-modal-wrap .ant-modal.ant-modal-fullscreen .ant-modal-content .ant-modal-close {
36
- position: fixed;
37
- }
38
- .docx-preview {
39
- justify-self: center;
40
- }
41
- .ui-file-preview-archive {
42
- width: 100%;
43
- height: 100dvh;
44
- min-height: 0;
45
- background: rgb(var(--color-surface));
46
- }
47
- .ui-file-preview-pdf {
48
- width: 100%;
49
- height: 100dvh;
50
- min-height: 0;
51
- background: rgb(var(--color-surface));
52
- }
53
- .ui-file-preview-pdf .pdfViewer .page .textLayer {
54
- z-index: 2 !important;
55
- pointer-events: auto !important;
56
- }
57
- .ui-file-preview-pdf .pdfViewer .textLayer span,
58
- .ui-file-preview-pdf .pdfViewer .textLayer br,
59
- .ui-file-preview-pdf .pdfViewer.enablePermissions .textLayer span {
60
- -webkit-user-select: text !important;
61
- -moz-user-select: text !important;
62
- user-select: text !important;
63
- cursor: text !important;
64
- pointer-events: auto !important;
65
- }
66
- .ui-file-preview-pdf .pdfViewer .textLayer ::-moz-selection,
67
- .ui-file-preview-pdf .pdfViewer .textLayer span::-moz-selection,
68
- .ui-file-preview-pdf .pdfViewer .textLayer br::-moz-selection {
69
- background: AccentColor !important;
70
- background: highlight !important;
71
- }
72
- .ui-file-preview-pdf .pdfViewer .textLayer ::selection,
73
- .ui-file-preview-pdf .pdfViewer .textLayer span::selection,
74
- .ui-file-preview-pdf .pdfViewer .textLayer br::selection {
75
- background: AccentColor !important;
76
- background: highlight !important;
77
- }
78
- .ui-file-preview-pdf .pdfViewer .textLayer ::-moz-selection,
79
- .ui-file-preview-pdf .pdfViewer .textLayer span::-moz-selection,
80
- .ui-file-preview-pdf .pdfViewer .textLayer br::-moz-selection {
81
- background: highlight !important;
82
- }
83
- .ui-file-preview-pdf .pdfViewer,
84
- .ui-file-preview-pdf .pdfViewer .page,
85
- .ui-file-preview-pdf .pdfViewer .textLayer {
86
- -webkit-user-select: text !important;
87
- -moz-user-select: text !important;
88
- user-select: text !important;
89
- }
90
- .ui-file-preview-word {
91
- width: 100%;
92
- height: 100vh;
93
- min-height: 0;
94
- background: rgb(var(--color-surface));
95
- }
96
- .ui-file-preview-excel {
97
- width: 100%;
98
- height: 100vh;
99
- min-height: 0;
100
- background: #ffffff;
101
- }
102
- .ui-file-preview-excel .e-virt-table-canvas {
103
- background: #ffffff;
104
- }
105
- .ui-file-preview-cad .cad-toolbar {
106
- padding-right: 50px;
107
- }
108
- .ui-file-preview-ebook {
109
- width: 100%;
110
- height: 100dvh;
111
- min-height: 0;
112
- background: #f5ecd9;
113
- }
114
- @media (min-width: 720px) {
115
- .ui-file-preview-ebook .epub-actions {
116
- margin-right: 35px;
117
- }
118
- }
119
- .ui-file-preview-ebook .file-viewer,
120
- .ui-file-preview-ebook .file-viewer * {
121
- max-width: none;
122
- }
123
- .ui-file-preview-ebook .epub-viewer {
124
- width: 100% !important;
125
- height: 100% !important;
126
- }
127
- .ui-file-preview-ebook .epub-container {
128
- max-width: 100% !important;
129
- width: 100% !important;
130
- }
131
- .ui-file-preview-ebook .epub-stage-wrap {
132
- padding-left: 0;
133
- padding-right: 0;
134
- padding-bottom: 0;
135
- padding-top: 0;
136
- }
137
- .ui-file-preview-ebook .epub-toolbar,
138
- .ui-file-preview-ebook .epub-icon-button,
139
- .ui-file-preview-ebook .epub-button {
140
- background: #f5ecd9 !important;
141
- }
142
- .ui-file-preview-ebook .epub-toc {
143
- background: #f2deb4 !important;
144
- }
145
- .ui-file-preview-ebook .epub-stage {
146
- background: #f5ecd9 !important;
147
- box-shadow: none !important;
148
- touch-action: pan-y;
149
- }
150
-
151
- /* src/ui/UIFilePreview/ExportDropdown.css */
152
- .vendorsys-export-dropdown {
153
- z-index: 10000 !important;
154
- }
155
- [data-theme=dark] .vendorsys-export-trigger.ant-btn {
156
- color: rgba(255, 255, 255, 0.65) !important;
157
- }
158
- [data-theme=dark] .vendorsys-export-trigger.ant-btn:not(:disabled):hover {
159
- color: #69b1ff !important;
160
- background-color: rgba(255, 255, 255, 0.08) !important;
161
- }
162
- [data-theme=dark] .vendorsys-export-trigger.ant-btn:not(:disabled):active {
163
- color: #91caff !important;
164
- }
165
- [data-theme=dark] .vendorsys-export-trigger.ant-btn[disabled],
166
- [data-theme=dark] .vendorsys-export-trigger.ant-btn.ant-btn-disabled {
167
- color: rgba(255, 255, 255, 0.3) !important;
168
- }
169
- [data-theme=dark] .vendorsys-export-trigger-on-light.ant-btn,
170
- [data-theme=light] .vendorsys-export-trigger-on-light.ant-btn {
171
- color: rgba(59, 59, 59, 0.68) !important;
172
- }
173
- [data-theme=dark] .vendorsys-export-trigger-on-light.ant-btn:not(:disabled):hover,
174
- [data-theme=light] .vendorsys-export-trigger-on-light.ant-btn:not(:disabled):hover {
175
- color: #1677ff !important;
176
- background-color: rgba(0, 0, 0, 0.04) !important;
177
- }
178
- [data-theme=dark] .vendorsys-export-trigger-on-light.ant-btn:not(:disabled):active,
179
- [data-theme=light] .vendorsys-export-trigger-on-light.ant-btn:not(:disabled):active {
180
- color: #0958d9 !important;
181
- }
182
- [data-theme=dark] .vendorsys-export-trigger-on-light.ant-btn[disabled],
183
- [data-theme=light] .vendorsys-export-trigger-on-light.ant-btn[disabled] {
184
- color: rgba(0, 0, 0, 0.25) !important;
185
- }
186
- [data-theme=dark] .vendorsys-export-trigger-on-dark.ant-btn,
187
- [data-theme=light] .vendorsys-export-trigger-on-dark.ant-btn {
188
- color: rgba(255, 255, 255, 0.85) !important;
189
- }
190
- [data-theme=dark] .vendorsys-export-trigger-on-dark.ant-btn:not(:disabled):hover,
191
- [data-theme=light] .vendorsys-export-trigger-on-dark.ant-btn:not(:disabled):hover {
192
- color: #69b1ff !important;
193
- background-color: rgba(255, 255, 255, 0.12) !important;
194
- }
195
- [data-theme=dark] .vendorsys-export-trigger-on-dark.ant-btn:not(:disabled):active,
196
- [data-theme=light] .vendorsys-export-trigger-on-dark.ant-btn:not(:disabled):active {
197
- color: #91caff !important;
198
- }
199
- [data-theme=dark] .vendorsys-export-trigger-on-dark.ant-btn[disabled],
200
- [data-theme=light] .vendorsys-export-trigger-on-dark.ant-btn[disabled] {
201
- color: rgba(255, 255, 255, 0.3) !important;
202
- }
203
-
204
- /* src/ui/UIFilePreview/MarkdownEditor/markdownEditor.css */
205
- @media (min-width: 768px) {
206
- .CodeMirror-fullscreen .editor-preview-full {
207
- padding: 30px 64px !important;
208
- padding-bottom: 80px !important;
209
- }
210
- }
211
- @media (min-width: 1200px) {
212
- .CodeMirror-fullscreen .editor-preview-full {
213
- padding: 30px 128px !important;
214
- padding-bottom: 80px !important;
215
- }
216
- }
217
- @media (min-width: 1400px) {
218
- .CodeMirror-fullscreen .editor-preview-full {
219
- padding: 30px 256px !important;
220
- padding-bottom: 80px !important;
221
- }
222
- }
223
- .editor-preview-side {
224
- margin-left: 50vw !important;
225
- margin-top: 32px !important;
226
- }
227
- .EasyMDEContainer {
228
- padding-top: 50px;
229
- }
230
- .EasyMDEContainer .editor-preview *,
231
- .EasyMDEContainer .editor-preview-side * {
232
- word-wrap: break-word;
233
- white-space: pre-wrap;
234
- word-break: normal;
235
- }
236
- .EasyMDEContainer .editor-preview p,
237
- .EasyMDEContainer .editor-preview-side p {
238
- white-space: pre-wrap;
239
- word-wrap: break-word;
240
- line-height: 1.6;
241
- }
242
- .EasyMDEContainer .editor-preview hr,
243
- .EasyMDEContainer .editor-preview-side hr,
244
- .EasyMDEContainer .editor-preview table,
245
- .EasyMDEContainer .editor-preview-side table {
246
- margin-top: 1em;
247
- margin-bottom: 1em;
248
- }
249
- .EasyMDEContainer .editor-preview,
250
- .EasyMDEContainer .editor-preview-side {
251
- line-height: 1.6;
252
- }
253
- .EasyMDEContainer .editor-preview h1,
254
- .EasyMDEContainer .editor-preview-side h1 {
255
- font-size: 200%;
256
- line-height: 200%;
257
- font-weight: 700;
258
- margin-top: 0.5em;
259
- margin-bottom: 0em;
260
- color: rgb(var(--color-markdown-h1));
261
- }
262
- .EasyMDEContainer .editor-preview h2,
263
- .EasyMDEContainer .editor-preview-side h2 {
264
- font-size: 160%;
265
- line-height: 160%;
266
- font-weight: 700;
267
- margin-top: 0.5em;
268
- margin-bottom: 0em;
269
- color: rgb(var(--color-markdown-h2));
270
- }
271
- .EasyMDEContainer .editor-preview h3,
272
- .EasyMDEContainer .editor-preview-side h3 {
273
- font-size: 125%;
274
- line-height: 125%;
275
- font-weight: 700;
276
- margin-top: 1em;
277
- margin-bottom: 1em;
278
- color: rgb(var(--color-markdown-h3));
279
- }
280
- .EasyMDEContainer .editor-preview h4,
281
- .EasyMDEContainer .editor-preview-side h4 {
282
- font-size: 110%;
283
- line-height: 110%;
284
- font-weight: 700;
285
- margin-top: 1em;
286
- margin-bottom: 1em;
287
- color: rgb(var(--color-markdown-h4));
288
- }
289
- .EasyMDEContainer .editor-preview code,
290
- .EasyMDEContainer .editor-preview-side code {
291
- border-radius: 2px;
292
- padding-left: 2px;
293
- padding-right: 2px;
294
- padding-top: 1px;
295
- padding-bottom: 1px;
296
- background: rgb(var(--color-markdown-comment) / 0.3);
297
- }
298
- .EasyMDEContainer .editor-preview pre,
299
- .EasyMDEContainer .editor-preview-side pre {
300
- padding-left: 10px;
301
- }
302
- .EasyMDEContainer .editor-preview blockquote,
303
- .EasyMDEContainer .editor-preview-side blockquote {
304
- border-left: 2px solid rgb(var(--color-green-500));
305
- color: rgb(var(--color-markdown-comment));
306
- margin: 1.5em 0px;
307
- padding: 0 1em;
308
- quotes: "\201c" "\201d" "\2018" "\2019";
309
- word-wrap: normal;
310
- white-space: normal;
311
- word-break: normal;
312
- display: block;
313
- margin-block-start: 1em;
314
- margin-block-end: 1em;
315
- unicode-bidi: isolate;
316
- }
317
- .EasyMDEContainer .editor-preview ul,
318
- .EasyMDEContainer .editor-preview-side ul,
319
- .EasyMDEContainer .editor-preview ol,
320
- .EasyMDEContainer .editor-preview-side ol,
321
- .EasyMDEContainer .editor-preview li,
322
- .EasyMDEContainer .editor-preview-side li {
323
- word-wrap: normal;
324
- white-space: normal;
325
- word-break: normal;
326
- list-style: revert;
327
- margin: revert;
328
- padding: revert;
329
- }
330
- .CodeMirror {
331
- color: rgb(var(--color-foreground));
332
- border-color: rgb(var(--color-border));
333
- }
334
- .EasyMDEContainer,
335
- .EasyMDEContainer .CodeMirror {
336
- border-color: rgb(var(--color-border));
337
- background: rgb(var(--color-surface));
338
- }
339
- .CodeMirror-lines {
340
- padding: 4px 0;
341
- }
342
- .CodeMirror pre {
343
- padding: 0 4px;
344
- }
345
- .CodeMirror-gutter-filler,
346
- .CodeMirror-scrollbar-filler {
347
- background-color: rgb(var(--color-surface));
348
- }
349
- .CodeMirror-gutters {
350
- border-right: 1px solid rgb(var(--color-border));
351
- background-color: rgb(var(--color-surface));
352
- white-space: nowrap;
353
- }
354
- .CodeMirror-linenumber {
355
- padding: 0 3px 0 5px;
356
- min-width: 20px;
357
- text-align: right;
358
- color: rgb(var(--color-gray-400));
359
- white-space: nowrap;
360
- }
361
- .CodeMirror-guttermarker {
362
- color: rgb(var(--color-foreground));
363
- }
364
- .CodeMirror-guttermarker-subtle {
365
- color: rgb(var(--color-gray-400));
366
- }
367
- .CodeMirror-cursor {
368
- border-left: 1px solid rgb(var(--color-foreground));
369
- border-right: none;
370
- width: 0;
371
- }
372
- .CodeMirror div.CodeMirror-secondarycursor {
373
- border-left: 1px solid silver;
374
- }
375
- .cm-fat-cursor .CodeMirror-cursor {
376
- width: auto;
377
- border: 0 !important;
378
- background: #7e7;
379
- }
380
- .cm-fat-cursor div.CodeMirror-cursors {
381
- z-index: 1;
382
- }
383
- .cm-animate-fat-cursor {
384
- width: auto;
385
- border: 0;
386
- animation: blink 1.06s steps(1) infinite;
387
- background-color: #7e7;
388
- }
389
- @keyframes blink {
390
- 50% {
391
- background-color: transparent;
392
- }
393
- }
394
- .cm-tab {
395
- display: inline-block;
396
- text-decoration: inherit;
397
- }
398
- .CodeMirror-ruler {
399
- border-left: 1px solid rgb(var(--color-border));
400
- position: absolute;
401
- }
402
- .cm-s-default .cm-header {
403
- color: #00f;
404
- }
405
- .cm-s-default .cm-quote {
406
- color: #090;
407
- }
408
- .cm-negative {
409
- color: #d44;
410
- }
411
- .cm-positive {
412
- color: #292;
413
- }
414
- .cm-header,
415
- .cm-strong {
416
- font-weight: 700;
417
- }
418
- .cm-em {
419
- font-style: italic;
420
- }
421
- .cm-link {
422
- text-decoration: underline;
423
- }
424
- .cm-strikethrough {
425
- text-decoration: line-through;
426
- }
427
- .cm-s-default .cm-keyword {
428
- color: #708;
429
- }
430
- .cm-s-default .cm-atom {
431
- color: #219;
432
- }
433
- .cm-s-default .cm-number {
434
- color: #164;
435
- }
436
- .cm-s-default .cm-def {
437
- color: #00f;
438
- }
439
- .cm-s-default .cm-variable-2 {
440
- color: #05a;
441
- }
442
- .cm-s-default .cm-variable-3 {
443
- color: #085;
444
- }
445
- .cm-s-default .cm-comment {
446
- color: #a50;
447
- }
448
- .cm-s-default .cm-string {
449
- color: #a11;
450
- }
451
- .cm-s-default .cm-string-2 {
452
- color: #f50;
453
- }
454
- .cm-s-default .cm-meta,
455
- .cm-s-default .cm-qualifier {
456
- color: #555;
457
- }
458
- .cm-s-default .cm-builtin {
459
- color: #30a;
460
- }
461
- .cm-s-default .cm-bracket {
462
- color: #997;
463
- }
464
- .cm-s-default .cm-tag {
465
- color: #170;
466
- }
467
- .cm-s-default .cm-attribute {
468
- color: #00c;
469
- }
470
- .cm-s-default .cm-hr {
471
- color: #999;
472
- }
473
- .cm-s-default .cm-link {
474
- color: #00c;
475
- }
476
- .cm-invalidchar,
477
- .cm-s-default .cm-error {
478
- color: red;
479
- }
480
- .CodeMirror-composing {
481
- border-bottom: 2px solid;
482
- }
483
- div.CodeMirror span.CodeMirror-matchingbracket {
484
- color: #0f0;
485
- }
486
- div.CodeMirror span.CodeMirror-nonmatchingbracket {
487
- color: #f22;
488
- }
489
- .CodeMirror-matchingtag {
490
- background: rgba(255, 150, 0, .3);
491
- }
492
- .CodeMirror-activeline-background {
493
- background: rgb(var(--color-primary-50));
494
- }
495
- .CodeMirror {
496
- position: relative;
497
- overflow: hidden;
498
- background: rgb(var(--color-surface));
499
- }
500
- .CodeMirror-scroll {
501
- overflow: scroll !important;
502
- margin-bottom: -30px;
503
- margin-right: -30px;
504
- padding-top: 0px;
505
- outline: 0;
506
- position: relative;
507
- }
508
- .CodeMirror-fullscreen .CodeMirror-scroll {
509
- padding-top: 0px;
510
- }
511
- .CodeMirror-sizer {
512
- position: relative;
513
- border-right: 30px solid transparent;
514
- }
515
- .CodeMirror-gutter-filler,
516
- .CodeMirror-hscrollbar,
517
- .CodeMirror-scrollbar-filler,
518
- .CodeMirror-vscrollbar {
519
- position: absolute;
520
- z-index: 6;
521
- display: none;
522
- }
523
- .CodeMirror-vscrollbar {
524
- right: 0;
525
- top: 0;
526
- overflow-x: hidden;
527
- overflow-y: scroll;
528
- }
529
- .CodeMirror-hscrollbar {
530
- bottom: 0;
531
- left: 0;
532
- overflow-y: hidden;
533
- overflow-x: scroll;
534
- }
535
- .CodeMirror-scrollbar-filler {
536
- right: 0;
537
- bottom: 0;
538
- }
539
- .CodeMirror-gutter-filler {
540
- left: 0;
541
- bottom: 0;
542
- }
543
- .CodeMirror-gutters {
544
- position: absolute;
545
- left: 0;
546
- top: 0;
547
- min-height: 100%;
548
- z-index: 3;
549
- }
550
- .CodeMirror-gutter {
551
- white-space: normal;
552
- height: 100%;
553
- display: inline-block;
554
- vertical-align: top;
555
- margin-bottom: -30px;
556
- }
557
- .CodeMirror-gutter-wrapper {
558
- position: absolute;
559
- z-index: 4;
560
- background: 0 0 !important;
561
- border: none !important;
562
- -webkit-user-select: none;
563
- -moz-user-select: none;
564
- user-select: none;
565
- }
566
- .CodeMirror-gutter-background {
567
- position: absolute;
568
- top: 0;
569
- bottom: 0;
570
- z-index: 4;
571
- }
572
- .CodeMirror-gutter-elt {
573
- position: absolute;
574
- cursor: default;
575
- z-index: 4;
576
- }
577
- .CodeMirror-lines {
578
- cursor: text;
579
- min-height: 1px;
580
- }
581
- .CodeMirror pre {
582
- border-radius: 0;
583
- border-width: 0;
584
- background: 0 0;
585
- font-family: inherit;
586
- font-size: inherit;
587
- margin: 0;
588
- white-space: pre;
589
- word-wrap: normal;
590
- line-height: inherit;
591
- color: inherit;
592
- z-index: 2;
593
- position: relative;
594
- overflow: visible;
595
- -webkit-tap-highlight-color: transparent;
596
- font-variant-ligatures: none;
597
- }
598
- .CodeMirror-wrap pre {
599
- word-wrap: break-word;
600
- white-space: pre-wrap;
601
- word-break: normal;
602
- }
603
- .CodeMirror-linebackground {
604
- position: absolute;
605
- left: 0;
606
- right: 0;
607
- top: 0;
608
- bottom: 0;
609
- z-index: 0;
610
- }
611
- .CodeMirror-linewidget {
612
- position: relative;
613
- z-index: 2;
614
- overflow: auto;
615
- }
616
- .CodeMirror-code {
617
- outline: 0;
618
- }
619
- .CodeMirror-gutter,
620
- .CodeMirror-gutters,
621
- .CodeMirror-linenumber,
622
- .CodeMirror-scroll,
623
- .CodeMirror-sizer {
624
- box-sizing: content-box;
625
- }
626
- .CodeMirror-measure {
627
- position: absolute;
628
- width: 100%;
629
- height: 0;
630
- overflow: hidden;
631
- visibility: hidden;
632
- }
633
- .CodeMirror-cursor {
634
- position: absolute;
635
- }
636
- .CodeMirror-measure pre {
637
- position: static;
638
- }
639
- div.CodeMirror-cursors {
640
- visibility: hidden;
641
- position: relative;
642
- z-index: 3;
643
- }
644
- .CodeMirror-focused div.CodeMirror-cursors,
645
- div.CodeMirror-dragcursors {
646
- visibility: visible;
647
- }
648
- .CodeMirror-selected {
649
- background: rgb(var(--color-gray-200));
650
- }
651
- .CodeMirror-focused .CodeMirror-selected,
652
- .CodeMirror-line::-moz-selection,
653
- .CodeMirror-line > span::-moz-selection,
654
- .CodeMirror-line > span > span::-moz-selection {
655
- background: rgb(var(--color-primary-100));
656
- }
657
- .CodeMirror-focused .CodeMirror-selected,
658
- .CodeMirror-line::selection,
659
- .CodeMirror-line > span::selection,
660
- .CodeMirror-line > span > span::selection {
661
- background: rgb(var(--color-primary-100));
662
- }
663
- .CodeMirror-crosshair {
664
- cursor: crosshair;
665
- }
666
- .CodeMirror-line::-moz-selection,
667
- .CodeMirror-line > span::-moz-selection,
668
- .CodeMirror-line > span > span::-moz-selection {
669
- background: rgb(var(--color-primary-100));
670
- }
671
- .cm-searching {
672
- background: rgb(var(--color-yellow-200) / 0.4);
673
- }
674
- .cm-force-border {
675
- padding-right: .1px;
676
- }
677
- @media print {
678
- .CodeMirror div.CodeMirror-cursors {
679
- visibility: hidden;
680
- }
681
- }
682
- .cm-tab-wrap-hack:after {
683
- content: "";
684
- }
685
- span.CodeMirror-selectedtext {
686
- background: 0 0;
687
- }
688
- .CodeMirror {
689
- height: 100% !important;
690
- border: none !important;
691
- padding: 10px;
692
- z-index: 1;
693
- line-height: 1.6;
694
- }
695
- .CodeMirror-fullscreen .CodeMirror-scroll {
696
- height: calc(100vh - 90px);
697
- }
698
- .CodeMirror-fullscreen {
699
- background: rgb(var(--color-surface));
700
- position: fixed !important;
701
- top: 50px;
702
- left: 0;
703
- right: 0;
704
- bottom: 0;
705
- height: auto;
706
- z-index: 100 !important;
707
- }
708
- .CodeMirror-wrap {
709
- max-width: 700px;
710
- margin: auto;
711
- font-size: 16px !important;
712
- }
713
- .CodeMirror-wrap.CodeMirror-fullscreen {
714
- max-width: 100%;
715
- margin: inherit;
716
- }
717
- .editor-toolbar {
718
- margin: auto;
719
- display: flex;
720
- justify-self: center;
721
- flex-wrap: wrap;
722
- }
723
- .CodeMirror-sided {
724
- width: 50% !important;
725
- }
726
- .editor-toolbar {
727
- position: absolute;
728
- top: 5px;
729
- opacity: 1;
730
- background: rgb(var(--color-surface));
731
- z-index: 1;
732
- -webkit-user-select: none;
733
- -moz-user-select: none;
734
- -o-user-select: none;
735
- user-select: none;
736
- padding: 0 10px;
737
- border: none;
738
- }
739
- .ineditor-toolbar .editor-toolbar {
740
- top: 50px;
741
- }
742
- .editor-toolbar:after,
743
- .editor-toolbar:before {
744
- display: block;
745
- content: " ";
746
- height: 1px;
747
- }
748
- .editor-toolbar:before {
749
- margin-bottom: 8px;
750
- }
751
- .editor-toolbar:after {
752
- margin-top: 8px;
753
- }
754
- .editor-toolbar:hover,
755
- .editor-wrapper input.title:focus,
756
- .editor-wrapper input.title:hover {
757
- opacity: .8;
758
- }
759
- .editor-toolbar.fullscreen {
760
- max-width: 100%;
761
- margin: inherit;
762
- width: 100%;
763
- height: 50px;
764
- overflow-x: auto;
765
- overflow-y: hidden;
766
- white-space: nowrap;
767
- padding-top: 10px;
768
- padding-bottom: 10px;
769
- box-sizing: border-box;
770
- background: rgb(var(--color-surface));
771
- border: 0;
772
- position: fixed;
773
- top: 0;
774
- left: 0;
775
- opacity: 1;
776
- z-index: 100;
777
- }
778
- .editor-toolbar.fullscreen::before {
779
- width: 20px;
780
- height: 50px;
781
- background:
782
- linear-gradient(
783
- to right,
784
- rgb(var(--color-surface) / 1) 0,
785
- rgb(var(--color-surface) / 0) 100%);
786
- position: fixed;
787
- top: 0;
788
- left: 0;
789
- margin: 0;
790
- padding: 0;
791
- }
792
- .editor-toolbar.fullscreen::after {
793
- width: 20px;
794
- height: 50px;
795
- background:
796
- linear-gradient(
797
- to right,
798
- rgb(var(--color-surface) / 0) 0,
799
- rgb(var(--color-surface) / 1) 100%);
800
- position: fixed;
801
- top: 0;
802
- right: 0;
803
- margin: 0;
804
- padding: 0;
805
- }
806
- .editor-toolbar a {
807
- display: inline-block;
808
- text-align: center;
809
- text-decoration: none !important;
810
- color: rgb(var(--color-foreground)) !important;
811
- width: 30px;
812
- height: 30px;
813
- margin: 0;
814
- border: 1px solid transparent;
815
- border-radius: 3px;
816
- cursor: pointer;
817
- }
818
- .editor-toolbar a.active,
819
- .editor-toolbar a:hover,
820
- .editor-toolbar button.active,
821
- .editor-toolbar button:hover {
822
- background: rgb(var(--color-gray-50));
823
- border-color: rgb(var(--color-gray-400));
824
- }
825
- .dark .editor-toolbar:hover,
826
- [data-theme=dark] .editor-toolbar:hover {
827
- opacity: 0.8;
828
- }
829
- .dark .editor-toolbar a,
830
- [data-theme=dark] .editor-toolbar a {
831
- color: rgb(var(--color-muted)) !important;
832
- }
833
- .dark .editor-toolbar a.active,
834
- .dark .editor-toolbar a:hover,
835
- .dark .editor-toolbar a:focus-visible,
836
- [data-theme=dark] .editor-toolbar a.active,
837
- [data-theme=dark] .editor-toolbar a:hover,
838
- [data-theme=dark] .editor-toolbar a:focus-visible {
839
- color: rgb(var(--color-foreground)) !important;
840
- border-color: rgb(var(--color-email-ring));
841
- }
842
- .dark .editor-toolbar a.active::before,
843
- .dark .editor-toolbar a.active::after,
844
- .dark .editor-toolbar a:hover::before,
845
- .dark .editor-toolbar a:hover::after,
846
- .dark .editor-toolbar a:focus-visible::before,
847
- .dark .editor-toolbar a:focus-visible::after,
848
- [data-theme=dark] .editor-toolbar a.active::before,
849
- [data-theme=dark] .editor-toolbar a.active::after,
850
- [data-theme=dark] .editor-toolbar a:hover::before,
851
- [data-theme=dark] .editor-toolbar a:hover::after,
852
- [data-theme=dark] .editor-toolbar a:focus-visible::before,
853
- [data-theme=dark] .editor-toolbar a:focus-visible::after {
854
- color: inherit !important;
855
- }
856
- .editor-toolbar a:before {
857
- line-height: 30px;
858
- }
859
- .editor-toolbar i.separator {
860
- display: inline-block;
861
- width: 0;
862
- border-left: 1px solid rgb(var(--color-border));
863
- border-right: 1px solid rgb(var(--color-surface));
864
- color: transparent;
865
- text-indent: -10px;
866
- margin: 0 6px;
867
- }
868
- .editor-toolbar a.fa-header-x:after {
869
- font-family:
870
- Arial,
871
- "Helvetica Neue",
872
- Helvetica,
873
- sans-serif;
874
- font-size: 65%;
875
- vertical-align: text-bottom;
876
- position: relative;
877
- top: 2px;
878
- }
879
- .editor-toolbar a.fa-header-1:after {
880
- content: "1";
881
- }
882
- .editor-toolbar a.fa-header-2:after {
883
- content: "2";
884
- }
885
- .editor-toolbar a.fa-header-3:after {
886
- content: "3";
887
- }
888
- .editor-toolbar a.fa-header-bigger:after {
889
- content: "\25b2";
890
- }
891
- .editor-toolbar a.fa-header-smaller:after {
892
- content: "\25bc";
893
- }
894
- .editor-toolbar.disabled-for-preview a:not(.no-disable) {
895
- pointer-events: none;
896
- background: rgb(var(--color-surface));
897
- border-color: transparent;
898
- text-shadow: inherit;
899
- }
900
- @media only screen and (max-width: 700px) {
901
- .editor-toolbar a.no-mobile {
902
- display: none;
903
- }
904
- }
905
- .editor-statusbar {
906
- max-width: 700px;
907
- margin: auto;
908
- padding: 8px 10px;
909
- font-size: 12px;
910
- color: rgb(var(--color-muted));
911
- text-align: right;
912
- }
913
- .editor-statusbar span {
914
- display: inline-block;
915
- min-width: 4em;
916
- margin-left: 1em;
917
- }
918
- .editor-preview,
919
- .editor-preview-side {
920
- padding: 10px;
921
- padding-top: 10px;
922
- padding-bottom: 60px;
923
- background: rgb(var(--color-surface));
924
- overflow: auto;
925
- display: none;
926
- box-sizing: border-box;
927
- z-index: 100 !important;
928
- font-size: 16px !important;
929
- }
930
- .editor-statusbar .lines:before {
931
- content: "lines: ";
932
- }
933
- .editor-statusbar .words:before {
934
- content: "words: ";
935
- }
936
- .editor-statusbar .characters:before {
937
- content: "characters: ";
938
- }
939
- .editor-preview {
940
- position: absolute;
941
- width: 100%;
942
- height: 100%;
943
- top: 0;
944
- left: 0;
945
- z-index: 7;
946
- }
947
- .editor-preview-full .editor-preview {
948
- height: 100%;
949
- padding-bottom: 160px;
950
- }
951
- .editor-preview-side {
952
- position: fixed;
953
- bottom: 0;
954
- width: 50%;
955
- top: 18px;
956
- right: 0;
957
- z-index: 9;
958
- border: 1px solid rgb(var(--color-border));
959
- }
960
- .editor-preview-active,
961
- .editor-preview-active-side {
962
- display: block;
963
- }
964
- .editor-preview-side > p,
965
- .editor-preview > p {
966
- margin-top: 0.5em;
967
- margin-bottom: 0.5em;
968
- }
969
- .editor-preview pre,
970
- .editor-preview-side pre {
971
- background: rgb(var(--color-gray-100));
972
- margin-bottom: 10px;
973
- }
974
- .editor-preview table td,
975
- .editor-preview table th,
976
- .editor-preview-side table td,
977
- .editor-preview-side table th {
978
- border: 1px solid rgb(var(--color-border));
979
- padding: 5px;
980
- }
981
- .CodeMirror .CodeMirror-code .cm-tag {
982
- color: #63a35c;
983
- }
984
- .CodeMirror .CodeMirror-code .cm-attribute {
985
- color: #795da3;
986
- }
987
- .CodeMirror .CodeMirror-code .cm-string {
988
- color: #183691;
989
- }
990
- .CodeMirror .CodeMirror-selected {
991
- background: rgb(var(--color-gray-200));
992
- }
993
- .CodeMirror .CodeMirror-code .cm-header-1 {
994
- font-size: 200%;
995
- line-height: 200%;
996
- }
997
- .CodeMirror .CodeMirror-code .cm-header-2 {
998
- font-size: 160%;
999
- line-height: 160%;
1000
- }
1001
- .CodeMirror .CodeMirror-code .cm-header-3 {
1002
- font-size: 125%;
1003
- line-height: 125%;
1004
- }
1005
- .CodeMirror .CodeMirror-code .cm-header-4 {
1006
- font-size: 110%;
1007
- line-height: 110%;
1008
- }
1009
- .CodeMirror .CodeMirror-code .cm-comment {
1010
- background: rgb(var(--color-markdown-comment) / 0.3);
1011
- border-radius: 2px;
1012
- padding-left: 2px;
1013
- padding-right: 2px;
1014
- padding-top: 1px;
1015
- padding-bottom: 1px;
1016
- }
1017
- .CodeMirror .CodeMirror-code .cm-link {
1018
- color: rgb(var(--color-muted));
1019
- }
1020
- .CodeMirror .CodeMirror-code .cm-url {
1021
- color: rgb(var(--color-gray-400));
1022
- }
1023
- .CodeMirror .CodeMirror-code .cm-strikethrough {
1024
- text-decoration: line-through;
1025
- }
1026
- .CodeMirror .CodeMirror-placeholder {
1027
- opacity: .5;
1028
- }
1029
- .CodeMirror .cm-spell-error:not(.cm-url):not(.cm-comment):not(.cm-tag):not(.cm-word) {
1030
- background: rgb(var(--color-red-500) / 0.15);
1031
- }
1032
-
1033
- /* src/ui/UIFilePreview/RichDocEditor/richdoc-editor.css */
1034
- .richdoc-editor-host {
1035
- height: 100%;
1036
- overflow-y: auto;
1037
- background: #fff;
1038
- }
1039
- .richdoc-editor-host .bn-container {
1040
- height: 100%;
1041
- }
1042
- .dark .richdoc-editor-host:not(.rdoc-export-preview),
1043
- [data-theme=dark] .richdoc-editor-host:not(.rdoc-export-preview) {
1044
- background: rgb(var(--color-surface));
1045
- }
1046
- .dark .richdoc-editor-host:not(.rdoc-export-preview) .bn-editor,
1047
- [data-theme=dark] .richdoc-editor-host:not(.rdoc-export-preview) .bn-editor {
1048
- background-color: transparent;
1049
- }
1050
- .richdoc-editor-host .bn-editor {
1051
- height: 100%;
1052
- margin: auto;
1053
- max-width: 700px;
1054
- padding-top: 24px;
1055
- padding-left: 0;
1056
- padding-right: 0;
1057
- caret-color: rgb(var(--color-foreground));
1058
- }
1059
- .richdoc-editor-host .bn-editor code {
1060
- border-radius: 2px;
1061
- padding-left: 2px;
1062
- padding-right: 2px;
1063
- padding-top: 1px;
1064
- padding-bottom: 1px;
1065
- background: rgb(var(--color-markdown-comment) / 0.3);
1066
- }
1067
- .richdoc-editor-host .bn-editor pre code {
1068
- background: none;
1069
- }
1070
- @media (max-width: 768px) {
1071
- .richdoc-editor-host .bn-editor {
1072
- padding-inline: 16px;
1073
- }
1074
- }
1075
- .richdoc-editor-host.richdoc-readonly .bn-side-menu {
1076
- display: none;
1077
- }
1078
-
1079
- /* src/ui/UIFilePreview/WordEditor/word-editor.css */
1080
- [role=option][data-value=Normal] span {
1081
- font-family:
1082
- "STFangsong",
1083
- "STSong",
1084
- "FangSong",
1085
- serif !important;
1086
- }
1087
- [role=option][data-value=Heading1] span,
1088
- [role=option][data-value=Heading2] span,
1089
- [role=option][data-value=Heading3] span,
1090
- [role=option][data-value=Heading4] span,
1091
- [role=option][data-value=Heading5] span,
1092
- [role=option][data-value=Heading6] span,
1093
- [role=option][data-value=Title] span {
1094
- font-family:
1095
- "STHeiti",
1096
- "STSong",
1097
- "SimHei",
1098
- "Microsoft YaHei",
1099
- sans-serif !important;
1100
- }
1101
- [role=option][data-value=Subtitle] span {
1102
- font-family:
1103
- "STKaiti",
1104
- "STSong",
1105
- "KaiTi",
1106
- serif !important;
1107
- }
1108
- [role=option][data-value=Quote] span,
1109
- [role=option][data-value=IntenseQuote] span {
1110
- font-family:
1111
- "STKaiti",
1112
- "STSong",
1113
- "KaiTi",
1114
- serif !important;
1115
- }
1116
- .ep-root .paged-editor,
1117
- .ep-root .paged-editor__pages-container {
1118
- display: block !important;
1119
- }
1120
- .ep-root,
1121
- #vendorsys-word-editor-root,
1122
- .vendorsys-word-editor-root {
1123
- overflow: visible !important;
1124
- }
1125
- .ep-root .layout-page {
1126
- position: relative !important;
1127
- box-sizing: content-box !important;
1128
- display: block !important;
1129
- }
1130
- .ep-root .layout-page-header {
1131
- position: absolute !important;
1132
- box-sizing: content-box !important;
1133
- display: block !important;
1134
- clear: both !important;
1135
- float: none !important;
1136
- }
1137
- .ep-root .layout-page-header > * {
1138
- position: static !important;
1139
- top: 0 !important;
1140
- left: 0 !important;
1141
- right: auto !important;
1142
- bottom: auto !important;
1143
- transform: none !important;
1144
- margin: 0 !important;
1145
- }
1146
- .ep-root .layout-page-footer {
1147
- position: absolute !important;
1148
- box-sizing: content-box !important;
1149
- display: block !important;
1150
- clear: both !important;
1151
- float: none !important;
1152
- }
1153
- .ep-root .layout-page-footer > * {
1154
- position: static !important;
1155
- top: 0 !important;
1156
- left: 0 !important;
1157
- right: auto !important;
1158
- bottom: auto !important;
1159
- transform: none !important;
1160
- margin: 0 !important;
1161
- }
1162
- .ep-root .layout-page-content {
1163
- box-sizing: content-box !important;
1164
- display: block !important;
1165
- clear: both !important;
1166
- float: none !important;
1167
- }
1168
- .ep-root .layout-page-header > *,
1169
- .ep-root .layout-page-footer > *,
1170
- .ep-root .layout-page-header p,
1171
- .ep-root .layout-page-footer p {
1172
- text-align: inherit;
1173
- float: none !important;
1174
- clear: both;
1175
- box-sizing: content-box !important;
1176
- }
1177
- .ep-root .layout-page-header *,
1178
- .ep-root .layout-page-footer * {
1179
- box-sizing: content-box !important;
1180
- }
1181
- .ep-root .docx-editor__pages-container,
1182
- .ep-root .docx-editor-vue__pages-container,
1183
- .ep-root .prosemirror-zoom-container,
1184
- .ep-root .prosemirror-editor-wrapper {
1185
- box-sizing: content-box !important;
1186
- display: block !important;
1187
- }
1188
- .ep-root .layout-paragraph,
1189
- .ep-root .layout-line,
1190
- .ep-root .layout-fragment {
1191
- box-sizing: content-box !important;
1192
- display: block !important;
1193
- float: none !important;
1194
- }
1195
- .ep-root .docx-editor__scroll-container,
1196
- .ep-root .docx-editor-vue__pages-viewport {
1197
- display: block !important;
1198
- }
1199
- .ep-root .layout-page-header .layout-textbox,
1200
- .ep-root .layout-page-footer .layout-textbox {
1201
- width: auto !important;
1202
- height: auto !important;
1203
- min-width: 0 !important;
1204
- min-height: 0 !important;
1205
- left: 50% !important;
1206
- transform: translateX(-50%) !important;
1207
- top: 0 !important;
1208
- bottom: auto !important;
1209
- right: auto !important;
1210
- position: absolute !important;
1211
- box-sizing: content-box !important;
1212
- padding: 0 !important;
1213
- }
1214
- .ep-root .layout-page-header .layout-textbox .layout-paragraph,
1215
- .ep-root .layout-page-footer .layout-textbox .layout-paragraph,
1216
- .ep-root .layout-page-header .layout-textbox .layout-line,
1217
- .ep-root .layout-page-footer .layout-textbox .layout-line {
1218
- display: inline-block !important;
1219
- width: auto !important;
1220
- box-sizing: content-box !important;
1221
- }
1222
- #vendorsys-word-editor-root .paged-editor,
1223
- #vendorsys-word-editor-root .paged-editor__pages-container,
1224
- .vendorsys-word-editor-root .paged-editor,
1225
- .vendorsys-word-editor-root .paged-editor__pages-container {
1226
- display: block !important;
1227
- }
1228
- #vendorsys-word-editor-root .layout-page,
1229
- .vendorsys-word-editor-root .layout-page {
1230
- position: relative !important;
1231
- box-sizing: content-box !important;
1232
- display: block !important;
1233
- }
1234
- #vendorsys-word-editor-root .layout-page-header,
1235
- .vendorsys-word-editor-root .layout-page-header {
1236
- position: absolute !important;
1237
- box-sizing: content-box !important;
1238
- display: block !important;
1239
- clear: both !important;
1240
- float: none !important;
1241
- }
1242
- #vendorsys-word-editor-root .layout-page-header > *,
1243
- .vendorsys-word-editor-root .layout-page-header > * {
1244
- position: static !important;
1245
- top: 0 !important;
1246
- left: 0 !important;
1247
- right: auto !important;
1248
- bottom: auto !important;
1249
- transform: none !important;
1250
- margin: 0 !important;
1251
- }
1252
- #vendorsys-word-editor-root .layout-page-footer,
1253
- .vendorsys-word-editor-root .layout-page-footer {
1254
- position: absolute !important;
1255
- box-sizing: content-box !important;
1256
- display: block !important;
1257
- clear: both !important;
1258
- float: none !important;
1259
- }
1260
- #vendorsys-word-editor-root .layout-page-footer > *,
1261
- .vendorsys-word-editor-root .layout-page-footer > * {
1262
- position: static !important;
1263
- top: 0 !important;
1264
- left: 0 !important;
1265
- right: auto !important;
1266
- bottom: auto !important;
1267
- transform: none !important;
1268
- margin: 0 !important;
1269
- }
1270
- #vendorsys-word-editor-root .layout-page-content,
1271
- .vendorsys-word-editor-root .layout-page-content {
1272
- box-sizing: content-box !important;
1273
- display: block !important;
1274
- clear: both !important;
1275
- float: none !important;
1276
- }
1277
- #vendorsys-word-editor-root .layout-page-header > *,
1278
- .vendorsys-word-editor-root .layout-page-header > *,
1279
- #vendorsys-word-editor-root .layout-page-footer > *,
1280
- .vendorsys-word-editor-root .layout-page-footer > *,
1281
- #vendorsys-word-editor-root .layout-page-header p,
1282
- .vendorsys-word-editor-root .layout-page-header p,
1283
- #vendorsys-word-editor-root .layout-page-footer p,
1284
- .vendorsys-word-editor-root .layout-page-footer p {
1285
- text-align: inherit;
1286
- float: none !important;
1287
- clear: both;
1288
- box-sizing: content-box !important;
1289
- }
1290
- #vendorsys-word-editor-root .layout-page-header *,
1291
- .vendorsys-word-editor-root .layout-page-header *,
1292
- #vendorsys-word-editor-root .layout-page-footer *,
1293
- .vendorsys-word-editor-root .layout-page-footer * {
1294
- box-sizing: content-box !important;
1295
- }
1296
- #vendorsys-word-editor-root .docx-editor__pages-container,
1297
- .vendorsys-word-editor-root .docx-editor__pages-container,
1298
- #vendorsys-word-editor-root .docx-editor-vue__pages-container,
1299
- .vendorsys-word-editor-root .docx-editor-vue__pages-container,
1300
- #vendorsys-word-editor-root .prosemirror-zoom-container,
1301
- .vendorsys-word-editor-root .prosemirror-zoom-container,
1302
- #vendorsys-word-editor-root .prosemirror-editor-wrapper,
1303
- .vendorsys-word-editor-root .prosemirror-editor-wrapper {
1304
- box-sizing: content-box !important;
1305
- display: block !important;
1306
- }
1307
- #vendorsys-word-editor-root .layout-paragraph,
1308
- .vendorsys-word-editor-root .layout-paragraph,
1309
- #vendorsys-word-editor-root .layout-line,
1310
- .vendorsys-word-editor-root .layout-line,
1311
- #vendorsys-word-editor-root .layout-fragment,
1312
- .vendorsys-word-editor-root .layout-fragment {
1313
- box-sizing: content-box !important;
1314
- display: block !important;
1315
- float: none !important;
1316
- }
1317
- #vendorsys-word-editor-root .docx-editor__scroll-container,
1318
- .vendorsys-word-editor-root .docx-editor__scroll-container,
1319
- #vendorsys-word-editor-root .docx-editor-vue__pages-viewport,
1320
- .vendorsys-word-editor-root .docx-editor-vue__pages-viewport {
1321
- display: block !important;
1322
- }
1323
- #vendorsys-word-editor-root .layout-page-header .layout-textbox,
1324
- .vendorsys-word-editor-root .layout-page-header .layout-textbox,
1325
- #vendorsys-word-editor-root .layout-page-footer .layout-textbox,
1326
- .vendorsys-word-editor-root .layout-page-footer .layout-textbox {
1327
- width: auto !important;
1328
- height: auto !important;
1329
- min-width: 0 !important;
1330
- min-height: 0 !important;
1331
- left: 50% !important;
1332
- transform: translateX(-50%) !important;
1333
- top: 0 !important;
1334
- bottom: auto !important;
1335
- right: auto !important;
1336
- position: absolute !important;
1337
- box-sizing: content-box !important;
1338
- padding: 0 !important;
1339
- }
1340
- #vendorsys-word-editor-root .layout-page-header .layout-textbox .layout-paragraph,
1341
- .vendorsys-word-editor-root .layout-page-header .layout-textbox .layout-paragraph,
1342
- #vendorsys-word-editor-root .layout-page-footer .layout-textbox .layout-paragraph,
1343
- .vendorsys-word-editor-root .layout-page-footer .layout-textbox .layout-paragraph,
1344
- #vendorsys-word-editor-root .layout-page-header .layout-textbox .layout-line,
1345
- .vendorsys-word-editor-root .layout-page-header .layout-textbox .layout-line,
1346
- #vendorsys-word-editor-root .layout-page-footer .layout-textbox .layout-line,
1347
- .vendorsys-word-editor-root .layout-page-footer .layout-textbox .layout-line {
1348
- display: inline-block !important;
1349
- width: auto !important;
1350
- box-sizing: content-box !important;
1351
- }
1352
- .layout-page {
1353
- position: relative;
1354
- box-sizing: content-box;
1355
- }
1356
- .layout-page-header,
1357
- .layout-page-footer {
1358
- position: absolute;
1359
- box-sizing: content-box;
1360
- display: block;
1361
- clear: both;
1362
- float: none;
1363
- }
1364
- .layout-page-header > *,
1365
- .layout-page-footer > * {
1366
- position: static !important;
1367
- top: 0 !important;
1368
- left: 0 !important;
1369
- right: auto !important;
1370
- bottom: auto !important;
1371
- transform: none !important;
1372
- margin: 0 !important;
1373
- }
1374
- .layout-page-header .layout-textbox,
1375
- .layout-page-footer .layout-textbox {
1376
- width: auto !important;
1377
- height: auto !important;
1378
- min-width: 0 !important;
1379
- min-height: 0 !important;
1380
- left: 50% !important;
1381
- transform: translateX(-50%) !important;
1382
- top: 0 !important;
1383
- position: absolute !important;
1384
- box-sizing: content-box !important;
1385
- padding: 0 !important;
1386
- }
1387
- .layout-page-header .layout-textbox .layout-paragraph,
1388
- .layout-page-footer .layout-textbox .layout-paragraph,
1389
- .layout-page-header .layout-textbox .layout-line,
1390
- .layout-page-footer .layout-textbox .layout-line {
1391
- display: inline-block !important;
1392
- width: auto !important;
1393
- }
1394
- .layout-page-content {
1395
- box-sizing: content-box;
1396
- display: block;
1397
- float: none;
1398
- }
1399
- .ep-root .style-preview-Normal,
1400
- #vendorsys-word-editor-root .style-preview-Normal,
1401
- .style-preview-Normal,
1402
- .ep-root .style-preview-Heading1,
1403
- #vendorsys-word-editor-root .style-preview-Heading1,
1404
- .style-preview-Heading1,
1405
- .ep-root .style-preview-Heading2,
1406
- #vendorsys-word-editor-root .style-preview-Heading2,
1407
- .style-preview-Heading2,
1408
- .ep-root .style-preview-Heading3,
1409
- #vendorsys-word-editor-root .style-preview-Heading3,
1410
- .style-preview-Heading3,
1411
- .ep-root .style-preview-Title,
1412
- #vendorsys-word-editor-root .style-preview-Title,
1413
- .style-preview-Title,
1414
- .ep-root .style-preview-Subtitle,
1415
- #vendorsys-word-editor-root .style-preview-Subtitle,
1416
- .style-preview-Subtitle,
1417
- .ep-root .style-preview-Quote,
1418
- #vendorsys-word-editor-root .style-preview-Quote,
1419
- .style-preview-Quote,
1420
- .ep-root .style-preview-IntenseQuote,
1421
- #vendorsys-word-editor-root .style-preview-IntenseQuote,
1422
- .style-preview-IntenseQuote,
1423
- .ep-root .style-preview-NoSpacing,
1424
- #vendorsys-word-editor-root .style-preview-NoSpacing,
1425
- .style-preview-NoSpacing,
1426
- .ep-root .style-preview-PlainText,
1427
- #vendorsys-word-editor-root .style-preview-PlainText,
1428
- .style-preview-PlainText {
1429
- line-height: 1.8 !important;
1430
- padding: 2px 6px !important;
1431
- }
1432
- .ep-root .style-preview-Normal,
1433
- #vendorsys-word-editor-root .style-preview-Normal,
1434
- .style-preview-Normal {
1435
- font-family:
1436
- "STFangsong",
1437
- "STSong",
1438
- "FangSong",
1439
- serif !important;
1440
- font-size: 16px !important;
1441
- font-weight: normal !important;
1442
- }
1443
- .ep-root .style-preview-Heading1,
1444
- #vendorsys-word-editor-root .style-preview-Heading1,
1445
- .style-preview-Heading1,
1446
- .ep-root .style-preview-Title,
1447
- #vendorsys-word-editor-root .style-preview-Title,
1448
- .style-preview-Title {
1449
- font-family:
1450
- "STHeiti",
1451
- "STSong",
1452
- "SimHei",
1453
- "Microsoft YaHei",
1454
- sans-serif !important;
1455
- font-size: 18px !important;
1456
- font-weight: 700 !important;
1457
- }
1458
- .ep-root .style-preview-Heading2,
1459
- #vendorsys-word-editor-root .style-preview-Heading2,
1460
- .style-preview-Heading2 {
1461
- font-family:
1462
- "STHeiti",
1463
- "STSong",
1464
- "SimHei",
1465
- "Microsoft YaHei",
1466
- sans-serif !important;
1467
- font-size: 16px !important;
1468
- font-weight: 700 !important;
1469
- }
1470
- .ep-root .style-preview-Heading3,
1471
- #vendorsys-word-editor-root .style-preview-Heading3,
1472
- .style-preview-Heading3,
1473
- .ep-root .style-preview-Heading4,
1474
- #vendorsys-word-editor-root .style-preview-Heading4,
1475
- .style-preview-Heading4,
1476
- .ep-root .style-preview-Heading5,
1477
- #vendorsys-word-editor-root .style-preview-Heading5,
1478
- .style-preview-Heading5,
1479
- .ep-root .style-preview-Heading6,
1480
- #vendorsys-word-editor-root .style-preview-Heading6,
1481
- .style-preview-Heading6 {
1482
- font-family:
1483
- "STHeiti",
1484
- "STSong",
1485
- "SimHei",
1486
- "Microsoft YaHei",
1487
- sans-serif !important;
1488
- font-size: 15px !important;
1489
- font-weight: 700 !important;
1490
- }
1491
- .ep-root .style-preview-Subtitle,
1492
- #vendorsys-word-editor-root .style-preview-Subtitle,
1493
- .style-preview-Subtitle {
1494
- font-family:
1495
- "STKaiti",
1496
- "STSong",
1497
- "KaiTi",
1498
- serif !important;
1499
- font-size: 16px !important;
1500
- font-weight: normal !important;
1501
- }
1502
- .ep-root .style-preview-Quote,
1503
- #vendorsys-word-editor-root .style-preview-Quote,
1504
- .style-preview-Quote,
1505
- .ep-root .style-preview-IntenseQuote,
1506
- #vendorsys-word-editor-root .style-preview-IntenseQuote,
1507
- .style-preview-IntenseQuote {
1508
- font-family:
1509
- "STKaiti",
1510
- "STSong",
1511
- "KaiTi",
1512
- serif !important;
1513
- font-size: 16px !important;
1514
- font-style: italic !important;
1515
- font-weight: normal !important;
1516
- }
1517
- .ep-root .style-preview-NoSpacing,
1518
- #vendorsys-word-editor-root .style-preview-NoSpacing,
1519
- .style-preview-NoSpacing,
1520
- .ep-root .style-preview-PlainText,
1521
- #vendorsys-word-editor-root .style-preview-PlainText,
1522
- .style-preview-PlainText {
1523
- font-family:
1524
- "STFangsong",
1525
- "STSong",
1526
- "FangSong",
1527
- serif !important;
1528
- font-size: 14px !important;
1529
- font-weight: normal !important;
1530
- }
1531
- .ep-root [data-vendorsys-hidden-style-picker=true],
1532
- #vendorsys-word-editor-root [data-vendorsys-hidden-style-picker=true],
1533
- [data-vendorsys-hidden-style-picker=true] {
1534
- display: none !important;
1535
- visibility: hidden !important;
1536
- width: 0 !important;
1537
- height: 0 !important;
1538
- overflow: hidden !important;
1539
- padding: 0 !important;
1540
- margin: 0 !important;
1541
- }
1542
- .ep-root .vendorsys-custom-style-picker,
1543
- #vendorsys-word-editor-root .vendorsys-custom-style-picker,
1544
- .vendorsys-custom-style-picker {
1545
- display: inline-flex !important;
1546
- align-items: center !important;
1547
- height: 28px !important;
1548
- padding: 0 6px !important;
1549
- box-sizing: border-box !important;
1550
- background: transparent !important;
1551
- }
1552
- .ep-root .vendorsys-custom-style-picker__label,
1553
- #vendorsys-word-editor-root .vendorsys-custom-style-picker__label,
1554
- .vendorsys-custom-style-picker__label {
1555
- font-size: 12px !important;
1556
- line-height: 28px !important;
1557
- color: #8c8c8c !important;
1558
- margin-right: 4px !important;
1559
- white-space: nowrap !important;
1560
- font-family:
1561
- -apple-system,
1562
- BlinkMacSystemFont,
1563
- "Segoe UI",
1564
- Roboto,
1565
- "Helvetica Neue",
1566
- Arial,
1567
- sans-serif !important;
1568
- }
1569
- .ep-root .vendorsys-custom-style-picker > .ant-select,
1570
- #vendorsys-word-editor-root .vendorsys-custom-style-picker > .ant-select,
1571
- .vendorsys-custom-style-picker > .ant-select {
1572
- width: 150px !important;
1573
- box-sizing: border-box !important;
1574
- }
1575
- .ant-select-dropdown.vendorsys-word-style-dropdown,
1576
- body > .ant-select-dropdown.vendorsys-word-style-dropdown {
1577
- z-index: 10000 !important;
1578
- }
1579
- :where(.ant-select-dropdown.vendorsys-word-style-dropdown) .ant-select-item,
1580
- :where(.ant-select-dropdown.vendorsys-word-style-dropdown) .ant-select-item-option,
1581
- :where(.ant-select-dropdown.vendorsys-word-style-dropdown) .ant-select-item-option-content,
1582
- :where(.ant-select-dropdown.vendorsys-word-style-dropdown) .ant-select-item-option-content > * {
1583
- font: inherit !important;
1584
- line-height: inherit !important;
1585
- }
1586
- :where(.ant-select-dropdown.vendorsys-word-style-dropdown) .ant-select-item,
1587
- :where(.ant-select-dropdown.vendorsys-word-style-dropdown) .ant-select-item-option {
1588
- padding-top: 7px !important;
1589
- padding-bottom: 7px !important;
1590
- }
1591
- :where(.ant-select-dropdown) .style-preview-Normal {
1592
- font-family:
1593
- "STFangsong",
1594
- "STSong",
1595
- "FangSong",
1596
- serif !important;
1597
- }
1598
- :where(.ant-select-dropdown) .style-preview-Heading1,
1599
- :where(.ant-select-dropdown) .style-preview-Title {
1600
- font-family:
1601
- "STHeiti",
1602
- "STSong",
1603
- "SimHei",
1604
- "Microsoft YaHei",
1605
- sans-serif !important;
1606
- font-weight: 700 !important;
1607
- }
1608
- :where(.ant-select-dropdown) .style-preview-Heading2 {
1609
- font-family:
1610
- "STHeiti",
1611
- "STSong",
1612
- "SimHei",
1613
- "Microsoft YaHei",
1614
- sans-serif !important;
1615
- font-weight: 700 !important;
1616
- }
1617
- :where(.ant-select-dropdown) .style-preview-Heading3,
1618
- :where(.ant-select-dropdown) .style-preview-Heading4,
1619
- :where(.ant-select-dropdown) .style-preview-Heading5,
1620
- :where(.ant-select-dropdown) .style-preview-Heading6 {
1621
- font-family:
1622
- "STHeiti",
1623
- "STSong",
1624
- "SimHei",
1625
- "Microsoft YaHei",
1626
- sans-serif !important;
1627
- font-weight: 700 !important;
1628
- }
1629
- :where(.ant-select-dropdown) .style-preview-Subtitle {
1630
- font-family:
1631
- "STKaiti",
1632
- "STSong",
1633
- "KaiTi",
1634
- serif !important;
1635
- }
1636
- :where(.ant-select-dropdown) .style-preview-Quote,
1637
- :where(.ant-select-dropdown) .style-preview-IntenseQuote {
1638
- font-family:
1639
- "STKaiti",
1640
- "STSong",
1641
- "KaiTi",
1642
- serif !important;
1643
- font-style: italic !important;
1644
- }
1645
- :where(.ant-select-dropdown) .style-preview-NoSpacing,
1646
- :where(.ant-select-dropdown) .style-preview-PlainText {
1647
- font-family:
1648
- "STFangsong",
1649
- "STSong",
1650
- "FangSong",
1651
- serif !important;
1652
- }
1653
- :where(.ant-select-dropdown) .style-preview-fallback {
1654
- font-family:
1655
- -apple-system,
1656
- BlinkMacSystemFont,
1657
- "Segoe UI",
1658
- Roboto,
1659
- "Helvetica Neue",
1660
- Arial,
1661
- sans-serif !important;
1662
- color: #bfbfbf !important;
1663
- font-style: italic !important;
1664
- }
1665
- [data-theme=dark] .ant-select-dropdown.vendorsys-word-style-dropdown {
1666
- background-color: #ffffff !important;
1667
- color: rgba(0, 0, 0, 0.88) !important;
1668
- color-scheme: light !important;
1669
- box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12), 0 3px 6px -4px rgba(0, 0, 0, 0.16) !important;
1670
- }
1671
- [data-theme=dark] .ant-select-dropdown.vendorsys-word-style-dropdown .rc-virtual-list-holder,
1672
- [data-theme=dark] .ant-select-dropdown.vendorsys-word-style-dropdown .rc-virtual-list-holder-inner {
1673
- background-color: #ffffff !important;
1674
- }
1675
- [data-theme=dark] .ant-select-dropdown.vendorsys-word-style-dropdown .ant-select-item,
1676
- [data-theme=dark] .ant-select-dropdown.vendorsys-word-style-dropdown .ant-select-item-option,
1677
- [data-theme=dark] .ant-select-dropdown.vendorsys-word-style-dropdown .ant-select-item-option-content {
1678
- color: rgba(0, 0, 0, 0.88);
1679
- }
1680
- [data-theme=dark] .ant-select-dropdown.vendorsys-word-style-dropdown .ant-select-item-option-active:not(.ant-select-item-option-disabled) {
1681
- background-color: #f5f5f5 !important;
1682
- }
1683
- [data-theme=dark] .ant-select-dropdown.vendorsys-word-style-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
1684
- background-color: #e6f4ff !important;
1685
- }
1686
- [data-theme=dark] .ant-select-dropdown.vendorsys-word-style-dropdown .ant-select-item-option-disabled {
1687
- color: #bfbfbf !important;
1688
- }
1689
- [data-theme=dark] .ant-select-dropdown.vendorsys-word-style-dropdown ::-webkit-scrollbar-thumb {
1690
- background-color: rgba(0, 0, 0, 0.2) !important;
1691
- }
1692
- [data-theme=dark] .vendorsys-custom-style-picker {
1693
- background: rgba(0, 0, 0, 0.04) !important;
1694
- }
1695
- [data-theme=dark] .vendorsys-custom-style-picker .ant-select-selector {
1696
- background-color: #ffffff !important;
1697
- border-color: #d9d9d9 !important;
1698
- }
1699
- [data-theme=dark] .vendorsys-custom-style-picker .ant-select-selection-item,
1700
- [data-theme=dark] .vendorsys-custom-style-picker .ant-select-selection-placeholder {
1701
- color: rgba(0, 0, 0, 0.88) !important;
1702
- }
1703
- [data-theme=dark] .vendorsys-custom-style-picker .ant-select-arrow {
1704
- color: rgba(0, 0, 0, 0.45) !important;
1705
- }
1706
- [data-theme=dark] .vendorsys-custom-style-picker:hover .ant-select-selector,
1707
- [data-theme=dark] .vendorsys-custom-style-picker .ant-select-focused .ant-select-selector {
1708
- border-color: #4096ff !important;
1709
- }
1710
- .ep-root [data-vendorsys-style-id=HongTouSeparator],
1711
- .ep-root .vendorsys-pstyle-hongtouseparator {
1712
- position: relative !important;
1713
- border-top: none !important;
1714
- border-left: none !important;
1715
- border-right: none !important;
1716
- border-bottom: none !important;
1717
- padding-bottom: 2px !important;
1718
- box-sizing: content-box !important;
1719
- }
1720
- .ep-root [data-vendorsys-style-id=HongTouSeparator]::after,
1721
- .ep-root .vendorsys-pstyle-hongtouseparator::after {
1722
- content: "" !important;
1723
- display: block !important;
1724
- position: absolute !important;
1725
- left: 0 !important;
1726
- right: 0 !important;
1727
- bottom: 0 !important;
1728
- width: auto !important;
1729
- height: 2px !important;
1730
- background-color: #FF0000 !important;
1731
- opacity: 1 !important;
1732
- visibility: visible !important;
1733
- pointer-events: none !important;
1734
- z-index: 1 !important;
1735
- border: none !important;
1736
- }
1737
- #vendorsys-word-editor-root [data-vendorsys-style-id=HongTouSeparator],
1738
- #vendorsys-word-editor-root .vendorsys-pstyle-hongtouseparator,
1739
- .vendorsys-word-editor-root [data-vendorsys-style-id=HongTouSeparator],
1740
- .vendorsys-word-editor-root .vendorsys-pstyle-hongtouseparator {
1741
- position: relative !important;
1742
- border-top: none !important;
1743
- border-left: none !important;
1744
- border-right: none !important;
1745
- border-bottom: none !important;
1746
- padding-bottom: 2px !important;
1747
- box-sizing: content-box !important;
1748
- }
1749
- #vendorsys-word-editor-root [data-vendorsys-style-id=HongTouSeparator]::after,
1750
- #vendorsys-word-editor-root .vendorsys-pstyle-hongtouseparator::after,
1751
- .vendorsys-word-editor-root [data-vendorsys-style-id=HongTouSeparator]::after,
1752
- .vendorsys-word-editor-root .vendorsys-pstyle-hongtouseparator::after {
1753
- content: "" !important;
1754
- display: block !important;
1755
- position: absolute !important;
1756
- left: 0 !important;
1757
- right: 0 !important;
1758
- bottom: 0 !important;
1759
- width: auto !important;
1760
- height: 2px !important;
1761
- background-color: #FF0000 !important;
1762
- opacity: 1 !important;
1763
- visibility: visible !important;
1764
- pointer-events: none !important;
1765
- z-index: 1 !important;
1766
- border: none !important;
1767
- }
1768
- [data-vendorsys-style-id=HongTouSeparator],
1769
- .vendorsys-pstyle-hongtouseparator {
1770
- position: relative !important;
1771
- border-top: none !important;
1772
- border-left: none !important;
1773
- border-right: none !important;
1774
- border-bottom: none !important;
1775
- padding-bottom: 2px !important;
1776
- box-sizing: content-box !important;
1777
- }
1778
- [data-vendorsys-style-id=HongTouSeparator]::after,
1779
- .vendorsys-pstyle-hongtouseparator::after {
1780
- content: "" !important;
1781
- display: block !important;
1782
- position: absolute !important;
1783
- left: 0 !important;
1784
- right: 0 !important;
1785
- bottom: 0 !important;
1786
- width: auto !important;
1787
- height: 2px !important;
1788
- background-color: #FF0000 !important;
1789
- opacity: 1 !important;
1790
- visibility: visible !important;
1791
- pointer-events: none !important;
1792
- z-index: 1 !important;
1793
- border: none !important;
1794
- }
1795
- .vendorsys-paste-smart-tag {
1796
- position: fixed;
1797
- z-index: 11000;
1798
- }
1799
- .vendorsys-paste-smart-tag-trigger {
1800
- display: inline-flex;
1801
- align-items: center;
1802
- gap: 2px;
1803
- padding: 2px 6px;
1804
- background: #fff;
1805
- border: 1px solid #d9d9d9;
1806
- border-radius: 4px;
1807
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
1808
- cursor: pointer;
1809
- font-size: 13px;
1810
- color: #444;
1811
- }
1812
- .vendorsys-paste-smart-tag-trigger:hover {
1813
- color: #1677ff;
1814
- border-color: #1677ff;
1815
- }
1816
- .vendorsys-paste-smart-tag-trigger .arrow {
1817
- font-size: 9px;
1818
- }
1819
- .vendorsys-paste-smart-tag-menu {
1820
- min-width: 176px;
1821
- background: #fff;
1822
- border: 1px solid #e5e5e5;
1823
- border-radius: 6px;
1824
- box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
1825
- padding: 4px 0;
1826
- }
1827
- .vendorsys-paste-smart-tag-menu button {
1828
- display: flex;
1829
- align-items: center;
1830
- justify-content: space-between;
1831
- width: 100%;
1832
- padding: 6px 14px;
1833
- border: none;
1834
- background: transparent;
1835
- cursor: pointer;
1836
- font-size: 13px;
1837
- color: #333;
1838
- text-align: left;
1839
- }
1840
- .vendorsys-paste-smart-tag-menu button:hover {
1841
- background: #f0f5ff;
1842
- color: #1677ff;
1843
- }
1844
- .vendorsys-paste-smart-tag-menu button .key {
1845
- margin-left: 20px;
1846
- font-size: 12px;
1847
- color: #999;
1848
- }
1849
- .vendorsys-paste-smart-tag-menu button:hover .key {
1850
- color: #1677ff;
1851
- }
1852
- [data-theme=dark] .vendorsys-paste-smart-tag-trigger {
1853
- background: #2b2b2b;
1854
- border-color: #4a4a4a;
1855
- color: #ddd;
1856
- }
1857
- [data-theme=dark] .vendorsys-paste-smart-tag-menu {
1858
- background: #2b2b2b;
1859
- border-color: #4a4a4a;
1860
- }
1861
- [data-theme=dark] .vendorsys-paste-smart-tag-menu button {
1862
- color: #ddd;
1863
- }
1864
- [data-theme=dark] .vendorsys-paste-smart-tag-menu button:hover {
1865
- background: rgba(22, 119, 255, 0.18);
1866
- color: #69a9ff;
1867
- }
1868
- [data-theme=dark] .vendorsys-paste-smart-tag-menu button:hover .key {
1869
- color: #69a9ff;
1870
- }
1871
- /**
1872
- * simplemde v1.11.2
1873
- * Copyright Next Step Webs, Inc.
1874
- * @link https://github.com/NextStepWebs/simplemde-markdown-editor
1875
- * @license MIT
1876
- */