suneditor 3.0.0-alpha.9 → 3.0.0-beta.2
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/CONTRIBUTING.md +170 -22
- package/{LICENSE.txt → LICENSE} +9 -9
- package/README.md +168 -30
- package/dist/suneditor.min.css +1 -1
- package/dist/suneditor.min.js +1 -1
- package/package.json +47 -21
- package/src/assets/design/color.css +121 -0
- package/src/assets/design/index.css +3 -0
- package/src/assets/design/size.css +35 -0
- package/src/assets/design/typography.css +37 -0
- package/src/assets/icons/defaultIcons.js +232 -0
- package/src/assets/suneditor-contents.css +181 -46
- package/src/assets/suneditor.css +1403 -650
- package/src/core/base/eventHandlers/handler_toolbar.js +35 -14
- package/src/core/base/eventHandlers/handler_ww_clipboard.js +23 -4
- package/src/core/base/eventHandlers/handler_ww_dragDrop.js +49 -10
- package/src/core/base/eventHandlers/handler_ww_key_input.js +422 -224
- package/src/core/base/eventHandlers/handler_ww_mouse.js +83 -36
- package/src/core/base/eventManager.js +520 -179
- package/src/core/base/history.js +95 -41
- package/src/core/class/char.js +26 -11
- package/src/core/class/component.js +345 -137
- package/src/core/class/format.js +683 -519
- package/src/core/class/html.js +485 -305
- package/src/core/class/menu.js +133 -47
- package/src/core/class/nodeTransform.js +90 -71
- package/src/core/class/offset.js +408 -92
- package/src/core/class/selection.js +216 -106
- package/src/core/class/shortcuts.js +68 -8
- package/src/core/class/toolbar.js +106 -116
- package/src/core/class/ui.js +422 -0
- package/src/core/class/viewer.js +178 -74
- package/src/core/editor.js +496 -389
- package/src/core/section/actives.js +123 -27
- package/src/core/section/constructor.js +615 -206
- package/src/core/section/context.js +28 -23
- package/src/core/section/documentType.js +561 -0
- package/src/editorInjector/_classes.js +19 -5
- package/src/editorInjector/_core.js +71 -7
- package/src/editorInjector/index.js +63 -1
- package/src/events.js +622 -0
- package/src/helper/clipboard.js +59 -0
- package/src/helper/converter.js +202 -26
- package/src/helper/dom/domCheck.js +304 -0
- package/src/helper/dom/domQuery.js +669 -0
- package/src/helper/dom/domUtils.js +557 -0
- package/src/helper/dom/index.js +12 -0
- package/src/helper/env.js +46 -56
- package/src/helper/index.js +10 -4
- package/src/helper/keyCodeMap.js +183 -0
- package/src/helper/numbers.js +12 -8
- package/src/helper/unicode.js +9 -5
- package/src/langs/ckb.js +74 -4
- package/src/langs/cs.js +72 -2
- package/src/langs/da.js +73 -3
- package/src/langs/de.js +73 -4
- package/src/langs/en.js +23 -3
- package/src/langs/es.js +73 -4
- package/src/langs/fa.js +75 -3
- package/src/langs/fr.js +73 -3
- package/src/langs/he.js +73 -4
- package/src/langs/hu.js +230 -0
- package/src/langs/index.js +7 -3
- package/src/langs/it.js +70 -1
- package/src/langs/ja.js +72 -4
- package/src/langs/km.js +230 -0
- package/src/langs/ko.js +22 -2
- package/src/langs/lv.js +74 -5
- package/src/langs/nl.js +73 -4
- package/src/langs/pl.js +73 -4
- package/src/langs/pt_br.js +70 -1
- package/src/langs/ro.js +74 -5
- package/src/langs/ru.js +73 -4
- package/src/langs/se.js +73 -4
- package/src/langs/tr.js +73 -1
- package/src/langs/{ua.js → uk.js} +75 -6
- package/src/langs/ur.js +77 -8
- package/src/langs/zh_cn.js +74 -5
- package/src/modules/ApiManager.js +77 -54
- package/src/modules/Browser.js +667 -0
- package/src/modules/ColorPicker.js +162 -102
- package/src/modules/Controller.js +273 -142
- package/src/modules/Figure.js +925 -484
- package/src/modules/FileManager.js +121 -69
- package/src/modules/HueSlider.js +113 -61
- package/src/modules/Modal.js +291 -122
- package/src/modules/ModalAnchorEditor.js +383 -234
- package/src/modules/SelectMenu.js +270 -168
- package/src/modules/_DragHandle.js +2 -1
- package/src/modules/index.js +3 -3
- package/src/plugins/browser/audioGallery.js +83 -0
- package/src/plugins/browser/fileBrowser.js +103 -0
- package/src/plugins/browser/fileGallery.js +83 -0
- package/src/plugins/browser/imageGallery.js +81 -0
- package/src/plugins/browser/videoGallery.js +103 -0
- package/src/plugins/command/blockquote.js +40 -27
- package/src/plugins/command/exportPDF.js +134 -0
- package/src/plugins/command/fileUpload.js +229 -162
- package/src/plugins/command/list_bulleted.js +83 -47
- package/src/plugins/command/list_numbered.js +83 -47
- package/src/plugins/dropdown/align.js +66 -54
- package/src/plugins/dropdown/backgroundColor.js +63 -49
- package/src/plugins/dropdown/font.js +71 -47
- package/src/plugins/dropdown/fontColor.js +63 -48
- package/src/plugins/dropdown/formatBlock.js +70 -33
- package/src/plugins/dropdown/hr.js +92 -51
- package/src/plugins/dropdown/layout.js +37 -26
- package/src/plugins/dropdown/lineHeight.js +54 -38
- package/src/plugins/dropdown/list.js +60 -45
- package/src/plugins/dropdown/paragraphStyle.js +51 -30
- package/src/plugins/dropdown/table.js +2003 -813
- package/src/plugins/dropdown/template.js +38 -26
- package/src/plugins/dropdown/textStyle.js +43 -31
- package/src/plugins/field/mention.js +147 -86
- package/src/plugins/index.js +32 -6
- package/src/plugins/input/fontSize.js +161 -108
- package/src/plugins/input/pageNavigator.js +70 -0
- package/src/plugins/modal/audio.js +358 -173
- package/src/plugins/modal/drawing.js +531 -0
- package/src/plugins/modal/embed.js +886 -0
- package/src/plugins/modal/image.js +674 -362
- package/src/plugins/modal/link.js +100 -71
- package/src/plugins/modal/math.js +367 -167
- package/src/plugins/modal/video.js +691 -335
- package/src/plugins/popup/anchor.js +222 -0
- package/src/suneditor.js +50 -13
- package/src/themes/dark.css +122 -0
- package/src/typedef.js +130 -0
- package/types/assets/icons/defaultIcons.d.ts +153 -0
- package/types/core/base/eventHandlers/handler_toolbar.d.ts +41 -0
- package/types/core/base/eventHandlers/handler_ww_clipboard.d.ts +40 -0
- package/types/core/base/eventHandlers/handler_ww_dragDrop.d.ts +35 -0
- package/types/core/base/eventHandlers/handler_ww_key_input.d.ts +45 -0
- package/types/core/base/eventHandlers/handler_ww_mouse.d.ts +39 -0
- package/types/core/base/eventManager.d.ts +385 -0
- package/types/core/base/history.d.ts +81 -0
- package/types/core/class/char.d.ts +60 -0
- package/types/core/class/component.d.ts +212 -0
- package/types/core/class/format.d.ts +616 -0
- package/types/core/class/html.d.ts +422 -0
- package/types/core/class/menu.d.ts +126 -0
- package/types/core/class/nodeTransform.d.ts +93 -0
- package/types/core/class/offset.d.ts +522 -0
- package/types/core/class/selection.d.ts +188 -0
- package/types/core/class/shortcuts.d.ts +142 -0
- package/types/core/class/toolbar.d.ts +189 -0
- package/types/core/class/ui.d.ts +164 -0
- package/types/core/class/viewer.d.ts +140 -0
- package/types/core/editor.d.ts +610 -0
- package/types/core/section/actives.d.ts +46 -0
- package/types/core/section/constructor.d.ts +777 -0
- package/types/core/section/context.d.ts +45 -0
- package/types/core/section/documentType.d.ts +178 -0
- package/types/editorInjector/_classes.d.ts +41 -0
- package/types/editorInjector/_core.d.ts +92 -0
- package/types/editorInjector/index.d.ts +71 -0
- package/types/events.d.ts +273 -0
- package/types/helper/clipboard.d.ts +12 -0
- package/types/helper/converter.d.ts +197 -0
- package/types/helper/dom/domCheck.d.ts +189 -0
- package/types/helper/dom/domQuery.d.ts +223 -0
- package/types/helper/dom/domUtils.d.ts +226 -0
- package/types/helper/dom/index.d.ts +9 -0
- package/types/helper/env.d.ts +132 -0
- package/types/helper/index.d.ts +174 -0
- package/types/helper/keyCodeMap.d.ts +110 -0
- package/types/helper/numbers.d.ts +46 -0
- package/types/helper/unicode.d.ts +28 -0
- package/types/index.d.ts +120 -0
- package/{typings/Lang.d.ts → types/langs/_Lang.d.ts} +173 -103
- package/types/langs/ckb.d.ts +3 -0
- package/types/langs/cs.d.ts +3 -0
- package/types/langs/da.d.ts +3 -0
- package/types/langs/de.d.ts +3 -0
- package/types/langs/en.d.ts +3 -0
- package/types/langs/es.d.ts +3 -0
- package/types/langs/fa.d.ts +3 -0
- package/types/langs/fr.d.ts +3 -0
- package/types/langs/he.d.ts +3 -0
- package/types/langs/hu.d.ts +3 -0
- package/types/langs/index.d.ts +54 -0
- package/types/langs/it.d.ts +3 -0
- package/types/langs/ja.d.ts +3 -0
- package/types/langs/km.d.ts +3 -0
- package/types/langs/ko.d.ts +3 -0
- package/types/langs/lv.d.ts +3 -0
- package/types/langs/nl.d.ts +3 -0
- package/types/langs/pl.d.ts +3 -0
- package/types/langs/pt_br.d.ts +3 -0
- package/types/langs/ro.d.ts +3 -0
- package/types/langs/ru.d.ts +3 -0
- package/types/langs/se.d.ts +3 -0
- package/types/langs/tr.d.ts +3 -0
- package/types/langs/uk.d.ts +3 -0
- package/types/langs/ur.d.ts +3 -0
- package/types/langs/zh_cn.d.ts +3 -0
- package/types/modules/ApiManager.d.ts +125 -0
- package/types/modules/Browser.d.ts +326 -0
- package/types/modules/ColorPicker.d.ts +131 -0
- package/types/modules/Controller.d.ts +251 -0
- package/types/modules/Figure.d.ts +517 -0
- package/types/modules/FileManager.d.ts +202 -0
- package/types/modules/HueSlider.d.ts +136 -0
- package/types/modules/Modal.d.ts +111 -0
- package/types/modules/ModalAnchorEditor.d.ts +236 -0
- package/types/modules/SelectMenu.d.ts +194 -0
- package/types/modules/_DragHandle.d.ts +7 -0
- package/types/modules/index.d.ts +26 -0
- package/types/plugins/browser/audioGallery.d.ts +55 -0
- package/types/plugins/browser/fileBrowser.d.ts +64 -0
- package/types/plugins/browser/fileGallery.d.ts +55 -0
- package/types/plugins/browser/imageGallery.d.ts +51 -0
- package/types/plugins/browser/videoGallery.d.ts +57 -0
- package/types/plugins/command/blockquote.d.ts +28 -0
- package/types/plugins/command/exportPDF.d.ts +46 -0
- package/types/plugins/command/fileUpload.d.ts +156 -0
- package/types/plugins/command/list_bulleted.d.ts +46 -0
- package/types/plugins/command/list_numbered.d.ts +46 -0
- package/types/plugins/dropdown/align.d.ts +60 -0
- package/types/plugins/dropdown/backgroundColor.d.ts +63 -0
- package/types/plugins/dropdown/font.d.ts +54 -0
- package/types/plugins/dropdown/fontColor.d.ts +63 -0
- package/types/plugins/dropdown/formatBlock.d.ts +54 -0
- package/types/plugins/dropdown/hr.d.ts +71 -0
- package/types/plugins/dropdown/layout.d.ts +40 -0
- package/types/plugins/dropdown/lineHeight.d.ts +50 -0
- package/types/plugins/dropdown/list.d.ts +39 -0
- package/types/plugins/dropdown/paragraphStyle.d.ts +54 -0
- package/types/plugins/dropdown/table.d.ts +627 -0
- package/types/plugins/dropdown/template.d.ts +40 -0
- package/types/plugins/dropdown/textStyle.d.ts +41 -0
- package/types/plugins/field/mention.d.ts +102 -0
- package/types/plugins/index.d.ts +107 -0
- package/types/plugins/input/fontSize.d.ts +170 -0
- package/types/plugins/input/pageNavigator.d.ts +28 -0
- package/types/plugins/modal/audio.d.ts +269 -0
- package/types/plugins/modal/drawing.d.ts +246 -0
- package/types/plugins/modal/embed.d.ts +387 -0
- package/types/plugins/modal/image.d.ts +451 -0
- package/types/plugins/modal/link.d.ts +128 -0
- package/types/plugins/modal/math.d.ts +193 -0
- package/types/plugins/modal/video.d.ts +485 -0
- package/types/plugins/popup/anchor.d.ts +56 -0
- package/types/suneditor.d.ts +51 -0
- package/types/typedef.d.ts +233 -0
- package/.eslintignore +0 -7
- package/.eslintrc.json +0 -64
- package/src/assets/icons/_default.js +0 -194
- package/src/core/base/events.js +0 -320
- package/src/core/class/notice.js +0 -42
- package/src/helper/domUtils.js +0 -1177
- package/src/modules/FileBrowser.js +0 -271
- package/src/plugins/command/exportPdf.js +0 -168
- package/src/plugins/fileBrowser/imageGallery.js +0 -81
- package/src/themes/test.css +0 -61
- package/typings/CommandPlugin.d.ts +0 -8
- package/typings/DialogPlugin.d.ts +0 -20
- package/typings/FileBrowserPlugin.d.ts +0 -30
- package/typings/Module.d.ts +0 -15
- package/typings/Plugin.d.ts +0 -42
- package/typings/SubmenuPlugin.d.ts +0 -8
- package/typings/_classes.d.ts +0 -17
- package/typings/_colorPicker.d.ts +0 -60
- package/typings/_core.d.ts +0 -55
- package/typings/align.d.ts +0 -5
- package/typings/audio.d.ts +0 -5
- package/typings/backgroundColor.d.ts +0 -5
- package/typings/blockquote.d.ts +0 -5
- package/typings/char.d.ts +0 -39
- package/typings/component.d.ts +0 -38
- package/typings/context.d.ts +0 -39
- package/typings/converter.d.ts +0 -33
- package/typings/dialog.d.ts +0 -28
- package/typings/domUtils.d.ts +0 -361
- package/typings/editor.d.ts +0 -7
- package/typings/editor.ts +0 -542
- package/typings/env.d.ts +0 -70
- package/typings/eventManager.d.ts +0 -37
- package/typings/events.d.ts +0 -262
- package/typings/fileBrowser.d.ts +0 -42
- package/typings/fileManager.d.ts +0 -67
- package/typings/font.d.ts +0 -5
- package/typings/fontColor.d.ts +0 -5
- package/typings/fontSize.d.ts +0 -5
- package/typings/format.d.ts +0 -191
- package/typings/formatBlock.d.ts +0 -5
- package/typings/history.d.ts +0 -48
- package/typings/horizontalRule.d.ts +0 -5
- package/typings/image.d.ts +0 -5
- package/typings/imageGallery.d.ts +0 -5
- package/typings/index.d.ts +0 -21
- package/typings/index.modules.d.ts +0 -11
- package/typings/index.plugins.d.ts +0 -58
- package/typings/lineHeight.d.ts +0 -5
- package/typings/link.d.ts +0 -5
- package/typings/list.d.ts +0 -5
- package/typings/math.d.ts +0 -5
- package/typings/mediaContainer.d.ts +0 -25
- package/typings/mention.d.ts +0 -5
- package/typings/node.d.ts +0 -57
- package/typings/notice.d.ts +0 -16
- package/typings/numbers.d.ts +0 -29
- package/typings/offset.d.ts +0 -24
- package/typings/options.d.ts +0 -589
- package/typings/paragraphStyle.d.ts +0 -5
- package/typings/resizing.d.ts +0 -141
- package/typings/selection.d.ts +0 -94
- package/typings/shortcuts.d.ts +0 -13
- package/typings/suneditor.d.ts +0 -9
- package/typings/table.d.ts +0 -5
- package/typings/template.d.ts +0 -5
- package/typings/textStyle.d.ts +0 -5
- package/typings/toolbar.d.ts +0 -32
- package/typings/unicode.d.ts +0 -25
- package/typings/video.d.ts +0 -5
package/src/assets/suneditor.css
CHANGED
|
@@ -1,21 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
/* font color #333, background color: #fff */
|
|
3
|
-
/* grey color #e1e1e1, #ececec, #d1d1d1 ,#bdbdbd, #c1c1c1 ,#b1b1b1 */
|
|
4
|
-
/* blue color #eaf3ff, #dbeaff(shadow: #b7ccf2, #e6f2ff), #c4ddff, #d0e3ff , #80bdff , #3f9dff , #4592ff, #407dd1, #3288ff, #1275ff */
|
|
5
|
-
/* red color #b94a48 , #f2dede , #eed3d7, #d9534f */
|
|
6
|
-
/* green color #008000 */
|
|
7
|
-
/* yellow color #f0c20a */
|
|
1
|
+
@import url('design/index.css');
|
|
8
2
|
|
|
9
3
|
/** --- suneditor main */
|
|
10
4
|
.sun-editor {
|
|
11
5
|
width: auto;
|
|
12
6
|
height: auto;
|
|
13
7
|
box-sizing: border-box;
|
|
14
|
-
font-family:
|
|
15
|
-
border: 1px solid
|
|
16
|
-
background-color:
|
|
17
|
-
color:
|
|
18
|
-
font-size:
|
|
8
|
+
font-family: var(--se-main-font-family);
|
|
9
|
+
border: 1px solid var(--se-main-out-color);
|
|
10
|
+
background-color: var(--se-main-background-color);
|
|
11
|
+
color: var(--se-main-color);
|
|
12
|
+
font-size: var(--se-main-font-size);
|
|
19
13
|
}
|
|
20
14
|
|
|
21
15
|
.sun-editor * {
|
|
@@ -23,14 +17,6 @@
|
|
|
23
17
|
overflow: visible;
|
|
24
18
|
}
|
|
25
19
|
|
|
26
|
-
.sun-editor-common input,
|
|
27
|
-
.sun-editor-common select,
|
|
28
|
-
.sun-editor-common textarea,
|
|
29
|
-
.sun-editor-common button {
|
|
30
|
-
font-size: 14px;
|
|
31
|
-
line-height: 1.5;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
20
|
.sun-editor-common body,
|
|
35
21
|
.sun-editor-common div,
|
|
36
22
|
.sun-editor-common dl,
|
|
@@ -50,7 +36,6 @@
|
|
|
50
36
|
.sun-editor-common form,
|
|
51
37
|
.sun-editor-common fieldset,
|
|
52
38
|
.sun-editor-common legend,
|
|
53
|
-
.sun-editor-common textarea,
|
|
54
39
|
.sun-editor-common p,
|
|
55
40
|
.sun-editor-common blockquote,
|
|
56
41
|
.sun-editor-common th,
|
|
@@ -64,6 +49,12 @@
|
|
|
64
49
|
border: 0;
|
|
65
50
|
}
|
|
66
51
|
|
|
52
|
+
.sun-editor-common input,
|
|
53
|
+
.sun-editor-common select,
|
|
54
|
+
.sun-editor-common textarea {
|
|
55
|
+
background-color: inherit;
|
|
56
|
+
}
|
|
57
|
+
|
|
67
58
|
.sun-editor-common dl,
|
|
68
59
|
.sun-editor-common ul,
|
|
69
60
|
.sun-editor-common ol,
|
|
@@ -112,10 +103,114 @@
|
|
|
112
103
|
max-height: 24px;
|
|
113
104
|
}
|
|
114
105
|
|
|
106
|
+
/** --- se-type-document ---------------------------------------------------------- */
|
|
107
|
+
.sun-editor .se-wrapper.se-type-document {
|
|
108
|
+
padding: clamp(var(--se-doc-min-padding), var(--se-doc-min-padding) + calc(var(--se-doc-padding-factor) * 1vw), var(--se-doc-max-padding));
|
|
109
|
+
background-color: var(--se-doc-background);
|
|
110
|
+
box-shadow: inset 0 4px 4px rgba(0, 0, 0, 0.1);
|
|
111
|
+
}
|
|
112
|
+
.sun-editor .se-wrapper.se-type-document > .se-wrapper-inner {
|
|
113
|
+
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* se-type-document - header */
|
|
117
|
+
.sun-editor .se-wrapper.se-type-document .se-document-lines {
|
|
118
|
+
width: var(--se-doc-info-width);
|
|
119
|
+
min-width: var(--se-doc-info-min-width);
|
|
120
|
+
font-size: var(--se-doc-info-font-size);
|
|
121
|
+
overflow-y: auto;
|
|
122
|
+
overflow-x: hidden;
|
|
123
|
+
background-color: transparent;
|
|
124
|
+
z-index: 1;
|
|
125
|
+
}
|
|
126
|
+
.sun-editor .se-wrapper.se-type-document .se-document-lines.se-document-responsible {
|
|
127
|
+
min-width: unset !important;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.sun-editor .se-wrapper.se-type-document .se-document-lines .se-document-lines-inner {
|
|
131
|
+
padding: var(--se-doc-info-inner-padding);
|
|
132
|
+
padding-right: var(--se-doc-info-inner-line-padding);
|
|
133
|
+
}
|
|
134
|
+
.sun-editor .se-wrapper.se-type-document .se-document-lines .se-document-lines-inner > div.se-doc-item {
|
|
135
|
+
color: var(--se-doc-info-font-color);
|
|
136
|
+
width: 100%;
|
|
137
|
+
padding: var(--se-doc-info-inner-line-padding);
|
|
138
|
+
white-space: nowrap;
|
|
139
|
+
overflow: hidden;
|
|
140
|
+
text-overflow: ellipsis;
|
|
141
|
+
display: inline-block;
|
|
142
|
+
cursor: pointer;
|
|
143
|
+
}
|
|
144
|
+
.sun-editor .se-wrapper.se-type-document .se-document-lines .se-document-lines-inner > div.se-doc-item:hover {
|
|
145
|
+
text-decoration: underline;
|
|
146
|
+
}
|
|
147
|
+
.sun-editor .se-wrapper.se-type-document .se-document-lines .se-document-lines-inner > div.se-doc-item.active {
|
|
148
|
+
color: var(--se-doc-info-active-color);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.sun-editor .se-wrapper.se-type-document .se-document-lines .se-document-lines-inner > div.se-doc-h1 {
|
|
152
|
+
font-weight: var(--se-doc-info-inner-line-weight-h1);
|
|
153
|
+
padding-left: var(--se-doc-info-inner-line-indent-h1);
|
|
154
|
+
}
|
|
155
|
+
.sun-editor .se-wrapper.se-type-document .se-document-lines .se-document-lines-inner > div.se-doc-h2 {
|
|
156
|
+
font-weight: var(--se-doc-info-inner-line-weight-h2);
|
|
157
|
+
padding-left: var(--se-doc-info-inner-line-indent-h2);
|
|
158
|
+
}
|
|
159
|
+
.sun-editor .se-wrapper.se-type-document .se-document-lines .se-document-lines-inner > div.se-doc-h3 {
|
|
160
|
+
font-weight: var(--se-doc-info-inner-line-weight-h3);
|
|
161
|
+
padding-left: var(--se-doc-info-inner-line-indent-h3);
|
|
162
|
+
}
|
|
163
|
+
.sun-editor .se-wrapper.se-type-document .se-document-lines .se-document-lines-inner > div.se-doc-h4 {
|
|
164
|
+
font-weight: var(--se-doc-info-inner-line-weight-h4);
|
|
165
|
+
padding-left: var(--se-doc-info-inner-line-indent-h4);
|
|
166
|
+
}
|
|
167
|
+
.sun-editor .se-wrapper.se-type-document .se-document-lines .se-document-lines-inner > div.se-doc-h5 {
|
|
168
|
+
font-weight: var(--se-doc-info-inner-line-weight-h5);
|
|
169
|
+
padding-left: var(--se-doc-info-inner-line-indent-h5);
|
|
170
|
+
}
|
|
171
|
+
.sun-editor .se-wrapper.se-type-document .se-document-lines .se-document-lines-inner > div.se-doc-h6 {
|
|
172
|
+
font-weight: var(--se-doc-info-inner-line-weight-h6);
|
|
173
|
+
padding-left: var(--se-doc-info-inner-line-indent-h6);
|
|
174
|
+
}
|
|
175
|
+
/* se-type-document - page */
|
|
176
|
+
.sun-editor .se-wrapper.se-type-document .se-document-page {
|
|
177
|
+
position: relative;
|
|
178
|
+
text-align: center;
|
|
179
|
+
pointer-events: none;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.sun-editor .se-wrapper.se-type-document .se-document-page > div {
|
|
183
|
+
position: absolute;
|
|
184
|
+
width: var(--se-doc-info-page-width);
|
|
185
|
+
color: var(--se-doc-info-page-font-color);
|
|
186
|
+
background-color: var(--se-doc-info-page-background-color);
|
|
187
|
+
font-size: inherit;
|
|
188
|
+
left: 0px;
|
|
189
|
+
padding: 1px 0;
|
|
190
|
+
margin-left: 1px;
|
|
191
|
+
}
|
|
192
|
+
.sun-editor .se-wrapper.se-type-document .se-document-page > div > div.se-document-page-line {
|
|
193
|
+
position: absolute;
|
|
194
|
+
display: block;
|
|
195
|
+
height: 0px;
|
|
196
|
+
border-bottom: 1px dashed var(--se-doc-info-page-background-color);
|
|
197
|
+
top: 0px;
|
|
198
|
+
right: 100%;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/* se-type-document - placeholder position set */
|
|
202
|
+
.sun-editor .se-wrapper.se-type-document .se-placeholder {
|
|
203
|
+
top: clamp(var(--se-doc-min-padding));
|
|
204
|
+
left: var(--se-doc-info-width);
|
|
205
|
+
right: var(--se-doc-info-width);
|
|
206
|
+
padding: var(--se-edit-inner-padding-doc-type);
|
|
207
|
+
}
|
|
208
|
+
/** --- se-type-document end ---------------------------------------------------------- */
|
|
209
|
+
|
|
115
210
|
.sun-editor .se-wrapper .se-code-viewer-mirror,
|
|
116
211
|
.sun-editor .se-wrapper .cm-editor,
|
|
117
212
|
.sun-editor .se-wrapper .CodeMirror {
|
|
118
|
-
font-size:
|
|
213
|
+
font-size: var(--se-main-font-size);
|
|
119
214
|
}
|
|
120
215
|
|
|
121
216
|
/* button children are pointer event none */
|
|
@@ -128,23 +223,24 @@
|
|
|
128
223
|
|
|
129
224
|
/** button */
|
|
130
225
|
.sun-editor button {
|
|
131
|
-
color:
|
|
226
|
+
color: var(--se-main-color);
|
|
132
227
|
}
|
|
133
228
|
|
|
134
229
|
/** --- se buttons ---------------------------------------------------------- */
|
|
135
230
|
/** --- se-btn */
|
|
136
231
|
.sun-editor .se-btn {
|
|
137
232
|
float: left;
|
|
138
|
-
width:
|
|
139
|
-
height:
|
|
233
|
+
width: var(--se-input-btn-size);
|
|
234
|
+
height: var(--se-input-btn-size);
|
|
140
235
|
margin: 1px;
|
|
141
236
|
padding: 0;
|
|
142
|
-
font-size:
|
|
237
|
+
font-size: var(--se-btn-font-size);
|
|
143
238
|
line-height: 1.8;
|
|
144
239
|
border-width: 0;
|
|
145
240
|
border-style: solid;
|
|
146
|
-
border-color:
|
|
147
|
-
border-radius:
|
|
241
|
+
border-color: var(--se-input-btn-border-color);
|
|
242
|
+
border-radius: var(--se-border-radius);
|
|
243
|
+
transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
|
|
148
244
|
}
|
|
149
245
|
|
|
150
246
|
.sun-editor .se-form-group button.se-btn {
|
|
@@ -152,26 +248,21 @@
|
|
|
152
248
|
}
|
|
153
249
|
|
|
154
250
|
.sun-editor .se-btn.se-btn-info {
|
|
155
|
-
color:
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.sun-editor .se-btn-w-auto {
|
|
159
|
-
width: auto !important;
|
|
251
|
+
color: var(--se-active-color);
|
|
160
252
|
}
|
|
161
253
|
|
|
162
254
|
.sun-editor .se-btn:not(.on):not(.active):enabled:hover,
|
|
163
255
|
.sun-editor .se-btn:not(.on):not(.active):enabled:focus {
|
|
164
|
-
background-color:
|
|
165
|
-
border-color:
|
|
256
|
+
background-color: var(--se-main-divider-color);
|
|
257
|
+
border-color: var(--se-main-border-color);
|
|
166
258
|
}
|
|
167
259
|
|
|
168
260
|
.sun-editor .se-btn:not(.on):not(.active):enabled:active,
|
|
169
261
|
.sun-editor .se-btn:not(.on):not(.active):enabled.__se__active {
|
|
170
|
-
background-color:
|
|
171
|
-
border-color:
|
|
172
|
-
outline: 1px solid
|
|
173
|
-
|
|
174
|
-
box-shadow: 0 0 0 0.3rem #ececec;
|
|
262
|
+
background-color: var(--se-main-shadow-color);
|
|
263
|
+
border-color: var(--se-main-shadow-color) !important;
|
|
264
|
+
outline: 1px solid var(--se-main-outline-color) !important;
|
|
265
|
+
box-shadow: 0 0 0 0.3rem var(--se-main-shadow-color);
|
|
175
266
|
transition: box-shadow 0.1s ease-in-out;
|
|
176
267
|
}
|
|
177
268
|
|
|
@@ -183,7 +274,7 @@
|
|
|
183
274
|
.sun-editor .se-menu-list li:hover .se-btn-input input:enabled {
|
|
184
275
|
border-width: 1px;
|
|
185
276
|
border-style: solid;
|
|
186
|
-
border-color:
|
|
277
|
+
border-color: var(--se-main-divider-color);
|
|
187
278
|
}
|
|
188
279
|
|
|
189
280
|
/* after, before button - on, active */
|
|
@@ -193,7 +284,7 @@
|
|
|
193
284
|
.sun-editor .se-menu-list li .se-side-btn-before.active:enabled,
|
|
194
285
|
.sun-editor .se-menu-list li .se-btn-input.on input:enabled,
|
|
195
286
|
.sun-editor .se-menu-list li .se-btn-input.active input:enabled {
|
|
196
|
-
border-color:
|
|
287
|
+
border-color: var(--se-active-dark-color);
|
|
197
288
|
}
|
|
198
289
|
|
|
199
290
|
/* after, before button : hover - on, active - border */
|
|
@@ -220,224 +311,216 @@
|
|
|
220
311
|
.sun-editor .se-menu-list li:hover .se-side-btn-before.active:enabled,
|
|
221
312
|
.sun-editor .se-menu-list li:hover .se-btn-input.on input:enabled,
|
|
222
313
|
.sun-editor .se-menu-list li:hover .se-btn-input.active input:enabled {
|
|
223
|
-
border-color:
|
|
314
|
+
border-color: var(--se-active-dark4-color);
|
|
224
315
|
}
|
|
225
316
|
|
|
226
317
|
/* se-btn.on */
|
|
227
318
|
.sun-editor .se-btn:enabled.on {
|
|
228
|
-
background-color:
|
|
229
|
-
color:
|
|
230
|
-
border-color:
|
|
319
|
+
background-color: var(--se-active-light2-color);
|
|
320
|
+
color: var(--se-active-dark3-color);
|
|
321
|
+
border-color: var(--se-active-light5-color);
|
|
231
322
|
}
|
|
232
323
|
|
|
233
324
|
.sun-editor .se-btn:enabled.on:hover,
|
|
234
325
|
.sun-editor .se-btn:enabled.on:focus {
|
|
235
|
-
background-color:
|
|
236
|
-
color:
|
|
237
|
-
border-color:
|
|
326
|
+
background-color: var(--se-active-light3-color);
|
|
327
|
+
color: var(--se-active-dark2-color);
|
|
328
|
+
border-color: var(--se-active-light5-color);
|
|
238
329
|
}
|
|
239
330
|
|
|
240
331
|
.sun-editor .se-btn:enabled.on:active,
|
|
241
332
|
.sun-editor .se-btn:enabled.on.__se__active {
|
|
242
|
-
background-color:
|
|
243
|
-
color:
|
|
244
|
-
border-color:
|
|
245
|
-
outline: 1px solid
|
|
246
|
-
color: 1px solid
|
|
247
|
-
|
|
248
|
-
box-shadow: 0 0 0 0.3rem #d0e3ff;
|
|
333
|
+
background-color: var(--se-active-light3-color);
|
|
334
|
+
color: var(--se-active-color);
|
|
335
|
+
border-color: var(--se-active-light3-color) !important;
|
|
336
|
+
outline: 1px solid var(--se-active-color) !important;
|
|
337
|
+
color: 1px solid var(--se-active-color);
|
|
338
|
+
box-shadow: 0 0 0 0.3rem var(--se-active-light3-color);
|
|
249
339
|
transition: box-shadow 0.1s ease-in-out;
|
|
250
340
|
}
|
|
251
341
|
|
|
252
342
|
/* se-btn.active */
|
|
253
343
|
.sun-editor .se-btn:enabled.active {
|
|
254
|
-
background-color:
|
|
255
|
-
color:
|
|
256
|
-
border-color:
|
|
344
|
+
background-color: var(--se-active-light4-color);
|
|
345
|
+
color: var(--se-active-dark3-color);
|
|
346
|
+
border-color: var(--se-active-dark-color);
|
|
257
347
|
}
|
|
258
348
|
|
|
259
349
|
.sun-editor .se-btn:enabled.active:hover,
|
|
260
350
|
.sun-editor .se-btn:enabled.active:focus {
|
|
261
|
-
background-color:
|
|
262
|
-
color:
|
|
263
|
-
border-color:
|
|
351
|
+
background-color: var(--se-active-light5-color);
|
|
352
|
+
color: var(--se-active-dark5-color);
|
|
353
|
+
border-color: var(--se-active-dark4-color);
|
|
264
354
|
}
|
|
265
355
|
|
|
266
356
|
.sun-editor .se-btn:enabled.active:active,
|
|
267
357
|
.sun-editor .se-btn:enabled.active.__se__active {
|
|
268
|
-
background-color:
|
|
269
|
-
color:
|
|
270
|
-
border-color:
|
|
271
|
-
outline: 1px solid
|
|
272
|
-
|
|
273
|
-
box-shadow: 0 0 0 0.3rem #c4ddff;
|
|
358
|
+
background-color: var(--se-active-light5-color);
|
|
359
|
+
color: var(--se-active-dark5-color);
|
|
360
|
+
border-color: var(--se-active-dark5-color) !important;
|
|
361
|
+
outline: 1px solid var(--se-active-dark5-color) !important;
|
|
362
|
+
box-shadow: 0 0 0 0.3rem var(--se-active-light5-color);
|
|
274
363
|
transition: box-shadow 0.1s ease-in-out;
|
|
275
364
|
}
|
|
276
365
|
|
|
277
366
|
/** --- primary button */
|
|
278
367
|
.sun-editor .se-btn-primary {
|
|
279
|
-
background-color:
|
|
280
|
-
border: 1px solid
|
|
281
|
-
border-radius:
|
|
368
|
+
background-color: var(--se-active-light2-color);
|
|
369
|
+
border: 1px solid var(--se-active-dark5-color);
|
|
370
|
+
border-radius: var(--se-border-radius);
|
|
282
371
|
outline: 0 none;
|
|
372
|
+
transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
|
|
283
373
|
}
|
|
284
374
|
|
|
285
375
|
.sun-editor .se-btn-primary:hover,
|
|
286
376
|
.sun-editor .se-btn-primary:focus {
|
|
287
|
-
background-color:
|
|
377
|
+
background-color: var(--se-active-light5-color);
|
|
288
378
|
}
|
|
289
379
|
|
|
290
380
|
.sun-editor .se-btn-primary:active,
|
|
291
381
|
.sun-editor .se-btn-primary.__se__active {
|
|
292
|
-
background-color:
|
|
293
|
-
border-color:
|
|
294
|
-
outline: 1px solid
|
|
295
|
-
|
|
296
|
-
box-shadow: 0 0 0 0.3rem #eaf3ff;
|
|
382
|
+
background-color: var(--se-active-light2-color);
|
|
383
|
+
border-color: var(--se-active-light2-color) !important;
|
|
384
|
+
outline: 1px solid var(--se-active-dark5-color) !important;
|
|
385
|
+
box-shadow: 0 0 0 0.3rem var(--se-active-light2-color);
|
|
297
386
|
transition: box-shadow 0.1s ease-in-out;
|
|
298
387
|
}
|
|
299
388
|
|
|
300
389
|
/* --- se-btn.success */
|
|
301
390
|
.sun-editor .se-btn.se-btn-success {
|
|
302
|
-
color:
|
|
303
|
-
border-color:
|
|
391
|
+
color: var(--se-success-color);
|
|
392
|
+
border-color: var(--se-success-light5-color);
|
|
304
393
|
}
|
|
305
394
|
|
|
306
395
|
.sun-editor .se-btn.se-btn-success:not(.on):not(.active):enabled:hover,
|
|
307
396
|
.sun-editor .se-btn.se-btn-success:not(.on):not(.active):enabled:focus {
|
|
308
|
-
background-color:
|
|
309
|
-
border-color:
|
|
397
|
+
background-color: var(--se-success-light-color);
|
|
398
|
+
border-color: var(--se-success-light5-color);
|
|
310
399
|
}
|
|
311
400
|
.sun-editor .se-btn.se-btn-success:not(.on):not(.active):enabled:active,
|
|
312
401
|
.sun-editor .se-btn.se-btn-success:not(.on):not(.active):enabled.__se__active {
|
|
313
|
-
background-color:
|
|
314
|
-
border-color:
|
|
315
|
-
outline: 1px solid
|
|
316
|
-
|
|
317
|
-
box-shadow: 0 0 0 0.3rem #dff4e6;
|
|
402
|
+
background-color: var(--se-success-light-color);
|
|
403
|
+
border-color: var(--se-success-light-color) !important;
|
|
404
|
+
outline: 1px solid var(--se-success-light5-color) !important;
|
|
405
|
+
box-shadow: 0 0 0 0.3rem var(--se-success-light-color);
|
|
318
406
|
transition: box-shadow 0.1s ease-in-out;
|
|
319
407
|
}
|
|
320
408
|
|
|
321
409
|
/* se-btn.success.on */
|
|
322
410
|
.sun-editor .se-btn.se-btn-success:enabled.on {
|
|
323
|
-
background-color:
|
|
324
|
-
color:
|
|
325
|
-
border-color:
|
|
411
|
+
background-color: var(--se-success-light-color);
|
|
412
|
+
color: var(--se-success-color);
|
|
413
|
+
border-color: var(--se-success-light5-color);
|
|
326
414
|
}
|
|
327
415
|
|
|
328
416
|
.sun-editor .se-btn.se-btn-success:enabled.on:hover,
|
|
329
417
|
.sun-editor .se-btn.se-btn-success:enabled.on:focus {
|
|
330
|
-
background-color:
|
|
331
|
-
color:
|
|
332
|
-
border-color:
|
|
418
|
+
background-color: var(--se-success-light2-color);
|
|
419
|
+
color: var(--se-success-color);
|
|
420
|
+
border-color: var(--se-success-light4-color);
|
|
333
421
|
}
|
|
334
422
|
|
|
335
423
|
.sun-editor .se-btn.se-btn-success:enabled.on:active,
|
|
336
424
|
.sun-editor .se-btn.se-btn-success:enabled.on.__se__active {
|
|
337
|
-
background-color:
|
|
338
|
-
color:
|
|
339
|
-
border-color:
|
|
340
|
-
outline: 1px solid
|
|
341
|
-
color: 1px solid
|
|
342
|
-
|
|
343
|
-
box-shadow: 0 0 0 0.3rem #d5f3e0;
|
|
425
|
+
background-color: var(--se-success-light2-color);
|
|
426
|
+
color: var(--se-success-color);
|
|
427
|
+
border-color: var(--se-success-light2-color) !important;
|
|
428
|
+
outline: 1px solid var(--se-success-dark-color) !important;
|
|
429
|
+
color: 1px solid var(--se-success-color);
|
|
430
|
+
box-shadow: 0 0 0 0.3rem var(--se-success-light2-color);
|
|
344
431
|
transition: box-shadow 0.1s ease-in-out;
|
|
345
432
|
}
|
|
346
433
|
|
|
347
434
|
/* se-btn.success.active */
|
|
348
435
|
.sun-editor .se-btn.se-btn-success:enabled.active {
|
|
349
|
-
background-color:
|
|
350
|
-
color:
|
|
351
|
-
border-color:
|
|
436
|
+
background-color: var(--se-success-light2-color);
|
|
437
|
+
color: var(--se-success-color);
|
|
438
|
+
border-color: var(--se-success-dark2-color);
|
|
352
439
|
}
|
|
353
440
|
|
|
354
441
|
.sun-editor .se-btn.se-btn-success:enabled.active:hover,
|
|
355
442
|
.sun-editor .se-btn.se-btn-success:enabled.active:focus {
|
|
356
|
-
background-color:
|
|
357
|
-
color:
|
|
358
|
-
border-color:
|
|
443
|
+
background-color: var(--se-success-light3-color);
|
|
444
|
+
color: var(--se-success-dark3-color);
|
|
445
|
+
border-color: var(--se-success-dark2-color);
|
|
359
446
|
}
|
|
360
447
|
|
|
361
448
|
.sun-editor .se-btn.se-btn-success:enabled.active:active,
|
|
362
449
|
.sun-editor .se-btn.se-btn-success:enabled.active.__se__active {
|
|
363
|
-
background-color:
|
|
364
|
-
color:
|
|
365
|
-
border-color:
|
|
366
|
-
outline: 1px solid
|
|
367
|
-
|
|
368
|
-
box-shadow: 0 0 0 0.3rem #c1f4d3;
|
|
450
|
+
background-color: var(--se-success-light3-color);
|
|
451
|
+
color: var(--se-success-dark3-color);
|
|
452
|
+
border-color: var(--se-success-light3-color) !important;
|
|
453
|
+
outline: 1px solid var(--se-success-dark2-color) !important;
|
|
454
|
+
box-shadow: 0 0 0 0.3rem var(--se-success-light3-color);
|
|
369
455
|
transition: box-shadow 0.1s ease-in-out;
|
|
370
456
|
}
|
|
371
457
|
|
|
372
458
|
/* --- se-btn.danger */
|
|
373
459
|
.sun-editor .se-btn.se-btn-danger {
|
|
374
|
-
color:
|
|
375
|
-
border-color:
|
|
460
|
+
color: var(--se-error-color);
|
|
461
|
+
border-color: var(--se-error-dark-color);
|
|
376
462
|
}
|
|
377
463
|
|
|
378
464
|
.sun-editor .se-btn.se-btn-danger:not(.on):not(.active):enabled:hover,
|
|
379
465
|
.sun-editor .se-btn.se-btn-danger:not(.on):not(.active):enabled:focus {
|
|
380
|
-
background-color:
|
|
381
|
-
border-color:
|
|
466
|
+
background-color: var(--se-error-light5-color);
|
|
467
|
+
border-color: var(--se-error-dark-color);
|
|
382
468
|
}
|
|
383
469
|
|
|
384
470
|
.sun-editor .se-btn.se-btn-danger:not(.on):not(.active):enabled:active,
|
|
385
471
|
.sun-editor .se-btn.se-btn-danger:not(.on):not(.active):enabled.__se__active {
|
|
386
|
-
background-color:
|
|
387
|
-
border-color:
|
|
388
|
-
outline: 1px solid
|
|
389
|
-
|
|
390
|
-
box-shadow: 0 0 0 0.3rem #f8e3e1;
|
|
472
|
+
background-color: var(--se-error-light5-color);
|
|
473
|
+
border-color: var(--se-error-light5-color) !important;
|
|
474
|
+
outline: 1px solid var(--se-error-dark-color) !important;
|
|
475
|
+
box-shadow: 0 0 0 0.3rem var(--se-error-light5-color);
|
|
391
476
|
transition: box-shadow 0.1s ease-in-out;
|
|
392
477
|
}
|
|
393
478
|
|
|
394
479
|
/* se-btn.danger.on */
|
|
395
480
|
.sun-editor .se-btn.se-btn-danger:enabled.on {
|
|
396
|
-
background-color:
|
|
397
|
-
color:
|
|
398
|
-
border-color:
|
|
481
|
+
background-color: var(--se-error-light5-color);
|
|
482
|
+
color: var(--se-error-color);
|
|
483
|
+
border-color: var(--se-error-dark-color);
|
|
399
484
|
}
|
|
400
485
|
|
|
401
486
|
.sun-editor .se-btn.se-btn-danger:enabled.on:hover,
|
|
402
487
|
.sun-editor .se-btn.se-btn-danger:enabled.on:focus {
|
|
403
|
-
background-color:
|
|
404
|
-
color:
|
|
405
|
-
border-color:
|
|
488
|
+
background-color: var(--se-error-light4-color);
|
|
489
|
+
color: var(--se-error-color);
|
|
490
|
+
border-color: var(--se-error-dark-color);
|
|
406
491
|
}
|
|
407
492
|
|
|
408
493
|
.sun-editor .se-btn.se-btn-danger:enabled.on:active,
|
|
409
494
|
.sun-editor .se-btn.se-btn-danger:enabled.on.__se__active {
|
|
410
|
-
background-color:
|
|
411
|
-
color:
|
|
412
|
-
border-color:
|
|
413
|
-
outline: 1px solid
|
|
414
|
-
|
|
415
|
-
box-shadow: 0 0 0 0.3rem #f7deda;
|
|
495
|
+
background-color: var(--se-error-light-color);
|
|
496
|
+
color: var(--se-error-color);
|
|
497
|
+
border-color: var(--se-error-light-color) !important;
|
|
498
|
+
outline: 1px solid var(--se-error-dark3-color) !important;
|
|
499
|
+
box-shadow: 0 0 0 0.3rem var(--se-error-light4-color);
|
|
416
500
|
transition: box-shadow 0.1s ease-in-out;
|
|
417
501
|
}
|
|
418
502
|
|
|
419
503
|
/* se-btn.danger.active */
|
|
420
504
|
.sun-editor .se-btn.se-btn-danger:enabled.active {
|
|
421
|
-
background-color:
|
|
422
|
-
color:
|
|
423
|
-
border-color:
|
|
505
|
+
background-color: var(--se-error-light4-color);
|
|
506
|
+
color: var(--se-error-color);
|
|
507
|
+
border-color: var(--se-error-dark3-color);
|
|
424
508
|
}
|
|
425
509
|
|
|
426
510
|
.sun-editor .se-btn.se-btn-danger:enabled.active:hover,
|
|
427
511
|
.sun-editor .se-btn.se-btn-danger:enabled.active:focus {
|
|
428
|
-
background-color:
|
|
429
|
-
color:
|
|
430
|
-
border-color:
|
|
512
|
+
background-color: var(--se-error-light-color);
|
|
513
|
+
color: var(--se-error-color);
|
|
514
|
+
border-color: var(--se-error-dark3-color);
|
|
431
515
|
}
|
|
432
516
|
|
|
433
517
|
.sun-editor .se-btn.se-btn-danger:enabled.active:active,
|
|
434
518
|
.sun-editor .se-btn.se-btn-danger:enabled.active.__se__active {
|
|
435
|
-
background-color:
|
|
436
|
-
color:
|
|
437
|
-
border-color:
|
|
438
|
-
outline: 1px solid
|
|
439
|
-
|
|
440
|
-
box-shadow: 0 0 0 0.3rem #f5d0c8;
|
|
519
|
+
background-color: var(--se-error-light-color);
|
|
520
|
+
color: var(--se-error-color);
|
|
521
|
+
border-color: var(--se-error-light-color) !important;
|
|
522
|
+
outline: 1px solid var(--se-error-dark3-color) !important;
|
|
523
|
+
box-shadow: 0 0 0 0.3rem var(--se-error-light-color);
|
|
441
524
|
transition: box-shadow 0.1s ease-in-out;
|
|
442
525
|
}
|
|
443
526
|
|
|
@@ -445,9 +528,9 @@
|
|
|
445
528
|
.sun-editor input,
|
|
446
529
|
.sun-editor select,
|
|
447
530
|
.sun-editor textarea {
|
|
448
|
-
color:
|
|
449
|
-
border: 1px solid
|
|
450
|
-
border-radius:
|
|
531
|
+
color: var(--se-main-color);
|
|
532
|
+
border: 1px solid var(--se-input-btn-border-color);
|
|
533
|
+
border-radius: var(--se-border-radius);
|
|
451
534
|
}
|
|
452
535
|
|
|
453
536
|
/* disabled buttons, icon blur */
|
|
@@ -455,7 +538,7 @@
|
|
|
455
538
|
.sun-editor button:disabled,
|
|
456
539
|
.sun-editor input:disabled {
|
|
457
540
|
cursor: not-allowed;
|
|
458
|
-
color:
|
|
541
|
+
color: var(--se-input-btn-disabled-color);
|
|
459
542
|
}
|
|
460
543
|
|
|
461
544
|
/* dropdown layer - list button */
|
|
@@ -465,7 +548,7 @@
|
|
|
465
548
|
min-height: 32px;
|
|
466
549
|
padding: 0 14px;
|
|
467
550
|
cursor: pointer;
|
|
468
|
-
font-size:
|
|
551
|
+
font-size: var(--se-btn-font-size);
|
|
469
552
|
line-height: normal;
|
|
470
553
|
text-indent: 0;
|
|
471
554
|
text-decoration: none;
|
|
@@ -473,7 +556,36 @@
|
|
|
473
556
|
}
|
|
474
557
|
|
|
475
558
|
.sun-editor .se-btn-list.default_value {
|
|
476
|
-
border: 1px dashed
|
|
559
|
+
border: 1px dashed var(--se-main-outline-color);
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
/* page navigator */
|
|
563
|
+
.sun-editor .se-btn.se-btn-tool-pageNavigator > input {
|
|
564
|
+
width: var(--se-input-btn-size);
|
|
565
|
+
text-align: center;
|
|
566
|
+
color: var(--se-main-color-lighter);
|
|
567
|
+
}
|
|
568
|
+
.sun-editor .se-btn.se-btn-tool-pageNavigator > input[type='number'] {
|
|
569
|
+
-webkit-appearance: textfield;
|
|
570
|
+
-moz-appearance: textfield;
|
|
571
|
+
appearance: textfield;
|
|
572
|
+
}
|
|
573
|
+
.sun-editor .se-btn.se-btn-tool-pageNavigator > input[type='number']::-webkit-inner-spin-button,
|
|
574
|
+
.sun-editor .se-btn.se-btn-tool-pageNavigator > input[type='number']::-webkit-outer-spin-button {
|
|
575
|
+
-webkit-appearance: none;
|
|
576
|
+
-moz-appearance: none;
|
|
577
|
+
appearance: none;
|
|
578
|
+
margin: 0;
|
|
579
|
+
}
|
|
580
|
+
.sun-editor .se-btn.se-btn-tool-pageNavigator ~ span {
|
|
581
|
+
text-align: center;
|
|
582
|
+
font-size: var(--se-main-font-size);
|
|
583
|
+
align-content: center;
|
|
584
|
+
margin-left: -10px;
|
|
585
|
+
}
|
|
586
|
+
.sun-editor .se-btn.se-btn-tool-pageNavigator ~ span::before {
|
|
587
|
+
content: '/';
|
|
588
|
+
margin: 0 0.6em;
|
|
477
589
|
}
|
|
478
590
|
|
|
479
591
|
/** --- Icons ---------------------------------------------------------- */
|
|
@@ -485,17 +597,25 @@
|
|
|
485
597
|
|
|
486
598
|
.sun-editor button > svg,
|
|
487
599
|
.sun-editor .se-svg {
|
|
488
|
-
width:
|
|
489
|
-
height:
|
|
600
|
+
width: 20px;
|
|
601
|
+
height: 20px;
|
|
490
602
|
margin: auto;
|
|
491
603
|
fill: currentColor;
|
|
492
604
|
display: block;
|
|
493
605
|
text-align: center;
|
|
494
606
|
float: none;
|
|
495
607
|
}
|
|
496
|
-
.sun-editor button > svg.se-
|
|
608
|
+
.sun-editor button > svg.se-ci {
|
|
609
|
+
width: 15px;
|
|
610
|
+
height: 15px;
|
|
611
|
+
}
|
|
612
|
+
.sun-editor .se-text-prefix-icon {
|
|
497
613
|
width: 20px;
|
|
498
614
|
height: 20px;
|
|
615
|
+
float: left;
|
|
616
|
+
}
|
|
617
|
+
.sun-editor .se-text-prefix-icon svg {
|
|
618
|
+
vertical-align: middle;
|
|
499
619
|
}
|
|
500
620
|
|
|
501
621
|
/* sub button size */
|
|
@@ -520,22 +640,22 @@
|
|
|
520
640
|
}
|
|
521
641
|
.sun-editor button.se-side-btn-a {
|
|
522
642
|
float: left;
|
|
523
|
-
border-radius:
|
|
643
|
+
border-radius: var(--se-border-radius) 0 0 var(--se-border-radius);
|
|
524
644
|
margin-right: 0;
|
|
525
645
|
}
|
|
526
646
|
.sun-editor button.se-side-btn-b {
|
|
527
647
|
float: left;
|
|
528
|
-
border-radius: 0
|
|
648
|
+
border-radius: 0 var(--se-border-radius) var(--se-border-radius) 0;
|
|
529
649
|
margin-left: 0;
|
|
530
650
|
}
|
|
531
651
|
.sun-editor button.se-side-btn-before {
|
|
532
652
|
float: left;
|
|
533
653
|
margin-right: 0;
|
|
534
|
-
border-radius:
|
|
654
|
+
border-radius: var(--se-border-radius) 0 0 var(--se-border-radius);
|
|
535
655
|
}
|
|
536
656
|
.sun-editor button.se-side-btn-after {
|
|
537
657
|
margin-left: 0;
|
|
538
|
-
border-radius: 0
|
|
658
|
+
border-radius: 0 var(--se-border-radius) var(--se-border-radius) 0;
|
|
539
659
|
}
|
|
540
660
|
|
|
541
661
|
/* list button icons */
|
|
@@ -549,18 +669,11 @@
|
|
|
549
669
|
opacity: 0.5;
|
|
550
670
|
}
|
|
551
671
|
|
|
552
|
-
/* close class icon */
|
|
553
|
-
.sun-editor .close > svg,
|
|
554
|
-
.sun-editor .se-close-btn > svg {
|
|
555
|
-
width: 10px;
|
|
556
|
-
height: 10px;
|
|
557
|
-
}
|
|
558
|
-
|
|
559
672
|
/* se-select-btn icon */
|
|
560
673
|
.sun-editor .se-btn-select > svg {
|
|
561
674
|
float: right;
|
|
562
|
-
width: 8px;
|
|
563
|
-
height: 8px;
|
|
675
|
+
width: 8px !important;
|
|
676
|
+
height: 8px !important;
|
|
564
677
|
}
|
|
565
678
|
|
|
566
679
|
/* se-btn-list inner icon */
|
|
@@ -589,7 +702,7 @@
|
|
|
589
702
|
font-style: normal;
|
|
590
703
|
font-variant: normal;
|
|
591
704
|
text-rendering: auto;
|
|
592
|
-
font-size:
|
|
705
|
+
font-size: var(--se-modal-title-font-size);
|
|
593
706
|
line-height: 2;
|
|
594
707
|
}
|
|
595
708
|
|
|
@@ -621,35 +734,35 @@
|
|
|
621
734
|
.sun-editor .se-arrow.se-arrow-up {
|
|
622
735
|
top: -12px;
|
|
623
736
|
border-top-width: 0;
|
|
624
|
-
border-bottom-color:
|
|
737
|
+
border-bottom-color: var(--se-controller-border-color);
|
|
625
738
|
}
|
|
626
739
|
|
|
627
740
|
.sun-editor .se-arrow.se-arrow-up::after {
|
|
628
741
|
top: 1px;
|
|
629
742
|
content: ' ';
|
|
630
743
|
border-top-width: 0;
|
|
631
|
-
border-bottom-color:
|
|
744
|
+
border-bottom-color: var(--se-main-background-color);
|
|
632
745
|
}
|
|
633
746
|
|
|
634
747
|
/* arrow down */
|
|
635
748
|
.sun-editor .se-arrow.se-arrow-down {
|
|
636
749
|
bottom: -12px;
|
|
637
750
|
border-bottom-width: 0;
|
|
638
|
-
border-top-color:
|
|
751
|
+
border-top-color: var(--se-controller-border-color);
|
|
639
752
|
}
|
|
640
753
|
|
|
641
754
|
.sun-editor .se-arrow.se-arrow-down::after {
|
|
642
755
|
top: -12px;
|
|
643
756
|
content: ' ';
|
|
644
757
|
border-bottom-width: 0;
|
|
645
|
-
border-top-color:
|
|
758
|
+
border-top-color: var(--se-main-background-color);
|
|
646
759
|
}
|
|
647
760
|
|
|
648
761
|
/** --- container */
|
|
649
762
|
.sun-editor .se-container {
|
|
650
763
|
position: relative;
|
|
651
|
-
width:
|
|
652
|
-
height:
|
|
764
|
+
width: auto;
|
|
765
|
+
height: auto;
|
|
653
766
|
}
|
|
654
767
|
|
|
655
768
|
/** --- loading box */
|
|
@@ -660,7 +773,7 @@
|
|
|
660
773
|
height: 100%;
|
|
661
774
|
top: 0;
|
|
662
775
|
left: 0;
|
|
663
|
-
background-color:
|
|
776
|
+
background-color: rgba(0, 0, 0, 0.35);
|
|
664
777
|
opacity: 0.7;
|
|
665
778
|
filter: alpha(opacity=70);
|
|
666
779
|
z-index: 2147483647;
|
|
@@ -677,9 +790,11 @@
|
|
|
677
790
|
left: 50%;
|
|
678
791
|
height: 44px;
|
|
679
792
|
width: 44px;
|
|
680
|
-
border
|
|
681
|
-
border-
|
|
793
|
+
border: 2px solid transparent;
|
|
794
|
+
border-top: 2px solid var(--se-loading-color);
|
|
795
|
+
border-right: 2px solid var(--se-loading-color);
|
|
682
796
|
border-radius: 50%;
|
|
797
|
+
-webkit-animation: spinner 0.8s linear infinite;
|
|
683
798
|
animation: spinner 0.8s linear infinite;
|
|
684
799
|
margin: -25px 0 0 -25px;
|
|
685
800
|
}
|
|
@@ -690,19 +805,26 @@
|
|
|
690
805
|
display: none;
|
|
691
806
|
width: 24px;
|
|
692
807
|
height: 24px;
|
|
693
|
-
color:
|
|
694
|
-
background-color:
|
|
695
|
-
border: 1px solid
|
|
696
|
-
opacity: 0.
|
|
697
|
-
border-radius:
|
|
808
|
+
color: var(--se-drag-over-color);
|
|
809
|
+
background-color: var(--se-main-background-color);
|
|
810
|
+
border: 1px solid var(--se-drag-over-color);
|
|
811
|
+
opacity: 0.95;
|
|
812
|
+
border-radius: var(--se-border-radius);
|
|
698
813
|
cursor: pointer;
|
|
699
814
|
z-index: 2147483647;
|
|
815
|
+
transition: opacity 0.3s ease, color 0.3s ease, background-color 0.3s ease;
|
|
816
|
+
}
|
|
817
|
+
.sun-editor .se-line-breaker-component.se-on-selected {
|
|
818
|
+
color: var(--se-active-color);
|
|
819
|
+
background-color: var(--se-main-background-color);
|
|
820
|
+
border: 1px solid var(--se-active-color);
|
|
700
821
|
}
|
|
701
822
|
|
|
702
823
|
.sun-editor .se-line-breaker-component:hover {
|
|
703
824
|
opacity: 0.9;
|
|
704
|
-
color:
|
|
705
|
-
background-color:
|
|
825
|
+
color: var(--se-main-background-color);
|
|
826
|
+
background-color: var(--se-active-dark3-color);
|
|
827
|
+
border-color: var(--se-active-color);
|
|
706
828
|
}
|
|
707
829
|
|
|
708
830
|
/** --- toolbar ---------------------------------------------------------- */
|
|
@@ -714,8 +836,8 @@
|
|
|
714
836
|
overflow: visible;
|
|
715
837
|
padding: 0;
|
|
716
838
|
margin: 0;
|
|
717
|
-
background-color:
|
|
718
|
-
outline: 1px solid
|
|
839
|
+
background-color: var(--se-main-background-color);
|
|
840
|
+
outline: 1px solid var(--se-main-divider-color);
|
|
719
841
|
z-index: 7;
|
|
720
842
|
}
|
|
721
843
|
|
|
@@ -734,20 +856,12 @@
|
|
|
734
856
|
z-index: 0 !important;
|
|
735
857
|
}
|
|
736
858
|
|
|
737
|
-
.sun-editor .se-toolbar-separator-vertical {
|
|
738
|
-
display: inline-block;
|
|
739
|
-
height: 38px;
|
|
740
|
-
width: 0px;
|
|
741
|
-
margin: 0px;
|
|
742
|
-
vertical-align: top;
|
|
743
|
-
}
|
|
744
|
-
|
|
745
859
|
/* inline toolbar */
|
|
746
860
|
.sun-editor .se-toolbar.se-toolbar-inline {
|
|
747
861
|
display: none;
|
|
748
862
|
position: absolute;
|
|
749
|
-
box-shadow: 0 3px 9px
|
|
750
|
-
-webkit-box-shadow: 0 3px 9px
|
|
863
|
+
box-shadow: 0 3px 9px var(--se-shadow-layer-color);
|
|
864
|
+
-webkit-box-shadow: 0 3px 9px var(--se-shadow-layer-color);
|
|
751
865
|
}
|
|
752
866
|
|
|
753
867
|
/* balloon toolbar */
|
|
@@ -756,8 +870,8 @@
|
|
|
756
870
|
position: absolute;
|
|
757
871
|
z-index: 2147483647;
|
|
758
872
|
width: auto;
|
|
759
|
-
box-shadow: 0 3px 9px
|
|
760
|
-
-webkit-box-shadow: 0 3px 9px
|
|
873
|
+
box-shadow: 0 3px 9px var(--se-shadow-layer-color);
|
|
874
|
+
-webkit-box-shadow: 0 3px 9px var(--se-shadow-layer-color);
|
|
761
875
|
}
|
|
762
876
|
|
|
763
877
|
/* sticky toolbar */
|
|
@@ -774,25 +888,20 @@
|
|
|
774
888
|
|
|
775
889
|
/* toolbar arrow up */
|
|
776
890
|
.sun-editor .se-toolbar .se-arrow.se-arrow-up {
|
|
777
|
-
border-bottom-color:
|
|
891
|
+
border-bottom-color: var(--se-main-divider-color);
|
|
778
892
|
}
|
|
779
893
|
|
|
780
894
|
.sun-editor .se-toolbar .se-arrow.se-arrow-up::after {
|
|
781
|
-
border-bottom-color:
|
|
895
|
+
border-bottom-color: var(--se-main-background-color);
|
|
782
896
|
}
|
|
783
897
|
|
|
784
898
|
/* toolbar arrow down */
|
|
785
899
|
.sun-editor .se-toolbar .se-arrow.se-arrow-down {
|
|
786
|
-
border-top-color:
|
|
900
|
+
border-top-color: var(--se-main-divider-color);
|
|
787
901
|
}
|
|
788
902
|
|
|
789
903
|
.sun-editor .se-toolbar .se-arrow.se-arrow-down::after {
|
|
790
|
-
border-top-color:
|
|
791
|
-
}
|
|
792
|
-
|
|
793
|
-
/* toolbar visible on scroll */
|
|
794
|
-
.sun-editor .se-toolbar.se-toolbar-onscroll-hide {
|
|
795
|
-
visibility: hidden !important;
|
|
904
|
+
border-top-color: var(--se-main-background-color);
|
|
796
905
|
}
|
|
797
906
|
|
|
798
907
|
/** --- tool bar --- module --- button, module, group ---------------------------------------------------------- */
|
|
@@ -801,12 +910,23 @@
|
|
|
801
910
|
display: inline-block;
|
|
802
911
|
}
|
|
803
912
|
|
|
913
|
+
/* button group */
|
|
804
914
|
.sun-editor .se-btn-module-border {
|
|
805
|
-
border: 1px solid
|
|
806
|
-
border
|
|
915
|
+
border: 1px solid var(--se-main-divider-color);
|
|
916
|
+
border: none;
|
|
917
|
+
border-radius: var(--se-border-radius);
|
|
807
918
|
margin-left: 1px;
|
|
808
919
|
margin-right: 1px;
|
|
809
920
|
}
|
|
921
|
+
/* separator vertical */
|
|
922
|
+
.sun-editor .se-toolbar-separator-vertical {
|
|
923
|
+
display: inline-block;
|
|
924
|
+
height: var(--se-input-btn-size);
|
|
925
|
+
width: 1px;
|
|
926
|
+
margin: 1px;
|
|
927
|
+
vertical-align: top;
|
|
928
|
+
background-color: var(--se-main-divider-color);
|
|
929
|
+
}
|
|
810
930
|
|
|
811
931
|
.sun-editor .se-btn-module-enter {
|
|
812
932
|
display: block;
|
|
@@ -820,12 +940,12 @@
|
|
|
820
940
|
/* ---more - layer */
|
|
821
941
|
.sun-editor .se-toolbar-more-layer {
|
|
822
942
|
margin: 0 -3px;
|
|
823
|
-
background-color:
|
|
943
|
+
background-color: var(--se-main-background-color);
|
|
824
944
|
}
|
|
825
945
|
|
|
826
946
|
.sun-editor .se-toolbar-more-layer .se-more-layer {
|
|
827
947
|
display: none;
|
|
828
|
-
border-top: 1px solid
|
|
948
|
+
border-top: 1px solid var(--se-main-divider-color);
|
|
829
949
|
}
|
|
830
950
|
|
|
831
951
|
.sun-editor .se-toolbar-more-layer .se-more-layer .se-more-form {
|
|
@@ -872,8 +992,10 @@
|
|
|
872
992
|
|
|
873
993
|
.sun-editor .se-btn-select .se-txt {
|
|
874
994
|
flex: auto;
|
|
995
|
+
display: flex;
|
|
875
996
|
text-align: left;
|
|
876
997
|
margin-right: 4px;
|
|
998
|
+
align-items: center;
|
|
877
999
|
}
|
|
878
1000
|
|
|
879
1001
|
.sun-editor .se-btn-select .se-not-arrow-text {
|
|
@@ -891,7 +1013,7 @@
|
|
|
891
1013
|
}
|
|
892
1014
|
|
|
893
1015
|
.sun-editor .se-btn-select.se-btn-tool-format {
|
|
894
|
-
width:
|
|
1016
|
+
width: 86px;
|
|
895
1017
|
}
|
|
896
1018
|
|
|
897
1019
|
.sun-editor .se-btn-select.se-btn-tool-font-size .se-txt {
|
|
@@ -908,15 +1030,15 @@
|
|
|
908
1030
|
border: 0 !important;
|
|
909
1031
|
}
|
|
910
1032
|
.sun-editor .se-btn-input input {
|
|
911
|
-
font-size:
|
|
912
|
-
height:
|
|
1033
|
+
font-size: var(--se-main-font-size);
|
|
1034
|
+
height: var(--se-input-btn-size);
|
|
913
1035
|
border: 0;
|
|
914
1036
|
}
|
|
915
1037
|
.sun-editor .se-btn-input input:hover {
|
|
916
|
-
border: 1px solid
|
|
1038
|
+
border: 1px solid var(--se-main-border-color);
|
|
917
1039
|
}
|
|
918
1040
|
.sun-editor .se-btn-input input:focus {
|
|
919
|
-
border: 1px solid
|
|
1041
|
+
border: 1px solid var(--se-active-color) !important;
|
|
920
1042
|
outline: 0;
|
|
921
1043
|
}
|
|
922
1044
|
|
|
@@ -956,12 +1078,11 @@
|
|
|
956
1078
|
left: 0px;
|
|
957
1079
|
height: auto;
|
|
958
1080
|
z-index: 5;
|
|
959
|
-
border: 1px solid
|
|
960
|
-
border-radius:
|
|
1081
|
+
border: 1px solid var(--se-main-divider-color);
|
|
1082
|
+
border-radius: var(--se-border-radius);
|
|
961
1083
|
padding: 4px;
|
|
962
|
-
background-color:
|
|
963
|
-
|
|
964
|
-
box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
|
|
1084
|
+
background-color: var(--se-main-background-color);
|
|
1085
|
+
box-shadow: 0 3px 9px var(--se-shadow-layer-color);
|
|
965
1086
|
outline: 0 none;
|
|
966
1087
|
}
|
|
967
1088
|
|
|
@@ -984,6 +1105,8 @@
|
|
|
984
1105
|
|
|
985
1106
|
.sun-editor .se-list-inner :not(.se-list-horizontal) li > button {
|
|
986
1107
|
min-width: 100%;
|
|
1108
|
+
width: -webkit-max-content;
|
|
1109
|
+
width: -moz-max-content;
|
|
987
1110
|
width: max-content;
|
|
988
1111
|
}
|
|
989
1112
|
|
|
@@ -1014,7 +1137,7 @@
|
|
|
1014
1137
|
}
|
|
1015
1138
|
|
|
1016
1139
|
.sun-editor .se-list-inner .se-list-checked li.se-checked * {
|
|
1017
|
-
color:
|
|
1140
|
+
color: var(--se-active-dark3-color);
|
|
1018
1141
|
}
|
|
1019
1142
|
|
|
1020
1143
|
.sun-editor .se-list-inner .se-list-checked li.se-checked .se-svg > svg {
|
|
@@ -1044,7 +1167,7 @@
|
|
|
1044
1167
|
}
|
|
1045
1168
|
|
|
1046
1169
|
.sun-editor .se-list-layer.se-list-font-family .default {
|
|
1047
|
-
border-bottom: 1px solid
|
|
1170
|
+
border-bottom: 1px solid var(--se-input-btn-border-color);
|
|
1048
1171
|
}
|
|
1049
1172
|
|
|
1050
1173
|
/* dropdown layer - hr */
|
|
@@ -1055,7 +1178,7 @@
|
|
|
1055
1178
|
.sun-editor .se-list-layer.se-list-line hr {
|
|
1056
1179
|
border-width: 1px 0 0;
|
|
1057
1180
|
height: 1px;
|
|
1058
|
-
border-color:
|
|
1181
|
+
border-color: var(--se-edit-hr-color);
|
|
1059
1182
|
}
|
|
1060
1183
|
|
|
1061
1184
|
/* dropdown layer - align */
|
|
@@ -1086,11 +1209,11 @@
|
|
|
1086
1209
|
}
|
|
1087
1210
|
|
|
1088
1211
|
.sun-editor .se-list-layer.se-list-format ul p {
|
|
1089
|
-
font-size:
|
|
1212
|
+
font-size: var(--se-main-font-size);
|
|
1090
1213
|
}
|
|
1091
1214
|
|
|
1092
1215
|
.sun-editor .se-list-layer.se-list-format ul div {
|
|
1093
|
-
font-size:
|
|
1216
|
+
font-size: var(--se-main-font-size);
|
|
1094
1217
|
padding: 4px 2px;
|
|
1095
1218
|
}
|
|
1096
1219
|
|
|
@@ -1125,30 +1248,30 @@
|
|
|
1125
1248
|
}
|
|
1126
1249
|
|
|
1127
1250
|
.sun-editor .se-list-layer.se-list-format ul blockquote {
|
|
1128
|
-
font-size:
|
|
1129
|
-
color:
|
|
1251
|
+
font-size: var(--se-main-font-size);
|
|
1252
|
+
color: var(--se-edit-font-quote);
|
|
1130
1253
|
height: 22px;
|
|
1131
1254
|
margin: 0;
|
|
1132
1255
|
background-color: transparent;
|
|
1133
1256
|
line-height: 1.5;
|
|
1134
1257
|
border-style: solid;
|
|
1135
|
-
border-color:
|
|
1258
|
+
border-color: var(--se-edit-border-dark);
|
|
1136
1259
|
padding: 0 0 0 7px;
|
|
1137
1260
|
border-width: 0;
|
|
1138
1261
|
border-left-width: 5px;
|
|
1139
1262
|
}
|
|
1140
1263
|
|
|
1141
1264
|
.sun-editor .se-list-layer.se-list-format ul pre {
|
|
1142
|
-
font-size:
|
|
1143
|
-
color:
|
|
1265
|
+
font-size: var(--se-main-font-size);
|
|
1266
|
+
color: var(--se-edit-font-pre);
|
|
1144
1267
|
padding: 4px 11px;
|
|
1145
1268
|
margin: 0;
|
|
1146
|
-
background-color:
|
|
1147
|
-
border: 1px solid
|
|
1148
|
-
border-radius:
|
|
1269
|
+
background-color: var(--se-edit-background-pre);
|
|
1270
|
+
border: 1px solid var(--se-edit-border-light);
|
|
1271
|
+
border-radius: var(--se-border-radius);
|
|
1149
1272
|
}
|
|
1150
1273
|
|
|
1151
|
-
.sun-editor
|
|
1274
|
+
.sun-editor-editable[contenteditable='true'].se-copy-format-cursor {
|
|
1152
1275
|
cursor: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjRweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMjQgMTYiIHZlcnNpb249IjEuMSI+CjxnIGlkPSJzdXJmYWNlMSI+CjxwYXRoIHN0eWxlPSIgc3Ryb2tlOm5vbmU7ZmlsbC1ydWxlOm5vbnplcm87ZmlsbDpyZ2IoMCUsMCUsMCUpO2ZpbGwtb3BhY2l0eToxOyIgZD0iTSA0LjMzMjAzMSAxMi42Njc5NjkgQyA0LjMzMjAzMSAxMy4wMzUxNTYgNC40ODQzNzUgMTMuMzMyMDMxIDQuNjY3OTY5IDEzLjMzMjAzMSBMIDUuMzMyMDMxIDEzLjMzMjAzMSBMIDUuMzMyMDMxIDE0LjY2Nzk2OSBMIDQuNSAxNC42Njc5NjkgQyA0LjMxNjQwNiAxNC42Njc5NjkgNCAxNC4zNjcxODggNCAxNCBDIDQgMTQuMzY3MTg4IDMuNjgzNTk0IDE0LjY2Nzk2OSAzLjUgMTQuNjY3OTY5IEwgMi42Njc5NjkgMTQuNjY3OTY5IEwgMi42Njc5NjkgMTMuMzMyMDMxIEwgMy4zMzIwMzEgMTMuMzMyMDMxIEMgMy41MTU2MjUgMTMuMzMyMDMxIDMuNjY3OTY5IDEzLjAzNTE1NiAzLjY2Nzk2OSAxMi42Njc5NjkgTCAzLjY2Nzk2OSAzLjMzMjAzMSBDIDMuNjY3OTY5IDIuOTY0ODQ0IDMuNTE1NjI1IDIuNjY3OTY5IDMuMzMyMDMxIDIuNjY3OTY5IEwgMi42Njc5NjkgMi42Njc5NjkgTCAyLjY2Nzk2OSAxLjMzMjAzMSBMIDMuNSAxLjMzMjAzMSBDIDMuNjgzNTk0IDEuMzMyMDMxIDQgMS42MzI4MTIgNCAyIEMgNCAxLjYzMjgxMiA0LjMxNjQwNiAxLjMzMjAzMSA0LjUgMS4zMzIwMzEgTCA1LjMzMjAzMSAxLjMzMjAzMSBMIDUuMzMyMDMxIDIuNjY3OTY5IEwgNC42Njc5NjkgMi42Njc5NjkgQyA0LjQ4NDM3NSAyLjY2Nzk2OSA0LjMzMjAzMSAyLjk2NDg0NCA0LjMzMjAzMSAzLjMzMjAzMSBaIE0gNC4zMzIwMzEgMTIuNjY3OTY5ICIvPgo8cGF0aCBzdHlsZT0iIHN0cm9rZTpub25lO2ZpbGwtcnVsZTpub256ZXJvO2ZpbGw6cmdiKDAlLDAlLDAlKTtmaWxsLW9wYWNpdHk6MTsiIGQ9Ik0gMjAgMi42Njc5NjkgTCAyMCAyIEMgMjAgMS42MzI4MTIgMTkuNzAzMTI1IDEuMzMyMDMxIDE5LjMzMjAzMSAxLjMzMjAzMSBMIDExLjMzMjAzMSAxLjMzMjAzMSBDIDEwLjk2NDg0NCAxLjMzMjAzMSAxMC42Njc5NjkgMS42MzI4MTIgMTAuNjY3OTY5IDIgTCAxMC42Njc5NjkgNC42Njc5NjkgQyAxMC42Njc5NjkgNS4wMzUxNTYgMTAuOTY0ODQ0IDUuMzMyMDMxIDExLjMzMjAzMSA1LjMzMjAzMSBMIDE5LjMzMjAzMSA1LjMzMjAzMSBDIDE5LjcwMzEyNSA1LjMzMjAzMSAyMCA1LjAzNTE1NiAyMCA0LjY2Nzk2OSBMIDIwIDQgTCAyMC42Njc5NjkgNCBMIDIwLjY2Nzk2OSA2LjY2Nzk2OSBMIDE0IDYuNjY3OTY5IEwgMTQgMTQgQyAxNCAxNC4zNjcxODggMTQuMjk2ODc1IDE0LjY2Nzk2OSAxNC42Njc5NjkgMTQuNjY3OTY5IEwgMTYgMTQuNjY3OTY5IEMgMTYuMzY3MTg4IDE0LjY2Nzk2OSAxNi42Njc5NjkgMTQuMzY3MTg4IDE2LjY2Nzk2OSAxNCBMIDE2LjY2Nzk2OSA4IEwgMjIgOCBMIDIyIDIuNjY3OTY5IFogTSAyMCAyLjY2Nzk2OSAiLz4KPC9nPgo8L3N2Zz4K')
|
|
1153
1276
|
0 8,
|
|
1154
1277
|
text;
|
|
@@ -1186,7 +1309,7 @@
|
|
|
1186
1309
|
width: 4px;
|
|
1187
1310
|
height: 100%;
|
|
1188
1311
|
margin-left: -2px;
|
|
1189
|
-
background-color:
|
|
1312
|
+
background-color: var(--se-active-dark-color);
|
|
1190
1313
|
opacity: 0.4;
|
|
1191
1314
|
pointer-events: none;
|
|
1192
1315
|
display: none;
|
|
@@ -1199,7 +1322,7 @@
|
|
|
1199
1322
|
width: 100%;
|
|
1200
1323
|
height: 5px;
|
|
1201
1324
|
margin-top: -3px;
|
|
1202
|
-
background-color:
|
|
1325
|
+
background-color: var(--se-active-dark-color);
|
|
1203
1326
|
opacity: 0.4;
|
|
1204
1327
|
pointer-events: none;
|
|
1205
1328
|
display: none;
|
|
@@ -1211,7 +1334,7 @@
|
|
|
1211
1334
|
width: 4px;
|
|
1212
1335
|
height: 100%;
|
|
1213
1336
|
margin-left: -1px;
|
|
1214
|
-
border-left: 1px dashed
|
|
1337
|
+
border-left: 1px dashed var(--se-drag-over-color);
|
|
1215
1338
|
background-color: transparent;
|
|
1216
1339
|
opacity: 0.8;
|
|
1217
1340
|
pointer-events: none;
|
|
@@ -1223,7 +1346,7 @@
|
|
|
1223
1346
|
width: 100%;
|
|
1224
1347
|
height: 4px;
|
|
1225
1348
|
margin-top: -1px;
|
|
1226
|
-
border-top: 1px dashed
|
|
1349
|
+
border-top: 1px dashed var(--se-drag-over-color);
|
|
1227
1350
|
background-color: transparent;
|
|
1228
1351
|
opacity: 0.8;
|
|
1229
1352
|
pointer-events: none;
|
|
@@ -1234,22 +1357,22 @@
|
|
|
1234
1357
|
.sun-editor .se-selector-table {
|
|
1235
1358
|
display: none;
|
|
1236
1359
|
position: absolute;
|
|
1237
|
-
|
|
1360
|
+
overflow: hidden;
|
|
1361
|
+
top: var(--se-input-btn-size);
|
|
1238
1362
|
left: 1px;
|
|
1239
1363
|
z-index: 5;
|
|
1240
1364
|
padding: 5px 0;
|
|
1241
1365
|
float: left;
|
|
1242
1366
|
margin: 2px 0 0;
|
|
1243
|
-
font-size:
|
|
1367
|
+
font-size: var(--se-main-font-size);
|
|
1244
1368
|
text-align: left;
|
|
1245
1369
|
list-style: none;
|
|
1246
|
-
background-color:
|
|
1370
|
+
background-color: var(--se-main-background-color);
|
|
1247
1371
|
-webkit-background-clip: padding-box;
|
|
1248
1372
|
background-clip: padding-box;
|
|
1249
|
-
border: 1px solid
|
|
1250
|
-
border-radius:
|
|
1251
|
-
|
|
1252
|
-
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
1373
|
+
border: 1px solid var(--se-input-btn-border-color);
|
|
1374
|
+
border-radius: var(--se-border-radius);
|
|
1375
|
+
box-shadow: 0 6px 12px var(--se-shadow-layer-color);
|
|
1253
1376
|
}
|
|
1254
1377
|
|
|
1255
1378
|
.sun-editor .se-selector-table .se-table-size {
|
|
@@ -1297,6 +1420,8 @@
|
|
|
1297
1420
|
/* dropdown layer --- color selector button */
|
|
1298
1421
|
.sun-editor .se-list-layer .se-selector-color {
|
|
1299
1422
|
display: block;
|
|
1423
|
+
width: -webkit-max-content;
|
|
1424
|
+
width: -moz-max-content;
|
|
1300
1425
|
width: max-content;
|
|
1301
1426
|
max-width: 252px;
|
|
1302
1427
|
height: auto;
|
|
@@ -1319,18 +1444,25 @@
|
|
|
1319
1444
|
|
|
1320
1445
|
.sun-editor .se-list-layer .se-selector-color .se-color-pallet button {
|
|
1321
1446
|
display: block;
|
|
1447
|
+
cursor: default;
|
|
1322
1448
|
width: 28px;
|
|
1323
1449
|
height: 28px;
|
|
1324
1450
|
margin: 0;
|
|
1325
1451
|
border-radius: 0;
|
|
1326
|
-
border:
|
|
1452
|
+
border: 0;
|
|
1327
1453
|
text-indent: -9999px;
|
|
1454
|
+
transition: transform 0.2s, box-shadow 0.2s;
|
|
1328
1455
|
}
|
|
1329
1456
|
|
|
1330
1457
|
.sun-editor .se-list-layer .se-selector-color .se-color-pallet button.active,
|
|
1331
|
-
.sun-editor .se-list-layer .se-selector-color .se-color-pallet button:hover
|
|
1332
|
-
|
|
1333
|
-
|
|
1458
|
+
.sun-editor .se-list-layer .se-selector-color .se-color-pallet button:hover {
|
|
1459
|
+
box-shadow: 0 0 0 1px transparent inset;
|
|
1460
|
+
transform: scale(0.8);
|
|
1461
|
+
}
|
|
1462
|
+
.sun-editor .se-list-layer .se-selector-color .se-color-pallet button.active > svg {
|
|
1463
|
+
color: #fff;
|
|
1464
|
+
stroke: #000;
|
|
1465
|
+
stroke-width: 2px;
|
|
1334
1466
|
}
|
|
1335
1467
|
|
|
1336
1468
|
/* --- hue slider -------------------------------------------------------------- */
|
|
@@ -1426,12 +1558,12 @@
|
|
|
1426
1558
|
flex: auto;
|
|
1427
1559
|
display: inline-block;
|
|
1428
1560
|
width: auto;
|
|
1429
|
-
height:
|
|
1430
|
-
font-size:
|
|
1561
|
+
height: var(--se-input-btn-size);
|
|
1562
|
+
font-size: var(--se-btn-font-size);
|
|
1431
1563
|
margin: 1px 0 1px 0;
|
|
1432
1564
|
padding: 0 4px;
|
|
1433
1565
|
/* border-radius: 0.25rem; */
|
|
1434
|
-
border: 1px solid
|
|
1566
|
+
border: 1px solid var(--se-input-btn-border-color);
|
|
1435
1567
|
}
|
|
1436
1568
|
|
|
1437
1569
|
.sun-editor .se-btn-group input {
|
|
@@ -1441,8 +1573,8 @@
|
|
|
1441
1573
|
.sun-editor .se-form-group button,
|
|
1442
1574
|
.sun-editor .se-dropdown-form-group button {
|
|
1443
1575
|
float: right;
|
|
1444
|
-
width:
|
|
1445
|
-
height:
|
|
1576
|
+
width: var(--se-input-btn-size);
|
|
1577
|
+
height: var(--se-input-btn-size);
|
|
1446
1578
|
margin: 1px;
|
|
1447
1579
|
}
|
|
1448
1580
|
|
|
@@ -1470,22 +1602,23 @@
|
|
|
1470
1602
|
}
|
|
1471
1603
|
|
|
1472
1604
|
.sun-editor .se-form-group-label label {
|
|
1473
|
-
font-size:
|
|
1605
|
+
font-size: var(--se-main-font-size);
|
|
1474
1606
|
font-weight: bold;
|
|
1475
1607
|
}
|
|
1476
1608
|
|
|
1477
1609
|
/** form group - dropdown input */
|
|
1478
1610
|
.sun-editor .se-dropdown .se-form-group input {
|
|
1479
|
-
height:
|
|
1480
|
-
color:
|
|
1611
|
+
height: var(--se-input-btn-size);
|
|
1612
|
+
color: var(--se-dropdown-font-color);
|
|
1481
1613
|
}
|
|
1482
1614
|
|
|
1483
1615
|
.sun-editor .se-dropdown .se-form-group .se-color-input:focus {
|
|
1484
|
-
border-bottom: 3px solid
|
|
1616
|
+
border-bottom: 3px solid var(--se-main-outline-color);
|
|
1485
1617
|
}
|
|
1486
1618
|
|
|
1487
1619
|
/** --- editor area */
|
|
1488
1620
|
.sun-editor .se-wrapper {
|
|
1621
|
+
display: flex;
|
|
1489
1622
|
position: relative !important;
|
|
1490
1623
|
width: 100%;
|
|
1491
1624
|
height: auto;
|
|
@@ -1495,8 +1628,9 @@
|
|
|
1495
1628
|
|
|
1496
1629
|
.sun-editor .se-wrapper .se-wrapper-inner {
|
|
1497
1630
|
width: 100%;
|
|
1631
|
+
max-width: 100%;
|
|
1498
1632
|
height: 100%;
|
|
1499
|
-
min-height:
|
|
1633
|
+
min-height: var(--se-min-height);
|
|
1500
1634
|
overflow-y: auto;
|
|
1501
1635
|
overflow-x: auto;
|
|
1502
1636
|
-webkit-overflow-scrolling: touch;
|
|
@@ -1512,20 +1646,23 @@
|
|
|
1512
1646
|
outline: none;
|
|
1513
1647
|
}
|
|
1514
1648
|
|
|
1649
|
+
.sun-editor .se-wrapper .se-code-wrapper {
|
|
1650
|
+
width: 100%;
|
|
1651
|
+
}
|
|
1515
1652
|
.sun-editor .se-wrapper .se-code-wrapper .se-code-view-line {
|
|
1516
|
-
background-color:
|
|
1517
|
-
color:
|
|
1653
|
+
background-color: var(--se-code-view-color);
|
|
1654
|
+
color: var(--se-code-view-background-color);
|
|
1518
1655
|
text-align: right;
|
|
1519
1656
|
width: 50px;
|
|
1520
|
-
font-size:
|
|
1657
|
+
font-size: var(--se-main-font-size);
|
|
1521
1658
|
padding-right: 6px;
|
|
1522
1659
|
overflow: hidden;
|
|
1523
1660
|
}
|
|
1524
1661
|
|
|
1525
1662
|
.sun-editor .se-wrapper .se-code-viewer {
|
|
1526
|
-
background-color:
|
|
1527
|
-
color:
|
|
1528
|
-
font-size:
|
|
1663
|
+
background-color: var(--se-code-view-background-color);
|
|
1664
|
+
color: var(--se-code-view-color);
|
|
1665
|
+
font-size: var(--se-main-font-size);
|
|
1529
1666
|
word-break: break-all;
|
|
1530
1667
|
padding: 4px;
|
|
1531
1668
|
margin: 0;
|
|
@@ -1534,9 +1671,12 @@
|
|
|
1534
1671
|
|
|
1535
1672
|
.sun-editor .se-wrapper .se-wrapper-wysiwyg {
|
|
1536
1673
|
display: block;
|
|
1674
|
+
position: relative;
|
|
1675
|
+
caret-color: var(--se-caret-color);
|
|
1537
1676
|
}
|
|
1538
1677
|
|
|
1539
1678
|
.sun-editor-editable[contenteditable='true'] .se-disable-pointer *,
|
|
1679
|
+
.sun-editor-editable[contenteditable='true'] .se-math *,
|
|
1540
1680
|
.sun-editor-editable[contenteditable='true'] .katex * {
|
|
1541
1681
|
pointer-events: none;
|
|
1542
1682
|
}
|
|
@@ -1548,19 +1688,15 @@
|
|
|
1548
1688
|
white-space: nowrap;
|
|
1549
1689
|
text-overflow: ellipsis;
|
|
1550
1690
|
z-index: 1;
|
|
1551
|
-
color:
|
|
1552
|
-
font-size:
|
|
1691
|
+
color: var(--se-main-outline-color);
|
|
1692
|
+
font-size: var(--se-main-font-size);
|
|
1553
1693
|
line-height: 1.5;
|
|
1554
1694
|
top: 0;
|
|
1555
1695
|
left: 0;
|
|
1556
1696
|
right: 0;
|
|
1557
1697
|
overflow: hidden;
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
padding-left: 16px;
|
|
1561
|
-
margin-left: 0px;
|
|
1562
|
-
padding-right: 16px;
|
|
1563
|
-
margin-right: 0px;
|
|
1698
|
+
padding: var(--se-edit-inner-padding);
|
|
1699
|
+
margin: 0;
|
|
1564
1700
|
pointer-events: none;
|
|
1565
1701
|
backface-visibility: hidden;
|
|
1566
1702
|
-webkit-backface-visibility: hidden;
|
|
@@ -1573,9 +1709,9 @@
|
|
|
1573
1709
|
width: auto;
|
|
1574
1710
|
height: auto;
|
|
1575
1711
|
min-height: 16px;
|
|
1576
|
-
border-top: 1px solid
|
|
1712
|
+
border-top: 1px solid var(--se-main-divider-color);
|
|
1577
1713
|
padding: 0 4px;
|
|
1578
|
-
background-color:
|
|
1714
|
+
background-color: var(--se-main-background-color);
|
|
1579
1715
|
cursor: ns-resize;
|
|
1580
1716
|
}
|
|
1581
1717
|
|
|
@@ -1598,6 +1734,7 @@
|
|
|
1598
1734
|
-webkit-user-select: none;
|
|
1599
1735
|
-ms-user-select: none;
|
|
1600
1736
|
z-index: 2147483647;
|
|
1737
|
+
background-color: transparent;
|
|
1601
1738
|
}
|
|
1602
1739
|
|
|
1603
1740
|
/** status bar - nabigation */
|
|
@@ -1606,10 +1743,10 @@
|
|
|
1606
1743
|
position: relative;
|
|
1607
1744
|
width: auto;
|
|
1608
1745
|
height: auto;
|
|
1609
|
-
color:
|
|
1746
|
+
color: var(--se-statusbar-font-color);
|
|
1610
1747
|
margin: 0;
|
|
1611
1748
|
padding: 0;
|
|
1612
|
-
font-size:
|
|
1749
|
+
font-size: var(--se-statusbar-font-size);
|
|
1613
1750
|
line-height: 1.5;
|
|
1614
1751
|
background: transparent;
|
|
1615
1752
|
}
|
|
@@ -1623,13 +1760,14 @@
|
|
|
1623
1760
|
height: auto;
|
|
1624
1761
|
margin: 0;
|
|
1625
1762
|
padding: 0;
|
|
1626
|
-
color:
|
|
1627
|
-
font-size:
|
|
1763
|
+
color: var(--se-statusbar-font-color);
|
|
1764
|
+
font-size: var(--se-main-font-size);
|
|
1628
1765
|
background: transparent;
|
|
1629
1766
|
}
|
|
1630
1767
|
|
|
1631
1768
|
.sun-editor .se-status-bar .se-char-counter-wrapper.se-blink {
|
|
1632
|
-
color:
|
|
1769
|
+
color: var(--se-error-color);
|
|
1770
|
+
-webkit-animation: blinker 0.2s linear infinite;
|
|
1633
1771
|
animation: blinker 0.2s linear infinite;
|
|
1634
1772
|
}
|
|
1635
1773
|
|
|
@@ -1638,7 +1776,7 @@
|
|
|
1638
1776
|
}
|
|
1639
1777
|
|
|
1640
1778
|
/* --- modal ---------------------------------------------------------- */
|
|
1641
|
-
.sun-editor .se-modal {
|
|
1779
|
+
.sun-editor .se-modal-area {
|
|
1642
1780
|
position: fixed;
|
|
1643
1781
|
display: none;
|
|
1644
1782
|
top: 0;
|
|
@@ -1647,28 +1785,31 @@
|
|
|
1647
1785
|
height: 100%;
|
|
1648
1786
|
z-index: 2147483647;
|
|
1649
1787
|
}
|
|
1788
|
+
.sun-editor .se-modal-area.se-backdrop-show {
|
|
1789
|
+
display: block;
|
|
1790
|
+
}
|
|
1650
1791
|
|
|
1651
|
-
.sun-editor .se-modal label,
|
|
1652
|
-
.sun-editor .se-modal input,
|
|
1653
|
-
.sun-editor .se-modal button {
|
|
1654
|
-
font-size:
|
|
1792
|
+
.sun-editor .se-modal-area label,
|
|
1793
|
+
.sun-editor .se-modal-area input,
|
|
1794
|
+
.sun-editor .se-modal-area button {
|
|
1795
|
+
font-size: var(--se-modal-input-font-size);
|
|
1655
1796
|
line-height: 1.5;
|
|
1656
|
-
color:
|
|
1797
|
+
color: var(--se-main-color);
|
|
1657
1798
|
margin: 0;
|
|
1658
1799
|
}
|
|
1659
1800
|
|
|
1660
|
-
.sun-editor .se-modal .se-modal-back {
|
|
1801
|
+
.sun-editor .se-modal-area .se-modal-back {
|
|
1661
1802
|
position: absolute;
|
|
1662
1803
|
width: 100%;
|
|
1663
1804
|
height: 100%;
|
|
1664
1805
|
top: 0;
|
|
1665
1806
|
left: 0;
|
|
1666
|
-
background-color:
|
|
1807
|
+
background-color: var(--se-overlay-background-color);
|
|
1667
1808
|
opacity: 0.5;
|
|
1668
1809
|
}
|
|
1669
1810
|
|
|
1670
1811
|
/* modal - modal */
|
|
1671
|
-
.sun-editor .se-modal .se-modal-inner {
|
|
1812
|
+
.sun-editor .se-modal-area .se-modal-inner {
|
|
1672
1813
|
position: absolute;
|
|
1673
1814
|
width: 100%;
|
|
1674
1815
|
height: 100%;
|
|
@@ -1676,199 +1817,331 @@
|
|
|
1676
1817
|
left: 0;
|
|
1677
1818
|
}
|
|
1678
1819
|
|
|
1679
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-content {
|
|
1820
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-content {
|
|
1680
1821
|
position: relative;
|
|
1681
1822
|
display: none;
|
|
1682
1823
|
width: auto;
|
|
1683
1824
|
max-width: 500px;
|
|
1684
1825
|
margin: 1.75rem auto;
|
|
1685
|
-
background-color:
|
|
1826
|
+
background-color: var(--se-modal-background-color);
|
|
1827
|
+
color: var(--se-modal-color);
|
|
1686
1828
|
-webkit-background-clip: padding-box;
|
|
1687
1829
|
background-clip: padding-box;
|
|
1688
1830
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
1689
|
-
border-radius:
|
|
1831
|
+
border-radius: var(--se-border-radius);
|
|
1690
1832
|
outline: 0;
|
|
1691
|
-
|
|
1692
|
-
|
|
1833
|
+
box-shadow: 0 3px 9px var(--se-shadow-layer-color);
|
|
1834
|
+
}
|
|
1835
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-content.se-modal-show {
|
|
1836
|
+
display: block;
|
|
1837
|
+
}
|
|
1838
|
+
|
|
1839
|
+
/* modal - resize handle */
|
|
1840
|
+
/* modal - resize handle - w */
|
|
1841
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-content .se-modal-resize-handle-w {
|
|
1842
|
+
position: relative;
|
|
1843
|
+
display: block;
|
|
1844
|
+
width: 100%;
|
|
1845
|
+
height: 10px;
|
|
1846
|
+
cursor: ns-resize;
|
|
1847
|
+
bottom: 0;
|
|
1848
|
+
margin: 0;
|
|
1849
|
+
}
|
|
1850
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-content .se-modal-resize-handle-w::before {
|
|
1851
|
+
content: '';
|
|
1852
|
+
position: relative;
|
|
1853
|
+
display: block;
|
|
1854
|
+
width: 100%;
|
|
1855
|
+
height: 1px;
|
|
1856
|
+
background-color: var(--se-main-outline-color);
|
|
1857
|
+
margin: 1px 0;
|
|
1858
|
+
}
|
|
1859
|
+
|
|
1860
|
+
/* modal - resize handle - h */
|
|
1861
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-content .se-modal-resize-handle-h {
|
|
1862
|
+
position: absolute;
|
|
1863
|
+
display: block;
|
|
1864
|
+
width: 10px;
|
|
1865
|
+
top: 15px;
|
|
1866
|
+
height: calc(100% - 27px);
|
|
1867
|
+
cursor: ew-resize;
|
|
1868
|
+
right: 0;
|
|
1869
|
+
}
|
|
1870
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-content .se-modal-resize-handle-h::before {
|
|
1871
|
+
content: '';
|
|
1872
|
+
position: relative;
|
|
1873
|
+
display: block;
|
|
1874
|
+
width: 1px;
|
|
1875
|
+
height: 100%;
|
|
1876
|
+
background-color: var(--se-main-outline-color);
|
|
1877
|
+
margin: 0 1px;
|
|
1878
|
+
}
|
|
1879
|
+
|
|
1880
|
+
/* modal - resize handle - c */
|
|
1881
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-content .se-modal-resize-handle-c {
|
|
1882
|
+
position: absolute;
|
|
1883
|
+
display: block;
|
|
1884
|
+
width: 9px;
|
|
1885
|
+
height: 9px;
|
|
1886
|
+
cursor: nwse-resize;
|
|
1887
|
+
right: 4px;
|
|
1888
|
+
bottom: 1px;
|
|
1889
|
+
}
|
|
1890
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-content .se-modal-resize-handle-c::before,
|
|
1891
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-content .se-modal-resize-handle-c::after {
|
|
1892
|
+
content: '';
|
|
1893
|
+
position: absolute;
|
|
1894
|
+
display: block;
|
|
1895
|
+
background-color: var(--se-main-outline-color);
|
|
1896
|
+
}
|
|
1897
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-content .se-modal-resize-handle-c::before {
|
|
1898
|
+
width: 100%;
|
|
1899
|
+
height: 2px;
|
|
1900
|
+
top: 50%;
|
|
1901
|
+
left: 0;
|
|
1902
|
+
transform: translateY(-50%);
|
|
1903
|
+
}
|
|
1904
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-content .se-modal-resize-handle-c::after {
|
|
1905
|
+
width: 2px;
|
|
1906
|
+
height: 100%;
|
|
1907
|
+
left: 50%;
|
|
1908
|
+
top: 0;
|
|
1909
|
+
transform: translateX(-50%);
|
|
1910
|
+
}
|
|
1911
|
+
|
|
1912
|
+
/* modal - resize handle - hover, active */
|
|
1913
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-content .se-modal-resize-handle-w:hover::before,
|
|
1914
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-content .se-modal-resize-handle-w.active::before,
|
|
1915
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-content .se-modal-resize-handle-h:hover::before,
|
|
1916
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-content .se-modal-resize-handle-h.active::before,
|
|
1917
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-content .se-modal-resize-handle-c:hover::before,
|
|
1918
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-content .se-modal-resize-handle-c:hover::after,
|
|
1919
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-content .se-modal-resize-handle-c.active::before,
|
|
1920
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-content .se-modal-resize-handle-c.active::after {
|
|
1921
|
+
background-color: var(--se-active-dark4-color);
|
|
1922
|
+
}
|
|
1923
|
+
|
|
1924
|
+
/* modal - large */
|
|
1925
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-content.se-modal-large {
|
|
1926
|
+
max-width: 750px;
|
|
1927
|
+
width: 100%;
|
|
1928
|
+
}
|
|
1929
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-content.se-modal-large .se-modal-body {
|
|
1930
|
+
height: 50vh;
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1933
|
+
/* modal - responsive */
|
|
1934
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-content.se-modal-responsive {
|
|
1935
|
+
width: -webkit-max-content;
|
|
1936
|
+
width: -moz-max-content;
|
|
1937
|
+
width: max-content;
|
|
1938
|
+
height: -webkit-max-content;
|
|
1939
|
+
height: -moz-max-content;
|
|
1940
|
+
height: max-content;
|
|
1941
|
+
max-width: 100%;
|
|
1942
|
+
max-height: 90vh;
|
|
1693
1943
|
}
|
|
1694
1944
|
|
|
1695
1945
|
@media screen and (max-width: 509px) {
|
|
1696
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-content {
|
|
1697
|
-
width: 100
|
|
1946
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-content {
|
|
1947
|
+
width: 100% !important;
|
|
1948
|
+
min-width: 100% !important;
|
|
1949
|
+
max-width: 100% !important;
|
|
1698
1950
|
}
|
|
1699
1951
|
}
|
|
1700
1952
|
|
|
1701
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-content
|
|
1953
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-content.se-modal-responsive .se-modal-resize-form {
|
|
1954
|
+
max-width: 100%;
|
|
1955
|
+
}
|
|
1956
|
+
|
|
1957
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-content label {
|
|
1702
1958
|
display: inline-block;
|
|
1703
1959
|
max-width: 100%;
|
|
1704
1960
|
margin-bottom: 5px;
|
|
1705
1961
|
font-weight: bold;
|
|
1706
1962
|
}
|
|
1707
1963
|
|
|
1708
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-content .se-btn-primary {
|
|
1964
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-content .se-btn-primary {
|
|
1709
1965
|
display: inline-block;
|
|
1710
1966
|
padding: 5px 11px;
|
|
1711
1967
|
margin: 0 0 10px 0 !important;
|
|
1712
|
-
font-size:
|
|
1968
|
+
font-size: var(--se-modal-input-font-size);
|
|
1713
1969
|
font-weight: normal;
|
|
1714
|
-
line-height: 1.
|
|
1970
|
+
line-height: 1.4;
|
|
1715
1971
|
text-align: center;
|
|
1716
1972
|
white-space: nowrap;
|
|
1717
1973
|
vertical-align: middle;
|
|
1718
|
-
-ms-touch-action: manipulation;
|
|
1719
1974
|
touch-action: manipulation;
|
|
1720
|
-
border-radius:
|
|
1975
|
+
border-radius: var(--se-border-radius);
|
|
1721
1976
|
}
|
|
1722
1977
|
|
|
1723
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-header {
|
|
1978
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-header {
|
|
1724
1979
|
height: 50px;
|
|
1725
1980
|
padding: 6px 15px;
|
|
1726
|
-
border-bottom: 1px solid
|
|
1981
|
+
border-bottom: 1px solid var(--se-modal-border-color);
|
|
1727
1982
|
}
|
|
1728
1983
|
|
|
1729
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-header .se-close-btn {
|
|
1984
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-header .se-close-btn {
|
|
1730
1985
|
float: right;
|
|
1731
1986
|
font-weight: bold;
|
|
1732
|
-
text-shadow: 0 1px 0
|
|
1987
|
+
text-shadow: 0 1px 0 var(--se-main-background-color);
|
|
1733
1988
|
filter: alpha(opacity=100);
|
|
1734
1989
|
opacity: 1;
|
|
1735
1990
|
}
|
|
1736
1991
|
|
|
1737
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-header .se-modal-title {
|
|
1992
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-header .se-modal-title {
|
|
1738
1993
|
float: left;
|
|
1739
|
-
font-size:
|
|
1994
|
+
font-size: var(--se-modal-title-font-size);
|
|
1740
1995
|
font-weight: bold;
|
|
1741
1996
|
margin: 0;
|
|
1742
1997
|
padding: 0;
|
|
1743
1998
|
line-height: 2.5;
|
|
1744
1999
|
}
|
|
1745
2000
|
|
|
1746
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-body {
|
|
2001
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-body {
|
|
1747
2002
|
position: relative;
|
|
1748
|
-
padding: 15px 15px
|
|
2003
|
+
padding: 15px 15px 10px 15px;
|
|
2004
|
+
}
|
|
2005
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-body-top {
|
|
2006
|
+
position: relative;
|
|
2007
|
+
padding: 0px 15px 5px 15px;
|
|
2008
|
+
}
|
|
2009
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-body-bottom {
|
|
2010
|
+
position: relative;
|
|
2011
|
+
padding: 5px 15px 0px 15px;
|
|
1749
2012
|
}
|
|
1750
2013
|
|
|
1751
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form {
|
|
2014
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form {
|
|
1752
2015
|
margin-bottom: 10px;
|
|
1753
2016
|
}
|
|
1754
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form .se-modal-flex-form {
|
|
2017
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-modal-flex-form {
|
|
1755
2018
|
position: relative;
|
|
1756
2019
|
display: flex;
|
|
1757
2020
|
}
|
|
1758
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form .se-modal-flex-form .se-
|
|
2021
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-modal-flex-form .se-modal-flex-group {
|
|
2022
|
+
border: 1px dashed var(--se-modal-border-color);
|
|
2023
|
+
padding: 4px;
|
|
2024
|
+
padding-right: 0;
|
|
2025
|
+
margin-right: 4px;
|
|
2026
|
+
}
|
|
2027
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-modal-flex-form .se-btn {
|
|
1759
2028
|
margin-right: 4px;
|
|
1760
2029
|
margin-left: 0;
|
|
1761
|
-
border: 1px solid
|
|
2030
|
+
border: 1px solid var(--se-input-btn-border-color);
|
|
1762
2031
|
}
|
|
1763
2032
|
|
|
1764
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form-footer {
|
|
2033
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form-footer {
|
|
1765
2034
|
margin-top: 10px;
|
|
1766
2035
|
margin-bottom: 0;
|
|
1767
2036
|
}
|
|
1768
2037
|
|
|
1769
|
-
.sun-editor .se-modal .se-modal-inner input:disabled {
|
|
1770
|
-
background-color:
|
|
2038
|
+
.sun-editor .se-modal-area .se-modal-inner input:disabled {
|
|
2039
|
+
background-color: var(--se-modal-input-disabled-background-color);
|
|
1771
2040
|
}
|
|
1772
2041
|
|
|
1773
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-size-text {
|
|
2042
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-size-text {
|
|
1774
2043
|
width: 100%;
|
|
1775
2044
|
}
|
|
1776
2045
|
|
|
1777
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-size-text .size-w {
|
|
1778
|
-
width:
|
|
2046
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-size-text .size-w {
|
|
2047
|
+
width: var(--se-modal-input-width);
|
|
1779
2048
|
text-align: center;
|
|
1780
2049
|
}
|
|
1781
2050
|
|
|
1782
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-size-text .size-h {
|
|
1783
|
-
width:
|
|
2051
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-size-text .size-h {
|
|
2052
|
+
width: var(--se-modal-input-width);
|
|
1784
2053
|
text-align: center;
|
|
1785
2054
|
}
|
|
1786
2055
|
|
|
1787
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-size-x {
|
|
2056
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-size-x {
|
|
1788
2057
|
margin: 0 8px 0 8px;
|
|
1789
2058
|
width: 25px;
|
|
1790
2059
|
text-align: center;
|
|
1791
2060
|
}
|
|
1792
2061
|
|
|
1793
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-footer {
|
|
2062
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-footer {
|
|
1794
2063
|
height: auto;
|
|
1795
2064
|
min-height: 55px;
|
|
1796
2065
|
padding: 10px 15px 0px 15px;
|
|
1797
2066
|
text-align: right;
|
|
1798
|
-
border-top: 1px solid
|
|
2067
|
+
border-top: 1px solid var(--se-modal-border-color);
|
|
2068
|
+
}
|
|
2069
|
+
|
|
2070
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-footer .se-btn {
|
|
2071
|
+
float: left;
|
|
1799
2072
|
}
|
|
1800
2073
|
|
|
1801
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-footer > div {
|
|
2074
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-footer > div {
|
|
1802
2075
|
float: left;
|
|
1803
2076
|
line-height: 1.7;
|
|
1804
2077
|
}
|
|
1805
2078
|
|
|
1806
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-footer > div > label {
|
|
2079
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-footer > div > label {
|
|
1807
2080
|
margin: 0 5px 0 0;
|
|
1808
2081
|
}
|
|
1809
2082
|
|
|
1810
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-btn-radio {
|
|
2083
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-btn-radio {
|
|
1811
2084
|
margin-left: 12px;
|
|
1812
2085
|
margin-right: 6px;
|
|
1813
2086
|
}
|
|
1814
2087
|
|
|
1815
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-btn-check {
|
|
2088
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-btn-check {
|
|
1816
2089
|
margin-left: 12px;
|
|
1817
2090
|
margin-right: 4px;
|
|
1818
2091
|
}
|
|
1819
2092
|
|
|
1820
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-btn-check:disabled + span {
|
|
1821
|
-
color:
|
|
2093
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-btn-check:disabled + span {
|
|
2094
|
+
color: var(--se-modal-input-disabled-color);
|
|
1822
2095
|
}
|
|
1823
2096
|
|
|
1824
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form-footer .se-modal-btn-check {
|
|
2097
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form-footer .se-modal-btn-check {
|
|
1825
2098
|
margin-left: 0;
|
|
1826
2099
|
margin-right: 4px;
|
|
1827
2100
|
}
|
|
1828
2101
|
|
|
1829
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form-footer label:first-child {
|
|
2102
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form-footer label:first-child {
|
|
1830
2103
|
margin-right: 16px;
|
|
1831
2104
|
margin-left: 0px;
|
|
1832
2105
|
}
|
|
1833
2106
|
|
|
1834
2107
|
/* modal - modal - form - files */
|
|
1835
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form .se-modal-form-files {
|
|
2108
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-modal-form-files {
|
|
1836
2109
|
position: relative;
|
|
1837
2110
|
display: flex;
|
|
1838
2111
|
align-items: center;
|
|
1839
2112
|
}
|
|
1840
2113
|
|
|
1841
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form .se-modal-form-files > input {
|
|
2114
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-modal-form-files > input {
|
|
1842
2115
|
flex: auto;
|
|
1843
2116
|
}
|
|
1844
2117
|
|
|
1845
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form .se-modal-form-files .se-modal-files-edge-button {
|
|
2118
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-modal-form-files .se-modal-files-edge-button {
|
|
1846
2119
|
flex: none;
|
|
1847
2120
|
opacity: 0.8;
|
|
1848
|
-
border: 1px solid
|
|
2121
|
+
border: 1px solid var(--se-input-btn-border-color);
|
|
1849
2122
|
margin-left: 1px;
|
|
1850
2123
|
}
|
|
1851
2124
|
|
|
1852
2125
|
/* modal - modal - input */
|
|
1853
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form .se-input-select {
|
|
2126
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-input-select {
|
|
1854
2127
|
display: inline-block;
|
|
1855
2128
|
width: auto;
|
|
1856
|
-
height:
|
|
1857
|
-
font-size:
|
|
2129
|
+
height: var(--se-input-btn-size);
|
|
2130
|
+
font-size: var(--se-modal-input-font-size);
|
|
1858
2131
|
text-align: center;
|
|
1859
|
-
line-height: 1.
|
|
2132
|
+
line-height: 1.4;
|
|
1860
2133
|
}
|
|
1861
2134
|
|
|
1862
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form .se-input-control {
|
|
2135
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-input-control {
|
|
1863
2136
|
display: inline-block;
|
|
1864
|
-
width:
|
|
1865
|
-
height:
|
|
1866
|
-
font-size:
|
|
2137
|
+
width: var(--se-modal-input-width);
|
|
2138
|
+
height: var(--se-input-btn-size);
|
|
2139
|
+
font-size: var(--se-modal-input-font-size);
|
|
1867
2140
|
text-align: center;
|
|
1868
|
-
line-height: 1.
|
|
2141
|
+
line-height: 1.4;
|
|
1869
2142
|
}
|
|
1870
2143
|
|
|
1871
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form .se-flex-input-wrapper {
|
|
2144
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-flex-input-wrapper {
|
|
1872
2145
|
display: block;
|
|
1873
2146
|
position: relative;
|
|
1874
2147
|
width: 100%;
|
|
@@ -1876,23 +2149,23 @@
|
|
|
1876
2149
|
padding: 0;
|
|
1877
2150
|
}
|
|
1878
2151
|
|
|
1879
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form .se-flex-input-wrapper > .se-input-form-abs {
|
|
2152
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-flex-input-wrapper > .se-input-form-abs {
|
|
1880
2153
|
display: block;
|
|
1881
2154
|
position: absolute;
|
|
1882
2155
|
width: 100%;
|
|
1883
2156
|
height: 100%;
|
|
1884
2157
|
padding: 0;
|
|
1885
2158
|
margin: 0;
|
|
1886
|
-
background-color:
|
|
1887
|
-
border: 2px dashed
|
|
2159
|
+
background-color: var(--se-modal-file-input-background-color);
|
|
2160
|
+
border: 2px dashed var(--se-input-btn-border-color);
|
|
1888
2161
|
pointer-events: none;
|
|
1889
2162
|
}
|
|
1890
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form .se-flex-input-wrapper > .se-input-form-abs * {
|
|
2163
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-flex-input-wrapper > .se-input-form-abs * {
|
|
1891
2164
|
pointer-events: none;
|
|
1892
2165
|
vertical-align: middle;
|
|
1893
2166
|
}
|
|
1894
2167
|
|
|
1895
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form .se-flex-input-wrapper > .se-input-form-abs > div {
|
|
2168
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-flex-input-wrapper > .se-input-form-abs > div {
|
|
1896
2169
|
display: block;
|
|
1897
2170
|
position: relative;
|
|
1898
2171
|
padding-top: 3px;
|
|
@@ -1900,70 +2173,72 @@
|
|
|
1900
2173
|
height: 100%;
|
|
1901
2174
|
margin: auto;
|
|
1902
2175
|
}
|
|
1903
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form .se-flex-input-wrapper > .se-input-form-abs > div .se-input-file-w {
|
|
2176
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-flex-input-wrapper > .se-input-form-abs > div .se-input-file-w {
|
|
2177
|
+
width: -webkit-max-content;
|
|
2178
|
+
width: -moz-max-content;
|
|
1904
2179
|
width: max-content;
|
|
1905
2180
|
max-width: 100%;
|
|
1906
2181
|
margin: auto;
|
|
1907
2182
|
padding: 0 4px;
|
|
1908
2183
|
}
|
|
1909
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form .se-flex-input-wrapper > .se-input-form-abs > div .se-input-file-icon-up,
|
|
1910
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form .se-flex-input-wrapper > .se-input-form-abs > div .se-input-file-icon-files {
|
|
2184
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-flex-input-wrapper > .se-input-form-abs > div .se-input-file-icon-up,
|
|
2185
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-flex-input-wrapper > .se-input-form-abs > div .se-input-file-icon-files {
|
|
1911
2186
|
display: inline-block;
|
|
1912
2187
|
width: 20px;
|
|
1913
2188
|
}
|
|
1914
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form .se-flex-input-wrapper > .se-input-form-abs > div .se-input-file-icon-files {
|
|
2189
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-flex-input-wrapper > .se-input-form-abs > div .se-input-file-icon-files {
|
|
1915
2190
|
display: none;
|
|
1916
2191
|
}
|
|
1917
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form .se-flex-input-wrapper > .se-input-form-abs > div .se-input-file-cnt {
|
|
2192
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-flex-input-wrapper > .se-input-form-abs > div .se-input-file-cnt {
|
|
1918
2193
|
display: inline;
|
|
1919
2194
|
white-space: nowrap;
|
|
1920
2195
|
overflow: hidden;
|
|
1921
2196
|
text-overflow: ellipsis;
|
|
1922
2197
|
}
|
|
1923
2198
|
|
|
1924
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form .se-input-form {
|
|
2199
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-input-form {
|
|
1925
2200
|
display: block;
|
|
1926
2201
|
width: 100%;
|
|
1927
|
-
height:
|
|
1928
|
-
font-size:
|
|
1929
|
-
line-height: 1.
|
|
2202
|
+
height: var(--se-input-btn-size);
|
|
2203
|
+
font-size: var(--se-modal-input-font-size);
|
|
2204
|
+
line-height: 1.4;
|
|
1930
2205
|
padding: 0 4px;
|
|
1931
2206
|
}
|
|
1932
2207
|
|
|
1933
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form .se-input-form.se-input-url {
|
|
2208
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-input-form.se-input-url {
|
|
1934
2209
|
direction: ltr;
|
|
1935
2210
|
}
|
|
1936
2211
|
|
|
1937
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form .se-input-form.se-input-url:disabled {
|
|
2212
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-input-form.se-input-url:disabled {
|
|
1938
2213
|
text-decoration: line-through;
|
|
1939
|
-
color:
|
|
2214
|
+
color: var(--se-modal-input-disabled-color);
|
|
1940
2215
|
}
|
|
1941
2216
|
|
|
1942
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form .se-
|
|
1943
|
-
width:
|
|
2217
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-modal-ratio {
|
|
2218
|
+
width: var(--se-modal-input-width);
|
|
1944
2219
|
margin-left: 4px;
|
|
1945
2220
|
}
|
|
1946
2221
|
|
|
1947
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form a {
|
|
1948
|
-
color:
|
|
2222
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form a {
|
|
2223
|
+
color: var(--se-modal-anchor-color);
|
|
1949
2224
|
}
|
|
1950
2225
|
|
|
1951
2226
|
/* modal - revert button */
|
|
1952
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-btn-revert {
|
|
2227
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-btn-revert {
|
|
1953
2228
|
float: right;
|
|
1954
|
-
border: 1px solid
|
|
2229
|
+
border: 1px solid var(--se-input-btn-border-color);
|
|
1955
2230
|
}
|
|
1956
2231
|
|
|
1957
2232
|
/* modal - inner tab */
|
|
1958
2233
|
.sun-editor .se-modal-tabs {
|
|
1959
2234
|
width: 100%;
|
|
1960
2235
|
height: 25px;
|
|
1961
|
-
border-bottom: 1px solid
|
|
2236
|
+
border-bottom: 1px solid var(--se-modal-border-color);
|
|
1962
2237
|
}
|
|
1963
2238
|
|
|
1964
2239
|
.sun-editor .se-modal-tabs button {
|
|
1965
|
-
background-color:
|
|
1966
|
-
border-right: 1px solid
|
|
2240
|
+
background-color: var(--se-modal-border-color);
|
|
2241
|
+
border-right: 1px solid var(--se-modal-border-color);
|
|
1967
2242
|
float: left;
|
|
1968
2243
|
outline: none;
|
|
1969
2244
|
padding: 2px 13px;
|
|
@@ -1971,65 +2246,65 @@
|
|
|
1971
2246
|
}
|
|
1972
2247
|
|
|
1973
2248
|
.sun-editor .se-modal-tabs button:hover {
|
|
1974
|
-
background-color:
|
|
2249
|
+
background-color: var(--se-main-background-color);
|
|
1975
2250
|
}
|
|
1976
2251
|
|
|
1977
2252
|
.sun-editor .se-modal-tabs button.active {
|
|
1978
|
-
background-color:
|
|
2253
|
+
background-color: var(--se-main-background-color);
|
|
1979
2254
|
border-bottom: 0;
|
|
1980
2255
|
}
|
|
1981
2256
|
|
|
1982
2257
|
/* modal - modal - math */
|
|
1983
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form .se-input-form.se-math-exp {
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
border: 1px solid #3f9dff;
|
|
1987
|
-
font-size: 13px;
|
|
2258
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-input-form.se-math-exp {
|
|
2259
|
+
border: 1px solid var(--se-active-dark4-color);
|
|
2260
|
+
font-size: var(--se-main-font-size);
|
|
1988
2261
|
padding: 4px;
|
|
1989
2262
|
direction: ltr;
|
|
1990
2263
|
}
|
|
1991
2264
|
|
|
1992
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form .se-input-select.se-math-size {
|
|
2265
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-input-select.se-math-size {
|
|
1993
2266
|
width: 6em;
|
|
1994
2267
|
height: 28px;
|
|
1995
2268
|
margin-left: 1em;
|
|
1996
2269
|
}
|
|
1997
2270
|
|
|
1998
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form .se-math-preview {
|
|
1999
|
-
font-size:
|
|
2271
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-math-preview {
|
|
2272
|
+
font-size: var(--se-main-font-size);
|
|
2000
2273
|
}
|
|
2001
2274
|
|
|
2002
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form .se-math-preview > span {
|
|
2275
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-math-preview > span {
|
|
2003
2276
|
display: inline-block;
|
|
2004
|
-
|
|
2005
|
-
box-shadow: 0 0 0 0.1rem #d0e3ff;
|
|
2277
|
+
box-shadow: 0 0 0 0.1rem var(--se-active-light3-color);
|
|
2006
2278
|
}
|
|
2007
2279
|
|
|
2008
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form .se-math-preview > span * {
|
|
2280
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-math-preview > span * {
|
|
2009
2281
|
direction: ltr;
|
|
2010
2282
|
}
|
|
2011
2283
|
|
|
2012
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form .se-math-preview > .se-math-
|
|
2013
|
-
color:
|
|
2014
|
-
|
|
2015
|
-
box-shadow: 0 0 0 0.1rem #f2dede;
|
|
2284
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-math-preview > .se-math-error {
|
|
2285
|
+
color: var(--se-error-color);
|
|
2286
|
+
box-shadow: 0 0 0 0.1rem var(--se-error-light3-color);
|
|
2016
2287
|
}
|
|
2017
2288
|
|
|
2018
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-form .se-math-preview > .se-math-
|
|
2289
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-math-preview > .se-math-error svg {
|
|
2019
2290
|
width: auto;
|
|
2020
2291
|
height: 30px;
|
|
2021
|
-
color:
|
|
2292
|
+
color: var(--se-error-color);
|
|
2293
|
+
}
|
|
2294
|
+
|
|
2295
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-form .se-math-preview .MathJax {
|
|
2296
|
+
margin: 0.5em 0 !important;
|
|
2022
2297
|
}
|
|
2023
2298
|
|
|
2024
2299
|
/* modal - modal - link preview */
|
|
2025
|
-
.sun-editor .se-modal .se-modal-inner .se-link-preview {
|
|
2300
|
+
.sun-editor .se-modal-area .se-modal-inner .se-link-preview {
|
|
2026
2301
|
display: block;
|
|
2027
2302
|
height: auto;
|
|
2028
|
-
|
|
2029
|
-
font-size:
|
|
2303
|
+
padding-top: 4px;
|
|
2304
|
+
font-size: var(--se-main-font-size);
|
|
2030
2305
|
font-weight: normal;
|
|
2031
2306
|
font-family: inherit;
|
|
2032
|
-
color:
|
|
2307
|
+
color: var(--se-modal-preview-color);
|
|
2033
2308
|
background-color: transparent;
|
|
2034
2309
|
overflow: hidden;
|
|
2035
2310
|
text-overflow: ellipsis;
|
|
@@ -2039,53 +2314,53 @@
|
|
|
2039
2314
|
}
|
|
2040
2315
|
|
|
2041
2316
|
/* modal - modal - anchor module */
|
|
2042
|
-
.sun-editor .se-modal .se-modal-inner .se-anchor-preview-form {
|
|
2317
|
+
.sun-editor .se-modal-area .se-modal-inner .se-anchor-preview-form {
|
|
2043
2318
|
width: 100%;
|
|
2044
2319
|
display: flex;
|
|
2045
2320
|
margin-top: 4px;
|
|
2046
2321
|
}
|
|
2047
2322
|
|
|
2048
|
-
.sun-editor .se-modal .se-modal-inner .se-anchor-preview-form .se-svg.se-anchor-preview-icon {
|
|
2323
|
+
.sun-editor .se-modal-area .se-modal-inner .se-anchor-preview-form .se-svg.se-anchor-preview-icon {
|
|
2049
2324
|
flex: unset;
|
|
2050
2325
|
display: none;
|
|
2051
2326
|
line-height: 1;
|
|
2052
2327
|
margin: 2px;
|
|
2053
|
-
color:
|
|
2328
|
+
color: var(--se-active-dark3-color);
|
|
2054
2329
|
}
|
|
2055
2330
|
|
|
2056
|
-
.sun-editor .se-modal .se-modal-inner .se-anchor-preview-form .se-link-preview {
|
|
2331
|
+
.sun-editor .se-modal-area .se-modal-inner .se-anchor-preview-form .se-link-preview {
|
|
2057
2332
|
flex: 1;
|
|
2058
2333
|
margin: 0;
|
|
2059
2334
|
}
|
|
2060
2335
|
|
|
2061
2336
|
/* modal - modal - anchor module - rel select */
|
|
2062
|
-
.sun-editor .se-modal .se-modal-inner .se-anchor-rel {
|
|
2337
|
+
.sun-editor .se-modal-area .se-modal-inner .se-anchor-rel {
|
|
2063
2338
|
position: relative;
|
|
2064
|
-
height:
|
|
2339
|
+
height: var(--se-input-btn-size);
|
|
2065
2340
|
}
|
|
2066
|
-
.sun-editor .se-modal .se-modal-inner .se-anchor-rel-btn {
|
|
2341
|
+
.sun-editor .se-modal-area .se-modal-inner .se-anchor-rel-btn {
|
|
2067
2342
|
border-width: 1px;
|
|
2068
2343
|
}
|
|
2069
2344
|
|
|
2070
|
-
.sun-editor .se-modal .se-modal-inner .se-anchor-rel-wrapper {
|
|
2345
|
+
.sun-editor .se-modal-area .se-modal-inner .se-anchor-rel-wrapper {
|
|
2071
2346
|
display: flex;
|
|
2072
|
-
height:
|
|
2347
|
+
height: var(--se-input-btn-size);
|
|
2073
2348
|
line-height: 1;
|
|
2074
2349
|
padding: 0 6px;
|
|
2075
2350
|
align-items: center;
|
|
2076
2351
|
}
|
|
2077
2352
|
|
|
2078
|
-
.sun-editor .se-modal .se-modal-inner .se-anchor-rel-preview {
|
|
2353
|
+
.sun-editor .se-modal-area .se-modal-inner .se-anchor-rel-preview {
|
|
2079
2354
|
word-break: break-word;
|
|
2080
2355
|
white-space: pre-wrap;
|
|
2081
2356
|
overflow-wrap: break-word;
|
|
2082
2357
|
text-align: left;
|
|
2083
2358
|
}
|
|
2084
2359
|
|
|
2085
|
-
/*
|
|
2086
|
-
.sun-editor .se-modal .se-modal-inner .se-modal-
|
|
2087
|
-
|
|
2088
|
-
|
|
2360
|
+
/* modal - modal - canvas */
|
|
2361
|
+
.sun-editor .se-modal-area .se-modal-inner .se-modal-body .se-drawing-canvas {
|
|
2362
|
+
outline: 1px solid var(--se-main-outline-color);
|
|
2363
|
+
}
|
|
2089
2364
|
|
|
2090
2365
|
/** --- controller ---------------------------------------------------------- */
|
|
2091
2366
|
.sun-editor .se-controller {
|
|
@@ -2095,7 +2370,7 @@
|
|
|
2095
2370
|
z-index: 2147483646;
|
|
2096
2371
|
padding: 2px 2px 0 2px;
|
|
2097
2372
|
margin: 0;
|
|
2098
|
-
border: 1px solid
|
|
2373
|
+
border: 1px solid var(--se-controller-border-color);
|
|
2099
2374
|
text-align: start;
|
|
2100
2375
|
text-decoration: none;
|
|
2101
2376
|
text-shadow: none;
|
|
@@ -2105,7 +2380,8 @@
|
|
|
2105
2380
|
word-spacing: normal;
|
|
2106
2381
|
word-wrap: normal;
|
|
2107
2382
|
white-space: normal;
|
|
2108
|
-
background-color:
|
|
2383
|
+
background-color: var(--se-controller-background-color);
|
|
2384
|
+
color: var(--se-controller-color);
|
|
2109
2385
|
-webkit-background-clip: padding-box;
|
|
2110
2386
|
background-clip: padding-box;
|
|
2111
2387
|
line-break: auto;
|
|
@@ -2115,10 +2391,12 @@
|
|
|
2115
2391
|
border: none;
|
|
2116
2392
|
padding: 0;
|
|
2117
2393
|
}
|
|
2394
|
+
.sun-editor .se-controller.se-controller-simple-input {
|
|
2395
|
+
padding: 4px 3px 0 3px;
|
|
2396
|
+
}
|
|
2118
2397
|
|
|
2119
2398
|
.sun-editor .se-controller:not(.se-resizing-container) {
|
|
2120
|
-
|
|
2121
|
-
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
|
2399
|
+
box-shadow: 0 5px 10px var(--se-shadow-controller-color);
|
|
2122
2400
|
}
|
|
2123
2401
|
|
|
2124
2402
|
.sun-editor-editable[contenteditable='true'] figure a,
|
|
@@ -2133,13 +2411,6 @@
|
|
|
2133
2411
|
z-index: 2;
|
|
2134
2412
|
}
|
|
2135
2413
|
|
|
2136
|
-
.sun-editor-editable[contenteditable='true'] figure figcaption:focus {
|
|
2137
|
-
border-color: #80bdff;
|
|
2138
|
-
outline: 0;
|
|
2139
|
-
-webkit-box-shadow: 0 0 0 0.2rem #c7deff;
|
|
2140
|
-
box-shadow: 0 0 0 0.2rem #c7deff;
|
|
2141
|
-
}
|
|
2142
|
-
|
|
2143
2414
|
.sun-editor-editable[contenteditable='true']:not(.se-read-only) figure:not(.se-input-component)::after {
|
|
2144
2415
|
position: absolute;
|
|
2145
2416
|
content: '';
|
|
@@ -2154,13 +2425,19 @@
|
|
|
2154
2425
|
}
|
|
2155
2426
|
|
|
2156
2427
|
.sun-editor-editable[contenteditable='true'] .se-component {
|
|
2157
|
-
outline: 1px dashed
|
|
2428
|
+
outline: 1px dashed var(--se-main-divider-color);
|
|
2429
|
+
}
|
|
2430
|
+
|
|
2431
|
+
.sun-editor-editable[contenteditable='true'] figure,
|
|
2432
|
+
.sun-editor-editable[contenteditable='true'] hr {
|
|
2433
|
+
outline: 2px solid transparent;
|
|
2158
2434
|
}
|
|
2159
2435
|
|
|
2160
2436
|
.sun-editor-editable[contenteditable='true'] .se-component:not(:has(figure)).se-component-selected,
|
|
2161
2437
|
.sun-editor-editable[contenteditable='true'] figure.se-component-selected,
|
|
2162
2438
|
.sun-editor-editable[contenteditable='true'] .se-component.se-component-selected > figure {
|
|
2163
|
-
outline: 2px solid
|
|
2439
|
+
outline: 2px solid var(--se-active-dark-color);
|
|
2440
|
+
transition: outline-color 0.2s ease-in-out, outline-width 0.2s ease-in-out;
|
|
2164
2441
|
}
|
|
2165
2442
|
|
|
2166
2443
|
.sun-editor-editable[contenteditable='true'] .se-component figure.se-figure-selected:not(.se-figure-over-selected)::after {
|
|
@@ -2168,22 +2445,28 @@
|
|
|
2168
2445
|
}
|
|
2169
2446
|
|
|
2170
2447
|
.sun-editor-editable[contenteditable='true'] .se-copy {
|
|
2171
|
-
background-color:
|
|
2448
|
+
background-color: var(--se-main-border-color);
|
|
2172
2449
|
opacity: 0.3;
|
|
2173
|
-
|
|
2174
|
-
box-shadow: 0 0 0 0.5rem #1275ff;
|
|
2450
|
+
box-shadow: 0 0 0 0.25rem var(--se-active-dark5-color);
|
|
2175
2451
|
transition: box-shadow 0.15s ease-in-out;
|
|
2176
2452
|
}
|
|
2177
2453
|
|
|
2178
2454
|
.sun-editor-editable[contenteditable='true'] .se-component:not(:has(figure)).se-component-selected.se-drag-over,
|
|
2179
|
-
.sun-editor-editable[contenteditable='true']
|
|
2455
|
+
.sun-editor-editable[contenteditable='true'] .se-figure-selected.se-drag-over,
|
|
2180
2456
|
.sun-editor-editable[contenteditable='true'] hr.se-component-selected.se-drag-over {
|
|
2181
|
-
outline:
|
|
2457
|
+
outline: 3px solid var(--se-drag-over-color) !important;
|
|
2182
2458
|
}
|
|
2183
2459
|
.sun-editor-editable[contenteditable='true'] figure.se-drag-over > iframe {
|
|
2184
2460
|
pointer-events: none;
|
|
2185
2461
|
}
|
|
2186
2462
|
|
|
2463
|
+
/* controller - display span */
|
|
2464
|
+
.sun-editor .se-controller .se-controller-display {
|
|
2465
|
+
padding: 0 10px;
|
|
2466
|
+
margin: 4px 0;
|
|
2467
|
+
font-size: var(--se-main-font-size);
|
|
2468
|
+
}
|
|
2469
|
+
|
|
2187
2470
|
/* controller - button group */
|
|
2188
2471
|
.sun-editor .se-controller .se-btn-group {
|
|
2189
2472
|
position: relative;
|
|
@@ -2197,9 +2480,10 @@
|
|
|
2197
2480
|
.sun-editor .se-controller .se-btn-group .se-btn-group-sub {
|
|
2198
2481
|
left: 50%;
|
|
2199
2482
|
min-width: auto;
|
|
2483
|
+
width: -webkit-max-content;
|
|
2484
|
+
width: -moz-max-content;
|
|
2200
2485
|
width: max-content;
|
|
2201
2486
|
display: none;
|
|
2202
|
-
/* display: inline-table; */
|
|
2203
2487
|
}
|
|
2204
2488
|
|
|
2205
2489
|
.sun-editor .se-controller .se-btn-group .se-btn-group-sub button {
|
|
@@ -2209,18 +2493,17 @@
|
|
|
2209
2493
|
|
|
2210
2494
|
.sun-editor .se-controller .se-btn-group button {
|
|
2211
2495
|
position: relative;
|
|
2212
|
-
min-height:
|
|
2496
|
+
min-height: var(--se-input-btn-size);
|
|
2213
2497
|
height: auto;
|
|
2214
2498
|
border: none;
|
|
2215
|
-
border-radius:
|
|
2499
|
+
border-radius: var(--se-border-radius);
|
|
2216
2500
|
margin: 1px;
|
|
2217
|
-
font-size:
|
|
2501
|
+
font-size: var(--se-btn-font-size);
|
|
2218
2502
|
line-height: 1.5;
|
|
2219
2503
|
display: inline-block;
|
|
2220
2504
|
font-weight: normal;
|
|
2221
2505
|
text-align: center;
|
|
2222
2506
|
white-space: nowrap;
|
|
2223
|
-
-ms-touch-action: manipulation;
|
|
2224
2507
|
touch-action: manipulation;
|
|
2225
2508
|
}
|
|
2226
2509
|
|
|
@@ -2238,13 +2521,13 @@
|
|
|
2238
2521
|
width: 100%;
|
|
2239
2522
|
height: 38px;
|
|
2240
2523
|
padding: 4px;
|
|
2241
|
-
border-bottom: 1px solid
|
|
2524
|
+
border-bottom: 1px solid var(--se-modal-border-color);
|
|
2242
2525
|
}
|
|
2243
2526
|
|
|
2244
2527
|
/* controller - controller-content - body */
|
|
2245
2528
|
.sun-editor .se-controller .se-controller-body {
|
|
2246
2529
|
position: relative;
|
|
2247
|
-
font-size:
|
|
2530
|
+
font-size: var(--se-main-font-size);
|
|
2248
2531
|
width: 100%;
|
|
2249
2532
|
padding: 4px 4px 1px 4px;
|
|
2250
2533
|
}
|
|
@@ -2252,7 +2535,7 @@
|
|
|
2252
2535
|
.sun-editor .se-controller .se-controller-body .se-btn:disabled,
|
|
2253
2536
|
.sun-editor .se-controller .se-controller-body button:disabled,
|
|
2254
2537
|
.sun-editor .se-controller .se-controller-body input:disabled {
|
|
2255
|
-
background-color:
|
|
2538
|
+
background-color: var(--se-main-shadow-color);
|
|
2256
2539
|
}
|
|
2257
2540
|
|
|
2258
2541
|
.sun-editor .se-controller .se-controller-header .se-close-btn {
|
|
@@ -2261,14 +2544,14 @@
|
|
|
2261
2544
|
min-height: 28px;
|
|
2262
2545
|
float: right;
|
|
2263
2546
|
font-weight: bold;
|
|
2264
|
-
text-shadow: 0 1px 0
|
|
2547
|
+
text-shadow: 0 1px 0 var(--se-main-background-color);
|
|
2265
2548
|
filter: alpha(opacity=100);
|
|
2266
2549
|
opacity: 1;
|
|
2267
2550
|
}
|
|
2268
2551
|
|
|
2269
2552
|
.sun-editor .se-controller .se-controller-header .se-controller-title {
|
|
2270
2553
|
float: left;
|
|
2271
|
-
font-size:
|
|
2554
|
+
font-size: var(--se-main-font-size);
|
|
2272
2555
|
font-weight: bold;
|
|
2273
2556
|
margin: 0;
|
|
2274
2557
|
padding: 0;
|
|
@@ -2277,10 +2560,10 @@
|
|
|
2277
2560
|
|
|
2278
2561
|
/* controller - resizing(image, iframe) */
|
|
2279
2562
|
.sun-editor .se-controller-resizing {
|
|
2280
|
-
font-size:
|
|
2563
|
+
font-size: var(--se-controller-font-size);
|
|
2281
2564
|
font-style: normal;
|
|
2282
2565
|
font-weight: normal;
|
|
2283
|
-
line-height: 1.
|
|
2566
|
+
line-height: 1.4;
|
|
2284
2567
|
}
|
|
2285
2568
|
|
|
2286
2569
|
.sun-editor .se-resizing-container {
|
|
@@ -2303,12 +2586,12 @@
|
|
|
2303
2586
|
display: none;
|
|
2304
2587
|
pointer-events: auto;
|
|
2305
2588
|
cursor: move;
|
|
2306
|
-
width:
|
|
2307
|
-
height:
|
|
2308
|
-
background-color:
|
|
2589
|
+
width: 20px;
|
|
2590
|
+
height: 20px;
|
|
2591
|
+
background-color: var(--se-active-dark-color);
|
|
2309
2592
|
border: 0;
|
|
2310
2593
|
padding: 1px;
|
|
2311
|
-
color:
|
|
2594
|
+
color: var(--se-main-background-color);
|
|
2312
2595
|
outline: 2px solid transparent;
|
|
2313
2596
|
}
|
|
2314
2597
|
.sun-editor .se-drag-handle.se-drag-handle-full {
|
|
@@ -2320,7 +2603,7 @@
|
|
|
2320
2603
|
max-height: 100%;
|
|
2321
2604
|
}
|
|
2322
2605
|
.sun-editor .se-drag-handle:hover {
|
|
2323
|
-
background-color:
|
|
2606
|
+
background-color: var(--se-drag-over-color);
|
|
2324
2607
|
}
|
|
2325
2608
|
.sun-editor .se-drag-handle.se-dragging {
|
|
2326
2609
|
opacity: 0;
|
|
@@ -2329,71 +2612,79 @@
|
|
|
2329
2612
|
.sun-editor .se-resizing-container .se-resize-dot {
|
|
2330
2613
|
position: absolute;
|
|
2331
2614
|
display: inline-block;
|
|
2332
|
-
outline: 2px solid
|
|
2615
|
+
outline: 2px solid var(--se-active-dark-color);
|
|
2333
2616
|
border: 0;
|
|
2334
2617
|
padding: 0;
|
|
2335
2618
|
}
|
|
2336
2619
|
|
|
2337
2620
|
.sun-editor .se-resizing-container.se-resize-ing .se-resize-dot {
|
|
2338
|
-
outline: 2px solid
|
|
2621
|
+
outline: 2px solid var(--se-active-dark3-color);
|
|
2339
2622
|
}
|
|
2340
2623
|
|
|
2341
2624
|
.sun-editor .se-resizing-container .se-resize-dot > span {
|
|
2342
2625
|
position: absolute;
|
|
2343
2626
|
pointer-events: auto;
|
|
2344
|
-
width:
|
|
2345
|
-
height:
|
|
2627
|
+
width: 7px;
|
|
2628
|
+
height: 7px;
|
|
2346
2629
|
border-radius: 1px;
|
|
2347
|
-
background-color:
|
|
2348
|
-
border: 1px solid
|
|
2630
|
+
background-color: var(--se-active-dark3-color);
|
|
2631
|
+
border: 1px solid var(--se-active-dark3-color);
|
|
2349
2632
|
}
|
|
2350
2633
|
|
|
2351
2634
|
.sun-editor .se-resizing-container .se-resize-dot > span.tl {
|
|
2352
2635
|
top: -6px;
|
|
2353
2636
|
left: -6px;
|
|
2354
|
-
|
|
2637
|
+
border-radius: 4px;
|
|
2638
|
+
cursor: nwse-resize;
|
|
2355
2639
|
}
|
|
2356
2640
|
|
|
2357
2641
|
.sun-editor .se-resizing-container .se-resize-dot > span.tr {
|
|
2358
2642
|
top: -6px;
|
|
2359
2643
|
right: -6px;
|
|
2360
|
-
|
|
2644
|
+
border-radius: 4px;
|
|
2645
|
+
cursor: nesw-resize;
|
|
2361
2646
|
}
|
|
2362
2647
|
|
|
2363
2648
|
.sun-editor .se-resizing-container .se-resize-dot > span.bl {
|
|
2364
2649
|
bottom: -6px;
|
|
2365
2650
|
left: -6px;
|
|
2366
|
-
|
|
2651
|
+
border-radius: 4px;
|
|
2652
|
+
cursor: nesw-resize;
|
|
2367
2653
|
}
|
|
2368
2654
|
|
|
2369
2655
|
.sun-editor .se-resizing-container .se-resize-dot > span.br {
|
|
2370
2656
|
right: -6px;
|
|
2371
2657
|
bottom: -6px;
|
|
2372
|
-
|
|
2658
|
+
border-radius: 4px;
|
|
2659
|
+
cursor: nwse-resize;
|
|
2373
2660
|
}
|
|
2374
2661
|
|
|
2375
2662
|
.sun-editor .se-resizing-container .se-resize-dot > span.lw {
|
|
2376
|
-
left: -
|
|
2377
|
-
|
|
2378
|
-
|
|
2663
|
+
left: -7px;
|
|
2664
|
+
width: 5px;
|
|
2665
|
+
bottom: calc(50% - 4px);
|
|
2666
|
+
cursor: ew-resize;
|
|
2379
2667
|
}
|
|
2380
2668
|
|
|
2381
2669
|
.sun-editor .se-resizing-container .se-resize-dot > span.th {
|
|
2382
|
-
left: 50
|
|
2383
|
-
top: -
|
|
2384
|
-
|
|
2670
|
+
left: calc(50% - 4px);
|
|
2671
|
+
top: -7px;
|
|
2672
|
+
height: 5px;
|
|
2673
|
+
cursor: ns-resize;
|
|
2385
2674
|
}
|
|
2386
2675
|
|
|
2387
2676
|
.sun-editor .se-resizing-container .se-resize-dot > span.rw {
|
|
2388
|
-
right: -
|
|
2389
|
-
|
|
2390
|
-
|
|
2677
|
+
right: -7px;
|
|
2678
|
+
width: 5px;
|
|
2679
|
+
bottom: calc(50% - 4px);
|
|
2680
|
+
cursor: ew-resize;
|
|
2391
2681
|
}
|
|
2392
2682
|
|
|
2393
2683
|
.sun-editor .se-resizing-container .se-resize-dot > span.bh {
|
|
2394
|
-
right: 50
|
|
2395
|
-
bottom: -
|
|
2396
|
-
|
|
2684
|
+
right: calc(50% - 4px);
|
|
2685
|
+
bottom: -7px;
|
|
2686
|
+
height: 5px;
|
|
2687
|
+
cursor: ns-resize;
|
|
2397
2688
|
}
|
|
2398
2689
|
|
|
2399
2690
|
.sun-editor .se-resizing-container .se-resize-display {
|
|
@@ -2404,10 +2695,10 @@
|
|
|
2404
2695
|
bottom: 0;
|
|
2405
2696
|
padding: 5px;
|
|
2406
2697
|
margin: 2px;
|
|
2407
|
-
font-size:
|
|
2408
|
-
color:
|
|
2409
|
-
background-color:
|
|
2410
|
-
border-radius:
|
|
2698
|
+
font-size: var(--se-btn-font-size);
|
|
2699
|
+
color: var(--se-main-background-color);
|
|
2700
|
+
background-color: var(--se-main-font-color);
|
|
2701
|
+
border-radius: var(--se-border-radius);
|
|
2411
2702
|
opacity: 0.75;
|
|
2412
2703
|
}
|
|
2413
2704
|
|
|
@@ -2418,24 +2709,24 @@
|
|
|
2418
2709
|
/* controller - table */
|
|
2419
2710
|
.sun-editor .se-controller-table {
|
|
2420
2711
|
width: auto;
|
|
2421
|
-
font-size:
|
|
2712
|
+
font-size: var(--se-controller-font-size);
|
|
2422
2713
|
font-style: normal;
|
|
2423
2714
|
font-weight: normal;
|
|
2424
|
-
line-height: 1.
|
|
2715
|
+
line-height: 1.4;
|
|
2425
2716
|
}
|
|
2426
2717
|
|
|
2427
2718
|
.sun-editor .se-controller-table-cell {
|
|
2428
2719
|
width: auto;
|
|
2429
|
-
font-size:
|
|
2720
|
+
font-size: var(--se-controller-font-size);
|
|
2430
2721
|
font-style: normal;
|
|
2431
2722
|
font-weight: normal;
|
|
2432
|
-
line-height: 1.
|
|
2723
|
+
line-height: 1.4;
|
|
2433
2724
|
}
|
|
2434
2725
|
|
|
2435
2726
|
/* controller - table - props */
|
|
2436
2727
|
.sun-editor .se-controller.se-table-props .se-color-input,
|
|
2437
2728
|
.sun-editor .se-controller.se-table-props .se-border-style {
|
|
2438
|
-
width:
|
|
2729
|
+
width: var(--se-modal-input-width);
|
|
2439
2730
|
}
|
|
2440
2731
|
.sun-editor .se-controller.se-table-props .__se__border_size {
|
|
2441
2732
|
width: 52px;
|
|
@@ -2443,19 +2734,21 @@
|
|
|
2443
2734
|
.sun-editor .se-controller.se-table-props .se-table-props-align li {
|
|
2444
2735
|
margin-right: 2px;
|
|
2445
2736
|
}
|
|
2737
|
+
.sun-editor .se-controller.se-table-props .se-table-props-align .se-form-group div:last-child {
|
|
2738
|
+
flex: auto;
|
|
2739
|
+
margin: 0 8px;
|
|
2740
|
+
}
|
|
2446
2741
|
|
|
2447
2742
|
/* controller - link */
|
|
2448
2743
|
.sun-editor .se-controller-link {
|
|
2449
|
-
font-size:
|
|
2744
|
+
font-size: var(--se-controller-font-size);
|
|
2450
2745
|
font-style: normal;
|
|
2451
2746
|
font-weight: normal;
|
|
2452
|
-
line-height: 1.
|
|
2747
|
+
line-height: 1.4;
|
|
2453
2748
|
}
|
|
2454
2749
|
|
|
2455
2750
|
.sun-editor .se-controller-link::before,
|
|
2456
2751
|
.sun-editor .se-controller-link::after {
|
|
2457
|
-
-webkit-box-sizing: border-box;
|
|
2458
|
-
-moz-box-sizing: border-box;
|
|
2459
2752
|
box-sizing: border-box;
|
|
2460
2753
|
}
|
|
2461
2754
|
|
|
@@ -2466,7 +2759,7 @@
|
|
|
2466
2759
|
|
|
2467
2760
|
.sun-editor .se-controller-link .link-content a {
|
|
2468
2761
|
display: inline-block;
|
|
2469
|
-
color:
|
|
2762
|
+
color: var(--se-active-dark3-color);
|
|
2470
2763
|
max-width: 200px;
|
|
2471
2764
|
overflow: hidden;
|
|
2472
2765
|
text-overflow: ellipsis;
|
|
@@ -2483,18 +2776,19 @@
|
|
|
2483
2776
|
left: 0px;
|
|
2484
2777
|
z-index: 2147483647;
|
|
2485
2778
|
display: none;
|
|
2779
|
+
width: -webkit-max-content;
|
|
2780
|
+
width: -moz-max-content;
|
|
2486
2781
|
width: max-content;
|
|
2487
2782
|
height: auto;
|
|
2488
2783
|
overflow-y: visible;
|
|
2489
2784
|
overflow-x: visible;
|
|
2490
2785
|
overflow: visible;
|
|
2491
|
-
background-color:
|
|
2492
|
-
border-radius:
|
|
2786
|
+
background-color: var(--se-main-background-color);
|
|
2787
|
+
border-radius: var(--se-border-radius);
|
|
2493
2788
|
padding: 2px 0;
|
|
2494
2789
|
margin: 0;
|
|
2495
|
-
border: 1px solid
|
|
2496
|
-
|
|
2497
|
-
box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
|
|
2790
|
+
border: 1px solid var(--se-main-outline-color);
|
|
2791
|
+
box-shadow: 0 3px 9px var(--se-shadow-layer-color);
|
|
2498
2792
|
outline: 0 none;
|
|
2499
2793
|
}
|
|
2500
2794
|
|
|
@@ -2518,7 +2812,7 @@
|
|
|
2518
2812
|
list-style: none;
|
|
2519
2813
|
line-height: 28px;
|
|
2520
2814
|
min-height: 28px;
|
|
2521
|
-
font-size:
|
|
2815
|
+
font-size: var(--se-btn-font-size);
|
|
2522
2816
|
padding: 0 6px;
|
|
2523
2817
|
margin: 2px 0;
|
|
2524
2818
|
cursor: pointer;
|
|
@@ -2535,25 +2829,23 @@
|
|
|
2535
2829
|
}
|
|
2536
2830
|
|
|
2537
2831
|
.sun-editor .se-select-menu .se-select-item *.se-select-on {
|
|
2538
|
-
color:
|
|
2832
|
+
color: var(--se-active-dark3-color);
|
|
2539
2833
|
}
|
|
2540
2834
|
|
|
2541
2835
|
.sun-editor .se-select-menu.se-select-menu-mouse-move .se-select-item:hover,
|
|
2542
2836
|
.sun-editor .se-select-menu:not(.se-select-menu-mouse-move) .se-select-item.active {
|
|
2543
|
-
border-color:
|
|
2544
|
-
outline: 1px solid
|
|
2545
|
-
|
|
2546
|
-
box-shadow: 0 0 0 0.3rem #d0e3ff;
|
|
2837
|
+
border-color: var(--se-active-light3-color) !important;
|
|
2838
|
+
outline: 1px solid var(--se-active-color) !important;
|
|
2839
|
+
box-shadow: 0 0 0 0.3rem var(--se-active-light3-color);
|
|
2547
2840
|
transition: box-shadow 0.1s ease-in-out;
|
|
2548
2841
|
}
|
|
2549
2842
|
|
|
2550
2843
|
.sun-editor .se-select-menu.se-select-menu-mouse-move .se-select-item:active,
|
|
2551
2844
|
.sun-editor .se-select-menu.se-select-menu-mouse-move .se-select-item.__se__active {
|
|
2552
|
-
background-color:
|
|
2553
|
-
border-color:
|
|
2554
|
-
outline: 1px solid
|
|
2555
|
-
|
|
2556
|
-
box-shadow: inset 2px 2px 5px #b7ccf2, inset -2px -2px 5px #e6f2ff;
|
|
2845
|
+
background-color: var(--se-active-light4-color);
|
|
2846
|
+
border-color: var(--se-active-light4-color) !important;
|
|
2847
|
+
outline: 1px solid var(--se-active-color) !important;
|
|
2848
|
+
box-shadow: inset 2px 2px 5px var(--se-active-light6-color), inset -2px -2px 5px var(--se-active-light-color);
|
|
2557
2849
|
transition: background-color 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
|
|
2558
2850
|
}
|
|
2559
2851
|
|
|
@@ -2562,12 +2854,12 @@
|
|
|
2562
2854
|
height: auto;
|
|
2563
2855
|
}
|
|
2564
2856
|
|
|
2565
|
-
.sun-editor .se-select-menu.se-
|
|
2857
|
+
.sun-editor .se-select-menu.se-figure-select-list {
|
|
2566
2858
|
width: 74px;
|
|
2567
2859
|
}
|
|
2568
2860
|
|
|
2569
2861
|
/* --- browser ---------------------------------------------------------- */
|
|
2570
|
-
.sun-editor .se-
|
|
2862
|
+
.sun-editor .se-browser {
|
|
2571
2863
|
position: fixed;
|
|
2572
2864
|
display: none;
|
|
2573
2865
|
top: 0;
|
|
@@ -2577,27 +2869,27 @@
|
|
|
2577
2869
|
z-index: 2147483647;
|
|
2578
2870
|
}
|
|
2579
2871
|
|
|
2580
|
-
.sun-editor .se-
|
|
2581
|
-
.sun-editor .se-
|
|
2582
|
-
.sun-editor .se-
|
|
2583
|
-
font-size:
|
|
2872
|
+
.sun-editor .se-browser label,
|
|
2873
|
+
.sun-editor .se-browser input,
|
|
2874
|
+
.sun-editor .se-browser button {
|
|
2875
|
+
font-size: var(--se-modal-input-font-size);
|
|
2584
2876
|
line-height: 1.5;
|
|
2585
|
-
color:
|
|
2877
|
+
color: var(--se-main-color);
|
|
2586
2878
|
margin: 0;
|
|
2587
2879
|
}
|
|
2588
2880
|
|
|
2589
|
-
.sun-editor .se-
|
|
2881
|
+
.sun-editor .se-browser .se-browser-back {
|
|
2590
2882
|
position: absolute;
|
|
2591
2883
|
display: block;
|
|
2592
2884
|
width: 100%;
|
|
2593
2885
|
height: 100%;
|
|
2594
2886
|
top: 0;
|
|
2595
2887
|
left: 0;
|
|
2596
|
-
background-color:
|
|
2888
|
+
background-color: var(--se-overlay-background-color);
|
|
2597
2889
|
opacity: 0.5;
|
|
2598
2890
|
}
|
|
2599
2891
|
|
|
2600
|
-
.sun-editor .se-
|
|
2892
|
+
.sun-editor .se-browser .se-browser-inner {
|
|
2601
2893
|
position: absolute;
|
|
2602
2894
|
display: block;
|
|
2603
2895
|
width: 100%;
|
|
@@ -2606,61 +2898,147 @@
|
|
|
2606
2898
|
left: 0;
|
|
2607
2899
|
}
|
|
2608
2900
|
|
|
2609
|
-
.sun-editor .se-
|
|
2901
|
+
.sun-editor .se-browser .se-browser-inner .se-browser-content {
|
|
2610
2902
|
position: relative;
|
|
2611
|
-
width:
|
|
2903
|
+
width: 1024px;
|
|
2612
2904
|
max-width: 100%;
|
|
2613
2905
|
margin: 20px auto;
|
|
2614
|
-
background-color:
|
|
2906
|
+
background-color: var(--se-main-background-color);
|
|
2615
2907
|
-webkit-background-clip: padding-box;
|
|
2616
2908
|
background-clip: padding-box;
|
|
2617
2909
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
2618
|
-
border-radius:
|
|
2910
|
+
border-radius: var(--se-border-radius);
|
|
2619
2911
|
outline: 0;
|
|
2620
|
-
|
|
2621
|
-
box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
|
|
2912
|
+
box-shadow: 0 3px 9px var(--se-shadow-layer-color);
|
|
2622
2913
|
}
|
|
2623
2914
|
|
|
2624
2915
|
/* --- browser - header */
|
|
2625
|
-
.sun-editor .se-
|
|
2916
|
+
.sun-editor .se-browser .se-browser-header {
|
|
2626
2917
|
height: auto;
|
|
2627
2918
|
min-height: 50px;
|
|
2628
2919
|
padding: 6px 15px 6px 15px;
|
|
2629
|
-
border-bottom: 1px solid
|
|
2920
|
+
border-bottom: 1px solid var(--se-modal-border-color);
|
|
2630
2921
|
}
|
|
2631
2922
|
|
|
2632
|
-
.sun-editor .se-
|
|
2923
|
+
.sun-editor .se-browser .se-browser-header .se-browser-close {
|
|
2633
2924
|
float: right;
|
|
2634
2925
|
font-weight: bold;
|
|
2635
|
-
text-shadow: 0 1px 0
|
|
2926
|
+
text-shadow: 0 1px 0 var(--se-main-background-color);
|
|
2636
2927
|
filter: alpha(opacity=100);
|
|
2637
2928
|
opacity: 1;
|
|
2638
2929
|
}
|
|
2639
2930
|
|
|
2640
|
-
.sun-editor .se-
|
|
2641
|
-
font-size:
|
|
2931
|
+
.sun-editor .se-browser .se-browser-header .se-browser-title {
|
|
2932
|
+
font-size: var(--se-browser-title-font-size);
|
|
2642
2933
|
font-weight: bold;
|
|
2643
2934
|
margin: 0;
|
|
2644
2935
|
padding: 0;
|
|
2645
2936
|
line-height: 2.2;
|
|
2646
2937
|
}
|
|
2647
2938
|
|
|
2648
|
-
/* --- browser -
|
|
2649
|
-
.sun-editor .se-
|
|
2939
|
+
/* --- browser - main wrapper */
|
|
2940
|
+
.sun-editor .se-browser .se-browser-wrapper {
|
|
2941
|
+
display: flex;
|
|
2942
|
+
position: relative;
|
|
2943
|
+
}
|
|
2944
|
+
|
|
2945
|
+
/* --- browser - main */
|
|
2946
|
+
.sun-editor .se-browser .se-browser-main {
|
|
2947
|
+
flex: auto;
|
|
2948
|
+
}
|
|
2949
|
+
|
|
2950
|
+
/* --- browser - bar */
|
|
2951
|
+
.sun-editor .se-browser .se-browser-bar {
|
|
2952
|
+
height: auto;
|
|
2953
|
+
padding: 0px 15px;
|
|
2954
|
+
border-bottom: 1px solid var(--se-modal-border-color);
|
|
2955
|
+
}
|
|
2956
|
+
|
|
2957
|
+
/* --- browser - side */
|
|
2958
|
+
.sun-editor .se-browser .se-browser-side > div {
|
|
2959
|
+
overflow-y: auto;
|
|
2960
|
+
}
|
|
2961
|
+
.sun-editor .se-browser .se-browser-side > div:not(.se-side-open-btn) {
|
|
2962
|
+
height: 100%;
|
|
2963
|
+
padding: 4px;
|
|
2964
|
+
border-right: 1px solid var(--se-modal-border-color);
|
|
2965
|
+
min-width: 220px;
|
|
2966
|
+
flex-direction: row;
|
|
2967
|
+
color: var(--se-edit-font-color);
|
|
2968
|
+
line-height: 1.5;
|
|
2969
|
+
}
|
|
2970
|
+
.sun-editor .se-browser .se-browser-side .se-menu-icon {
|
|
2971
|
+
display: inline-block;
|
|
2972
|
+
width: 16px;
|
|
2973
|
+
height: 16px;
|
|
2974
|
+
margin: -1px 10px 0 0;
|
|
2975
|
+
vertical-align: middle;
|
|
2976
|
+
}
|
|
2977
|
+
.sun-editor .se-browser .se-browser-search .se-side-open-btn {
|
|
2978
|
+
display: none;
|
|
2979
|
+
margin: 8px 0 0 8px;
|
|
2980
|
+
opacity: 0.8;
|
|
2981
|
+
border: 1px solid var(--se-input-btn-border-color);
|
|
2982
|
+
color: var(--se-edit-font-color);
|
|
2983
|
+
}
|
|
2984
|
+
.sun-editor .se-browser .se-browser-side.se-side-show > div {
|
|
2985
|
+
display: block !important;
|
|
2986
|
+
}
|
|
2987
|
+
.sun-editor .se-browser .se-browser-side > div .se-menu-hidden {
|
|
2988
|
+
display: none;
|
|
2989
|
+
}
|
|
2990
|
+
.sun-editor .se-browser .se-menu-folder {
|
|
2991
|
+
cursor: pointer;
|
|
2992
|
+
}
|
|
2993
|
+
.sun-editor .se-browser .se-menu-folder > div:not(.se-menu-child) {
|
|
2994
|
+
display: flex;
|
|
2995
|
+
padding: 8px 10px 8px 20px;
|
|
2996
|
+
}
|
|
2997
|
+
.sun-editor .se-browser .se-menu-folder > div > button {
|
|
2998
|
+
margin-left: -20px;
|
|
2999
|
+
}
|
|
3000
|
+
.sun-editor .se-browser .se-menu-folder .se-menu-folder-item {
|
|
3001
|
+
padding: 8px 8px 8px 24px;
|
|
3002
|
+
}
|
|
3003
|
+
.sun-editor .se-browser .se-menu-folder > div:not(.se-menu-child) > .se-menu-icon > * {
|
|
3004
|
+
padding-top: 3px;
|
|
3005
|
+
}
|
|
3006
|
+
.sun-editor .se-browser .se-menu-folder .se-menu-folder-item > .se-menu-icon > * {
|
|
3007
|
+
margin-top: -1px;
|
|
3008
|
+
}
|
|
3009
|
+
.sun-editor .se-browser .se-menu-folder div:not(.se-menu-child):not(.active):hover {
|
|
3010
|
+
background-color: var(--se-main-divider-color);
|
|
3011
|
+
border-color: var(--se-main-border-color);
|
|
3012
|
+
}
|
|
3013
|
+
.sun-editor .se-browser .se-menu-folder div.active > button {
|
|
3014
|
+
color: var(--se-active-dark5-color);
|
|
3015
|
+
}
|
|
3016
|
+
.sun-editor .se-browser .se-menu-folder div.active,
|
|
3017
|
+
.sun-editor .se-browser .se-browser-search .se-side-open-btn.active {
|
|
3018
|
+
background-color: var(--se-active-light2-color);
|
|
3019
|
+
color: var(--se-active-dark5-color);
|
|
3020
|
+
}
|
|
3021
|
+
.sun-editor .se-browser .se-menu-folder.active {
|
|
3022
|
+
border-left: 2px solid var(--se-active-dark4-color);
|
|
3023
|
+
margin-left: -2px;
|
|
3024
|
+
}
|
|
3025
|
+
|
|
3026
|
+
/* --- browser - tags */
|
|
3027
|
+
.sun-editor .se-browser .se-browser-tags {
|
|
2650
3028
|
display: block;
|
|
2651
|
-
font-size:
|
|
3029
|
+
font-size: var(--se-main-font-size);
|
|
2652
3030
|
width: 100%;
|
|
2653
3031
|
padding: 0;
|
|
2654
3032
|
text-align: left;
|
|
2655
|
-
margin:
|
|
3033
|
+
margin-top: -5px;
|
|
2656
3034
|
}
|
|
2657
3035
|
|
|
2658
|
-
.sun-editor .se-
|
|
3036
|
+
.sun-editor .se-browser .se-browser-tags a {
|
|
2659
3037
|
display: inline-block;
|
|
2660
|
-
background-color:
|
|
3038
|
+
background-color: var(--se-code-view-color);
|
|
2661
3039
|
padding: 6px 12px;
|
|
2662
3040
|
margin: 8px 0 8px 8px;
|
|
2663
|
-
color:
|
|
3041
|
+
color: var(--se-main-font-color);
|
|
2664
3042
|
text-decoration: none;
|
|
2665
3043
|
border-radius: 32px;
|
|
2666
3044
|
-moz-border-radius: 32px;
|
|
@@ -2671,160 +3049,321 @@
|
|
|
2671
3049
|
cursor: pointer;
|
|
2672
3050
|
}
|
|
2673
3051
|
|
|
2674
|
-
|
|
2675
|
-
|
|
3052
|
+
/* --- browser - header - search */
|
|
3053
|
+
.sun-editor .se-browser .se-browser-search {
|
|
3054
|
+
display: flex;
|
|
3055
|
+
font-size: var(--se-main-font-size);
|
|
3056
|
+
width: 100%;
|
|
3057
|
+
height: 48px;
|
|
3058
|
+
padding: 0;
|
|
3059
|
+
text-align: left;
|
|
3060
|
+
margin: 0 -15px;
|
|
3061
|
+
}
|
|
3062
|
+
|
|
3063
|
+
.sun-editor .se-browser .se-browser-search .se-browser-search-form {
|
|
3064
|
+
width: 400px;
|
|
3065
|
+
max-width: 100%;
|
|
3066
|
+
display: flex;
|
|
3067
|
+
flex-direction: row;
|
|
3068
|
+
}
|
|
3069
|
+
.sun-editor .se-browser .se-browser-search .se-browser-search-form > * {
|
|
3070
|
+
margin: 8px;
|
|
3071
|
+
}
|
|
3072
|
+
.sun-editor .se-browser .se-browser-search .se-browser-search-form > .se-btn {
|
|
3073
|
+
margin-left: 0;
|
|
3074
|
+
margin-right: 0;
|
|
2676
3075
|
}
|
|
2677
3076
|
|
|
2678
|
-
.sun-editor .se-
|
|
2679
|
-
|
|
3077
|
+
.sun-editor .se-browser .se-browser-search input {
|
|
3078
|
+
flex: auto;
|
|
3079
|
+
background-color: transparent;
|
|
3080
|
+
padding: 3px 6px;
|
|
3081
|
+
color: var(--se-main-font-color);
|
|
3082
|
+
text-decoration: none;
|
|
3083
|
+
border-radius: var(--se-border-radius);
|
|
3084
|
+
-moz-border-radius: var(--se-border-radius);
|
|
3085
|
+
-webkit-border-radius: var(--se-border-radius);
|
|
3086
|
+
-moz-background-clip: padding;
|
|
3087
|
+
-webkit-background-clip: padding-box;
|
|
3088
|
+
background-clip: padding-box;
|
|
2680
3089
|
}
|
|
2681
3090
|
|
|
2682
|
-
.sun-editor .se-
|
|
2683
|
-
|
|
2684
|
-
color: #4592ff;
|
|
3091
|
+
.sun-editor .se-browser .se-browser-search button {
|
|
3092
|
+
float: none;
|
|
2685
3093
|
}
|
|
2686
3094
|
|
|
2687
|
-
.sun-editor .se-
|
|
2688
|
-
background-color:
|
|
3095
|
+
.sun-editor .se-browser .se-browser-tags a:hover {
|
|
3096
|
+
background-color: var(--se-main-divider-color);
|
|
3097
|
+
transition: background-color 0.2s ease-in-out;
|
|
2689
3098
|
}
|
|
2690
3099
|
|
|
2691
|
-
.sun-editor .se-
|
|
2692
|
-
background-color:
|
|
3100
|
+
.sun-editor .se-browser .se-browser-tags a:active {
|
|
3101
|
+
background-color: var(--se-main-border-color);
|
|
3102
|
+
}
|
|
3103
|
+
|
|
3104
|
+
.sun-editor .se-browser .se-browser-tags a.on {
|
|
3105
|
+
background-color: var(--se-active-light3-color);
|
|
3106
|
+
color: var(--se-active-dark3-color);
|
|
3107
|
+
}
|
|
3108
|
+
|
|
3109
|
+
.sun-editor .se-browser .se-browser-tags a.on:hover {
|
|
3110
|
+
background-color: var(--se-active-light5-color);
|
|
3111
|
+
transition: background-color 0.2s ease-in-out;
|
|
3112
|
+
}
|
|
3113
|
+
|
|
3114
|
+
.sun-editor .se-browser .se-browser-tags a.on:active {
|
|
3115
|
+
background-color: var(--se-active-light5-color);
|
|
2693
3116
|
}
|
|
2694
3117
|
|
|
2695
3118
|
/* --- browser - body */
|
|
2696
|
-
.sun-editor .se-
|
|
3119
|
+
.sun-editor .se-browser .se-browser-body {
|
|
2697
3120
|
position: relative;
|
|
2698
3121
|
height: auto;
|
|
2699
3122
|
min-height: 350px;
|
|
2700
|
-
padding:
|
|
3123
|
+
padding: 10px;
|
|
2701
3124
|
overflow-y: auto;
|
|
2702
3125
|
}
|
|
2703
3126
|
|
|
2704
|
-
.sun-editor .se-
|
|
3127
|
+
.sun-editor .se-browser .se-browser-body .se-browser-list {
|
|
2705
3128
|
position: relative;
|
|
2706
3129
|
width: 100%;
|
|
2707
3130
|
}
|
|
2708
3131
|
|
|
2709
3132
|
@media screen and (max-width: 992px) {
|
|
2710
|
-
.sun-editor .se-
|
|
3133
|
+
.sun-editor .se-browser .se-browser-inner .se-browser-content {
|
|
2711
3134
|
width: 748px;
|
|
2712
3135
|
}
|
|
3136
|
+
.sun-editor .se-browser .se-browser-side > div:not(.se-side-open-btn) {
|
|
3137
|
+
min-width: 180px;
|
|
3138
|
+
}
|
|
2713
3139
|
}
|
|
2714
3140
|
|
|
2715
3141
|
@media screen and (max-width: 768px) {
|
|
2716
|
-
.sun-editor .se-
|
|
3142
|
+
.sun-editor .se-browser .se-browser-inner .se-browser-content {
|
|
2717
3143
|
width: 600px;
|
|
2718
3144
|
}
|
|
3145
|
+
.sun-editor .se-browser .se-browser-side > div:not(.se-side-open-btn) {
|
|
3146
|
+
min-width: 150px;
|
|
3147
|
+
}
|
|
3148
|
+
}
|
|
3149
|
+
|
|
3150
|
+
@media screen and (max-width: 552px) {
|
|
3151
|
+
.sun-editor .se-browser .se-browser-side > div:not(.se-side-open-btn) {
|
|
3152
|
+
display: none;
|
|
3153
|
+
}
|
|
3154
|
+
.sun-editor .se-browser .se-browser-search .se-side-open-btn {
|
|
3155
|
+
display: block;
|
|
3156
|
+
}
|
|
3157
|
+
.sun-editor .se-browser .se-browser-side {
|
|
3158
|
+
position: absolute;
|
|
3159
|
+
height: calc(100% - 49px);
|
|
3160
|
+
top: 49px;
|
|
3161
|
+
z-index: 2;
|
|
3162
|
+
background-color: var(--se-main-background-color);
|
|
3163
|
+
opacity: 0.95;
|
|
3164
|
+
}
|
|
2719
3165
|
}
|
|
2720
3166
|
|
|
2721
3167
|
/* --- browser - column */
|
|
2722
|
-
.sun-editor .se-
|
|
3168
|
+
.sun-editor .se-browser .se-browser-list .se-file-item-column {
|
|
2723
3169
|
position: relative;
|
|
2724
3170
|
display: block;
|
|
2725
3171
|
height: auto;
|
|
2726
3172
|
float: left;
|
|
2727
3173
|
}
|
|
2728
3174
|
|
|
2729
|
-
|
|
2730
|
-
.sun-editor .se-file-browser .se-file-browser-list.se-image-list .se-file-item-column {
|
|
3175
|
+
.sun-editor .se-browser .se-browser-list.se-preview-list .se-file-item-column {
|
|
2731
3176
|
width: calc(25% - 20px);
|
|
2732
3177
|
margin: 0 10px;
|
|
2733
3178
|
}
|
|
2734
3179
|
|
|
2735
3180
|
@media screen and (max-width: 992px) {
|
|
2736
|
-
.sun-editor .se-
|
|
3181
|
+
.sun-editor .se-browser .se-browser-list.se-preview-list .se-file-item-column {
|
|
2737
3182
|
width: calc(33% - 20px);
|
|
2738
3183
|
}
|
|
2739
3184
|
}
|
|
2740
3185
|
|
|
2741
3186
|
@media screen and (max-width: 768px) {
|
|
2742
|
-
.sun-editor .se-
|
|
3187
|
+
.sun-editor .se-browser .se-browser-list.se-preview-list .se-file-item-column {
|
|
2743
3188
|
width: calc(50% - 20px);
|
|
2744
3189
|
}
|
|
2745
3190
|
}
|
|
2746
3191
|
|
|
2747
|
-
/* --- browser ---
|
|
2748
|
-
.sun-editor .se-
|
|
3192
|
+
/* --- browser --- item */
|
|
3193
|
+
.sun-editor .se-browser .se-browser-list.se-preview-list .se-file-item-img {
|
|
2749
3194
|
position: relative;
|
|
2750
3195
|
display: block;
|
|
2751
3196
|
cursor: pointer;
|
|
2752
3197
|
width: 100%;
|
|
2753
3198
|
height: auto;
|
|
2754
|
-
border-radius:
|
|
3199
|
+
border-radius: var(--se-border-radius);
|
|
2755
3200
|
outline: 0;
|
|
2756
3201
|
margin: 10px 0;
|
|
2757
3202
|
}
|
|
2758
3203
|
|
|
2759
|
-
.sun-editor .se-
|
|
3204
|
+
.sun-editor .se-browser .se-browser-list.se-preview-list .se-file-item-img:hover {
|
|
2760
3205
|
opacity: 0.8;
|
|
2761
|
-
|
|
2762
|
-
box-shadow
|
|
3206
|
+
box-shadow: 0 0 0 0.2rem var(--se-active-color);
|
|
3207
|
+
transition: box-shadow 0.1s ease-in-out;
|
|
2763
3208
|
}
|
|
2764
3209
|
|
|
2765
|
-
.sun-editor .se-
|
|
3210
|
+
.sun-editor .se-browser .se-browser-list.se-preview-list .se-file-item-img > img {
|
|
2766
3211
|
position: relative;
|
|
2767
3212
|
display: block;
|
|
2768
3213
|
width: 100%;
|
|
2769
|
-
border-radius:
|
|
3214
|
+
border-radius: var(--se-border-radius);
|
|
2770
3215
|
outline: 0;
|
|
2771
3216
|
height: auto;
|
|
2772
3217
|
}
|
|
2773
3218
|
|
|
2774
|
-
.sun-editor .se-
|
|
3219
|
+
.sun-editor .se-browser .se-browser-list.se-preview-list .se-file-item-img > .se-file-name-image {
|
|
2775
3220
|
position: absolute;
|
|
2776
3221
|
z-index: 1;
|
|
2777
|
-
font-size:
|
|
2778
|
-
color:
|
|
3222
|
+
font-size: var(--se-main-font-size);
|
|
3223
|
+
color: var(--se-main-background-color);
|
|
2779
3224
|
left: 0px;
|
|
2780
3225
|
bottom: 0;
|
|
2781
3226
|
padding: 5px 10px;
|
|
2782
3227
|
background-color: transparent;
|
|
2783
3228
|
width: 100%;
|
|
2784
3229
|
height: 30px;
|
|
2785
|
-
border-bottom-right-radius:
|
|
2786
|
-
border-bottom-left-radius:
|
|
3230
|
+
border-bottom-right-radius: var(--se-border-radius);
|
|
3231
|
+
border-bottom-left-radius: var(--se-border-radius);
|
|
2787
3232
|
pointer-events: none;
|
|
2788
3233
|
}
|
|
2789
3234
|
|
|
2790
|
-
.sun-editor .se-
|
|
2791
|
-
background-color:
|
|
3235
|
+
.sun-editor .se-browser .se-browser-list.se-preview-list .se-file-item-img > .se-file-name-image.se-file-name-back {
|
|
3236
|
+
background-color: var(--se-main-font-color);
|
|
2792
3237
|
opacity: 0.6;
|
|
2793
3238
|
pointer-events: none;
|
|
2794
3239
|
}
|
|
2795
3240
|
|
|
2796
|
-
|
|
2797
|
-
|
|
3241
|
+
.sun-editor .se-browser .se-browser-list.se-preview-list .se-file-item-img > * {
|
|
3242
|
+
display: flex;
|
|
3243
|
+
justify-content: center;
|
|
3244
|
+
align-items: center;
|
|
3245
|
+
}
|
|
3246
|
+
|
|
3247
|
+
/* --- browser - empty-thumbnail */
|
|
3248
|
+
.sun-editor .se-browser .se-browser-list.se-preview-list .se-file-item-img > .se-browser-empty-thumbnail {
|
|
3249
|
+
width: 100%;
|
|
3250
|
+
height: 170px;
|
|
3251
|
+
max-height: 100%;
|
|
3252
|
+
background-color: var(--se-active-light-color);
|
|
3253
|
+
border-radius: var(--se-border-radius);
|
|
3254
|
+
}
|
|
3255
|
+
.sun-editor .se-browser .se-browser-list.se-preview-list .se-file-item-img > .se-browser-empty-thumbnail > svg {
|
|
3256
|
+
width: 90px;
|
|
3257
|
+
max-width: 100%;
|
|
3258
|
+
height: auto;
|
|
3259
|
+
margin-bottom: 30px;
|
|
3260
|
+
color: var(--se-active-color);
|
|
3261
|
+
}
|
|
3262
|
+
|
|
3263
|
+
/** --- alert */
|
|
3264
|
+
.sun-editor .se-alert-content {
|
|
2798
3265
|
position: relative;
|
|
2799
|
-
display: none;
|
|
2800
3266
|
z-index: 7;
|
|
2801
3267
|
max-width: 500px;
|
|
2802
3268
|
width: auto;
|
|
2803
3269
|
height: auto;
|
|
2804
|
-
margin:
|
|
2805
|
-
|
|
2806
|
-
-
|
|
2807
|
-
box-shadow: 0 3px 9px
|
|
3270
|
+
margin: auto;
|
|
3271
|
+
top: 35%;
|
|
3272
|
+
border-radius: var(--se-border-radius);
|
|
3273
|
+
box-shadow: 0 3px 9px var(--se-shadow-layer-color);
|
|
2808
3274
|
word-break: break-all;
|
|
2809
|
-
color:
|
|
2810
|
-
background-color: #fff;
|
|
3275
|
+
background-color: var(--se-main-background-color);
|
|
2811
3276
|
padding: 15px;
|
|
2812
3277
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
3278
|
+
opacity: 0;
|
|
3279
|
+
visibility: hidden;
|
|
3280
|
+
transform: scale(0.9);
|
|
3281
|
+
transition: opacity 0.25s ease, transform 0.25s ease;
|
|
3282
|
+
}
|
|
3283
|
+
.sun-editor .se-alert-content.se-modal-show {
|
|
3284
|
+
opacity: 1;
|
|
3285
|
+
visibility: visible;
|
|
3286
|
+
transform: scale(1);
|
|
3287
|
+
animation: se-alert-in 0.25s ease forwards;
|
|
2813
3288
|
}
|
|
2814
3289
|
|
|
2815
|
-
.sun-editor .se-
|
|
3290
|
+
.sun-editor .se-alert-content button {
|
|
2816
3291
|
float: right;
|
|
3292
|
+
padding: 0;
|
|
3293
|
+
}
|
|
3294
|
+
|
|
3295
|
+
/** --- alert - success */
|
|
3296
|
+
.sun-editor .se-alert-content.se-alert-success {
|
|
3297
|
+
color: var(--se-success-color);
|
|
3298
|
+
border-color: var(--se-success-light4-color);
|
|
3299
|
+
}
|
|
3300
|
+
|
|
3301
|
+
/** --- alert - error */
|
|
3302
|
+
.sun-editor .se-alert-content.se-alert-error {
|
|
3303
|
+
color: var(--se-error-color);
|
|
3304
|
+
border-color: var(--se-error-light4-color);
|
|
3305
|
+
}
|
|
3306
|
+
|
|
3307
|
+
/** --- toast */
|
|
3308
|
+
.sun-editor .se-toast {
|
|
3309
|
+
background: transparent;
|
|
3310
|
+
position: fixed;
|
|
3311
|
+
display: none;
|
|
3312
|
+
top: 0;
|
|
3313
|
+
left: 0;
|
|
3314
|
+
width: 100%;
|
|
3315
|
+
height: 100%;
|
|
3316
|
+
z-index: 2147483647;
|
|
3317
|
+
pointer-events: none;
|
|
3318
|
+
}
|
|
3319
|
+
|
|
3320
|
+
.sun-editor .se-toast .se-toast-container {
|
|
3321
|
+
position: relative;
|
|
3322
|
+
max-width: 100%;
|
|
3323
|
+
width: max-content;
|
|
3324
|
+
height: max-content;
|
|
3325
|
+
margin: auto;
|
|
3326
|
+
top: 35%;
|
|
3327
|
+
border-radius: var(--se-border-radius);
|
|
3328
|
+
box-shadow: 0 3px 9px var(--se-shadow-layer-color);
|
|
3329
|
+
word-break: break-all;
|
|
3330
|
+
background-color: var(--se-main-font-color);
|
|
3331
|
+
color: var(--se-main-background-color);
|
|
3332
|
+
text-align: center;
|
|
3333
|
+
line-height: unset;
|
|
3334
|
+
font-size: 0.9em;
|
|
2817
3335
|
padding: 7px;
|
|
3336
|
+
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
3337
|
+
opacity: 0;
|
|
3338
|
+
transform: scale(0.9);
|
|
3339
|
+
transition: opacity 0.25s ease, transform 0.25s ease;
|
|
3340
|
+
opacity: 0;
|
|
3341
|
+
transform: translateY(20px);
|
|
3342
|
+
}
|
|
3343
|
+
.sun-editor .se-toast .se-toast-container.se-toast-show {
|
|
3344
|
+
opacity: 1;
|
|
3345
|
+
animation: toast-in 0.3s ease-out forwards, toast-out 0.3s ease-in forwards 3s;
|
|
3346
|
+
}
|
|
3347
|
+
|
|
3348
|
+
/** --- toast - success */
|
|
3349
|
+
.sun-editor .se-toast.se-toast-success .se-toast-container {
|
|
3350
|
+
background-color: var(--se-success-color);
|
|
3351
|
+
border-color: var(--se-success-light4-color);
|
|
3352
|
+
}
|
|
3353
|
+
|
|
3354
|
+
/** --- toast - error */
|
|
3355
|
+
.sun-editor .se-toast.se-toast-error .se-toast-container {
|
|
3356
|
+
background-color: var(--se-error-color);
|
|
3357
|
+
border-color: var(--se-error-light3-color);
|
|
2818
3358
|
}
|
|
2819
3359
|
|
|
2820
3360
|
/* --- Input focus */
|
|
2821
3361
|
.sun-editor input:not(.se-toolbar-btn):focus,
|
|
2822
3362
|
.sun-editor select:focus,
|
|
2823
3363
|
.sun-editor textarea:focus {
|
|
2824
|
-
border-color:
|
|
3364
|
+
border-color: var(--se-active-dark-color);
|
|
2825
3365
|
outline: 0;
|
|
2826
|
-
|
|
2827
|
-
box-shadow: 0 0 0 0.2rem #d0e3ff;
|
|
3366
|
+
box-shadow: 0 0 0 0.2rem var(--se-active-light3-color);
|
|
2828
3367
|
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
|
|
2829
3368
|
}
|
|
2830
3369
|
|
|
@@ -2832,7 +3371,7 @@
|
|
|
2832
3371
|
.sun-editor .se-tooltip {
|
|
2833
3372
|
position: relative;
|
|
2834
3373
|
overflow: visible;
|
|
2835
|
-
font-size:
|
|
3374
|
+
font-size: var(--se-main-font-size);
|
|
2836
3375
|
}
|
|
2837
3376
|
|
|
2838
3377
|
.sun-editor .se-tooltip .se-tooltip-inner {
|
|
@@ -2867,9 +3406,9 @@
|
|
|
2867
3406
|
font-size: 0.9em;
|
|
2868
3407
|
margin: 0;
|
|
2869
3408
|
padding: 4px 6px;
|
|
2870
|
-
border-radius:
|
|
2871
|
-
background-color:
|
|
2872
|
-
color:
|
|
3409
|
+
border-radius: var(--se-border-radius);
|
|
3410
|
+
background-color: var(--se-main-font-color);
|
|
3411
|
+
color: var(--se-main-background-color);
|
|
2873
3412
|
text-align: center;
|
|
2874
3413
|
line-height: unset;
|
|
2875
3414
|
white-space: nowrap;
|
|
@@ -2884,7 +3423,7 @@
|
|
|
2884
3423
|
margin-left: -5px;
|
|
2885
3424
|
border-width: 5px;
|
|
2886
3425
|
border-style: solid;
|
|
2887
|
-
border-color: transparent transparent
|
|
3426
|
+
border-color: transparent transparent var(--se-main-font-color) transparent;
|
|
2888
3427
|
}
|
|
2889
3428
|
|
|
2890
3429
|
.sun-editor .se-tooltip:hover .se-tooltip-inner {
|
|
@@ -2913,10 +3452,26 @@
|
|
|
2913
3452
|
border-left: 0;
|
|
2914
3453
|
border-right: 0;
|
|
2915
3454
|
border-radius: 0;
|
|
2916
|
-
border-bottom: 2px solid
|
|
3455
|
+
border-bottom: 2px solid var(--se-main-outline-color);
|
|
2917
3456
|
outline: none;
|
|
2918
3457
|
text-transform: uppercase;
|
|
2919
3458
|
}
|
|
3459
|
+
.sun-editor input.se-color-input::-webkit-input-placeholder {
|
|
3460
|
+
font-size: 0.9em;
|
|
3461
|
+
text-transform: none;
|
|
3462
|
+
}
|
|
3463
|
+
.sun-editor input.se-color-input::-moz-placeholder {
|
|
3464
|
+
font-size: 0.9em;
|
|
3465
|
+
text-transform: none;
|
|
3466
|
+
}
|
|
3467
|
+
.sun-editor input.se-color-input:-ms-input-placeholder {
|
|
3468
|
+
font-size: 0.9em;
|
|
3469
|
+
text-transform: none;
|
|
3470
|
+
}
|
|
3471
|
+
.sun-editor input.se-color-input::-ms-input-placeholder {
|
|
3472
|
+
font-size: 0.9em;
|
|
3473
|
+
text-transform: none;
|
|
3474
|
+
}
|
|
2920
3475
|
.sun-editor input.se-color-input::placeholder {
|
|
2921
3476
|
font-size: 0.9em;
|
|
2922
3477
|
text-transform: none;
|
|
@@ -2936,11 +3491,11 @@
|
|
|
2936
3491
|
|
|
2937
3492
|
/** --- selected class */
|
|
2938
3493
|
/* -- table */
|
|
2939
|
-
.sun-editor-editable
|
|
2940
|
-
.sun-editor-editable
|
|
3494
|
+
.sun-editor-editable table td.se-selected-table-cell::after,
|
|
3495
|
+
.sun-editor-editable table th.se-selected-table-cell::after {
|
|
2941
3496
|
position: absolute;
|
|
2942
3497
|
content: '';
|
|
2943
|
-
background-color:
|
|
3498
|
+
background-color: var(--se-active-light3-color);
|
|
2944
3499
|
opacity: 0.3;
|
|
2945
3500
|
width: 100%;
|
|
2946
3501
|
height: 100%;
|
|
@@ -2951,7 +3506,7 @@
|
|
|
2951
3506
|
}
|
|
2952
3507
|
.sun-editor-editable[contenteditable='true'] table td.se-selected-cell-focus,
|
|
2953
3508
|
.sun-editor-editable[contenteditable='true'] table th.se-selected-cell-focus {
|
|
2954
|
-
outline: 2px dashed
|
|
3509
|
+
outline: 2px dashed var(--se-active-dark3-color);
|
|
2955
3510
|
z-index: 1;
|
|
2956
3511
|
}
|
|
2957
3512
|
|
|
@@ -2962,6 +3517,10 @@
|
|
|
2962
3517
|
transform: scaleX(-1);
|
|
2963
3518
|
}
|
|
2964
3519
|
|
|
3520
|
+
.sun-editor.se-rtl .se-text-prefix-icon {
|
|
3521
|
+
float: right;
|
|
3522
|
+
}
|
|
3523
|
+
|
|
2965
3524
|
.sun-editor.se-rtl .se-btn-select svg {
|
|
2966
3525
|
margin: auto 1px;
|
|
2967
3526
|
}
|
|
@@ -2987,21 +3546,21 @@
|
|
|
2987
3546
|
.sun-editor.se-rtl button.se-side-btn-b {
|
|
2988
3547
|
float: right;
|
|
2989
3548
|
margin-right: 0;
|
|
2990
|
-
border-radius:
|
|
3549
|
+
border-radius: var(--se-border-radius) 0 0 var(--se-border-radius);
|
|
2991
3550
|
}
|
|
2992
3551
|
.sun-editor.se-rtl button.se-side-btn-a {
|
|
2993
3552
|
float: right;
|
|
2994
3553
|
margin-left: 0;
|
|
2995
|
-
border-radius: 0
|
|
3554
|
+
border-radius: 0 var(--se-border-radius) var(--se-border-radius) 0;
|
|
2996
3555
|
}
|
|
2997
3556
|
.sun-editor.se-rtl button.se-side-btn-after {
|
|
2998
3557
|
margin-right: 0;
|
|
2999
|
-
border-radius:
|
|
3558
|
+
border-radius: var(--se-border-radius) 0 0 var(--se-border-radius);
|
|
3000
3559
|
}
|
|
3001
3560
|
.sun-editor.se-rtl button.se-side-btn-before {
|
|
3002
3561
|
float: right;
|
|
3003
3562
|
margin-left: 0;
|
|
3004
|
-
border-radius: 0
|
|
3563
|
+
border-radius: 0 var(--se-border-radius) var(--se-border-radius) 0;
|
|
3005
3564
|
}
|
|
3006
3565
|
|
|
3007
3566
|
/* after, before button:hover - on, active - border */
|
|
@@ -3079,32 +3638,32 @@
|
|
|
3079
3638
|
}
|
|
3080
3639
|
|
|
3081
3640
|
/* modal--- */
|
|
3082
|
-
.sun-editor.se-rtl .se-modal * {
|
|
3641
|
+
.sun-editor.se-rtl .se-modal-area * {
|
|
3083
3642
|
direction: rtl;
|
|
3084
3643
|
}
|
|
3085
3644
|
|
|
3086
|
-
.sun-editor.se-rtl .se-modal .se-modal-inner .se-modal-form .se-
|
|
3645
|
+
.sun-editor.se-rtl .se-modal-area .se-modal-inner .se-modal-form .se-modal-ratio {
|
|
3087
3646
|
margin-left: 0;
|
|
3088
3647
|
margin-right: 4px;
|
|
3089
3648
|
}
|
|
3090
3649
|
|
|
3091
3650
|
/* modal - header */
|
|
3092
|
-
.sun-editor.se-rtl .se-modal .se-modal-inner .se-modal-header .se-close-btn {
|
|
3651
|
+
.sun-editor.se-rtl .se-modal-area .se-modal-inner .se-modal-header .se-close-btn {
|
|
3093
3652
|
float: left;
|
|
3094
3653
|
}
|
|
3095
3654
|
|
|
3096
|
-
.sun-editor.se-rtl .se-modal .se-modal-inner .se-modal-header .se-modal-title {
|
|
3655
|
+
.sun-editor.se-rtl .se-modal-area .se-modal-inner .se-modal-header .se-modal-title {
|
|
3097
3656
|
float: right;
|
|
3098
3657
|
}
|
|
3099
3658
|
|
|
3100
3659
|
/* modal - edge button */
|
|
3101
|
-
.sun-editor.se-rtl .se-modal .se-modal-inner .se-modal-form .se-modal-form-files .se-modal-files-edge-button {
|
|
3660
|
+
.sun-editor.se-rtl .se-modal-area .se-modal-inner .se-modal-form .se-modal-form-files .se-modal-files-edge-button {
|
|
3102
3661
|
margin-left: 0;
|
|
3103
3662
|
margin-right: 1px;
|
|
3104
3663
|
}
|
|
3105
3664
|
|
|
3106
3665
|
/* modal - rel button */
|
|
3107
|
-
.sun-editor.se-rtl .se-modal .se-modal-inner .se-modal-form .se-modal-flex-form .se-btn {
|
|
3666
|
+
.sun-editor.se-rtl .se-modal-area .se-modal-inner .se-modal-form .se-modal-flex-form .se-btn {
|
|
3108
3667
|
margin-right: 0;
|
|
3109
3668
|
margin-left: 4px;
|
|
3110
3669
|
}
|
|
@@ -3114,62 +3673,100 @@
|
|
|
3114
3673
|
float: right;
|
|
3115
3674
|
}
|
|
3116
3675
|
|
|
3117
|
-
.sun-editor.se-rtl .se-modal .se-modal-inner .se-modal-size-text {
|
|
3118
|
-
padding-right:
|
|
3676
|
+
.sun-editor.se-rtl .se-modal-area .se-modal-inner .se-modal-size-text {
|
|
3677
|
+
padding-right: var(--se-input-btn-size);
|
|
3678
|
+
}
|
|
3679
|
+
|
|
3680
|
+
/* modal - flex-group */
|
|
3681
|
+
.sun-editor.se-rtl .se-modal-area .se-modal-inner .se-modal-form .se-modal-flex-form .se-modal-flex-group {
|
|
3682
|
+
margin-right: 0;
|
|
3683
|
+
margin-left: 4px;
|
|
3684
|
+
padding-right: 4px;
|
|
3685
|
+
padding-left: 0;
|
|
3119
3686
|
}
|
|
3120
3687
|
|
|
3121
3688
|
/* modal - footer */
|
|
3122
|
-
.sun-editor.se-rtl .se-modal .se-modal-inner .se-modal-footer .se-btn-primary {
|
|
3689
|
+
.sun-editor.se-rtl .se-modal-area .se-modal-inner .se-modal-footer .se-btn-primary {
|
|
3123
3690
|
float: left;
|
|
3124
3691
|
}
|
|
3125
3692
|
|
|
3126
|
-
.sun-editor.se-rtl .se-modal .se-modal-inner .se-modal-footer > div {
|
|
3693
|
+
.sun-editor.se-rtl .se-modal-area .se-modal-inner .se-modal-footer > div {
|
|
3127
3694
|
float: right;
|
|
3128
3695
|
}
|
|
3129
3696
|
|
|
3130
|
-
.sun-editor.se-rtl .se-modal .se-modal-inner .se-modal-footer > div > label {
|
|
3697
|
+
.sun-editor.se-rtl .se-modal-area .se-modal-inner .se-modal-footer > div > label {
|
|
3131
3698
|
margin: 0 0 0 5px;
|
|
3132
3699
|
}
|
|
3133
3700
|
|
|
3134
|
-
.sun-editor.se-rtl .se-modal .se-modal-inner .se-modal-form-footer label:first-child {
|
|
3701
|
+
.sun-editor.se-rtl .se-modal-area .se-modal-inner .se-modal-form-footer label:first-child {
|
|
3135
3702
|
margin-left: 16px;
|
|
3136
3703
|
margin-right: 0px;
|
|
3137
3704
|
}
|
|
3138
3705
|
|
|
3139
3706
|
/* modal - footer - link preview*/
|
|
3140
|
-
.sun-editor.se-rtl .se-modal .se-modal-inner .se-anchor-rel-preview {
|
|
3707
|
+
.sun-editor.se-rtl .se-modal-area .se-modal-inner .se-anchor-rel-preview {
|
|
3141
3708
|
margin-left: 4px;
|
|
3142
3709
|
text-align: right;
|
|
3143
3710
|
}
|
|
3144
3711
|
|
|
3145
3712
|
/* modal - revert button */
|
|
3146
|
-
.sun-editor.se-rtl .se-modal .se-modal-inner .se-modal-btn-revert {
|
|
3713
|
+
.sun-editor.se-rtl .se-modal-area .se-modal-inner .se-modal-btn-revert {
|
|
3147
3714
|
float: left;
|
|
3148
3715
|
}
|
|
3149
3716
|
|
|
3150
3717
|
/* anchor module */
|
|
3151
|
-
.sun-editor.se-rtl .se-modal .se-modal-inner .se-anchor-rel-btn {
|
|
3718
|
+
.sun-editor.se-rtl .se-modal-area .se-modal-inner .se-anchor-rel-btn {
|
|
3152
3719
|
float: right;
|
|
3153
3720
|
}
|
|
3154
3721
|
|
|
3155
|
-
/*
|
|
3156
|
-
.sun-editor.se-rtl .se-
|
|
3722
|
+
/* Browser--- */
|
|
3723
|
+
.sun-editor.se-rtl .se-browser * {
|
|
3157
3724
|
direction: rtl;
|
|
3158
3725
|
}
|
|
3159
3726
|
|
|
3160
|
-
/*
|
|
3161
|
-
.sun-editor.se-rtl .se-
|
|
3727
|
+
/* Browser - tags */
|
|
3728
|
+
.sun-editor.se-rtl .se-browser .se-browser-tags {
|
|
3162
3729
|
text-align: right;
|
|
3163
3730
|
}
|
|
3164
3731
|
|
|
3165
|
-
.sun-editor.se-rtl .se-
|
|
3732
|
+
.sun-editor.se-rtl .se-browser .se-browser-tags a {
|
|
3166
3733
|
margin: 8px 8px 0 8px;
|
|
3167
3734
|
}
|
|
3168
3735
|
|
|
3169
|
-
.sun-editor.se-rtl .se-
|
|
3736
|
+
.sun-editor.se-rtl .se-browser .se-browser-header .se-browser-close {
|
|
3170
3737
|
float: left;
|
|
3171
3738
|
}
|
|
3172
3739
|
|
|
3740
|
+
/* Browser - side */
|
|
3741
|
+
.sun-editor.se-rtl .se-browser .se-browser-side > div {
|
|
3742
|
+
flex-direction: row-reverse;
|
|
3743
|
+
border-right: none;
|
|
3744
|
+
border-left: 1px solid var(--se-modal-border-color);
|
|
3745
|
+
}
|
|
3746
|
+
.sun-editor.se-rtl .se-browser .se-menu-folder > div:not(.se-menu-child) {
|
|
3747
|
+
padding: 8px 20px 8px 10px;
|
|
3748
|
+
}
|
|
3749
|
+
.sun-editor.se-rtl .se-browser .se-menu-folder > div > button {
|
|
3750
|
+
margin-left: 0;
|
|
3751
|
+
margin-right: -20px;
|
|
3752
|
+
}
|
|
3753
|
+
.sun-editor.se-rtl .se-browser .se-menu-folder.active {
|
|
3754
|
+
border-left: none;
|
|
3755
|
+
margin-left: 0;
|
|
3756
|
+
border-right: 2px solid var(--se-active-dark4-color);
|
|
3757
|
+
margin-right: -2px;
|
|
3758
|
+
}
|
|
3759
|
+
.sun-editor.se-rtl .se-browser .se-browser-search .se-browser-search-form {
|
|
3760
|
+
margin: 2px 8px;
|
|
3761
|
+
flex-direction: row-reverse;
|
|
3762
|
+
}
|
|
3763
|
+
.sun-editor.se-rtl .se-browser .se-browser-side .se-menu-icon {
|
|
3764
|
+
margin: 0 0 0 10px;
|
|
3765
|
+
}
|
|
3766
|
+
.sun-editor.se-rtl .se-browser .se-browser-search .se-side-open-btn {
|
|
3767
|
+
margin: 8px 8px 0 0;
|
|
3768
|
+
}
|
|
3769
|
+
|
|
3173
3770
|
/** controller--- */
|
|
3174
3771
|
.sun-editor.se-rtl .se-controller .se-btn-group {
|
|
3175
3772
|
direction: rtl;
|
|
@@ -3208,11 +3805,75 @@
|
|
|
3208
3805
|
margin-left: 0;
|
|
3209
3806
|
}
|
|
3210
3807
|
|
|
3211
|
-
.sun-editor.se-rtl
|
|
3808
|
+
.sun-editor-editable.se-rtl[contenteditable='true'].se-copy-format-cursor {
|
|
3212
3809
|
cursor: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjRweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMjQgMTYiIHZlcnNpb249IjEuMSI+CjxnIGlkPSJzdXJmYWNlMSI+CjxwYXRoIHN0eWxlPSIgc3Ryb2tlOm5vbmU7ZmlsbC1ydWxlOm5vbnplcm87ZmlsbDpyZ2IoMCUsMCUsMCUpO2ZpbGwtb3BhY2l0eToxOyIgZD0iTSAxMiAyLjY2Nzk2OSBMIDEyIDIgQyAxMiAxLjYzMjgxMiAxMS43MDMxMjUgMS4zMzIwMzEgMTEuMzMyMDMxIDEuMzMyMDMxIEwgMy4zMzIwMzEgMS4zMzIwMzEgQyAyLjk2NDg0NCAxLjMzMjAzMSAyLjY2Nzk2OSAxLjYzMjgxMiAyLjY2Nzk2OSAyIEwgMi42Njc5NjkgNC42Njc5NjkgQyAyLjY2Nzk2OSA1LjAzNTE1NiAyLjk2NDg0NCA1LjMzMjAzMSAzLjMzMjAzMSA1LjMzMjAzMSBMIDExLjMzMjAzMSA1LjMzMjAzMSBDIDExLjcwMzEyNSA1LjMzMjAzMSAxMiA1LjAzNTE1NiAxMiA0LjY2Nzk2OSBMIDEyIDQgTCAxMi42Njc5NjkgNCBMIDEyLjY2Nzk2OSA2LjY2Nzk2OSBMIDYgNi42Njc5NjkgTCA2IDE0IEMgNiAxNC4zNjcxODggNi4yOTY4NzUgMTQuNjY3OTY5IDYuNjY3OTY5IDE0LjY2Nzk2OSBMIDggMTQuNjY3OTY5IEMgOC4zNjcxODggMTQuNjY3OTY5IDguNjY3OTY5IDE0LjM2NzE4OCA4LjY2Nzk2OSAxNCBMIDguNjY3OTY5IDggTCAxNCA4IEwgMTQgMi42Njc5NjkgWiBNIDEyIDIuNjY3OTY5ICIvPgo8cGF0aCBzdHlsZT0iIHN0cm9rZTpub25lO2ZpbGwtcnVsZTpub256ZXJvO2ZpbGw6cmdiKDAlLDAlLDAlKTtmaWxsLW9wYWNpdHk6MTsiIGQ9Ik0gMjAuMzMyMDMxIDEyLjY2Nzk2OSBDIDIwLjMzMjAzMSAxMy4wMzUxNTYgMjAuNDg0Mzc1IDEzLjMzMjAzMSAyMC42Njc5NjkgMTMuMzMyMDMxIEwgMjEuMzMyMDMxIDEzLjMzMjAzMSBMIDIxLjMzMjAzMSAxNC42Njc5NjkgTCAyMC41IDE0LjY2Nzk2OSBDIDIwLjMxNjQwNiAxNC42Njc5NjkgMjAgMTQuMzY3MTg4IDIwIDE0IEMgMjAgMTQuMzY3MTg4IDE5LjY4MzU5NCAxNC42Njc5NjkgMTkuNSAxNC42Njc5NjkgTCAxOC42Njc5NjkgMTQuNjY3OTY5IEwgMTguNjY3OTY5IDEzLjMzMjAzMSBMIDE5LjMzMjAzMSAxMy4zMzIwMzEgQyAxOS41MTU2MjUgMTMuMzMyMDMxIDE5LjY2Nzk2OSAxMy4wMzUxNTYgMTkuNjY3OTY5IDEyLjY2Nzk2OSBMIDE5LjY2Nzk2OSAzLjMzMjAzMSBDIDE5LjY2Nzk2OSAyLjk2NDg0NCAxOS41MTU2MjUgMi42Njc5NjkgMTkuMzMyMDMxIDIuNjY3OTY5IEwgMTguNjY3OTY5IDIuNjY3OTY5IEwgMTguNjY3OTY5IDEuMzMyMDMxIEwgMTkuNSAxLjMzMjAzMSBDIDE5LjY4MzU5NCAxLjMzMjAzMSAyMCAxLjYzMjgxMiAyMCAyIEMgMjAgMS42MzI4MTIgMjAuMzE2NDA2IDEuMzMyMDMxIDIwLjUgMS4zMzIwMzEgTCAyMS4zMzIwMzEgMS4zMzIwMzEgTCAyMS4zMzIwMzEgMi42Njc5NjkgTCAyMC42Njc5NjkgMi42Njc5NjkgQyAyMC40ODQzNzUgMi42Njc5NjkgMjAuMzMyMDMxIDIuOTY0ODQ0IDIwLjMzMjAzMSAzLjMzMjAzMSBaIE0gMjAuMzMyMDMxIDEyLjY2Nzk2OSAiLz4KPC9nPgo8L3N2Zz4K')
|
|
3213
3810
|
24 0,
|
|
3214
3811
|
text;
|
|
3215
3812
|
}
|
|
3813
|
+
|
|
3814
|
+
/** se-type-document - header */
|
|
3815
|
+
.sun-editor.se-rtl .se-wrapper.se-type-document .se-document-lines .se-document-lines-inner {
|
|
3816
|
+
padding-left: var(--se-doc-info-inner-line-padding);
|
|
3817
|
+
padding-right: var(--se-doc-info-inner-padding);
|
|
3818
|
+
direction: rtl;
|
|
3819
|
+
}
|
|
3820
|
+
.sun-editor.se-rtl .se-wrapper.se-type-document .se-document-lines .se-document-lines-inner > div.se-doc-h1 {
|
|
3821
|
+
padding-left: var(--se-doc-info-inner-line-padding);
|
|
3822
|
+
padding-right: var(--se-doc-info-inner-line-indent-h1);
|
|
3823
|
+
}
|
|
3824
|
+
.sun-editor.se-rtl .se-wrapper.se-type-document .se-document-lines .se-document-lines-inner > div.se-doc-h2 {
|
|
3825
|
+
padding-left: var(--se-doc-info-inner-line-padding);
|
|
3826
|
+
padding-right: var(--se-doc-info-inner-line-indent-h2);
|
|
3827
|
+
}
|
|
3828
|
+
.sun-editor.se-rtl .se-wrapper.se-type-document .se-document-lines .se-document-lines-inner > div.se-doc-h3 {
|
|
3829
|
+
padding-left: var(--se-doc-info-inner-line-padding);
|
|
3830
|
+
padding-right: var(--se-doc-info-inner-line-indent-h3);
|
|
3831
|
+
}
|
|
3832
|
+
.sun-editor.se-rtl .se-wrapper.se-type-document .se-document-lines .se-document-lines-inner > div.se-doc-h4 {
|
|
3833
|
+
padding-left: var(--se-doc-info-inner-line-padding);
|
|
3834
|
+
padding-right: var(--se-doc-info-inner-line-indent-h4);
|
|
3835
|
+
}
|
|
3836
|
+
.sun-editor.se-rtl .se-wrapper.se-type-document .se-document-lines .se-document-lines-inner > div.se-doc-h5 {
|
|
3837
|
+
padding-left: var(--se-doc-info-inner-line-padding);
|
|
3838
|
+
padding-right: var(--se-doc-info-inner-line-indent-h5);
|
|
3839
|
+
}
|
|
3840
|
+
.sun-editor.se-rtl .se-wrapper.se-type-document .se-document-lines .se-document-lines-inner > div.se-doc-h6 {
|
|
3841
|
+
padding-left: var(--se-doc-info-inner-line-padding);
|
|
3842
|
+
padding-right: var(--se-doc-info-inner-line-indent-h6);
|
|
3843
|
+
}
|
|
3844
|
+
/* se-type-document - page */
|
|
3845
|
+
.sun-editor.se-rtl .se-wrapper.se-type-document .se-document-page {
|
|
3846
|
+
direction: rtl;
|
|
3847
|
+
}
|
|
3848
|
+
.sun-editor.se-rtl .se-wrapper.se-type-document .se-document-page > div {
|
|
3849
|
+
right: 0px;
|
|
3850
|
+
margin-left: 0;
|
|
3851
|
+
margin-right: 1px;
|
|
3852
|
+
}
|
|
3853
|
+
.sun-editor.se-rtl .se-wrapper.se-type-document .se-document-page > div > div.se-document-page-line {
|
|
3854
|
+
right: unset;
|
|
3855
|
+
left: 100%;
|
|
3856
|
+
z-index: 1;
|
|
3857
|
+
}
|
|
3858
|
+
|
|
3859
|
+
/* modal - footer */
|
|
3860
|
+
.sun-editor.se-rtl .se-modal-area .se-modal-inner .se-modal-footer .se-btn {
|
|
3861
|
+
float: right;
|
|
3862
|
+
}
|
|
3863
|
+
|
|
3864
|
+
/* modal - resize handle */
|
|
3865
|
+
/* modal - resize handle - h */
|
|
3866
|
+
.sun-editor.se-rtl .se-modal-area .se-modal-inner .se-modal-content .se-modal-resize-handle-h {
|
|
3867
|
+
left: 0;
|
|
3868
|
+
right: unset;
|
|
3869
|
+
}
|
|
3870
|
+
/* modal - resize handle - c */
|
|
3871
|
+
.sun-editor.se-rtl .se-modal-area .se-modal-inner .se-modal-content .se-modal-resize-handle-c {
|
|
3872
|
+
cursor: nesw-resize;
|
|
3873
|
+
left: 4px;
|
|
3874
|
+
right: unset;
|
|
3875
|
+
}
|
|
3876
|
+
|
|
3216
3877
|
/** --- RTL end -------------------------------------------------------------------------------------------------------------------------------------------------- */
|
|
3217
3878
|
|
|
3218
3879
|
/** button module float --------------------------------------------- */
|
|
@@ -3224,18 +3885,32 @@
|
|
|
3224
3885
|
float: right;
|
|
3225
3886
|
}
|
|
3226
3887
|
|
|
3888
|
+
/** document-type codeView --------------------------------------------- */
|
|
3889
|
+
.sun-editor .se-wrapper.se-type-document.se-code-view-status {
|
|
3890
|
+
padding: 0;
|
|
3891
|
+
}
|
|
3892
|
+
.sun-editor .se-wrapper.se-type-document.se-code-view-status .se-document-lines,
|
|
3893
|
+
.sun-editor .se-wrapper.se-type-document.se-code-view-status .se-document-pages {
|
|
3894
|
+
display: none;
|
|
3895
|
+
}
|
|
3896
|
+
|
|
3227
3897
|
/** --- error ---------------------------------------------------------- */
|
|
3228
3898
|
.sun-editor .se-error {
|
|
3229
|
-
color:
|
|
3899
|
+
color: var(--se-error-color);
|
|
3900
|
+
}
|
|
3901
|
+
|
|
3902
|
+
.sun-editor input.se-error,
|
|
3903
|
+
.sun-editor select.se-error,
|
|
3904
|
+
.sun-editor textarea.se-error {
|
|
3905
|
+
border: 1px solid var(--se-error-dark2-color) !important;
|
|
3230
3906
|
}
|
|
3231
3907
|
|
|
3232
3908
|
.sun-editor input.se-error:focus,
|
|
3233
|
-
select.se-error:focus,
|
|
3234
|
-
textarea.se-error:focus {
|
|
3235
|
-
border: 1px solid
|
|
3909
|
+
.sun-editor select.se-error:focus,
|
|
3910
|
+
.sun-editor textarea.se-error:focus {
|
|
3911
|
+
border: 1px solid var(--se-error-color) !important;
|
|
3236
3912
|
outline: 0;
|
|
3237
|
-
|
|
3238
|
-
box-shadow: 0 0 0 0.2rem #eed3d7;
|
|
3913
|
+
box-shadow: 0 0 0 0.2rem var(--se-error-light2-color);
|
|
3239
3914
|
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
|
|
3240
3915
|
}
|
|
3241
3916
|
|
|
@@ -3260,74 +3935,79 @@ textarea.se-error:focus {
|
|
|
3260
3935
|
}
|
|
3261
3936
|
|
|
3262
3937
|
/** ---------------------------------------------------------- show blocks mode ----------------------------------------------------- */
|
|
3263
|
-
.sun-editor
|
|
3264
|
-
.sun-editor
|
|
3265
|
-
.sun-editor
|
|
3266
|
-
.sun-editor
|
|
3267
|
-
.sun-editor
|
|
3268
|
-
.sun-editor
|
|
3269
|
-
.sun-editor
|
|
3270
|
-
.sun-editor
|
|
3271
|
-
.sun-editor
|
|
3272
|
-
.sun-editor
|
|
3273
|
-
.sun-editor
|
|
3274
|
-
.sun-editor
|
|
3275
|
-
border: 1px dashed
|
|
3938
|
+
.sun-editor-editable.se-show-block p,
|
|
3939
|
+
.sun-editor-editable.se-show-block div,
|
|
3940
|
+
.sun-editor-editable.se-show-block h1,
|
|
3941
|
+
.sun-editor-editable.se-show-block h2,
|
|
3942
|
+
.sun-editor-editable.se-show-block h3,
|
|
3943
|
+
.sun-editor-editable.se-show-block h4,
|
|
3944
|
+
.sun-editor-editable.se-show-block h5,
|
|
3945
|
+
.sun-editor-editable.se-show-block h6,
|
|
3946
|
+
.sun-editor-editable.se-show-block li,
|
|
3947
|
+
.sun-editor-editable.se-show-block ol,
|
|
3948
|
+
.sun-editor-editable.se-show-block ul,
|
|
3949
|
+
.sun-editor-editable.se-show-block pre {
|
|
3950
|
+
border: 1px dashed var(--se-show-blocks-color) !important;
|
|
3276
3951
|
padding: 14px 8px 8px 8px !important;
|
|
3277
3952
|
}
|
|
3278
3953
|
|
|
3279
|
-
.sun-editor
|
|
3280
|
-
.sun-editor
|
|
3281
|
-
border: 1px dashed
|
|
3954
|
+
.sun-editor-editable.se-show-block ol,
|
|
3955
|
+
.sun-editor-editable.se-show-block ul {
|
|
3956
|
+
border: 1px dashed var(--se-show-blocks-li-color) !important;
|
|
3282
3957
|
}
|
|
3283
3958
|
|
|
3284
|
-
.sun-editor
|
|
3285
|
-
border: 1px dashed
|
|
3959
|
+
.sun-editor-editable.se-show-block pre {
|
|
3960
|
+
border: 1px dashed var(--se-show-blocks-pre-color) !important;
|
|
3286
3961
|
}
|
|
3287
3962
|
|
|
3288
|
-
.sun-editor
|
|
3963
|
+
.sun-editor-editable.se-show-block div.se-component {
|
|
3964
|
+
border: 1px dashed var(--se-show-blocks-component-color) !important;
|
|
3965
|
+
padding: 1px !important;
|
|
3966
|
+
}
|
|
3967
|
+
|
|
3968
|
+
.sun-editor-editable.se-show-block p {
|
|
3289
3969
|
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAPAQMAAAAF7dc0AAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAaSURBVAjXY/j/gwGCPvxg+F4BQiAGDP1HQQByxxw0gqOzIwAAAABJRU5ErkJggg==') no-repeat;
|
|
3290
3970
|
}
|
|
3291
3971
|
|
|
3292
|
-
.sun-editor
|
|
3972
|
+
.sun-editor-editable.se-show-block div:not(.se-component) {
|
|
3293
3973
|
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAPAQMAAAAxlBYoAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAmSURBVAjXY/j//wcDDH+8XsHwDYi/hwNx1A8w/nYLKH4XoQYJAwCXnSgcl2MOPgAAAABJRU5ErkJggg==') no-repeat;
|
|
3294
3974
|
}
|
|
3295
3975
|
|
|
3296
|
-
.sun-editor
|
|
3976
|
+
.sun-editor-editable.se-show-block h1 {
|
|
3297
3977
|
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAPAQMAAAA4f7ZSAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAfSURBVAjXY/j/v4EBhr+9B+LzEPrDeygfhI8j1CBhAEhmJGY4Rf6uAAAAAElFTkSuQmCC') no-repeat;
|
|
3298
3978
|
}
|
|
3299
3979
|
|
|
3300
|
-
.sun-editor
|
|
3980
|
+
.sun-editor-editable.se-show-block h2 {
|
|
3301
3981
|
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAPAQMAAAA4f7ZSAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAmSURBVAjXY/j/v4EBhr+dB+LtQPy9geEDEH97D8T3gbgdoQYJAwA51iPuD2haEAAAAABJRU5ErkJggg==') no-repeat;
|
|
3302
3982
|
}
|
|
3303
3983
|
|
|
3304
|
-
.sun-editor
|
|
3984
|
+
.sun-editor-editable.se-show-block h3 {
|
|
3305
3985
|
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAPAQMAAAA4f7ZSAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAiSURBVAjXY/j/v4EBhr+dB+LtQPy9geHDeQgN5p9HqEHCADeWI+69VG2MAAAAAElFTkSuQmCC') no-repeat;
|
|
3306
3986
|
}
|
|
3307
3987
|
|
|
3308
|
-
.sun-editor
|
|
3988
|
+
.sun-editor-editable.se-show-block h4 {
|
|
3309
3989
|
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAPAQMAAADTSA1RAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAiSURBVAjXY/j//wADDH97DsTXIfjDdiDdDMTfIRhZHRQDAKJOJ6L+K3y7AAAAAElFTkSuQmCC') no-repeat;
|
|
3310
3990
|
}
|
|
3311
3991
|
|
|
3312
|
-
.sun-editor
|
|
3992
|
+
.sun-editor-editable.se-show-block h5 {
|
|
3313
3993
|
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAPAQMAAAA4f7ZSAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAlSURBVAjXY/j/v4EBhr+1A/F+IO5vYPiwHUh/B2IQfR6hBgkDABlWIy5uM+9GAAAAAElFTkSuQmCC') no-repeat;
|
|
3314
3994
|
}
|
|
3315
3995
|
|
|
3316
|
-
.sun-editor
|
|
3996
|
+
.sun-editor-editable.se-show-block h6 {
|
|
3317
3997
|
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAPAQMAAAA4f7ZSAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAiSURBVAjXY/j/v4EBhr+dB+LtQLy/geFDP5S9HSKOrA6KAR9GIza1ptJnAAAAAElFTkSuQmCC') no-repeat;
|
|
3318
3998
|
}
|
|
3319
3999
|
|
|
3320
|
-
.sun-editor
|
|
4000
|
+
.sun-editor-editable.se-show-block li {
|
|
3321
4001
|
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAPCAYAAADkmO9VAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAA7SURBVDhPYxgFcNDQ0PAfykQBIHEYhgoRB/BpwCfHBKWpBkaggYxQGgOgBzyQD1aLLA4TGwWDGjAwAACR3RcEU9Ui+wAAAABJRU5ErkJggg==')
|
|
3322
4002
|
no-repeat;
|
|
3323
4003
|
}
|
|
3324
4004
|
|
|
3325
|
-
.sun-editor
|
|
4005
|
+
.sun-editor-editable.se-show-block ol {
|
|
3326
4006
|
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAMCAYAAABiDJ37AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAABHSURBVDhPYxgFcNDQ0PAfhKFcFIBLHCdA1oBNM0kGEmMAPgOZoDTVANUNxAqQvURMECADRiiNAWCagDSGGhyW4DRrMAEGBgAu0SX6WpGgjAAAAABJRU5ErkJggg==')
|
|
3327
4007
|
no-repeat;
|
|
3328
4008
|
}
|
|
3329
4009
|
|
|
3330
|
-
.sun-editor
|
|
4010
|
+
.sun-editor-editable.se-show-block ul {
|
|
3331
4011
|
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAMCAYAAABiDJ37AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAA1SURBVDhPYxgFDA0NDf+hTBSALI5LDQgwQWmqgVEDKQcsUBoF4ItFGEBXA+QzQpmDGjAwAAA8DQ4Lni6gdAAAAABJRU5ErkJggg==')
|
|
3332
4012
|
no-repeat;
|
|
3333
4013
|
}
|
|
@@ -3350,7 +4030,7 @@ textarea.se-error:focus {
|
|
|
3350
4030
|
display: none;
|
|
3351
4031
|
pointer-events: none;
|
|
3352
4032
|
width: 2px;
|
|
3353
|
-
background-color:
|
|
4033
|
+
background-color: var(--se-active-dark5-color);
|
|
3354
4034
|
z-index: 2147483647;
|
|
3355
4035
|
}
|
|
3356
4036
|
.sun-editor.sun-editor-carrier-wrapper .se-drag-cursor::before {
|
|
@@ -3364,7 +4044,7 @@ textarea.se-error:focus {
|
|
|
3364
4044
|
margin-right: 0;
|
|
3365
4045
|
margin-left: -4px;
|
|
3366
4046
|
border-width: 6px 5px 0 5px;
|
|
3367
|
-
border-color:
|
|
4047
|
+
border-color: var(--se-active-dark5-color) transparent transparent transparent;
|
|
3368
4048
|
}
|
|
3369
4049
|
.sun-editor.sun-editor-carrier-wrapper .se-drag-cursor::after {
|
|
3370
4050
|
content: '';
|
|
@@ -3377,18 +4057,91 @@ textarea.se-error:focus {
|
|
|
3377
4057
|
margin-right: 0;
|
|
3378
4058
|
margin-left: -4px;
|
|
3379
4059
|
border-width: 0 5px 5px 5px;
|
|
3380
|
-
border-color: transparent transparent
|
|
4060
|
+
border-color: transparent transparent var(--se-active-dark5-color) transparent;
|
|
4061
|
+
}
|
|
4062
|
+
|
|
4063
|
+
/** page break */
|
|
4064
|
+
.sun-editor-editable[contenteditable='true'] .se-page-break {
|
|
4065
|
+
display: flex;
|
|
4066
|
+
visibility: visible !important;
|
|
4067
|
+
position: relative;
|
|
4068
|
+
align-items: center;
|
|
4069
|
+
justify-content: center;
|
|
4070
|
+
clear: both;
|
|
4071
|
+
width: 100%;
|
|
4072
|
+
height: 24px;
|
|
4073
|
+
margin: -12px 0 0 0;
|
|
4074
|
+
padding: 0;
|
|
4075
|
+
z-index: 1;
|
|
4076
|
+
}
|
|
4077
|
+
|
|
4078
|
+
.sun-editor-editable[contenteditable='true'] .se-page-break::after {
|
|
4079
|
+
content: '⎯⎯⎯⎯⎯⎯';
|
|
4080
|
+
position: absolute;
|
|
4081
|
+
top: 1px;
|
|
4082
|
+
background: var(--se-main-background-color);
|
|
4083
|
+
padding: 0 5px;
|
|
4084
|
+
color: var(--se-doc-info-page-background-color);
|
|
4085
|
+
font-size: var(--se-main-font-size);
|
|
3381
4086
|
}
|
|
3382
4087
|
|
|
3383
4088
|
/** animation */
|
|
4089
|
+
@-webkit-keyframes blinker {
|
|
4090
|
+
50% {
|
|
4091
|
+
opacity: 0;
|
|
4092
|
+
}
|
|
4093
|
+
}
|
|
4094
|
+
|
|
3384
4095
|
@keyframes blinker {
|
|
3385
4096
|
50% {
|
|
3386
4097
|
opacity: 0;
|
|
3387
4098
|
}
|
|
3388
4099
|
}
|
|
3389
4100
|
|
|
4101
|
+
@-webkit-keyframes spinner {
|
|
4102
|
+
to {
|
|
4103
|
+
transform: rotate(361deg);
|
|
4104
|
+
}
|
|
4105
|
+
}
|
|
4106
|
+
|
|
3390
4107
|
@keyframes spinner {
|
|
3391
4108
|
to {
|
|
3392
4109
|
transform: rotate(361deg);
|
|
3393
4110
|
}
|
|
3394
4111
|
}
|
|
4112
|
+
|
|
4113
|
+
@keyframes toast-in {
|
|
4114
|
+
to {
|
|
4115
|
+
opacity: 1;
|
|
4116
|
+
transform: translateY(0);
|
|
4117
|
+
}
|
|
4118
|
+
}
|
|
4119
|
+
|
|
4120
|
+
@keyframes toast-out {
|
|
4121
|
+
to {
|
|
4122
|
+
opacity: 0;
|
|
4123
|
+
transform: translateY(-10px);
|
|
4124
|
+
}
|
|
4125
|
+
}
|
|
4126
|
+
|
|
4127
|
+
@keyframes se-alert-in {
|
|
4128
|
+
from {
|
|
4129
|
+
opacity: 0;
|
|
4130
|
+
transform: scale(0.9);
|
|
4131
|
+
}
|
|
4132
|
+
to {
|
|
4133
|
+
opacity: 1;
|
|
4134
|
+
transform: scale(1);
|
|
4135
|
+
}
|
|
4136
|
+
}
|
|
4137
|
+
|
|
4138
|
+
@keyframes se-alert-out {
|
|
4139
|
+
from {
|
|
4140
|
+
opacity: 1;
|
|
4141
|
+
transform: scale(1);
|
|
4142
|
+
}
|
|
4143
|
+
to {
|
|
4144
|
+
opacity: 0;
|
|
4145
|
+
transform: scale(0.95);
|
|
4146
|
+
}
|
|
4147
|
+
}
|