@componyx/ui 0.0.0-stage → 1.0.3
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/AppSkin/AppSkin.css +1268 -0
- package/AppSkin/AppSkin.js +2748 -0
- package/AppSkin/Themes/Default.css +241 -0
- package/Base/Base.js +3407 -0
- package/Base/ComponentIcons.css +66 -0
- package/Base/Font/ComponentIcons.woff +0 -0
- package/Base/Font/UI.woff +0 -0
- package/Base/Library.js +8432 -0
- package/Base/NavigationManager.js +462 -0
- package/Base/ResponsiveTemplates.js +371 -0
- package/Base/Sanitizer.js +288 -0
- package/Base/Themes/Default.css +255 -0
- package/Base/UI.css +618 -0
- package/Base/UIResourcePath.js +6 -0
- package/Bindary/Bindary.js +2011 -0
- package/Bindary/Modules/Connection.js +216 -0
- package/Bindary/Modules/Core.js +854 -0
- package/Bindary/Modules/DataUpdater.js +351 -0
- package/Bindary/Modules/ExpressionEngine.js +347 -0
- package/Bindary/Modules/ProxyManager.js +482 -0
- package/Bindary/Modules/Renderer.js +605 -0
- package/Bindary/Modules/Router.js +291 -0
- package/Bindary/Modules/Scroller.js +89 -0
- package/Bindary/Modules/Template.js +1273 -0
- package/BookmarkSpy/BookmarkSpy.js +430 -0
- package/Box/Box.css +36 -0
- package/Box/Box.js +1685 -0
- package/Button/Button.css +470 -0
- package/Button/Button.js +1398 -0
- package/Button/Themes/Default.css +200 -0
- package/Carousel/Carousel.css +273 -0
- package/Carousel/Carousel.js +607 -0
- package/ColorButton/ColorButton.css +39 -0
- package/ColorButton/ColorButton.js +336 -0
- package/ColorPicker/ColorPicker.css +359 -0
- package/ColorPicker/ColorPicker.js +972 -0
- package/ComboBox/ComboBox.css +357 -0
- package/ComboBox/ComboBox.js +2342 -0
- package/ComboBox/Themes/Default.css +23 -0
- package/DataPager/DataPager.css +72 -0
- package/DataPager/DataPager.js +674 -0
- package/DatePicker/DatePicker.css +227 -0
- package/DatePicker/DatePicker.js +1531 -0
- package/DatePicker/Themes/Default.css +26 -0
- package/Dialog/Dialog.css +106 -0
- package/Dialog/Dialog.js +572 -0
- package/Dialog/Themes/Default.css +10 -0
- package/Editor/Data/Emoji.json +8285 -0
- package/Editor/Data/Special.json +1042 -0
- package/Editor/Editor.css +1562 -0
- package/Editor/Editor.js +4058 -0
- package/Editor/Font/Editor.woff +0 -0
- package/Editor/Modules/ComponentFactory.js +565 -0
- package/Editor/Modules/ContentManager.js +748 -0
- package/Editor/Modules/DialogManager.js +1234 -0
- package/Editor/Modules/EventManager.js +458 -0
- package/Editor/Modules/Format.js +950 -0
- package/Editor/Modules/History.js +191 -0
- package/Editor/Modules/LayoutState.js +379 -0
- package/Editor/Modules/ListManager.js +296 -0
- package/Editor/Modules/MenuManager.js +388 -0
- package/Editor/Modules/NodeManager.js +681 -0
- package/Editor/Modules/ParagraphButtons.js +122 -0
- package/Editor/Modules/Resizer.js +176 -0
- package/Editor/Modules/SelectionRange.js +564 -0
- package/Editor/Modules/SourceViewBuilder.js +212 -0
- package/Editor/Modules/SymbolPicker.js +208 -0
- package/Editor/Modules/Table.js +2327 -0
- package/Editor/Modules/TableDialog.js +757 -0
- package/Editor/Modules/Toolbar.js +375 -0
- package/Editor/Modules/TooltipMenu.js +125 -0
- package/Editor/Modules/Utility.js +131 -0
- package/Editor/Themes/Default.css +204 -0
- package/FileUpload/FileUpload.css +156 -0
- package/FileUpload/FileUpload.js +898 -0
- package/FileUpload/Themes/Default.css +17 -0
- package/Form/Form.css +1934 -0
- package/Form/Form.js +4943 -0
- package/Form/Modules/ActionManager.js +368 -0
- package/Form/Modules/BuildPanelManager.js +319 -0
- package/Form/Modules/ComponentFactory.js +468 -0
- package/Form/Modules/ComponentPanel.js +265 -0
- package/Form/Modules/ConfigPanelManager.js +685 -0
- package/Form/Modules/DataObserver.js +717 -0
- package/Form/Modules/Databinder.js +602 -0
- package/Form/Modules/Draggable.js +756 -0
- package/Form/Modules/OptionsPanel.js +342 -0
- package/Form/Modules/Renderer.js +1889 -0
- package/Form/Modules/RuleEngine.js +585 -0
- package/Form/Modules/RulesPanel.js +1158 -0
- package/Form/Modules/Types.js +1709 -0
- package/Form/Modules/ValidationManager.js +194 -0
- package/Form/Themes/Default.css +216 -0
- package/FormField/FormField.css +468 -0
- package/FormField/FormField.js +576 -0
- package/FormField/Themes/Default.css +99 -0
- package/Grid/Grid.css +544 -0
- package/Grid/Grid.js +3761 -0
- package/Grid/Themes/Default.css +43 -0
- package/LICENSE +126 -0
- package/MaskedTextBox/MaskedTextBox.css +28 -0
- package/MaskedTextBox/MaskedTextBox.js +642 -0
- package/MaskedTextBox/Themes/Default.css +6 -0
- package/Menu/Menu.css +328 -0
- package/Menu/Menu.js +2386 -0
- package/Menu/Themes/Default.css +24 -0
- package/NumericBox/NumericBox.css +120 -0
- package/NumericBox/NumericBox.js +984 -0
- package/PanelBar/PanelBar.css +123 -0
- package/PanelBar/PanelBar.js +505 -0
- package/PanelBar/Themes/Default.css +51 -0
- package/PieChart/PieChart.css +95 -0
- package/PieChart/PieChart.js +820 -0
- package/PieChart/Themes/Default.css +9 -0
- package/README.md +178 -3
- package/Slider/Slider.css +348 -0
- package/Slider/Slider.js +1306 -0
- package/Slider/Themes/Default.css +44 -0
- package/TabStrip/TabStrip.css +52 -0
- package/TabStrip/TabStrip.js +362 -0
- package/TabStrip/Themes/Default.css +35 -0
- package/TimePicker/Themes/Default.css +30 -0
- package/TimePicker/TimePicker.css +253 -0
- package/TimePicker/TimePicker.js +1485 -0
- package/TooltipManager/Themes/Default.css +21 -0
- package/TooltipManager/TooltipManager.css +227 -0
- package/TooltipManager/TooltipManager.js +791 -0
- package/Validator/Validator.css +54 -0
- package/Validator/Validator.js +2508 -0
- package/componyx.html-data.json +619 -0
- package/index.js +27 -0
- package/package.json +43 -4
- package/types/AppSkin.d.ts +842 -0
- package/types/Base.d.ts +1034 -0
- package/types/Bindary.d.ts +1196 -0
- package/types/BookmarkSpy.d.ts +112 -0
- package/types/Box.d.ts +374 -0
- package/types/Button.d.ts +455 -0
- package/types/Carousel.d.ts +136 -0
- package/types/ColorButton.d.ts +120 -0
- package/types/ColorPicker.d.ts +225 -0
- package/types/ComboBox.d.ts +507 -0
- package/types/DataPager.d.ts +152 -0
- package/types/DatePicker.d.ts +354 -0
- package/types/Dialog.d.ts +160 -0
- package/types/Editor.d.ts +1289 -0
- package/types/FileUpload.d.ts +206 -0
- package/types/Form.d.ts +3078 -0
- package/types/FormField.d.ts +204 -0
- package/types/Grid.d.ts +911 -0
- package/types/Library.d.ts +1899 -0
- package/types/MaskedTextBox.d.ts +91 -0
- package/types/Menu.d.ts +577 -0
- package/types/NumericBox.d.ts +310 -0
- package/types/PanelBar.d.ts +223 -0
- package/types/PieChart.d.ts +224 -0
- package/types/ResponsiveTemplates.d.ts +108 -0
- package/types/Slider.d.ts +227 -0
- package/types/TabStrip.d.ts +185 -0
- package/types/TimePicker.d.ts +265 -0
- package/types/TooltipManager.d.ts +178 -0
- package/types/UI.d.ts +29 -0
- package/types/Validator.d.ts +653 -0
- package/types/index.d.ts +59 -0
- package/ui.css +11783 -0
- package/ui.js +79477 -0
- package/ui.min.css +138 -0
- package/ui.min.js +264 -0
- package/ui.min.js.map +1 -0
|
@@ -0,0 +1,1562 @@
|
|
|
1
|
+
/*! Componyx.UI | (c) E.H. Daanen / Componyx | BUSL-1.1 | componyx.com/license */
|
|
2
|
+
@font-face
|
|
3
|
+
{
|
|
4
|
+
font-family: 'Editor';
|
|
5
|
+
src: url('Font/Editor.woff') format('woff');
|
|
6
|
+
font-weight: normal;
|
|
7
|
+
font-style: normal;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/* lock page scrolling while an editor is in fullscreen mode */
|
|
11
|
+
html:has(.editor.theme.fullscreen)
|
|
12
|
+
{
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.editor.theme
|
|
17
|
+
{
|
|
18
|
+
box-sizing: border-box;
|
|
19
|
+
/* variables are set in code */
|
|
20
|
+
--font-color: none;
|
|
21
|
+
--font-bg-color: none;
|
|
22
|
+
|
|
23
|
+
[class*='ico-editor-']::before
|
|
24
|
+
{
|
|
25
|
+
display: inline-block;
|
|
26
|
+
font-family: 'Editor';
|
|
27
|
+
speak: none;
|
|
28
|
+
font-style: normal;
|
|
29
|
+
font-weight: normal;
|
|
30
|
+
font-variant: normal;
|
|
31
|
+
text-transform: none;
|
|
32
|
+
-webkit-font-smoothing: antialiased;
|
|
33
|
+
-moz-osx-font-smoothing: grayscale;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
[class*='ico-editor-']
|
|
37
|
+
{
|
|
38
|
+
font-size: 16px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.ico-editor-undo::before
|
|
42
|
+
{
|
|
43
|
+
content: "\e901";
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.ico-editor-redo::before
|
|
47
|
+
{
|
|
48
|
+
content: "\e902";
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.ico-editor-font-size-min::before
|
|
52
|
+
{
|
|
53
|
+
content: "\e904";
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.ico-editor-font-size-plus::before
|
|
57
|
+
{
|
|
58
|
+
content: "\e900";
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.ico-editor-strikethrough::before
|
|
62
|
+
{
|
|
63
|
+
content: "\e905";
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.ico-editor-font-color::before
|
|
67
|
+
{
|
|
68
|
+
content: "\e903";
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.ico-editor-font-bgcolor::before
|
|
72
|
+
{
|
|
73
|
+
content: "\e919";
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.ico-editor-font-color::after,
|
|
77
|
+
.ico-editor-font-bgcolor::after
|
|
78
|
+
{
|
|
79
|
+
content: '';
|
|
80
|
+
display: inline-block;
|
|
81
|
+
position: absolute;
|
|
82
|
+
left: 0px;
|
|
83
|
+
bottom: 0px;
|
|
84
|
+
height: 4px;
|
|
85
|
+
width: 100%;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.ico-editor-media::before
|
|
89
|
+
{
|
|
90
|
+
content: "\e913";
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.ico-editor-image::before
|
|
94
|
+
{
|
|
95
|
+
content: "\e914";
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.ico-editor-sub::before
|
|
99
|
+
{
|
|
100
|
+
content: "\e915";
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.ico-editor-super::before
|
|
104
|
+
{
|
|
105
|
+
content: "\e916";
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.ico-editor-align-center::before
|
|
109
|
+
{
|
|
110
|
+
content: "\e90e" !important;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.ico-editor-align-justify::before
|
|
114
|
+
{
|
|
115
|
+
content: "\e90f" !important;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.ico-editor-align-left::before
|
|
119
|
+
{
|
|
120
|
+
content: "\e910" !important;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.ico-editor-align-right::before
|
|
124
|
+
{
|
|
125
|
+
content: "\e911" !important;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.ico-editor-indent-min::before
|
|
129
|
+
{
|
|
130
|
+
content: "\e90a";
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.ico-editor-indent-plus::before
|
|
134
|
+
{
|
|
135
|
+
content: "\e90d";
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.ico-editor-ol::before
|
|
139
|
+
{
|
|
140
|
+
content: "\e908";
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.ico-editor-ul::before
|
|
144
|
+
{
|
|
145
|
+
content: "\e909";
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.ico-editor-bold::before
|
|
149
|
+
{
|
|
150
|
+
content: "\e907";
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.ico-editor-underline::before
|
|
154
|
+
{
|
|
155
|
+
content: "\e906";
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.ico-editor-expand::before
|
|
159
|
+
{
|
|
160
|
+
content: "\e918";
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.ico-editor-formatting-clear::before
|
|
164
|
+
{
|
|
165
|
+
content: "\e90b";
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.ico-editor-source::before
|
|
169
|
+
{
|
|
170
|
+
content: "\e917";
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.ico-editor-link::before
|
|
174
|
+
{
|
|
175
|
+
content: "\e912";
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.ico-editor-link.remove::after
|
|
179
|
+
{
|
|
180
|
+
content: "\00d7";
|
|
181
|
+
font-weight: bold;
|
|
182
|
+
font-size: 16px;
|
|
183
|
+
font-family: Arial;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
.ico-editor-table::before
|
|
188
|
+
{
|
|
189
|
+
content: "\e90c";
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.ico-editor-save::before
|
|
193
|
+
{
|
|
194
|
+
content: "\e91a";
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.ico-editor-brush::before
|
|
198
|
+
{
|
|
199
|
+
content: "\e91b";
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.ico-editor-emoji::before
|
|
203
|
+
{
|
|
204
|
+
content: "\e91c";
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.ico-editor-italic::before
|
|
208
|
+
{
|
|
209
|
+
content: "\e91d";
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.ico-editor-line::before
|
|
213
|
+
{
|
|
214
|
+
content: "\e91e";
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.ico-editor-checklist::before
|
|
218
|
+
{
|
|
219
|
+
content: "\e91f";
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.ico-editor-omega::before
|
|
223
|
+
{
|
|
224
|
+
content: "\e920";
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.ico-editor-pagebreak::before
|
|
228
|
+
{
|
|
229
|
+
content: "\e921";
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.ico-editor-preview::before
|
|
233
|
+
{
|
|
234
|
+
content: "\e922";
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.ico-editor-print::before
|
|
238
|
+
{
|
|
239
|
+
content: "\e923";
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.ico-editor-pdf::before
|
|
243
|
+
{
|
|
244
|
+
content: "\e924";
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.ico-editor-comment::before
|
|
248
|
+
{
|
|
249
|
+
content: "\e925";
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.ico-editor-upload::before
|
|
253
|
+
{
|
|
254
|
+
content: "\e926";
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.ico-editor-bookmark::before
|
|
258
|
+
{
|
|
259
|
+
content: "\e927";
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.ico-editor-download::before
|
|
263
|
+
{
|
|
264
|
+
content: "\e928";
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.ico-editor-line-height::before
|
|
268
|
+
{
|
|
269
|
+
content: "\e929";
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.ico-editor-palette::before
|
|
273
|
+
{
|
|
274
|
+
content: "\e92b";
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.ico-editor-more:before
|
|
278
|
+
{
|
|
279
|
+
content: "\e92c";
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.ico-editor-block:before
|
|
283
|
+
{
|
|
284
|
+
content: "\e92d";
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.ico-editor-list-disc::before
|
|
288
|
+
{
|
|
289
|
+
content: "\e92a" !important;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.ico-editor-list-circle::before
|
|
293
|
+
{
|
|
294
|
+
content: "\e92e" !important;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.ico-editor-list-square::before
|
|
298
|
+
{
|
|
299
|
+
content: "\e930" !important;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.ico-editor-list-decimal::before
|
|
303
|
+
{
|
|
304
|
+
content: "\e932" !important;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.ico-editor-list-lower-alpha::before
|
|
308
|
+
{
|
|
309
|
+
content: "\e934" !important;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.ico-editor-list-lower-greek::before
|
|
313
|
+
{
|
|
314
|
+
content: "\e936" !important;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.ico-editor-list-lower-roman::before
|
|
318
|
+
{
|
|
319
|
+
content: "\e938" !important;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.ico-editor-list-upper-alpha::before
|
|
323
|
+
{
|
|
324
|
+
content: "\e93b" !important;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.ico-editor-list-upper-roman::before
|
|
328
|
+
{
|
|
329
|
+
content: "\e93d" !important;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.ico-editor-lock::before
|
|
333
|
+
{
|
|
334
|
+
content: "\e92f";
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.button.theme.lock.selected .ico-editor-lock::before
|
|
338
|
+
{
|
|
339
|
+
content: "\e931";
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.ico-editor-enter::before
|
|
343
|
+
{
|
|
344
|
+
content: "\e933";
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.ico-editor-img-align-left::before
|
|
348
|
+
{
|
|
349
|
+
content: "\e935";
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.ico-editor-img-align-center::before
|
|
353
|
+
{
|
|
354
|
+
content: "\e937";
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.ico-editor-img-align-right::before
|
|
358
|
+
{
|
|
359
|
+
content: "\e939";
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.ico-editor-img-inline-align-default-top::before
|
|
363
|
+
{
|
|
364
|
+
content: "\e941";
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
.ico-editor-img-inline-align-default-center::before
|
|
368
|
+
{
|
|
369
|
+
content: "\e93a";
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.ico-editor-img-inline-align-default-bottom::before
|
|
373
|
+
{
|
|
374
|
+
content: "\e940";
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.ico-editor-img-inline-align-left::before
|
|
378
|
+
{
|
|
379
|
+
content: "\e93c";
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
.ico-editor-img-inline-align-center::before
|
|
383
|
+
{
|
|
384
|
+
content: "\e93e";
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.ico-editor-img-inline-align-right:before
|
|
388
|
+
{
|
|
389
|
+
content: "\e93f";
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.ico-editor-add-below:before
|
|
393
|
+
{
|
|
394
|
+
content: "\e942";
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.ico-editor-add-above:before
|
|
398
|
+
{
|
|
399
|
+
content: "\e943";
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.ico-editor-add-right:before
|
|
403
|
+
{
|
|
404
|
+
content: "\e944";
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.ico-editor-add-left:before
|
|
408
|
+
{
|
|
409
|
+
content: "\e945";
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.ico-editor-clipboard:before
|
|
413
|
+
{
|
|
414
|
+
content: "\e946";
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.ico-editor-clipboard-text:before
|
|
418
|
+
{
|
|
419
|
+
content: "\e947";
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.ico-editor-cut:before
|
|
423
|
+
{
|
|
424
|
+
content: "\e948";
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.ico-editor-merge-cells:before
|
|
428
|
+
{
|
|
429
|
+
content: "\e949";
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.ico-editor-split-cells:before
|
|
433
|
+
{
|
|
434
|
+
content: "\e94e";
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.ico-editor-remove-col:before
|
|
438
|
+
{
|
|
439
|
+
content: "\e94b";
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
.ico-editor-remove-row:before
|
|
443
|
+
{
|
|
444
|
+
content: "\e94d";
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
.ico-editor-col:before
|
|
448
|
+
{
|
|
449
|
+
content: "\e94f";
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.ico-editor-row:before
|
|
453
|
+
{
|
|
454
|
+
content: "\e950";
|
|
455
|
+
}
|
|
456
|
+
/* menu-item buttons of align-menu */
|
|
457
|
+
.item-group nav [class*='ico-editor-align-']
|
|
458
|
+
{
|
|
459
|
+
margin-right: 8px;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
&.fullscreen-header,
|
|
463
|
+
&.fullscreen-caret
|
|
464
|
+
{
|
|
465
|
+
position: fixed;
|
|
466
|
+
left: 0px;
|
|
467
|
+
top: unset;
|
|
468
|
+
bottom: 0px;
|
|
469
|
+
right: 0px;
|
|
470
|
+
border: 0px;
|
|
471
|
+
z-index: 10;
|
|
472
|
+
margin: 0;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
&.fullscreen-footer
|
|
476
|
+
{
|
|
477
|
+
position: fixed;
|
|
478
|
+
left: 0px;
|
|
479
|
+
top: 0px;
|
|
480
|
+
bottom: unset;
|
|
481
|
+
right: 0px;
|
|
482
|
+
border: 0px;
|
|
483
|
+
z-index: 10;
|
|
484
|
+
margin: 0;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
&.hidden
|
|
488
|
+
{
|
|
489
|
+
border: 0 !important;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
&:not(.iframe)
|
|
493
|
+
{
|
|
494
|
+
font-size: 14px;
|
|
495
|
+
border-style: solid;
|
|
496
|
+
border-width: 1px;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
&.iframe
|
|
500
|
+
{
|
|
501
|
+
margin: 8px;
|
|
502
|
+
padding: 0px;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
& > [contenteditable="true"],
|
|
506
|
+
&[contenteditable="true"]
|
|
507
|
+
{
|
|
508
|
+
& ul,
|
|
509
|
+
& ol,
|
|
510
|
+
& li
|
|
511
|
+
{
|
|
512
|
+
all: revert;
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
.ico-editor-font-color::after
|
|
518
|
+
{
|
|
519
|
+
background-color: var(--font-color);
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.ico-editor-font-bgcolor::after
|
|
523
|
+
{
|
|
524
|
+
background-color: var(--font-bg-color);
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
iframe
|
|
529
|
+
{
|
|
530
|
+
border: 0px;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
.toolbar
|
|
534
|
+
{
|
|
535
|
+
display: flex;
|
|
536
|
+
flex-wrap: wrap;
|
|
537
|
+
gap: 1px;
|
|
538
|
+
height: auto;
|
|
539
|
+
line-height: normal;
|
|
540
|
+
-moz-user-select: none;
|
|
541
|
+
-webkit-user-select: none;
|
|
542
|
+
-ms-user-select: none;
|
|
543
|
+
user-select: none;
|
|
544
|
+
margin-top: 1px; /* make sure the group lines don't overlap the top border of the toolbar */
|
|
545
|
+
border-radius: var(--cui-border-radius);
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
.toolbar .group
|
|
549
|
+
{
|
|
550
|
+
display: flex;
|
|
551
|
+
flex-wrap: wrap;
|
|
552
|
+
margin-left: 8px;
|
|
553
|
+
margin-right: 8px;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
.toolbar .group::after
|
|
557
|
+
{
|
|
558
|
+
content: '';
|
|
559
|
+
position: absolute;
|
|
560
|
+
left: 0;
|
|
561
|
+
right: 0;
|
|
562
|
+
height: 1px;
|
|
563
|
+
margin-top: -1px;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
.menu.theme .item-group
|
|
568
|
+
{
|
|
569
|
+
max-height: 50vh;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
.menu.theme
|
|
573
|
+
{
|
|
574
|
+
h1, h2, h3, h4, h5, h6
|
|
575
|
+
{
|
|
576
|
+
margin: 0 !important;
|
|
577
|
+
padding: 0 !important;
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
> .footer
|
|
582
|
+
{
|
|
583
|
+
display: flex;
|
|
584
|
+
align-items: center;
|
|
585
|
+
border-top-style: solid;
|
|
586
|
+
padding-left: 5px;
|
|
587
|
+
padding-right: 5px;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
> .footer > .path
|
|
591
|
+
{
|
|
592
|
+
display: flex;
|
|
593
|
+
flex: 1;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
> .footer > .path > *
|
|
597
|
+
{
|
|
598
|
+
margin-right: 5px;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
> .footer > .path > .path-item
|
|
602
|
+
{
|
|
603
|
+
opacity: 0.7;
|
|
604
|
+
cursor: pointer;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
> .footer > .path > .path-item:hover
|
|
608
|
+
{
|
|
609
|
+
opacity: 1;
|
|
610
|
+
text-decoration: underline;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
> .footer .resize-handle
|
|
614
|
+
{
|
|
615
|
+
display: inline-block;
|
|
616
|
+
height: 14px;
|
|
617
|
+
width: 14px;
|
|
618
|
+
margin-top: 14px;
|
|
619
|
+
position: relative;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
> .footer .resize-handle::before
|
|
623
|
+
{
|
|
624
|
+
content: '';
|
|
625
|
+
display: block;
|
|
626
|
+
position: absolute;
|
|
627
|
+
transform: rotate(-45deg);
|
|
628
|
+
height: 1px;
|
|
629
|
+
width: 14px;
|
|
630
|
+
background: rgba(0,0,0,0.5);
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
> .footer .resize-handle::after
|
|
634
|
+
{
|
|
635
|
+
content: '';
|
|
636
|
+
display: block;
|
|
637
|
+
position: absolute;
|
|
638
|
+
transform: rotate(-45deg);
|
|
639
|
+
top: 2px;
|
|
640
|
+
left: 7px;
|
|
641
|
+
height: 1px;
|
|
642
|
+
width: 7px;
|
|
643
|
+
background: rgba(0,0,0,0.5);
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
.menu.theme .item-group:not(.static) nav.content
|
|
648
|
+
{
|
|
649
|
+
min-width: auto;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
> .editor-content
|
|
653
|
+
{
|
|
654
|
+
position: relative;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
> .editor-content,
|
|
658
|
+
> .source-view
|
|
659
|
+
{
|
|
660
|
+
box-sizing: border-box;
|
|
661
|
+
padding: 12px;
|
|
662
|
+
min-height: 100px;
|
|
663
|
+
border-radius: 0;
|
|
664
|
+
box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
|
|
665
|
+
-moz-user-select: initial;
|
|
666
|
+
-webkit-user-select: initial;
|
|
667
|
+
-ms-user-select: initial;
|
|
668
|
+
user-select: initial;
|
|
669
|
+
overflow: auto;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
.editor.framed.theme > .editor-content
|
|
673
|
+
{
|
|
674
|
+
padding: 0px;
|
|
675
|
+
overflow: hidden;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
.button.theme.more > .expand-icon
|
|
679
|
+
{
|
|
680
|
+
display: none;
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
.button.theme.block > .content-holder,
|
|
684
|
+
.button.theme.font-family > .content-holder,
|
|
685
|
+
.button.theme.font-size > .content-holder,
|
|
686
|
+
.button.theme.style > .content-holder
|
|
687
|
+
{
|
|
688
|
+
width: 100px;
|
|
689
|
+
overflow: hidden;
|
|
690
|
+
text-overflow: ellipsis;
|
|
691
|
+
white-space: nowrap;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
.button.theme.block > .content-holder
|
|
695
|
+
{
|
|
696
|
+
width: 25px;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
.button.theme.font-size > .content-holder
|
|
700
|
+
{
|
|
701
|
+
width: 50px;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
.item-group[class*='-list'] > nav
|
|
706
|
+
{
|
|
707
|
+
display: grid;
|
|
708
|
+
grid-template-columns: repeat(3, 1fr);
|
|
709
|
+
grid-gap: 5px;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
.item-group[class*='-list'] > nav::before
|
|
713
|
+
{
|
|
714
|
+
content: none !important;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
.item-group[class*='-list'] > nav > .button.theme
|
|
718
|
+
{
|
|
719
|
+
height: 48px;
|
|
720
|
+
line-height: 48px;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
.box.theme.color-swatch > .content
|
|
724
|
+
{
|
|
725
|
+
padding: 0px;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
.box.theme.color-swatch > .content > footer
|
|
729
|
+
{
|
|
730
|
+
text-align: right;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
.swatch
|
|
734
|
+
{
|
|
735
|
+
display: grid;
|
|
736
|
+
grid-template-columns: repeat(6, 1fr);
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
.swatch > .swatch-color
|
|
740
|
+
{
|
|
741
|
+
position: relative;
|
|
742
|
+
width: 30px;
|
|
743
|
+
height: 30px;
|
|
744
|
+
border-radius: 0;
|
|
745
|
+
border-width: 2px;
|
|
746
|
+
border-style: solid;
|
|
747
|
+
border-color: transparent;
|
|
748
|
+
box-sizing: border-box;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
.swatch > .swatch-color:hover::before
|
|
752
|
+
{
|
|
753
|
+
position: absolute;
|
|
754
|
+
display: block;
|
|
755
|
+
content: '';
|
|
756
|
+
border-width: 2px;
|
|
757
|
+
border-style: solid;
|
|
758
|
+
height: 100%;
|
|
759
|
+
width: 100%;
|
|
760
|
+
box-sizing: border-box;
|
|
761
|
+
}
|
|
762
|
+
/* DOCUMENT CONTENT */
|
|
763
|
+
/* image resizing */
|
|
764
|
+
.image-resize-ghost
|
|
765
|
+
{
|
|
766
|
+
position: absolute;
|
|
767
|
+
outline: 1px dashed black;
|
|
768
|
+
opacity: 0.5;
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
.image-resize-handle
|
|
772
|
+
{
|
|
773
|
+
position: absolute;
|
|
774
|
+
width: 10px;
|
|
775
|
+
height: 10px;
|
|
776
|
+
border-width: 1px;
|
|
777
|
+
border-style: solid;
|
|
778
|
+
margin-left: -5px;
|
|
779
|
+
margin-top: -5px;
|
|
780
|
+
border-radius: 0;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
.image-resize-handle.nw
|
|
784
|
+
{
|
|
785
|
+
cursor: nw-resize;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
.image-resize-handle.ne
|
|
789
|
+
{
|
|
790
|
+
cursor: ne-resize;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
.image-resize-handle.sw
|
|
794
|
+
{
|
|
795
|
+
cursor: sw-resize;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
.image-resize-handle.se
|
|
799
|
+
{
|
|
800
|
+
cursor: se-resize;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
|
|
804
|
+
hr.page-break
|
|
805
|
+
{
|
|
806
|
+
page-break-before: always;
|
|
807
|
+
border-style: dashed;
|
|
808
|
+
height: 0px;
|
|
809
|
+
border-width: 0px;
|
|
810
|
+
border-top-width: 2px;
|
|
811
|
+
border-radius: 0;
|
|
812
|
+
margin-top: 1em;
|
|
813
|
+
margin-bottom: 1em;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
hr
|
|
817
|
+
{
|
|
818
|
+
margin-top: 1em;
|
|
819
|
+
margin-bottom: 1em;
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
*[data-ui-editor-blockview]
|
|
823
|
+
{
|
|
824
|
+
position: relative;
|
|
825
|
+
border-style: dashed;
|
|
826
|
+
border-width: 1px;
|
|
827
|
+
padding-top: 14px;
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
*[data-ui-editor-blockview]::after
|
|
831
|
+
{
|
|
832
|
+
content: attr(data-ui-editor-blockview);
|
|
833
|
+
position: absolute;
|
|
834
|
+
top: 0;
|
|
835
|
+
left: 0;
|
|
836
|
+
font-size: 9px;
|
|
837
|
+
font-family: Arial;
|
|
838
|
+
border-right-style: dashed;
|
|
839
|
+
border-bottom-style: dashed;
|
|
840
|
+
border-width: 1px;
|
|
841
|
+
padding: 0px 5px;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
*[data-ui-editor-selected]:not(span)
|
|
845
|
+
{
|
|
846
|
+
display: flow-root;
|
|
847
|
+
outline-width: 3px;
|
|
848
|
+
cursor: pointer;
|
|
849
|
+
}
|
|
850
|
+
/* margin so the zero-width text before/after can be selected (FF won't show cursor without) */
|
|
851
|
+
*[data-ui-editor-selected][contenteditable="false"]:not(figure)
|
|
852
|
+
{
|
|
853
|
+
margin-left: 2px;
|
|
854
|
+
margin-right: 2px;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
a[data-ui-editor-selected]
|
|
858
|
+
{
|
|
859
|
+
outline-width: 0px;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
a[data-ui-editor-selected]
|
|
864
|
+
{
|
|
865
|
+
display: inline;
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
*[data-ui-editor-selected="1"],
|
|
869
|
+
*[data-ui-editor-selected]:hover
|
|
870
|
+
{
|
|
871
|
+
outline-style: solid;
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
|
|
875
|
+
hr[data-ui-editor-pagebreak]
|
|
876
|
+
{
|
|
877
|
+
page-break-before: always;
|
|
878
|
+
border-style: dashed;
|
|
879
|
+
height: 0px;
|
|
880
|
+
border-width: 0px;
|
|
881
|
+
border-top-width: 2px;
|
|
882
|
+
border-radius: 0;
|
|
883
|
+
margin-top: 1em;
|
|
884
|
+
margin-bottom: 1em;
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
a[data-ui-editor-bookmark]
|
|
888
|
+
{
|
|
889
|
+
display: inline-block;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
a[data-ui-editor-bookmark]::before
|
|
893
|
+
{
|
|
894
|
+
content: "\e927";
|
|
895
|
+
display: inline-block;
|
|
896
|
+
font-family: 'Editor';
|
|
897
|
+
font-size: 12px;
|
|
898
|
+
speak: none;
|
|
899
|
+
font-style: normal;
|
|
900
|
+
font-weight: normal;
|
|
901
|
+
font-variant: normal;
|
|
902
|
+
text-transform: none;
|
|
903
|
+
}
|
|
904
|
+
/* preview */
|
|
905
|
+
&.preview *[data-ui-editor-selected]
|
|
906
|
+
{
|
|
907
|
+
outline-width: 0px;
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
&.preview figure[data-ui-editor-media] > div,
|
|
911
|
+
.editor-content.preview figure[data-ui-editor-media] > div
|
|
912
|
+
{
|
|
913
|
+
pointer-events: unset;
|
|
914
|
+
}
|
|
915
|
+
/* pragraph buttons */
|
|
916
|
+
.button.theme.paragraph
|
|
917
|
+
{
|
|
918
|
+
display: inline-flex;
|
|
919
|
+
position: absolute;
|
|
920
|
+
transform: translateY(-50%);
|
|
921
|
+
border-radius: 100%;
|
|
922
|
+
z-index: 1;
|
|
923
|
+
padding-left: 4px;
|
|
924
|
+
padding-right: 4px;
|
|
925
|
+
height: 20px;
|
|
926
|
+
line-height: 20px;
|
|
927
|
+
user-select: none;
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
.button.theme.paragraph.before
|
|
931
|
+
{
|
|
932
|
+
margin-left: min(10%,30px);
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
.button.theme.paragraph.after
|
|
936
|
+
{
|
|
937
|
+
margin-left: calc(min(10%,30px) * -1);
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
.button.theme.paragraph::before
|
|
941
|
+
{
|
|
942
|
+
content: "\e933";
|
|
943
|
+
display: inline-block;
|
|
944
|
+
font-family: 'Editor';
|
|
945
|
+
font-size: 12px;
|
|
946
|
+
speak: none;
|
|
947
|
+
font-style: normal;
|
|
948
|
+
font-weight: normal;
|
|
949
|
+
font-variant: normal;
|
|
950
|
+
text-transform: none;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
.dialog.bookmark-dialog .content-holder > div
|
|
954
|
+
{
|
|
955
|
+
display: flex;
|
|
956
|
+
flex-direction: column;
|
|
957
|
+
}
|
|
958
|
+
/* source viewer */
|
|
959
|
+
.dialog.source-dialog .source-view
|
|
960
|
+
{
|
|
961
|
+
overflow: auto;
|
|
962
|
+
width: 100%;
|
|
963
|
+
max-width: 90vw;
|
|
964
|
+
max-height: calc(100vh - 120px);
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
.source-view
|
|
968
|
+
{
|
|
969
|
+
font-family: "Courier New";
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
.source-view *
|
|
973
|
+
{
|
|
974
|
+
border-radius: 0;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
.source-view .item.root > .tag
|
|
978
|
+
{
|
|
979
|
+
display: inline-block;
|
|
980
|
+
border-style: solid;
|
|
981
|
+
padding-left: 4px;
|
|
982
|
+
padding-right: 4px;
|
|
983
|
+
margin-bottom: 8px;
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
.source-view .item:not(.root) > .tag,
|
|
987
|
+
.source-view .item:not(.root) > .end-tag
|
|
988
|
+
{
|
|
989
|
+
border-style: solid;
|
|
990
|
+
border-color: transparent;
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
.source-view .item
|
|
994
|
+
{
|
|
995
|
+
cursor: pointer;
|
|
996
|
+
margin-left: 1em;
|
|
997
|
+
line-height: 28px;
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
.source-view .item.root
|
|
1001
|
+
{
|
|
1002
|
+
margin-left: 0;
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
|
|
1006
|
+
.source-view .item.childless
|
|
1007
|
+
{
|
|
1008
|
+
padding-left: 14px;
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
.source-view .item .end-tag
|
|
1012
|
+
{
|
|
1013
|
+
margin-left: 52px;
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
.source-view .item:not(.childless):not(.collapsed):not(.edit-mode) > .data
|
|
1017
|
+
{
|
|
1018
|
+
display: block;
|
|
1019
|
+
margin-left: 66px; /* 52px + 14px */
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
.source-view .item.childless .end-tag,
|
|
1023
|
+
.source-view .item.collapsed .end-tag
|
|
1024
|
+
{
|
|
1025
|
+
margin-left: 0px;
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
.source-view .item .expand
|
|
1029
|
+
{
|
|
1030
|
+
position: relative;
|
|
1031
|
+
margin-right: 8px;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
.source-view .item .expand::after
|
|
1035
|
+
{
|
|
1036
|
+
content: '';
|
|
1037
|
+
display: inline-block;
|
|
1038
|
+
border-style: solid;
|
|
1039
|
+
border-width: 2px 2px 0px 0px;
|
|
1040
|
+
width: 4px;
|
|
1041
|
+
height: 4px;
|
|
1042
|
+
transform: rotate(135deg); /* down */
|
|
1043
|
+
margin-bottom: 1px;
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
.source-view .item.collapsed .expand::after
|
|
1047
|
+
{
|
|
1048
|
+
margin-bottom: 1px;
|
|
1049
|
+
transform: rotate(45deg); /* right */
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
.source-view .item .button.edit
|
|
1053
|
+
{
|
|
1054
|
+
margin-right: 8px;
|
|
1055
|
+
border-radius: 100%;
|
|
1056
|
+
display: inline-flex;
|
|
1057
|
+
align-items: center;
|
|
1058
|
+
font-family: 'UI';
|
|
1059
|
+
font-size: 16px;
|
|
1060
|
+
speak: none;
|
|
1061
|
+
font-style: normal;
|
|
1062
|
+
font-weight: normal;
|
|
1063
|
+
font-variant: normal;
|
|
1064
|
+
text-transform: none;
|
|
1065
|
+
-webkit-font-smoothing: antialiased;
|
|
1066
|
+
-moz-osx-font-smoothing: grayscale;
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
.source-view .item .button.edit::after
|
|
1070
|
+
{
|
|
1071
|
+
content: var(--cui-ico-pencil);
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
.source-view .item.edit-mode .button.edit::after
|
|
1075
|
+
{
|
|
1076
|
+
content: var(--cui-ico-check);
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
|
|
1080
|
+
.source-view .item .edit-box
|
|
1081
|
+
{
|
|
1082
|
+
display: inline-block;
|
|
1083
|
+
margin-right: 20px;
|
|
1084
|
+
word-break: break-all;
|
|
1085
|
+
cursor: auto;
|
|
1086
|
+
background: white;
|
|
1087
|
+
padding-left: 4px;
|
|
1088
|
+
padding-right: 4px;
|
|
1089
|
+
border-style: solid;
|
|
1090
|
+
box-shadow: 0px 0px 5px 0px rgb(0, 0, 0, 0.2);
|
|
1091
|
+
max-height: 200px;
|
|
1092
|
+
overflow: auto;
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
.source-view .item.collapsed .item,
|
|
1096
|
+
.source-view .item:not(.edit-mode) > .edit-box
|
|
1097
|
+
{
|
|
1098
|
+
display: none;
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
.source-view .item.edit-mode > .tag,
|
|
1102
|
+
.source-view .item.edit-mode > .data,
|
|
1103
|
+
.source-view .item.edit-mode > .end-tag,
|
|
1104
|
+
.source-view .item.edit-mode > .item,
|
|
1105
|
+
.source-view .item.edit-mode > .expand
|
|
1106
|
+
{
|
|
1107
|
+
display: none;
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
.source-view .item:not(.selected) > .button.edit
|
|
1111
|
+
{
|
|
1112
|
+
visibility: hidden;
|
|
1113
|
+
}
|
|
1114
|
+
/* image dialog */
|
|
1115
|
+
.dialog.image-dialog .box.dialog-box > div.content .form-field.theme > div > div
|
|
1116
|
+
{
|
|
1117
|
+
display: flex;
|
|
1118
|
+
margin-top: 1px; /* to counter 1px bottom margin on input */
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
.dialog.image-dialog .box.dialog-box > div.content .form-field.theme > div > div > input
|
|
1122
|
+
{
|
|
1123
|
+
flex: 1; /* stretch input */
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
.dialog .form-field.field-half
|
|
1127
|
+
{
|
|
1128
|
+
width: calc(50% - 8px); /* stretch 2 columns to fit row */
|
|
1129
|
+
}
|
|
1130
|
+
/* figures */
|
|
1131
|
+
figure
|
|
1132
|
+
{
|
|
1133
|
+
margin-left: 0;
|
|
1134
|
+
margin-right: 0;
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
figure[data-ui-editor-media]
|
|
1138
|
+
{
|
|
1139
|
+
min-width: 300px;
|
|
1140
|
+
max-width: 80%;
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
figure[data-ui-editor-media] > div
|
|
1144
|
+
{
|
|
1145
|
+
pointer-events: none;
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
span[data-ui-editor-figure]
|
|
1149
|
+
{
|
|
1150
|
+
display: inline-block;
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
figure,
|
|
1154
|
+
span:has(> img)
|
|
1155
|
+
{
|
|
1156
|
+
width: fit-content;
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
figure:has(> table[style*="%"])
|
|
1160
|
+
{
|
|
1161
|
+
width: auto;
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
img
|
|
1165
|
+
{
|
|
1166
|
+
display: block;
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
figure > figcaption
|
|
1170
|
+
{
|
|
1171
|
+
text-align: center;
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
figure > img
|
|
1175
|
+
{
|
|
1176
|
+
max-width: 100%; /* responsive */
|
|
1177
|
+
height: auto; /* preserve aspect ratio */
|
|
1178
|
+
}
|
|
1179
|
+
/* dialog */
|
|
1180
|
+
.dialog.theme
|
|
1181
|
+
{
|
|
1182
|
+
&.image-dialog,
|
|
1183
|
+
&.media-dialog,
|
|
1184
|
+
&.bookmark-dialog,
|
|
1185
|
+
&.link-dialog,
|
|
1186
|
+
&.source-dialog
|
|
1187
|
+
{
|
|
1188
|
+
> .box.dialog-box > div.content > div > div.content-holder
|
|
1189
|
+
{
|
|
1190
|
+
width: clamp(380px, 700px, 90vw);
|
|
1191
|
+
}
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
.dialog.theme .form-field.theme
|
|
1196
|
+
{
|
|
1197
|
+
margin-right: 8px;
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
.dialog.theme .combo-box.theme
|
|
1201
|
+
{
|
|
1202
|
+
width: 100%;
|
|
1203
|
+
}
|
|
1204
|
+
/* link-dialog */
|
|
1205
|
+
.dialog.dialog.theme .footer,
|
|
1206
|
+
.dialog.dialog.theme .footer > div:first-child:not(.button-holder)
|
|
1207
|
+
{
|
|
1208
|
+
display: flex;
|
|
1209
|
+
align-items: center;
|
|
1210
|
+
gap: 8px;
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
.dialog.theme .footer > .button-holder
|
|
1214
|
+
{
|
|
1215
|
+
flex: 1;
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
.box
|
|
1219
|
+
{
|
|
1220
|
+
position: fixed;
|
|
1221
|
+
z-index: 10 !important;
|
|
1222
|
+
-moz-user-select: none;
|
|
1223
|
+
-webkit-user-select: none;
|
|
1224
|
+
-ms-user-select: none;
|
|
1225
|
+
user-select: none;
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
.tooltip-manager .box
|
|
1229
|
+
{
|
|
1230
|
+
position: fixed;
|
|
1231
|
+
z-index: 11 !important;
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
|
|
1235
|
+
.tooltip-manager:not(.doc-tooltips) .tooltip > .content::first-letter
|
|
1236
|
+
{
|
|
1237
|
+
text-transform: uppercase;
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
.tooltip-manager.doc-tooltips .tooltip > .content > div
|
|
1241
|
+
{
|
|
1242
|
+
display: flex;
|
|
1243
|
+
gap: 8px;
|
|
1244
|
+
align-items: center;
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
&.fullscreen .box.box-toolbar
|
|
1248
|
+
{
|
|
1249
|
+
width: 100% !important;
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
.box.box-toolbar .content
|
|
1253
|
+
{
|
|
1254
|
+
padding: 0;
|
|
1255
|
+
}
|
|
1256
|
+
/* Symbol Pickers */
|
|
1257
|
+
.box.symbol-picker
|
|
1258
|
+
{
|
|
1259
|
+
> .content
|
|
1260
|
+
{
|
|
1261
|
+
display: flex;
|
|
1262
|
+
gap: 20px;
|
|
1263
|
+
width: clamp(380px, 700px, 90vw);
|
|
1264
|
+
height: 300px;
|
|
1265
|
+
max-height: 90vw;
|
|
1266
|
+
|
|
1267
|
+
> .symbol-categories
|
|
1268
|
+
{
|
|
1269
|
+
display: flex;
|
|
1270
|
+
flex-direction: column;
|
|
1271
|
+
white-space: nowrap;
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
> .symbol-view
|
|
1275
|
+
{
|
|
1276
|
+
display: flex;
|
|
1277
|
+
flex-flow: column;
|
|
1278
|
+
gap: 20px;
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
> .symbol-view > .symbol-items
|
|
1282
|
+
{
|
|
1283
|
+
display: flex;
|
|
1284
|
+
flex-wrap: wrap;
|
|
1285
|
+
flex: 1;
|
|
1286
|
+
overflow: auto;
|
|
1287
|
+
align-content: flex-start;
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
> .symbol-view > .symbol-items > a.symbol
|
|
1291
|
+
{
|
|
1292
|
+
display: inline-block;
|
|
1293
|
+
width: 30px;
|
|
1294
|
+
height: 30px;
|
|
1295
|
+
text-align: center;
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
> .symbol-view > .symbol-items > a.symbol:hover
|
|
1299
|
+
{
|
|
1300
|
+
text-decoration: none;
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
> .symbol-view > .symbol-footer
|
|
1304
|
+
{
|
|
1305
|
+
border-top-style: solid;
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
.dialog input[type="text"]
|
|
1311
|
+
{
|
|
1312
|
+
min-width: 0px !important;
|
|
1313
|
+
}
|
|
1314
|
+
/* Table Dialog */
|
|
1315
|
+
.dialog.table-dialog .box.dialog-box
|
|
1316
|
+
{
|
|
1317
|
+
> div.content > div > div.content-holder
|
|
1318
|
+
{
|
|
1319
|
+
width: clamp(380px, 700px, 90vw);
|
|
1320
|
+
height: clamp(380px, 90vh, 800px);
|
|
1321
|
+
|
|
1322
|
+
> div
|
|
1323
|
+
{
|
|
1324
|
+
display: flex;
|
|
1325
|
+
gap: 40px;
|
|
1326
|
+
|
|
1327
|
+
> .table-dialog-categories
|
|
1328
|
+
{
|
|
1329
|
+
display: flex;
|
|
1330
|
+
flex-direction: column;
|
|
1331
|
+
white-space: nowrap;
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
> .table-dialog-view
|
|
1335
|
+
{
|
|
1336
|
+
display: flex;
|
|
1337
|
+
flex: 1;
|
|
1338
|
+
flex-flow: column;
|
|
1339
|
+
|
|
1340
|
+
> .table-dialog-panel
|
|
1341
|
+
{
|
|
1342
|
+
display: flex;
|
|
1343
|
+
flex-wrap: wrap;
|
|
1344
|
+
flex: 1;
|
|
1345
|
+
gap: 1rem;
|
|
1346
|
+
align-content: flex-start;
|
|
1347
|
+
|
|
1348
|
+
> .form-field
|
|
1349
|
+
{
|
|
1350
|
+
width: 100%;
|
|
1351
|
+
margin: 0;
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
> .form-field:not(.field-half) > *
|
|
1355
|
+
{
|
|
1356
|
+
max-width: 300px;
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
> .form-field.field-half
|
|
1360
|
+
{
|
|
1361
|
+
width: calc(50% - 1rem + 8px);
|
|
1362
|
+
max-width: 300px;
|
|
1363
|
+
}
|
|
1364
|
+
}
|
|
1365
|
+
}
|
|
1366
|
+
}
|
|
1367
|
+
}
|
|
1368
|
+
}
|
|
1369
|
+
/* Tables */
|
|
1370
|
+
table
|
|
1371
|
+
{
|
|
1372
|
+
cursor: text;
|
|
1373
|
+
|
|
1374
|
+
th, td
|
|
1375
|
+
{
|
|
1376
|
+
border-style: solid;
|
|
1377
|
+
border-width: 1px;
|
|
1378
|
+
padding: 0.5rem;
|
|
1379
|
+
background: transparent;
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
th[style*="border-width: 0"],
|
|
1383
|
+
td[style*="border-width: 0"]
|
|
1384
|
+
{
|
|
1385
|
+
border-width: 1px !important;
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
th[style*="border-style: none"],
|
|
1389
|
+
td[style*="border-style: none"]
|
|
1390
|
+
{
|
|
1391
|
+
border-style: solid !important;
|
|
1392
|
+
}
|
|
1393
|
+
|
|
1394
|
+
thead tr:last-child th
|
|
1395
|
+
{
|
|
1396
|
+
border-bottom-width: 2px;
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
tfoot tr:last-child td
|
|
1400
|
+
{
|
|
1401
|
+
border-top-width: 2px;
|
|
1402
|
+
}
|
|
1403
|
+
}
|
|
1404
|
+
/* Table Editor (te) */
|
|
1405
|
+
.te-picker
|
|
1406
|
+
{
|
|
1407
|
+
.te-picker-label
|
|
1408
|
+
{
|
|
1409
|
+
text-align: center;
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
.te-picker-grid
|
|
1413
|
+
{
|
|
1414
|
+
display: grid;
|
|
1415
|
+
grid-template-columns: repeat(10, 18px);
|
|
1416
|
+
border-top: solid;
|
|
1417
|
+
border-left: solid;
|
|
1418
|
+
border-width: 1px;
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
.te-picker-grid > div
|
|
1422
|
+
{
|
|
1423
|
+
width: 18px;
|
|
1424
|
+
height: 18px;
|
|
1425
|
+
border-bottom-style: solid;
|
|
1426
|
+
border-right-style: solid;
|
|
1427
|
+
border-radius: 0;
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
.te-wrapper
|
|
1432
|
+
{
|
|
1433
|
+
position: relative;
|
|
1434
|
+
|
|
1435
|
+
.te-col-handle
|
|
1436
|
+
{
|
|
1437
|
+
position: absolute;
|
|
1438
|
+
width: 8px;
|
|
1439
|
+
cursor: col-resize;
|
|
1440
|
+
z-index: 1;
|
|
1441
|
+
display: flex;
|
|
1442
|
+
justify-content: center;
|
|
1443
|
+
align-items: stretch;
|
|
1444
|
+
opacity: 0;
|
|
1445
|
+
transition: opacity .15s;
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
.te-col-handle:hover,
|
|
1449
|
+
.te-col-handle.te-col-handle-active
|
|
1450
|
+
{
|
|
1451
|
+
opacity: 1;
|
|
1452
|
+
}
|
|
1453
|
+
|
|
1454
|
+
.te-col-handle::after
|
|
1455
|
+
{
|
|
1456
|
+
content: '';
|
|
1457
|
+
position: absolute;
|
|
1458
|
+
top: 0px;
|
|
1459
|
+
bottom: 0px;
|
|
1460
|
+
width: 2px;
|
|
1461
|
+
pointer-events: none;
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
.te-menu-button
|
|
1465
|
+
{
|
|
1466
|
+
position: absolute;
|
|
1467
|
+
z-index: 1;
|
|
1468
|
+
}
|
|
1469
|
+
}
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
|
|
1473
|
+
|
|
1474
|
+
@media only screen and (max-width: 812px) and (pointer:none), (pointer:coarse)
|
|
1475
|
+
{
|
|
1476
|
+
.editor.theme
|
|
1477
|
+
{
|
|
1478
|
+
.toolbar
|
|
1479
|
+
{
|
|
1480
|
+
overflow-x: auto;
|
|
1481
|
+
height: 50px;
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
.toolbar,
|
|
1485
|
+
.toolbar .group
|
|
1486
|
+
{
|
|
1487
|
+
flex-wrap: nowrap;
|
|
1488
|
+
}
|
|
1489
|
+
}
|
|
1490
|
+
}
|
|
1491
|
+
|
|
1492
|
+
/* PDF export */
|
|
1493
|
+
.editor-pdf-export
|
|
1494
|
+
{
|
|
1495
|
+
ul,
|
|
1496
|
+
ol
|
|
1497
|
+
{
|
|
1498
|
+
margin: 0 0 1em;
|
|
1499
|
+
padding-left: 1.5em;
|
|
1500
|
+
}
|
|
1501
|
+
|
|
1502
|
+
li
|
|
1503
|
+
{
|
|
1504
|
+
display: list-item;
|
|
1505
|
+
list-style-type: inherit;
|
|
1506
|
+
}
|
|
1507
|
+
/* jsPDF draws text with its built-in fonts, which can't encode the circle or square markers (they come out as garbled characters), so use disc for all levels */
|
|
1508
|
+
ul
|
|
1509
|
+
{
|
|
1510
|
+
list-style-type: disc !important;
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
ol
|
|
1514
|
+
{
|
|
1515
|
+
list-style-type: decimal;
|
|
1516
|
+
}
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
@media print
|
|
1520
|
+
{
|
|
1521
|
+
/* print only the editor content: hide everything that isn't the content, an ancestor of it, or inside it */
|
|
1522
|
+
body:has(.editor-content) *:not(:has(.editor-content)):not(.editor-content):not(.editor-content *)
|
|
1523
|
+
{
|
|
1524
|
+
display: none !important;
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
/* the editor and its ancestors only serve as the path to the content: strip their layout, so they don't add frames, spacing or clipping */
|
|
1528
|
+
body:has(.editor-content),
|
|
1529
|
+
body *:has(.editor-content)
|
|
1530
|
+
{
|
|
1531
|
+
height: auto !important;
|
|
1532
|
+
max-height: none !important;
|
|
1533
|
+
overflow: visible !important;
|
|
1534
|
+
margin: 0 !important;
|
|
1535
|
+
padding: 0 !important;
|
|
1536
|
+
border: none !important;
|
|
1537
|
+
box-shadow: none !important;
|
|
1538
|
+
background: none !important;
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1541
|
+
|
|
1542
|
+
.editor.theme > .editor-content
|
|
1543
|
+
{
|
|
1544
|
+
height: auto;
|
|
1545
|
+
min-height: 0;
|
|
1546
|
+
padding: 0;
|
|
1547
|
+
box-shadow: none;
|
|
1548
|
+
overflow: visible;
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1551
|
+
.editor.theme.preview *[data-ui-editor-selected]
|
|
1552
|
+
{
|
|
1553
|
+
outline-width: 0px;
|
|
1554
|
+
}
|
|
1555
|
+
|
|
1556
|
+
.editor.theme hr[data-ui-editor-pagebreak]
|
|
1557
|
+
{
|
|
1558
|
+
page-break-before: always;
|
|
1559
|
+
border-style: none;
|
|
1560
|
+
border-top-width: 0px;
|
|
1561
|
+
}
|
|
1562
|
+
}
|