@tmagic/editor 1.8.0-beta.13 → 1.8.0-beta.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/dist/es/Editor.vue_vue_type_script_setup_true_lang.js +15 -3
  2. package/dist/es/components/ContentMenu.vue_vue_type_script_setup_true_lang.js +11 -4
  3. package/dist/es/components/FloatingBox.vue_vue_type_script_setup_true_lang.js +7 -2
  4. package/dist/es/fields/Code.vue_vue_type_script_setup_true_lang.js +4 -1
  5. package/dist/es/fields/CodeLink.vue_vue_type_script_setup_true_lang.js +4 -1
  6. package/dist/es/fields/CodeSelect.vue_vue_type_script_setup_true_lang.js +80 -55
  7. package/dist/es/fields/CodeSelectCol.vue_vue_type_script_setup_true_lang.js +5 -1
  8. package/dist/es/fields/CondOpSelect.vue_vue_type_script_setup_true_lang.js +4 -1
  9. package/dist/es/fields/DataSourceFieldSelect/Index.vue_vue_type_script_setup_true_lang.js +10 -7
  10. package/dist/es/fields/DataSourceFields.vue_vue_type_script_setup_true_lang.js +4 -1
  11. package/dist/es/fields/DataSourceInput.vue_vue_type_script_setup_true_lang.js +4 -1
  12. package/dist/es/fields/DataSourceMethodSelect.vue_vue_type_script_setup_true_name_true_lang.js +4 -1
  13. package/dist/es/fields/DataSourceMethods.vue_vue_type_script_setup_true_lang.js +4 -1
  14. package/dist/es/fields/DataSourceMocks.vue_vue_type_script_setup_true_lang.js +4 -1
  15. package/dist/es/fields/DataSourceSelect.vue_vue_type_script_setup_true_lang.js +4 -1
  16. package/dist/es/fields/DisplayConds.vue_vue_type_script_setup_true_lang.js +8 -2
  17. package/dist/es/fields/EventSelect.vue_vue_type_script_setup_true_lang.js +99 -64
  18. package/dist/es/fields/KeyValue.vue_vue_type_script_setup_true_lang.js +4 -1
  19. package/dist/es/fields/PageFragmentSelect.vue_vue_type_script_setup_true_lang.js +4 -1
  20. package/dist/es/fields/StyleSetter/Index.vue_vue_type_script_setup_true_lang.js +5 -4
  21. package/dist/es/fields/StyleSetter/components/BackgroundPosition.vue_vue_type_script_setup_true_lang.js +4 -1
  22. package/dist/es/fields/StyleSetter/components/Border.vue_vue_type_script_setup_true_lang.js +1 -1
  23. package/dist/es/fields/StyleSetter/icons/align-items/Center.js +31 -0
  24. package/dist/es/fields/StyleSetter/icons/align-items/FlexEnd.js +31 -0
  25. package/dist/es/fields/StyleSetter/icons/align-items/FlexStart.js +31 -0
  26. package/dist/es/fields/StyleSetter/icons/align-items/SpaceAround.js +50 -0
  27. package/dist/es/fields/StyleSetter/icons/align-items/SpaceBetween.js +50 -0
  28. package/dist/es/fields/StyleSetter/icons/background-repeat/NoRepeat.js +6 -6
  29. package/dist/es/fields/StyleSetter/icons/background-repeat/Repeat.js +5 -2
  30. package/dist/es/fields/StyleSetter/icons/background-repeat/RepeatX.js +28 -5
  31. package/dist/es/fields/StyleSetter/icons/background-repeat/RepeatY.js +31 -5
  32. package/dist/es/fields/StyleSetter/icons/flex-direction/Column.js +10 -2
  33. package/dist/es/fields/StyleSetter/icons/flex-direction/ColumnReverse.js +10 -2
  34. package/dist/es/fields/StyleSetter/icons/flex-direction/Row.js +10 -2
  35. package/dist/es/fields/StyleSetter/icons/flex-direction/RowReverse.js +10 -2
  36. package/dist/es/fields/StyleSetter/icons/justify-content/Center.js +16 -2
  37. package/dist/es/fields/StyleSetter/icons/justify-content/FlexEnd.js +18 -2
  38. package/dist/es/fields/StyleSetter/icons/justify-content/FlexStart.js +18 -2
  39. package/dist/es/fields/StyleSetter/icons/justify-content/SpaceAround.js +36 -2
  40. package/dist/es/fields/StyleSetter/icons/justify-content/SpaceBetween.js +32 -2
  41. package/dist/es/fields/StyleSetter/pro/Background.vue_vue_type_script_setup_true_lang.js +7 -6
  42. package/dist/es/fields/StyleSetter/pro/Font.vue_vue_type_script_setup_true_lang.js +6 -3
  43. package/dist/es/fields/StyleSetter/pro/Layout.vue_vue_type_script_setup_true_lang.js +47 -25
  44. package/dist/es/fields/UISelect.vue_vue_type_script_setup_true_lang.js +4 -1
  45. package/dist/es/icons/DatasourceIcon.js +17 -0
  46. package/dist/es/index.js +2 -2
  47. package/dist/es/layouts/Framework.vue_vue_type_script_setup_true_lang.js +14 -10
  48. package/dist/es/layouts/props-panel/PropsPanel.vue_vue_type_script_setup_true_lang.js +10 -1
  49. package/dist/es/layouts/sidebar/Sidebar.vue_vue_type_script_setup_true_lang.js +3 -3
  50. package/dist/es/plugin.js +2 -1
  51. package/dist/es/services/editor.js +54 -13
  52. package/dist/es/services/ui.js +5 -3
  53. package/dist/es/style.css +303 -40
  54. package/dist/es/utils/config.js +4 -1
  55. package/dist/es/utils/const.js +2 -2
  56. package/dist/es/utils/props.js +43 -29
  57. package/dist/style.css +303 -40
  58. package/dist/themes/magic-admin.css +3000 -0
  59. package/dist/tmagic-editor.umd.cjs +1066 -449
  60. package/package.json +7 -7
  61. package/src/Editor.vue +22 -1
  62. package/src/components/ContentMenu.vue +10 -2
  63. package/src/components/FloatingBox.vue +8 -2
  64. package/src/editorProps.ts +4 -0
  65. package/src/fields/CodeSelect.vue +54 -43
  66. package/src/fields/CodeSelectCol.vue +1 -0
  67. package/src/fields/DataSourceFieldSelect/Index.vue +14 -5
  68. package/src/fields/DisplayConds.vue +4 -1
  69. package/src/fields/EventSelect.vue +56 -32
  70. package/src/fields/StyleSetter/Index.vue +1 -4
  71. package/src/fields/StyleSetter/components/Border.vue +1 -1
  72. package/src/fields/StyleSetter/icons/align-items/Center.vue +19 -0
  73. package/src/fields/StyleSetter/icons/align-items/FlexEnd.vue +19 -0
  74. package/src/fields/StyleSetter/icons/align-items/FlexStart.vue +19 -0
  75. package/src/fields/StyleSetter/icons/align-items/SpaceAround.vue +34 -0
  76. package/src/fields/StyleSetter/icons/align-items/SpaceBetween.vue +34 -0
  77. package/src/fields/StyleSetter/icons/align-items/index.ts +5 -0
  78. package/src/fields/StyleSetter/icons/background-repeat/NoRepeat.vue +20 -4
  79. package/src/fields/StyleSetter/icons/background-repeat/Repeat.vue +10 -28
  80. package/src/fields/StyleSetter/icons/background-repeat/RepeatX.vue +4 -5
  81. package/src/fields/StyleSetter/icons/background-repeat/RepeatY.vue +4 -5
  82. package/src/fields/StyleSetter/icons/flex-direction/Column.vue +4 -3
  83. package/src/fields/StyleSetter/icons/flex-direction/ColumnReverse.vue +4 -3
  84. package/src/fields/StyleSetter/icons/flex-direction/Row.vue +4 -3
  85. package/src/fields/StyleSetter/icons/flex-direction/RowReverse.vue +4 -3
  86. package/src/fields/StyleSetter/icons/justify-content/Center.vue +5 -2
  87. package/src/fields/StyleSetter/icons/justify-content/FlexEnd.vue +15 -2
  88. package/src/fields/StyleSetter/icons/justify-content/FlexStart.vue +15 -2
  89. package/src/fields/StyleSetter/icons/justify-content/SpaceAround.vue +28 -3
  90. package/src/fields/StyleSetter/icons/justify-content/SpaceBetween.vue +28 -2
  91. package/src/fields/StyleSetter/pro/Background.vue +7 -2
  92. package/src/fields/StyleSetter/pro/Font.vue +3 -3
  93. package/src/fields/StyleSetter/pro/Layout.vue +98 -28
  94. package/src/icons/DatasourceIcon.vue +7 -0
  95. package/src/index.ts +3 -0
  96. package/src/layouts/Framework.vue +7 -1
  97. package/src/layouts/props-panel/PropsPanel.vue +19 -1
  98. package/src/layouts/sidebar/Sidebar.vue +3 -3
  99. package/src/plugin.ts +3 -2
  100. package/src/services/editor.ts +54 -11
  101. package/src/services/ui.ts +20 -5
  102. package/src/theme/code-block.scss +37 -0
  103. package/src/theme/common/var.scss +1 -1
  104. package/src/theme/component-list-panel.scss +2 -2
  105. package/src/theme/data-source-field.scss +4 -0
  106. package/src/theme/display-conds.scss +11 -0
  107. package/src/theme/event.scss +58 -4
  108. package/src/theme/framework.scss +4 -1
  109. package/src/theme/history-list-panel.scss +9 -9
  110. package/src/theme/nav-menu.scss +5 -1
  111. package/src/theme/props-panel.scss +2 -1
  112. package/src/theme/style-setter/border.scss +14 -5
  113. package/src/theme/theme.scss +1 -0
  114. package/src/theme/themes/magic-admin/index.scss +214 -0
  115. package/src/theme/ui-select.scss +1 -1
  116. package/src/type.ts +27 -6
  117. package/src/utils/config.ts +9 -1
  118. package/src/utils/const.ts +3 -2
  119. package/src/utils/props.ts +22 -9
  120. package/types/index.d.ts +88 -35
@@ -0,0 +1,3000 @@
1
+ @charset "UTF-8";
2
+ .tmagic-design-popper {
3
+ min-width: 150px;
4
+ line-height: 1.4;
5
+ background-color: #fff;
6
+ box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.12);
7
+ color: #606266;
8
+ border: 1px solid #e4e7ed;
9
+ border-radius: 4px;
10
+ font-size: 14px;
11
+ overflow-wrap: break-word;
12
+ box-sizing: border-box;
13
+ padding: 10px;
14
+ }
15
+ .tmagic-design-popper:focus {
16
+ outline: none;
17
+ }
18
+
19
+ .tmagic-design-popper[data-popper-placement^=top] > .tmagic-design-popper-arrow {
20
+ bottom: -4px;
21
+ }
22
+
23
+ .tmagic-design-popper[data-popper-placement^=bottom] > .tmagic-design-popper-arrow {
24
+ top: -4px;
25
+ }
26
+
27
+ .tmagic-design-popper[data-popper-placement^=left] > .tmagic-design-popper-arrow {
28
+ right: -4px;
29
+ }
30
+
31
+ .tmagic-design-popper[data-popper-placement^=right] > .tmagic-design-popper-arrow {
32
+ left: -4px;
33
+ }
34
+
35
+ .tmagic-design-popper-arrow,
36
+ .tmagic-design-popper-arrow::before {
37
+ position: absolute;
38
+ width: 8px;
39
+ height: 8px;
40
+ background: inherit;
41
+ }
42
+
43
+ .tmagic-design-popper-arrow {
44
+ visibility: hidden;
45
+ }
46
+
47
+ .tmagic-design-popper-arrow::before {
48
+ visibility: visible;
49
+ content: "";
50
+ transform: rotate(45deg);
51
+ }
52
+
53
+ .tmagic-design-card.tmagic-design-card--flat {
54
+ background: #fff;
55
+ box-shadow: none !important;
56
+ border-top: 0;
57
+ border-left: 0;
58
+ border-right: 0;
59
+ border-radius: 0;
60
+ border-bottom: 0;
61
+ }
62
+ .tmagic-design-card.tmagic-design-card--flat.m-fields-group-list-item {
63
+ margin-bottom: 0;
64
+ }
65
+ .tmagic-design-card.tmagic-design-card--flat.is-always-shadow {
66
+ box-shadow: none;
67
+ }
68
+ .tmagic-design-card.tmagic-design-card--flat .el-card__header {
69
+ border-bottom: none;
70
+ padding: 16px;
71
+ }
72
+ .tmagic-design-card.tmagic-design-card--flat .el-card__header:hover {
73
+ background: transparent;
74
+ box-shadow: none;
75
+ cursor: default;
76
+ }
77
+ .tmagic-design-card.tmagic-design-card--flat .el-card__body {
78
+ padding: 0 16px 0 16px;
79
+ }
80
+ .tmagic-design-card.tmagic-design-card--flat .el-card__body .tmagic-design-form-item:not(tbody .tmagic-design-form-item) {
81
+ margin-bottom: 16px;
82
+ }
83
+ .tmagic-design-card.tmagic-design-card--flat .el-card__body > .m-container-row {
84
+ overflow-x: hidden;
85
+ }
86
+ .m-split-title-card-container > .tmagic-design-card.tmagic-design-card--flat {
87
+ background-color: transparent;
88
+ }
89
+ .m-split-title-card-container > .tmagic-design-card.tmagic-design-card--flat > .el-card__header {
90
+ margin-bottom: 10px;
91
+ padding: 0;
92
+ font-size: 16px;
93
+ font-weight: 500;
94
+ line-height: 24px;
95
+ }
96
+ .m-split-title-card-container > .tmagic-design-card.tmagic-design-card--flat > .el-card__body {
97
+ background-color: #fff;
98
+ padding-top: 16px;
99
+ }
100
+
101
+ .tmagic-design-color-picker-input {
102
+ margin-left: 8px;
103
+ width: calc(var(--el-input-width, 100%) - 40px);
104
+ }
105
+
106
+ .m-form.m-form--magic-admin .el-collapse-item__header {
107
+ background-color: transparent;
108
+ padding: 0;
109
+ border: 0;
110
+ padding-left: 0;
111
+ font-size: 16px;
112
+ font-weight: 500;
113
+ line-height: 24px;
114
+ margin-top: 8px;
115
+ margin-bottom: 8px;
116
+ }
117
+
118
+ .tmagic-design-form-item.has-extra-tips > .el-form-item__content {
119
+ gap: 10px;
120
+ }
121
+ .tmagic-design-form-item.has-extra-tips > .el-form-item__content > .tmagic-design-alert {
122
+ border-radius: 2px;
123
+ width: fit-content;
124
+ padding: 0 8px;
125
+ color: var(--el-color-primary, #0056ea);
126
+ background-color: var(--el-color-primary-light-9, rgb(236, 245, 255));
127
+ }
128
+ .tmagic-design-form-item.has-extra-tips > .el-form-item__content > .tmagic-design-alert .el-icon.el-alert__icon {
129
+ fill: var(--el-color-primary, #0056ea);
130
+ color: var(--el-color-primary, #0056ea);
131
+ }
132
+ .tmagic-design-form-item.has-extra-tips > .el-form-item__content > .tmagic-design-alert .el-alert__title {
133
+ font-size: 14px;
134
+ line-height: 22px;
135
+ }
136
+
137
+ .m-table .el-button.action-btn + .el-button.action-btn {
138
+ margin-left: 0;
139
+ }
140
+ .m-table .keep-all {
141
+ word-break: keep-all;
142
+ }
143
+ .m-table .el-table .cell > div {
144
+ display: inline-block;
145
+ vertical-align: middle;
146
+ }
147
+ .m-table .el-table__row.el-table__row--level-1 {
148
+ color: #999;
149
+ }
150
+
151
+ .tmagic-table-sub-actions {
152
+ display: flex;
153
+ flex-direction: column;
154
+ gap: 4px;
155
+ align-items: flex-start;
156
+ }
157
+ .tmagic-table-sub-actions .sub-action-btn {
158
+ width: 100%;
159
+ }
160
+ .tmagic-table-sub-actions .tmagic-design-button + .tmagic-design-button {
161
+ margin-left: 0;
162
+ }
163
+ .tmagic-table-sub-actions .tmagic-design-button {
164
+ justify-content: flex-start;
165
+ }
166
+
167
+ .tmagic-design-form-inline .m-form-container {
168
+ display: inline-flex;
169
+ }
170
+
171
+ .m-form-container.has-tip {
172
+ display: flex;
173
+ align-items: baseline;
174
+ }
175
+ .m-form-container.has-tip .tmagic-design-form-item {
176
+ flex: 1;
177
+ }
178
+ .m-form-container .tmagic-design-form-item.show-after-diff {
179
+ background: rgb(225, 243, 216);
180
+ }
181
+ .m-form-container .tmagic-design-form-item.show-before-diff {
182
+ background: #f7dadd;
183
+ }
184
+ .m-form-container .m-form-title-extra {
185
+ margin-left: 8px;
186
+ }
187
+
188
+ .m-form-dialog .el-dialog__body {
189
+ padding: 0 !important;
190
+ }
191
+ .m-form-dialog .m-dialog-body {
192
+ padding: 0 20px;
193
+ }
194
+ .m-form-dialog .el-table .m-form-item .el-form-item:not(.is-error) {
195
+ margin-bottom: 0;
196
+ }
197
+
198
+ .m-form-drawer .el-drawer__header {
199
+ margin: 0;
200
+ }
201
+ .m-form-drawer .m-drawer-body {
202
+ height: 100%;
203
+ overflow-y: auto;
204
+ overflow-x: hidden;
205
+ }
206
+
207
+ .fade-enter-active,
208
+ .fade-leave-active {
209
+ transition: opacity 0.5s;
210
+ }
211
+
212
+ .fade-enter, .fade-leave-to {
213
+ opacity: 0;
214
+ }
215
+
216
+ .m-form .m-form-tip {
217
+ color: rgba(0, 0, 0, 0.45);
218
+ font-size: 12px;
219
+ transition: color 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
220
+ }
221
+ .m-form .m-form-schematic {
222
+ max-width: 50%;
223
+ height: 100%;
224
+ }
225
+ .m-form .tmagic-design-table .cell > div.m-form-container {
226
+ display: block;
227
+ }
228
+ .m-form .tmagic-design-table .cell > div.m-form-container.has-tip {
229
+ display: flex;
230
+ }
231
+ .m-form .tmagic-design-tabs {
232
+ margin-bottom: 10px;
233
+ }
234
+ .m-form .tmagic-design-form-item.tmagic-form-hidden > .el-form-item__label {
235
+ display: none;
236
+ }
237
+ .m-form .t-form__item.tmagic-form-hidden > .t-form__label {
238
+ display: none;
239
+ }
240
+ .m-form .t-form__item.tmagic-form-hidden > .t-form__controls {
241
+ margin-left: 0 !important;
242
+ }
243
+ .m-form.t-form:not(.t-form-inline) .t-form__item:last-of-type {
244
+ margin-bottom: var(--td-comp-margin-xxl);
245
+ }
246
+
247
+ .m-form-container .m-form-container-expand {
248
+ text-align: center;
249
+ }
250
+
251
+ .magic-datetime-picker-popper .el-picker-panel__footer button:first-child {
252
+ display: none;
253
+ }
254
+
255
+ .m-fields-text {
256
+ display: flex;
257
+ align-items: center;
258
+ width: 100%;
259
+ }
260
+ .m-fields-text--static {
261
+ gap: 6px;
262
+ min-height: 32px;
263
+ }
264
+ .m-fields-text--static .m-fields-text__prepend {
265
+ color: var(--el-text-color-secondary, #909399);
266
+ }
267
+ .m-fields-text--static .m-fields-text__value {
268
+ color: var(--el-text-color-regular, #606266);
269
+ overflow: hidden;
270
+ text-overflow: ellipsis;
271
+ white-space: nowrap;
272
+ }
273
+ .m-fields-text--static .m-fields-text__icon {
274
+ width: 16px;
275
+ height: 16px;
276
+ cursor: pointer;
277
+ }
278
+
279
+ .m-form-validate__warning {
280
+ color: var(--el-color-warning);
281
+ font-size: 12px;
282
+ width: 100%;
283
+ line-height: 1.4;
284
+ }
285
+
286
+ .tmagic-form-text-popper {
287
+ min-width: 150px;
288
+ line-height: 1.4;
289
+ background-color: #fff;
290
+ box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.12);
291
+ color: #606266;
292
+ border: 1px solid #e4e7ed;
293
+ border-radius: 4px;
294
+ font-size: 14px;
295
+ overflow-wrap: break-word;
296
+ box-sizing: border-box;
297
+ padding: 10px;
298
+ }
299
+ .tmagic-form-text-popper:focus {
300
+ outline: none;
301
+ }
302
+
303
+ .m-container-text.m-fields-title-container .tmagic-design-form-item .el-form-item__label {
304
+ color: #0f1113;
305
+ font-weight: 500;
306
+ font-size: 16px;
307
+ }
308
+ .m-container-text.m-fields-title-container .tmagic-design-form-item {
309
+ line-height: 24px;
310
+ margin-bottom: 16px;
311
+ }
312
+
313
+ .tmagic-form-text-popper[data-popper-placement^=top] > .tmagic-form-text-popper-arrow {
314
+ bottom: -4px;
315
+ }
316
+
317
+ .tmagic-form-text-popper[data-popper-placement^=bottom] > .tmagic-form-text-popper-arrow {
318
+ top: -4px;
319
+ }
320
+
321
+ .tmagic-form-text-popper[data-popper-placement^=left] > .tmagic-form-text-popper-arrow {
322
+ right: -4px;
323
+ }
324
+
325
+ .tmagic-form-text-popper[data-popper-placement^=right] > .tmagic-form-text-popper-arrow {
326
+ left: -4px;
327
+ }
328
+
329
+ .tmagic-form-text-popper-arrow,
330
+ .tmagic-form-text-popper-arrow::before {
331
+ position: absolute;
332
+ width: 8px;
333
+ height: 8px;
334
+ background: inherit;
335
+ }
336
+
337
+ .tmagic-form-text-popper-arrow {
338
+ visibility: hidden;
339
+ }
340
+
341
+ .tmagic-form-text-popper-arrow::before {
342
+ visibility: visible;
343
+ content: "";
344
+ transform: rotate(45deg);
345
+ }
346
+
347
+ div.m-fields-link {
348
+ width: fit-content;
349
+ }
350
+
351
+ a.magic-admin-link {
352
+ width: 100%;
353
+ box-sizing: border-box;
354
+ border-radius: 4px;
355
+ border: 1px solid #e6e6e6;
356
+ background-color: #fafafa;
357
+ padding: 0 8px;
358
+ height: 28px;
359
+ display: inline-flex;
360
+ gap: 4px;
361
+ align-items: center;
362
+ text-decoration: none;
363
+ }
364
+ a.magic-admin-link i {
365
+ margin-right: 4px;
366
+ }
367
+
368
+ .m-container-fieldset.no-border-fieldset.fieldset-in-row > fieldset.m-fieldset legend {
369
+ left: 0;
370
+ }
371
+ .m-container-fieldset.no-border-fieldset > fieldset.m-fieldset {
372
+ border: 0;
373
+ }
374
+ .m-container-fieldset.no-border-fieldset > fieldset.m-fieldset legend {
375
+ position: relative;
376
+ left: -5px;
377
+ font-size: 16px;
378
+ font-weight: 500;
379
+ line-height: 24px;
380
+ padding: 0;
381
+ }
382
+ .m-container-fieldset.fieldset-in-card-fit {
383
+ border-bottom: 1px solid #e6e6e6;
384
+ }
385
+ .m-container-fieldset.fieldset-in-card-fit > fieldset.m-fieldset {
386
+ padding: 16px 0 16px 0 !important;
387
+ border: 0;
388
+ margin-top: 0;
389
+ margin-bottom: 0;
390
+ }
391
+ .m-container-fieldset.fieldset-in-card-fit > fieldset.m-fieldset legend {
392
+ position: relative;
393
+ top: 10px;
394
+ background-color: transparent;
395
+ }
396
+ .m-container-fieldset.fieldset-in-card-fit.fieldset-in-card-fit-last {
397
+ padding-bottom: 0 !important;
398
+ border-bottom: 0;
399
+ }
400
+ .m-container-fieldset.fieldset-in-card-fit.fieldset-in-card-fit-first {
401
+ padding-top: 0 !important;
402
+ }
403
+ .m-container-fieldset.fieldset-in-card-fit:last-child {
404
+ padding-bottom: 0 !important;
405
+ border-bottom: 0;
406
+ }
407
+ .m-container-fieldset.fieldset-in-card-fit:first {
408
+ padding-top: 0 !important;
409
+ }
410
+
411
+ fieldset.m-fieldset {
412
+ position: relative;
413
+ border: 1px solid rgb(229, 229, 229);
414
+ margin-top: 10px;
415
+ margin-bottom: 10px;
416
+ min-inline-size: auto;
417
+ }
418
+ fieldset.m-fieldset .el-checkbox {
419
+ height: 22px;
420
+ }
421
+ fieldset.m-fieldset legend {
422
+ font-size: 14px;
423
+ position: absolute;
424
+ border: 0;
425
+ top: -10px;
426
+ left: 20px;
427
+ background: rgb(255, 255, 255);
428
+ width: auto;
429
+ padding: 0px 3px;
430
+ font-weight: bold;
431
+ line-height: 20px;
432
+ }
433
+ fieldset.m-fieldset .m-form-tip {
434
+ margin-left: 5px;
435
+ }
436
+
437
+ .m-fields-group-list .m-fields-group-list-item.tmagic-design-card--flat:last-child {
438
+ border: 0;
439
+ }
440
+ .m-fields-group-list .el-button--text {
441
+ padding: 0;
442
+ margin-bottom: 7px;
443
+ }
444
+ .m-fields-group-list .el-tree-node__expand-icon {
445
+ padding: 0;
446
+ margin-bottom: 7px;
447
+ }
448
+ .m-fields-group-list .el-tree-node__expand-icon.expand {
449
+ transform: rotate(90deg);
450
+ }
451
+ .m-fields-group-list .m-fields-group-list-item {
452
+ border-bottom: 1px solid #ebeef5;
453
+ margin-bottom: 7px;
454
+ }
455
+ .m-fields-group-list .m-fields-group-list-item:last-of-type {
456
+ border-bottom: 0;
457
+ }
458
+ .m-fields-group-list .m-fields-group-list-item .m-fields-group-list-item-header {
459
+ display: flex;
460
+ align-items: center;
461
+ gap: 8px;
462
+ }
463
+ .m-fields-group-list .m-fields-group-list-footer {
464
+ display: flex;
465
+ justify-content: space-between;
466
+ margin-top: 10px;
467
+ margin-bottom: 16px;
468
+ }
469
+
470
+ .m-form-panel .el-card__header:hover {
471
+ background: #f2f6fc;
472
+ }
473
+ .m-form-panel .el-card__header a {
474
+ color: var(--el-color-primary, #409eff);
475
+ }
476
+ .m-form-panel .el-card__body {
477
+ padding: 10px;
478
+ }
479
+ .m-form-panel .m-form-tip {
480
+ margin-left: 5px;
481
+ }
482
+
483
+ .m-container-panel:not(:last-of-type) {
484
+ margin-bottom: 20px;
485
+ }
486
+
487
+ .m-fields-table-wrap {
488
+ width: 100%;
489
+ }
490
+ .m-fields-table-wrap.fixed {
491
+ position: fixed;
492
+ height: 100%;
493
+ overflow: auto;
494
+ top: 0;
495
+ right: 0;
496
+ left: 0;
497
+ bottom: 0;
498
+ z-index: 100;
499
+ background: rgba(0, 0, 0, 0.5);
500
+ align-items: center;
501
+ display: flex;
502
+ }
503
+ .m-fields-table-wrap.fixed > .el-form-item__content {
504
+ z-index: 101;
505
+ position: relative;
506
+ margin: 10vh auto;
507
+ max-width: fit-content;
508
+ }
509
+ .m-fields-table-wrap.fixed table {
510
+ width: 95vw !important;
511
+ }
512
+
513
+ .el-form-item .m-fields-table .el-form-item.is-error {
514
+ margin-bottom: 18px;
515
+ }
516
+
517
+ .m-fields-table {
518
+ width: 100%;
519
+ }
520
+ .m-fields-table th {
521
+ background-color: #f2f2f2 !important;
522
+ color: #333 !important;
523
+ }
524
+ .m-fields-table .el-table th {
525
+ padding: 0 !important;
526
+ }
527
+ .m-fields-table .el-table__column--dropable {
528
+ cursor: move;
529
+ }
530
+ .m-fields-table .el-form-item__content .el-input-group {
531
+ vertical-align: middle;
532
+ }
533
+ .m-fields-table.m-fields-table-item-extra tr.expanded td {
534
+ border-bottom: 0;
535
+ }
536
+ .m-fields-table .el-table__expanded-cell .m-form-tip {
537
+ margin-left: 80px;
538
+ }
539
+ .m-fields-table .el-form-item:not(.is-error) {
540
+ margin-bottom: 0;
541
+ }
542
+ .m-fields-table .tmagic-form-table-drag-target {
543
+ cursor: move;
544
+ }
545
+
546
+ .m-select {
547
+ width: 100%;
548
+ }
549
+
550
+ .magic-form-dynamic-tab .el-tabs__header.is-top {
551
+ padding-right: 8px;
552
+ }
553
+ .magic-form-dynamic-tab .el-tabs__header.is-top .el-tabs__new-tab {
554
+ margin-right: auto;
555
+ min-width: 50px;
556
+ outline: none;
557
+ border-color: var(--el-color-primary, #409eff);
558
+ color: var(--el-color-primary, #409eff);
559
+ width: 10px;
560
+ }
561
+ .magic-form-dynamic-tab .el-tabs__header.is-top .el-tabs__new-tab::before {
562
+ content: "添加";
563
+ }
564
+ .magic-form-dynamic-tab .el-tabs__header.is-top .el-tabs__new-tab .el-icon-plus {
565
+ display: none;
566
+ }
567
+
568
+ .magic-form-tab {
569
+ margin-bottom: 10px;
570
+ }
571
+
572
+ .diff-count-badge {
573
+ top: -10px;
574
+ }
575
+
576
+ .m-fields-number-range {
577
+ display: flex;
578
+ align-items: center;
579
+ }
580
+ .m-fields-number-range .split-tag {
581
+ margin: 0 5px;
582
+ }
583
+
584
+ .m-form-box {
585
+ display: flex;
586
+ flex-direction: column;
587
+ }
588
+ .m-form-box .el-box__header {
589
+ margin: 0;
590
+ }
591
+ .m-form-box .dialog-footer {
592
+ display: flex;
593
+ align-items: center;
594
+ justify-content: space-between;
595
+ }
596
+
597
+ .m-fields-radio-group__option {
598
+ display: flex;
599
+ align-items: center;
600
+ }
601
+
602
+ .m-fields-radio-group__text {
603
+ display: inline-block;
604
+ vertical-align: middle;
605
+ white-space: pre-line;
606
+ line-height: 20px;
607
+ }
608
+
609
+ .m-fields-radio-group__icon_with_text {
610
+ margin-right: 8px;
611
+ }
612
+
613
+ .m-form.m-form--magic-admin [class="m-form-container m-container-fieldset"],
614
+ .m-form.m-form--magic-admin [class="m-container-fieldset m-form-container"] {
615
+ margin-top: 15px;
616
+ }
617
+ .m-form.m-form--magic-admin .m-container-tab:not(.magic-right-panel-tabs-top):not(.magic-form-dynamic-tab) > .tmagic-design-tabs:not(.el-tabs--border-card) > .el-tabs__content {
618
+ background-color: #fff;
619
+ padding: 16px 16px 0 16px;
620
+ border-radius: 4px;
621
+ }
622
+ .m-form.m-form--magic-admin .m-form-tip {
623
+ color: rgba(0, 0, 0, 0.55);
624
+ }
625
+ .m-form.m-form--magic-admin .tmagic-design-form-item.show-after-diff {
626
+ background: #d4edbc;
627
+ }
628
+ .m-form.m-form--magic-admin .tmagic-design-form-item.show-before-diff {
629
+ background: #fad2cf;
630
+ }
631
+ .m-form.m-form--magic-admin .m-fields-radio-group__text {
632
+ white-space: pre-line;
633
+ line-height: 20px;
634
+ }
635
+ .m-form.m-form--magic-admin .el-form-item__content .tmagic-design-radio-group .tmagic-design-radio-button {
636
+ height: 32px;
637
+ }
638
+ .m-form.m-form--magic-admin .el-form-item__content .tmagic-design-radio-group .tmagic-design-radio-button .el-radio-button__inner {
639
+ height: 32px;
640
+ display: flex;
641
+ padding-top: 0;
642
+ padding-bottom: 0;
643
+ align-items: center;
644
+ }
645
+ .m-form.m-form--magic-admin .m-fields-data-source-field-select .tmagic-design-button {
646
+ margin-left: 8px;
647
+ }
648
+ .m-form.m-form--magic-admin .m-fields-data-source-field-select .tmagic-design-button span {
649
+ font-size: 16px;
650
+ }
651
+ .m-form.m-form--magic-admin .m-fields-group-list-item.tmagic-design-card--flat .el-card__body .m-fields-table-wrap .m-fields-table .el-table__header-wrapper thead {
652
+ height: 48px;
653
+ }
654
+ .m-form.m-form--magic-admin .m-fields-group-list-item.tmagic-design-card--flat .m-fields-group-list-item-header {
655
+ position: relative;
656
+ }
657
+ .m-form.m-form--magic-admin .m-fields-group-list-item.tmagic-design-card--flat .m-fields-group-list-item-header .delete-button {
658
+ position: absolute;
659
+ right: 0;
660
+ color: #0f1113;
661
+ }
662
+ .m-form.m-form--magic-admin .m-form-container .m-form-container-expand {
663
+ text-align: left;
664
+ }
665
+
666
+ .tmagic-design-input.search-input {
667
+ background: #fff;
668
+ color: #bbbbbb;
669
+ padding: 10px;
670
+ position: absolute;
671
+ top: 0;
672
+ left: 0;
673
+ box-sizing: border-box;
674
+ z-index: 1;
675
+ background: transparent;
676
+ }
677
+ .tmagic-design-input.search-input .el-input__prefix {
678
+ padding: 7px;
679
+ }
680
+
681
+ .m-editor-nav-menu {
682
+ display: flex;
683
+ z-index: 5;
684
+ -webkit-box-pack: justify;
685
+ justify-content: space-between;
686
+ -webkit-box-align: center;
687
+ align-items: center;
688
+ background-color: #ffffff;
689
+ font-size: 19.2px;
690
+ color: #313a40;
691
+ font-weight: 400;
692
+ box-sizing: border-box;
693
+ margin: 0px;
694
+ flex: 0 0 var(--editor-nav-height, 35px);
695
+ border-bottom: 1px solid #d8dee8;
696
+ }
697
+ .m-editor-nav-menu > div {
698
+ display: flex;
699
+ gap: 3px;
700
+ height: 100%;
701
+ z-index: 1;
702
+ align-items: center;
703
+ flex-wrap: nowrap;
704
+ overflow: hidden;
705
+ position: relative;
706
+ min-width: 0;
707
+ }
708
+ .m-editor-nav-menu .menu-center {
709
+ justify-content: center;
710
+ }
711
+ .m-editor-nav-menu .menu-right {
712
+ justify-content: flex-end;
713
+ }
714
+ .m-editor-nav-menu .m-editor-nav-menu-slot-hidden {
715
+ position: absolute;
716
+ left: -99999px;
717
+ top: 0;
718
+ visibility: hidden;
719
+ pointer-events: none;
720
+ }
721
+ .m-editor-nav-menu .m-editor-nav-menu-more-wrapper {
722
+ flex: 0 0 auto;
723
+ display: flex;
724
+ align-items: center;
725
+ height: 100%;
726
+ }
727
+ .m-editor-nav-menu .m-editor-nav-menu-more-wrapper.m-editor-nav-menu-more-wrapper-hidden {
728
+ visibility: hidden;
729
+ pointer-events: none;
730
+ }
731
+ .m-editor-nav-menu .m-editor-nav-menu-more {
732
+ flex: 0 0 auto;
733
+ }
734
+ .m-editor-nav-menu .menu-item {
735
+ flex-direction: row;
736
+ flex: 0 0 auto;
737
+ -webkit-box-align: center;
738
+ align-items: center;
739
+ vertical-align: middle;
740
+ font-size: 14px;
741
+ line-height: 1;
742
+ height: 100%;
743
+ color: rgba(255, 255, 255, 0.7);
744
+ box-sizing: inherit;
745
+ z-index: 1;
746
+ display: flex !important;
747
+ transition: all 0.3s ease 0s;
748
+ border-bottom: 2px solid transparent;
749
+ margin: 0;
750
+ white-space: nowrap;
751
+ }
752
+ .m-editor-nav-menu .menu-item .is-disabled {
753
+ opacity: 0.5;
754
+ }
755
+ .m-editor-nav-menu .menu-item .is-text {
756
+ padding: 5px;
757
+ }
758
+ .m-editor-nav-menu .menu-item .is-text > i {
759
+ color: #313a40;
760
+ }
761
+ .m-editor-nav-menu .menu-item .icon {
762
+ display: flex;
763
+ -webkit-box-align: center;
764
+ align-items: center;
765
+ height: 100%;
766
+ padding: 0px 8px;
767
+ }
768
+ .m-editor-nav-menu .menu-item .menu-item-text {
769
+ color: #313a40;
770
+ white-space: nowrap;
771
+ }
772
+ .m-editor-nav-menu .menu-item.rule .el-icon {
773
+ transform: rotate(-90deg);
774
+ }
775
+ .m-editor-nav-menu .menu-item .t-button {
776
+ padding-left: 1px;
777
+ padding-right: 1px;
778
+ }
779
+
780
+ .m-editor-nav-menu-popover .m-editor-nav-menu-overflow-list {
781
+ display: flex;
782
+ flex-direction: column;
783
+ gap: 4px;
784
+ padding: 4px 0;
785
+ }
786
+ .m-editor-nav-menu-popover .m-editor-nav-menu-overflow-list .menu-item {
787
+ display: flex;
788
+ align-items: center;
789
+ padding: 4px 8px;
790
+ cursor: pointer;
791
+ border-radius: 4px;
792
+ }
793
+ .m-editor-nav-menu-popover .m-editor-nav-menu-overflow-list .menu-item:hover {
794
+ background-color: rgba(0, 0, 0, 0.05);
795
+ }
796
+ .m-editor-nav-menu-popover .m-editor-nav-menu-overflow-list .menu-item.divider {
797
+ padding: 0;
798
+ cursor: default;
799
+ }
800
+ .m-editor-nav-menu-popover .m-editor-nav-menu-overflow-list .menu-item.divider:hover {
801
+ background-color: transparent;
802
+ }
803
+
804
+ .m-editor-history-list-popover {
805
+ padding: 0 !important;
806
+ }
807
+ .m-editor-history-list-popover .m-editor-history-list {
808
+ position: relative;
809
+ padding: 4px 8px 8px;
810
+ }
811
+ .m-editor-history-list-popover .m-editor-history-list-close {
812
+ position: absolute;
813
+ top: 4px;
814
+ right: 4px;
815
+ z-index: 2;
816
+ display: flex;
817
+ align-items: center;
818
+ height: 40px;
819
+ margin: 0;
820
+ color: #909399;
821
+ }
822
+ .m-editor-history-list-popover .m-editor-history-list-close:hover {
823
+ color: var(--el-color-primary, #409eff);
824
+ }
825
+ .m-editor-history-list-popover .m-editor-history-list-tabs .el-tabs__header,
826
+ .m-editor-history-list-popover .m-editor-history-list-tabs .t-tabs__header {
827
+ margin-bottom: 4px;
828
+ }
829
+ .m-editor-history-list-popover .m-editor-history-list-empty {
830
+ padding: 24px 0;
831
+ text-align: center;
832
+ color: #909399;
833
+ font-size: 12px;
834
+ }
835
+ .m-editor-history-list-popover .m-editor-history-list-ul {
836
+ margin: 0;
837
+ padding: 0;
838
+ list-style: none;
839
+ }
840
+ .m-editor-history-list-popover .m-editor-history-list-toolbar {
841
+ display: flex;
842
+ align-items: center;
843
+ justify-content: flex-end;
844
+ padding: 0 4px 4px;
845
+ }
846
+ .m-editor-history-list-popover .m-editor-history-list-clear {
847
+ padding: 2px 8px;
848
+ border-radius: 4px;
849
+ font-size: 12px;
850
+ color: #f56c6c;
851
+ cursor: pointer;
852
+ user-select: none;
853
+ }
854
+ .m-editor-history-list-popover .m-editor-history-list-clear:hover {
855
+ background-color: rgba(245, 108, 108, 0.12);
856
+ }
857
+ .m-editor-history-list-popover .m-editor-history-list-item {
858
+ display: flex;
859
+ align-items: center;
860
+ gap: 6px;
861
+ padding: 6px 8px;
862
+ border-radius: 4px;
863
+ font-size: 12px;
864
+ line-height: 1.4;
865
+ color: #303133;
866
+ cursor: default;
867
+ }
868
+ .m-editor-history-list-popover .m-editor-history-list-item:not(.m-editor-history-list-group.is-merged):hover {
869
+ background-color: rgba(0, 0, 0, 0.04);
870
+ }
871
+ .m-editor-history-list-popover .m-editor-history-list-item.is-undone {
872
+ color: #c0c4cc;
873
+ }
874
+ .m-editor-history-list-popover .m-editor-history-list-item.is-undone .m-editor-history-list-item-op {
875
+ opacity: 0.5;
876
+ }
877
+ .m-editor-history-list-popover .m-editor-history-list-item.is-current:not(.m-editor-history-list-group.is-merged) {
878
+ background-color: rgba(64, 158, 255, 0.1);
879
+ box-shadow: inset 2px 0 0 var(--el-color-primary, #409eff);
880
+ }
881
+ .m-editor-history-list-popover .m-editor-history-list-item.is-current:not(.m-editor-history-list-group.is-merged):hover {
882
+ background-color: rgba(64, 158, 255, 0.16);
883
+ }
884
+ .m-editor-history-list-popover .m-editor-history-list-item.is-current:not(.m-editor-history-list-group.is-merged) .m-editor-history-list-item-desc {
885
+ font-weight: 600;
886
+ color: var(--el-color-primary, #409eff);
887
+ }
888
+ .m-editor-history-list-popover .m-editor-history-list-group {
889
+ flex-direction: column;
890
+ align-items: stretch;
891
+ gap: 0;
892
+ }
893
+ .m-editor-history-list-popover .m-editor-history-list-group .m-editor-history-list-group-head {
894
+ display: flex;
895
+ align-items: center;
896
+ gap: 6px;
897
+ cursor: default;
898
+ }
899
+ .m-editor-history-list-popover .m-editor-history-list-group .m-editor-history-list-group-head.is-clickable {
900
+ cursor: pointer;
901
+ }
902
+ .m-editor-history-list-popover .m-editor-history-list-group .m-editor-history-list-group-toggle {
903
+ flex: 0 0 auto;
904
+ width: 16px;
905
+ text-align: center;
906
+ color: #909399;
907
+ font-size: 12px;
908
+ user-select: none;
909
+ transition: transform 0.15s ease;
910
+ pointer-events: none;
911
+ }
912
+ .m-editor-history-list-popover .m-editor-history-list-group .m-editor-history-list-group-toggle.is-expanded {
913
+ transform: rotate(180deg);
914
+ }
915
+ .m-editor-history-list-popover .m-editor-history-list-group.is-merged {
916
+ margin: 4px 0;
917
+ padding: 4px 8px 6px;
918
+ background-color: rgba(47, 84, 235, 0.06);
919
+ border: 1px solid rgba(47, 84, 235, 0.18);
920
+ border-left: 3px solid #2f54eb;
921
+ border-radius: 4px;
922
+ }
923
+ .m-editor-history-list-popover .m-editor-history-list-group.is-merged:hover {
924
+ background-color: rgba(47, 84, 235, 0.1);
925
+ }
926
+ .m-editor-history-list-popover .m-editor-history-list-group.is-merged .m-editor-history-list-group-head {
927
+ font-weight: 600;
928
+ color: #1d39c4;
929
+ }
930
+ .m-editor-history-list-popover .m-editor-history-list-group.is-merged.is-undone {
931
+ background-color: rgba(192, 196, 204, 0.08);
932
+ border-color: rgba(192, 196, 204, 0.4);
933
+ border-left-color: #c0c4cc;
934
+ }
935
+ .m-editor-history-list-popover .m-editor-history-list-group.is-merged.is-undone .m-editor-history-list-group-head {
936
+ color: #c0c4cc;
937
+ }
938
+ .m-editor-history-list-popover .m-editor-history-list-group.is-merged.is-current {
939
+ background-color: rgba(64, 158, 255, 0.08);
940
+ border-color: rgba(64, 158, 255, 0.3);
941
+ border-left-color: var(--el-color-primary, #409eff);
942
+ box-shadow: none;
943
+ }
944
+ .m-editor-history-list-popover .m-editor-history-list-group.is-merged.is-current .m-editor-history-list-group-head {
945
+ color: var(--el-color-primary, #409eff);
946
+ }
947
+ .m-editor-history-list-popover .m-editor-history-list-substeps {
948
+ margin: 6px 0 0 6px;
949
+ padding: 0;
950
+ list-style: none;
951
+ border-left: 1px dashed rgba(47, 84, 235, 0.45);
952
+ }
953
+ .m-editor-history-list-popover .m-editor-history-list-substeps li {
954
+ display: flex;
955
+ align-items: center;
956
+ gap: 6px;
957
+ padding: 3px 8px;
958
+ font-size: 11px;
959
+ color: #606266;
960
+ cursor: default;
961
+ border-radius: 3px;
962
+ }
963
+ .m-editor-history-list-popover .m-editor-history-list-substeps li.is-clickable {
964
+ cursor: pointer;
965
+ }
966
+ .m-editor-history-list-popover .m-editor-history-list-substeps li.is-clickable:hover {
967
+ background-color: rgba(47, 84, 235, 0.1);
968
+ }
969
+ .m-editor-history-list-popover .m-editor-history-list-substeps li.is-undone {
970
+ color: #c0c4cc;
971
+ }
972
+ .m-editor-history-list-popover .m-editor-history-list-substeps li.is-current {
973
+ color: var(--el-color-primary, #409eff);
974
+ font-weight: 600;
975
+ background-color: rgba(64, 158, 255, 0.08);
976
+ border-radius: 3px;
977
+ }
978
+ .m-editor-history-list-popover .m-editor-history-list-item-current {
979
+ flex: 0 0 auto;
980
+ padding: 0 6px;
981
+ border-radius: 2px;
982
+ font-size: 10px;
983
+ line-height: 16px;
984
+ color: #fff;
985
+ background-color: var(--el-color-primary, #409eff);
986
+ font-weight: 500;
987
+ }
988
+ .m-editor-history-list-popover .m-editor-history-list-item-index {
989
+ flex: 0 0 auto;
990
+ min-width: 30px;
991
+ text-align: right;
992
+ color: #909399;
993
+ font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
994
+ font-size: 11px;
995
+ font-weight: 400;
996
+ white-space: nowrap;
997
+ }
998
+ .m-editor-history-list-popover .m-editor-history-list-group.is-merged > .m-editor-history-list-group-head > .m-editor-history-list-item-index {
999
+ min-width: 0;
1000
+ text-align: left;
1001
+ }
1002
+ .m-editor-history-list-popover .m-editor-history-list-item-time {
1003
+ flex: 0 0 auto;
1004
+ color: #a8abb2;
1005
+ font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
1006
+ font-size: 11px;
1007
+ font-weight: 400;
1008
+ white-space: nowrap;
1009
+ }
1010
+ .m-editor-history-list-popover .m-editor-history-list-item-op {
1011
+ flex: 0 0 auto;
1012
+ padding: 0 6px;
1013
+ border-radius: 2px;
1014
+ font-size: 11px;
1015
+ line-height: 18px;
1016
+ color: #fff;
1017
+ background-color: #909399;
1018
+ }
1019
+ .m-editor-history-list-popover .m-editor-history-list-item-op.op-add {
1020
+ background-color: #67c23a;
1021
+ }
1022
+ .m-editor-history-list-popover .m-editor-history-list-item-op.op-remove {
1023
+ background-color: #f56c6c;
1024
+ }
1025
+ .m-editor-history-list-popover .m-editor-history-list-item-op.op-update {
1026
+ background-color: #e6a23c;
1027
+ }
1028
+ .m-editor-history-list-popover .m-editor-history-list-item-op.op-initial {
1029
+ background-color: #909399;
1030
+ }
1031
+ .m-editor-history-list-popover .m-editor-history-list-initial {
1032
+ cursor: default;
1033
+ color: #606266;
1034
+ border-top: 1px dashed #dcdfe6;
1035
+ margin-top: 4px;
1036
+ padding-top: 8px;
1037
+ }
1038
+ .m-editor-history-list-popover .m-editor-history-list-initial.is-clickable {
1039
+ cursor: pointer;
1040
+ }
1041
+ .m-editor-history-list-popover .m-editor-history-list-initial .m-editor-history-list-item-desc {
1042
+ font-style: italic;
1043
+ }
1044
+ .m-editor-history-list-popover .m-editor-history-list-item-desc {
1045
+ flex: 1 1 auto;
1046
+ overflow: hidden;
1047
+ text-overflow: ellipsis;
1048
+ white-space: nowrap;
1049
+ }
1050
+ .m-editor-history-list-popover .m-editor-history-list-item-source {
1051
+ flex: 0 0 auto;
1052
+ padding: 0 6px;
1053
+ border: 1px solid #dcdfe6;
1054
+ border-radius: 8px;
1055
+ font-size: 10px;
1056
+ line-height: 14px;
1057
+ color: #909399;
1058
+ background-color: #f4f4f5;
1059
+ white-space: nowrap;
1060
+ font-weight: 400;
1061
+ }
1062
+ .m-editor-history-list-popover .m-editor-history-list-item-operator {
1063
+ flex: 0 0 auto;
1064
+ padding: 0 6px;
1065
+ border: 1px solid #c6e2ff;
1066
+ border-radius: 8px;
1067
+ font-size: 10px;
1068
+ line-height: 14px;
1069
+ color: #409eff;
1070
+ background-color: #ecf5ff;
1071
+ white-space: nowrap;
1072
+ font-weight: 400;
1073
+ }
1074
+ .m-editor-history-list-popover .m-editor-history-list-item-saved {
1075
+ flex: 0 0 auto;
1076
+ padding: 0 6px;
1077
+ border-radius: 8px;
1078
+ font-size: 10px;
1079
+ line-height: 16px;
1080
+ color: #fff;
1081
+ background-color: #67c23a;
1082
+ white-space: nowrap;
1083
+ font-weight: 500;
1084
+ letter-spacing: 0.2px;
1085
+ }
1086
+ .m-editor-history-list-popover .m-editor-history-list-item-merge {
1087
+ flex: 0 0 auto;
1088
+ padding: 0 8px;
1089
+ border-radius: 8px;
1090
+ font-size: 10px;
1091
+ line-height: 16px;
1092
+ color: #fff;
1093
+ background-color: #2f54eb;
1094
+ font-weight: 500;
1095
+ letter-spacing: 0.2px;
1096
+ }
1097
+ .m-editor-history-list-popover .m-editor-history-list-item-actions {
1098
+ display: none;
1099
+ flex: 0 0 auto;
1100
+ align-items: center;
1101
+ gap: 6px;
1102
+ }
1103
+ .m-editor-history-list-popover .m-editor-history-list-group-head:hover > .m-editor-history-list-item-actions,
1104
+ .m-editor-history-list-popover .m-editor-history-list-substeps > li:hover > .m-editor-history-list-item-actions,
1105
+ .m-editor-history-list-popover .m-editor-history-list-initial:hover > .m-editor-history-list-item-actions {
1106
+ display: flex;
1107
+ }
1108
+ .m-editor-history-list-popover .m-editor-history-list-item-diff {
1109
+ flex: 0 0 auto;
1110
+ padding: 0 6px;
1111
+ border-radius: 2px;
1112
+ font-size: 10px;
1113
+ line-height: 16px;
1114
+ color: var(--el-color-primary, #409eff);
1115
+ background-color: rgba(64, 158, 255, 0.1);
1116
+ cursor: pointer;
1117
+ user-select: none;
1118
+ }
1119
+ .m-editor-history-list-popover .m-editor-history-list-item-diff:hover {
1120
+ background-color: rgba(64, 158, 255, 0.2);
1121
+ }
1122
+ .m-editor-history-list-popover .m-editor-history-list-item-goto {
1123
+ flex: 0 0 auto;
1124
+ padding: 0 6px;
1125
+ border-radius: 2px;
1126
+ font-size: 10px;
1127
+ line-height: 16px;
1128
+ color: #529b2e;
1129
+ background-color: rgba(103, 194, 58, 0.12);
1130
+ cursor: pointer;
1131
+ user-select: none;
1132
+ }
1133
+ .m-editor-history-list-popover .m-editor-history-list-item-goto:hover {
1134
+ background-color: rgba(103, 194, 58, 0.24);
1135
+ }
1136
+ .m-editor-history-list-popover .m-editor-history-list-item-revert {
1137
+ flex: 0 0 auto;
1138
+ padding: 0 6px;
1139
+ border-radius: 2px;
1140
+ font-size: 10px;
1141
+ line-height: 16px;
1142
+ color: #f56c6c;
1143
+ background-color: rgba(245, 108, 108, 0.12);
1144
+ cursor: pointer;
1145
+ user-select: none;
1146
+ }
1147
+ .m-editor-history-list-popover .m-editor-history-list-item-revert:hover {
1148
+ background-color: rgba(245, 108, 108, 0.25);
1149
+ }
1150
+ .m-editor-history-list-popover .m-editor-history-list-substep-desc {
1151
+ flex: 1 1 auto;
1152
+ overflow: hidden;
1153
+ text-overflow: ellipsis;
1154
+ white-space: nowrap;
1155
+ }
1156
+ .m-editor-history-list-popover .m-editor-history-list-bucket {
1157
+ margin-bottom: 8px;
1158
+ }
1159
+ .m-editor-history-list-popover .m-editor-history-list-bucket:last-child {
1160
+ margin-bottom: 0;
1161
+ }
1162
+ .m-editor-history-list-popover .m-editor-history-list-bucket-title {
1163
+ display: flex;
1164
+ align-items: center;
1165
+ gap: 6px;
1166
+ padding: 4px 8px;
1167
+ font-size: 12px;
1168
+ font-weight: 500;
1169
+ color: #606266;
1170
+ background-color: #f5f7fa;
1171
+ border-radius: 4px;
1172
+ }
1173
+ .m-editor-history-list-popover .m-editor-history-list-bucket-title code {
1174
+ flex: 1 1 auto;
1175
+ font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
1176
+ font-size: 11px;
1177
+ color: var(--el-color-primary, #409eff);
1178
+ overflow: hidden;
1179
+ text-overflow: ellipsis;
1180
+ white-space: nowrap;
1181
+ }
1182
+ .m-editor-history-list-popover .m-editor-history-list-bucket-count {
1183
+ flex: 0 0 auto;
1184
+ color: #909399;
1185
+ font-weight: 400;
1186
+ font-size: 11px;
1187
+ }
1188
+
1189
+ .m-editor-history-diff-dialog .m-editor-history-diff-dialog-body {
1190
+ display: flex;
1191
+ flex-direction: column;
1192
+ }
1193
+ .m-editor-history-diff-dialog .m-editor-history-diff-dialog-notice {
1194
+ margin-bottom: 8px;
1195
+ padding: 8px 12px;
1196
+ background-color: #fdf6ec;
1197
+ border: 1px solid #faecd8;
1198
+ border-radius: 4px;
1199
+ color: #e6a23c;
1200
+ font-size: 13px;
1201
+ line-height: 1.5;
1202
+ }
1203
+ .m-editor-history-diff-dialog .m-editor-history-diff-dialog-header {
1204
+ display: flex;
1205
+ align-items: center;
1206
+ justify-content: space-between;
1207
+ margin-bottom: 8px;
1208
+ padding: 8px 12px;
1209
+ background-color: #f5f7fa;
1210
+ border-radius: 4px;
1211
+ gap: 12px;
1212
+ }
1213
+ .m-editor-history-diff-dialog .m-editor-history-diff-dialog-controls {
1214
+ display: flex;
1215
+ align-items: center;
1216
+ flex: 0 0 auto;
1217
+ gap: 8px;
1218
+ }
1219
+ .m-editor-history-diff-dialog .m-editor-history-diff-dialog-view,
1220
+ .m-editor-history-diff-dialog .m-editor-history-diff-dialog-mode {
1221
+ flex: 0 0 auto;
1222
+ }
1223
+ .m-editor-history-diff-dialog .m-editor-history-diff-dialog-target {
1224
+ flex: 1 1 auto;
1225
+ font-size: 13px;
1226
+ font-weight: 500;
1227
+ color: #303133;
1228
+ overflow: hidden;
1229
+ text-overflow: ellipsis;
1230
+ white-space: nowrap;
1231
+ }
1232
+ .m-editor-history-diff-dialog .m-editor-history-diff-dialog-legend {
1233
+ display: flex;
1234
+ align-items: center;
1235
+ gap: 6px;
1236
+ margin-bottom: 12px;
1237
+ padding: 0 4px;
1238
+ }
1239
+ .m-editor-history-diff-dialog .m-editor-history-diff-dialog-arrow {
1240
+ color: #909399;
1241
+ font-size: 12px;
1242
+ }
1243
+ .m-editor-history-diff-dialog .m-editor-history-diff-dialog-tip {
1244
+ margin-left: 8px;
1245
+ color: #e6a23c;
1246
+ font-size: 12px;
1247
+ }
1248
+
1249
+ .m-editor {
1250
+ display: flex;
1251
+ flex-direction: column;
1252
+ width: 100%;
1253
+ }
1254
+ .m-editor-content {
1255
+ height: calc(100% - var(--editor-nav-height, 35px));
1256
+ }
1257
+ .m-editor-framework-center {
1258
+ position: relative;
1259
+ transform: translateZ(0);
1260
+ flex: 1;
1261
+ }
1262
+ .m-editor-framework-left {
1263
+ background-color: #ffffff;
1264
+ }
1265
+ .m-editor-framework-center .el-scrollbar__view {
1266
+ height: 100%;
1267
+ min-height: 100%;
1268
+ display: flex;
1269
+ justify-content: center;
1270
+ align-items: center;
1271
+ }
1272
+ .m-editor-empty-panel {
1273
+ display: flex;
1274
+ flex: 1;
1275
+ justify-content: center;
1276
+ align-items: center;
1277
+ flex-direction: column;
1278
+ height: calc(100% - 32px);
1279
+ }
1280
+ .m-editor-empty-content {
1281
+ display: flex;
1282
+ justify-content: space-evenly;
1283
+ flex-direction: row;
1284
+ width: 100%;
1285
+ }
1286
+ .m-editor-empty-button {
1287
+ border: 3px solid rgba(0, 0, 0, 0.2);
1288
+ padding: 10px 40px;
1289
+ color: rgba(0, 0, 0, 0.6);
1290
+ cursor: pointer;
1291
+ }
1292
+ .m-editor-empty-button i {
1293
+ height: 180px;
1294
+ line-height: 180px;
1295
+ font-size: 100px;
1296
+ }
1297
+ .m-editor-empty-button p {
1298
+ text-align: center;
1299
+ font-size: 20px;
1300
+ margin-top: 5px;
1301
+ }
1302
+ .m-editor-empty-button:hover {
1303
+ border-color: var(--el-color-primary, #2882e0);
1304
+ color: var(--el-color-primary, #2882e0);
1305
+ }
1306
+
1307
+ .m-editor-sidebar {
1308
+ display: flex;
1309
+ height: 100%;
1310
+ position: relative;
1311
+ }
1312
+ .m-editor-sidebar .m-editor-sidebar-header {
1313
+ background: var(--el-color-primary, #2882e0);
1314
+ height: 100%;
1315
+ width: 40px;
1316
+ }
1317
+ .m-editor-sidebar .m-editor-sidebar-header .m-editor-sidebar-header-item {
1318
+ line-height: 15px;
1319
+ height: auto;
1320
+ padding: 8px;
1321
+ color: rgb(255, 255, 255);
1322
+ box-sizing: border-box;
1323
+ cursor: pointer;
1324
+ }
1325
+ .m-editor-sidebar .m-editor-sidebar-header .m-editor-sidebar-header-item.is-active {
1326
+ background: #ffffff;
1327
+ }
1328
+ .m-editor-sidebar .m-editor-sidebar-header .m-editor-sidebar-header-item.is-active i {
1329
+ color: #353140;
1330
+ }
1331
+ .m-editor-sidebar .m-editor-sidebar-header .m-editor-sidebar-header-item.is-active .magic-editor-tab-panel-title {
1332
+ color: #353140;
1333
+ }
1334
+ .m-editor-sidebar .m-editor-sidebar-header i {
1335
+ font-size: 25px;
1336
+ color: rgba(255, 255, 255, 0.6);
1337
+ }
1338
+ .m-editor-sidebar .m-editor-sidebar-header i:hover {
1339
+ color: rgb(255, 255, 255);
1340
+ }
1341
+ .m-editor-sidebar .m-editor-sidebar-header .magic-editor-tab-panel-title {
1342
+ font-size: 12px;
1343
+ white-space: normal;
1344
+ user-select: none;
1345
+ }
1346
+ .m-editor-sidebar .m-editor-sidebar-content {
1347
+ height: 100%;
1348
+ width: calc(100% - 40px);
1349
+ overflow: auto;
1350
+ }
1351
+ .m-editor-sidebar .m-editor-sidebar-tips {
1352
+ position: absolute;
1353
+ bottom: 0;
1354
+ left: 40px;
1355
+ width: calc(100% - 40px);
1356
+ text-align: center;
1357
+ background-color: rgba(252.5, 245.7, 235.5, 0.9);
1358
+ color: #e6a23c;
1359
+ padding: 5px 0;
1360
+ font-size: 12px;
1361
+ }
1362
+ .m-editor-sidebar .m-editor-sidebar-tips .close-icon {
1363
+ cursor: pointer;
1364
+ position: absolute;
1365
+ right: 15px;
1366
+ }
1367
+ .m-editor-sidebar .fold-icon {
1368
+ position: absolute;
1369
+ bottom: 8px;
1370
+ left: 0px;
1371
+ width: 45px;
1372
+ padding-left: 8px;
1373
+ color: #fff;
1374
+ font-size: 32px;
1375
+ opacity: 0.8;
1376
+ cursor: pointer;
1377
+ }
1378
+ .m-editor-sidebar .fold-icon:hover {
1379
+ background: rgba(0, 0, 0, 0.2);
1380
+ }
1381
+
1382
+ .m-editor-slide-list-box > div:first-child {
1383
+ min-width: 240px;
1384
+ }
1385
+ .m-editor-slide-list-box .m-form-box {
1386
+ border-left: 1px solid #e0e0e0;
1387
+ }
1388
+
1389
+ .m-editor-layer-panel {
1390
+ background: #ffffff;
1391
+ }
1392
+ .m-editor-layer-panel .m-editor-tree {
1393
+ padding-top: 48px;
1394
+ }
1395
+ .m-editor-layer-panel .m-editor-tree .tree-node-tool {
1396
+ padding-right: 10px;
1397
+ }
1398
+ .m-editor-layer-panel .m-editor-tree .tree-node-tool .tmagic-design-button + .tmagic-design-button {
1399
+ margin-left: 2px;
1400
+ }
1401
+ .m-editor-layer-panel .m-editor-tree .tree-node.selected .tree-node-tool .tmagic-design-button {
1402
+ color: #fff;
1403
+ }
1404
+ .m-editor-layer-panel .search-wrapper {
1405
+ display: flex;
1406
+ align-items: center;
1407
+ justify-content: center;
1408
+ position: absolute;
1409
+ top: 0;
1410
+ width: 100%;
1411
+ z-index: 1;
1412
+ }
1413
+ .m-editor-layer-panel .search-wrapper .search-input {
1414
+ flex: 1;
1415
+ position: relative;
1416
+ }
1417
+ .m-editor-layer-panel .search-wrapper .tmagic-design-button {
1418
+ margin-right: 10px;
1419
+ }
1420
+
1421
+ .ui-component-panel.tmagic-design-collapse {
1422
+ border-top: 0 !important;
1423
+ margin-top: 48px;
1424
+ background-color: #ffffff;
1425
+ }
1426
+ .ui-component-panel.tmagic-design-collapse .tmagic-design-collapse-item > div:first-of-type {
1427
+ border-bottom: 1px solid #d9dbdd;
1428
+ margin-bottom: 10px;
1429
+ }
1430
+ .ui-component-panel.tmagic-design-collapse .tmagic-design-collapse-item > .el-collapse-item__header {
1431
+ padding: 0 10px;
1432
+ box-sizing: border-box;
1433
+ }
1434
+ .ui-component-panel.tmagic-design-collapse .el-collapse-item__title {
1435
+ display: flex;
1436
+ align-items: center;
1437
+ gap: 3px;
1438
+ }
1439
+ .ui-component-panel.tmagic-design-collapse .el-collapse-item__header,
1440
+ .ui-component-panel.tmagic-design-collapse .t-collapse-panel__header {
1441
+ background: #ffffff;
1442
+ color: #313a40;
1443
+ height: 25px;
1444
+ line-height: 25px;
1445
+ padding-left: 10px;
1446
+ font-size: 12px;
1447
+ }
1448
+ .ui-component-panel.tmagic-design-collapse .el-collapse-item__header i,
1449
+ .ui-component-panel.tmagic-design-collapse .t-collapse-panel__header i {
1450
+ margin-right: 5px;
1451
+ font-size: 14px;
1452
+ }
1453
+ .ui-component-panel.tmagic-design-collapse .el-collapse-item__wrap,
1454
+ .ui-component-panel.tmagic-design-collapse .t-collapse-panel__body {
1455
+ background: #ffffff;
1456
+ border-bottom: 0;
1457
+ }
1458
+ .ui-component-panel.tmagic-design-collapse .el-collapse-item__wrap .el-collapse-item__content,
1459
+ .ui-component-panel.tmagic-design-collapse .el-collapse-item__wrap .t-collapse-panel__content,
1460
+ .ui-component-panel.tmagic-design-collapse .t-collapse-panel__body .el-collapse-item__content,
1461
+ .ui-component-panel.tmagic-design-collapse .t-collapse-panel__body .t-collapse-panel__content {
1462
+ padding: 10px;
1463
+ display: flex;
1464
+ flex-wrap: wrap;
1465
+ }
1466
+ .ui-component-panel.tmagic-design-collapse .el-collapse-item__wrap .component-item,
1467
+ .ui-component-panel.tmagic-design-collapse .t-collapse-panel__body .component-item {
1468
+ display: flex;
1469
+ overflow: hidden;
1470
+ text-overflow: ellipsis;
1471
+ margin: 5px 10px;
1472
+ box-sizing: border-box;
1473
+ color: #313a40;
1474
+ flex-direction: column;
1475
+ width: 42px;
1476
+ cursor: pointer;
1477
+ }
1478
+ .ui-component-panel.tmagic-design-collapse .el-collapse-item__wrap .component-item i,
1479
+ .ui-component-panel.tmagic-design-collapse .t-collapse-panel__body .component-item i {
1480
+ font-size: 20px;
1481
+ background: #fff;
1482
+ height: 40px;
1483
+ width: 40px;
1484
+ line-height: 40px;
1485
+ border-radius: 5px;
1486
+ color: #909090;
1487
+ border: 1px solid #d9dbdd;
1488
+ display: flex;
1489
+ justify-content: space-evenly;
1490
+ align-items: center;
1491
+ margin-bottom: 5px;
1492
+ }
1493
+ .ui-component-panel.tmagic-design-collapse .el-collapse-item__wrap .component-item i:hover,
1494
+ .ui-component-panel.tmagic-design-collapse .t-collapse-panel__body .component-item i:hover {
1495
+ background: var(--el-color-primary, #2882e0);
1496
+ color: #fff;
1497
+ border-color: var(--el-color-primary, #4e8be1);
1498
+ }
1499
+ .ui-component-panel.tmagic-design-collapse .el-collapse-item__wrap .component-item span,
1500
+ .ui-component-panel.tmagic-design-collapse .t-collapse-panel__body .component-item span {
1501
+ font-size: 12px;
1502
+ text-align: center;
1503
+ }
1504
+ .ui-component-panel.tmagic-design-collapse .el-collapse-item__wrap .component-item .el-tooltip,
1505
+ .ui-component-panel.tmagic-design-collapse .t-collapse-panel__body .component-item .el-tooltip {
1506
+ width: 50px;
1507
+ height: 30px;
1508
+ line-height: 15px;
1509
+ display: block;
1510
+ white-space: normal;
1511
+ margin: 0;
1512
+ }
1513
+ .ui-component-panel .t-collapse {
1514
+ margin-top: 0;
1515
+ padding-top: 48px;
1516
+ position: relative;
1517
+ }
1518
+
1519
+ .m-editor-resizer {
1520
+ border-left: 2px solid transparent;
1521
+ border-right: 2px solid transparent;
1522
+ width: 8px;
1523
+ margin: 0 -5px;
1524
+ height: 100%;
1525
+ opacity: 0.8;
1526
+ background: padding-box #d8dee8;
1527
+ box-sizing: border-box;
1528
+ cursor: col-resize;
1529
+ z-index: 1;
1530
+ position: relative;
1531
+ }
1532
+ .m-editor-resizer:hover {
1533
+ border-color: #d8dee8;
1534
+ }
1535
+ .m-editor-resizer:hover .icon-container {
1536
+ visibility: visible;
1537
+ opacity: 1;
1538
+ }
1539
+ .m-editor-resizer.m-editor-resizer-dragging::after {
1540
+ content: "";
1541
+ position: absolute;
1542
+ width: 600px;
1543
+ height: 100%;
1544
+ left: 0;
1545
+ }
1546
+ .m-editor-resizer.m-editor-resizer-dragging::before {
1547
+ content: "";
1548
+ position: absolute;
1549
+ width: 600px;
1550
+ height: 100%;
1551
+ right: 0;
1552
+ }
1553
+ .m-editor-resizer .icon-container {
1554
+ visibility: hidden;
1555
+ opacity: 0;
1556
+ transition: opacity 0.4s;
1557
+ width: 20px;
1558
+ height: 120px;
1559
+ line-height: 120px;
1560
+ text-align: center;
1561
+ background: #d8dee8;
1562
+ position: absolute;
1563
+ top: 50%;
1564
+ left: 50%;
1565
+ transform: translate(-50%, -50%);
1566
+ cursor: pointer;
1567
+ }
1568
+ .m-editor-resizer .icon-container.position-left {
1569
+ transform: translate(calc(-100% - 4px), -50%);
1570
+ }
1571
+ .m-editor-resizer .icon-container.position-right {
1572
+ transform: translate(calc(100% + 4px), -50%);
1573
+ }
1574
+ .m-editor-resizer .icon {
1575
+ color: #fff;
1576
+ font-size: 18px;
1577
+ }
1578
+
1579
+ .m-editor-workspace {
1580
+ height: 100%;
1581
+ width: 100%;
1582
+ user-select: none;
1583
+ }
1584
+ .m-editor-workspace:focus-visible {
1585
+ outline: 0;
1586
+ }
1587
+
1588
+ .m-editor-page-bar-tabs {
1589
+ position: fixed;
1590
+ bottom: 0;
1591
+ left: 0;
1592
+ width: 100%;
1593
+ user-select: none;
1594
+ }
1595
+
1596
+ .m-editor-page-list-item {
1597
+ display: flex;
1598
+ width: 100%;
1599
+ height: 32px;
1600
+ line-height: 32px;
1601
+ color: #313a40;
1602
+ z-index: 2;
1603
+ overflow: hidden;
1604
+ }
1605
+ .m-editor-page-list-item:hover {
1606
+ background-color: #f3f5f9;
1607
+ }
1608
+
1609
+ .m-editor-page-bar {
1610
+ display: flex;
1611
+ width: 100%;
1612
+ height: 32px;
1613
+ line-height: 32px;
1614
+ color: #313a40;
1615
+ background-color: #f3f3f3;
1616
+ border-top: 1px solid #d9dbdd;
1617
+ z-index: 2;
1618
+ overflow: hidden;
1619
+ }
1620
+ .m-editor-page-bar-items {
1621
+ display: flex;
1622
+ transition: transform 0.3s;
1623
+ }
1624
+ .m-editor-page-bar-item {
1625
+ padding: 0 10px;
1626
+ cursor: pointer;
1627
+ border-right: 1px solid #d9dbdd;
1628
+ display: flex;
1629
+ justify-items: center;
1630
+ align-items: center;
1631
+ background-color: #f3f3f3;
1632
+ white-space: nowrap;
1633
+ }
1634
+ .m-editor-page-bar-item.active {
1635
+ background-color: #fff;
1636
+ cursor: text;
1637
+ }
1638
+ .m-editor-page-bar-item.active .m-editor-page-bar-menu-icon {
1639
+ cursor: pointer;
1640
+ }
1641
+ .m-editor-page-bar-item-icon {
1642
+ position: relative;
1643
+ z-index: 1;
1644
+ }
1645
+ .m-editor-page-bar-item-icon .icon-active {
1646
+ font-weight: bold;
1647
+ color: var(--el-color-primary, #2882e0);
1648
+ }
1649
+ .m-editor-page-bar-item-title {
1650
+ max-width: 150px;
1651
+ text-overflow: ellipsis;
1652
+ white-space: nowrap;
1653
+ overflow: hidden;
1654
+ }
1655
+ .m-editor-page-bar-item-left-icon, .m-editor-page-bar-item-right-icon {
1656
+ position: absolute;
1657
+ right: 0;
1658
+ top: 0;
1659
+ height: 100%;
1660
+ }
1661
+ .m-editor-page-bar-item-left-icon {
1662
+ right: 34px;
1663
+ }
1664
+
1665
+ .page-bar-popover.tmagic-design-popper {
1666
+ padding: 4px 0;
1667
+ }
1668
+ .page-bar-popover .page-bar-popover-wrapper {
1669
+ max-height: calc(100vh - 32px - 20px);
1670
+ overflow: auto;
1671
+ }
1672
+ .page-bar-popover .menu-item {
1673
+ cursor: pointer;
1674
+ transition: all 0.2s ease 0s;
1675
+ padding: 5px 14px;
1676
+ }
1677
+ .page-bar-popover .menu-item:hover {
1678
+ background-color: #f3f5f9;
1679
+ }
1680
+ .page-bar-popover .menu-item.active .tmagic-design-button {
1681
+ color: var(--el-color-primary, #2882e0);
1682
+ }
1683
+
1684
+ .m-editor-page-bar-search-panel {
1685
+ position: absolute;
1686
+ bottom: 32px;
1687
+ border: 1px solid #d9dbdd;
1688
+ padding: 6px 10px;
1689
+ width: 100%;
1690
+ box-sizing: border-box;
1691
+ }
1692
+ .m-editor-page-bar-search-panel .tmagic-design-form-item {
1693
+ margin-bottom: 0;
1694
+ }
1695
+
1696
+ .m-editor-props-panel {
1697
+ height: 100%;
1698
+ position: relative;
1699
+ --props-style-panel-width: 300px;
1700
+ }
1701
+ .m-editor-props-panel .m-editor-props-form-panel {
1702
+ padding-bottom: 10px;
1703
+ position: relative;
1704
+ height: 100%;
1705
+ box-sizing: border-box;
1706
+ }
1707
+ .m-editor-props-panel .m-editor-props-form-panel .tmagic-design-scrollbar {
1708
+ height: 100%;
1709
+ }
1710
+ .m-editor-props-panel .m-editor-props-property-panel.show-style-panel {
1711
+ padding-right: var(--props-style-panel-width);
1712
+ }
1713
+ .m-editor-props-panel .m-editor-props-property-panel.show-style-panel .m-editor-props-panel-src-icon {
1714
+ right: calc(15px + var(--props-style-panel-width));
1715
+ }
1716
+ .m-editor-props-panel .m-editor-props-style-panel {
1717
+ position: absolute;
1718
+ width: var(--props-style-panel-width);
1719
+ right: 0;
1720
+ top: 0;
1721
+ background: #fff;
1722
+ z-index: 12;
1723
+ }
1724
+ .m-editor-props-panel .m-editor-props-style-panel .tmagic-design-scrollbar {
1725
+ height: calc(100% - 38px - 1px);
1726
+ }
1727
+ .m-editor-props-panel .m-editor-props-style-panel .m-editor-props-style-panel-title {
1728
+ text-align: center;
1729
+ font-size: 14px;
1730
+ font-weight: 600;
1731
+ padding: 0 5px;
1732
+ height: 38px;
1733
+ display: flex;
1734
+ justify-content: space-between;
1735
+ align-items: center;
1736
+ border-bottom: 2px solid #d9dbdd;
1737
+ }
1738
+ .m-editor-props-panel .m-editor-props-panel-src-icon {
1739
+ position: absolute;
1740
+ right: 15px;
1741
+ bottom: 15px;
1742
+ z-index: 32;
1743
+ opacity: 0.5;
1744
+ }
1745
+ .m-editor-props-panel .m-editor-props-panel-src-icon:hover {
1746
+ opacity: 1;
1747
+ }
1748
+ .m-editor-props-panel .m-editor-props-panel-style-icon {
1749
+ position: absolute;
1750
+ right: 15px;
1751
+ bottom: 60px;
1752
+ z-index: 31;
1753
+ opacity: 0.5;
1754
+ }
1755
+ .m-editor-props-panel .m-editor-props-panel-style-icon:hover {
1756
+ opacity: 1;
1757
+ }
1758
+ .m-editor-props-panel .m-editor-props-panel-src-code.magic-code-editor {
1759
+ position: absolute;
1760
+ left: 0;
1761
+ top: 0;
1762
+ z-index: 31;
1763
+ }
1764
+ .m-editor-props-panel .m-editor-resizer {
1765
+ position: absolute;
1766
+ display: block;
1767
+ top: 0;
1768
+ right: var(--props-style-panel-width);
1769
+ z-index: 13;
1770
+ }
1771
+ .m-editor-props-panel.small .el-form-item__label {
1772
+ font-size: 12px;
1773
+ }
1774
+ .m-editor-props-panel.small .m-fieldset legend {
1775
+ font-size: 12px;
1776
+ }
1777
+ .m-editor-props-panel.small .el-tabs__item {
1778
+ font-size: 12px;
1779
+ }
1780
+ .m-editor-props-panel .el-input__wrapper {
1781
+ border-radius: 0;
1782
+ }
1783
+ .m-editor-props-panel .m-fields-group-list .tmagic-design-table th {
1784
+ font-size: 12px;
1785
+ }
1786
+
1787
+ .m-editor-props-form-panel-form {
1788
+ padding-right: 10px;
1789
+ padding-left: 10px;
1790
+ }
1791
+ .m-editor-props-form-panel-form > .m-container-tab > .tmagic-design-tabs > .el-tabs__content {
1792
+ margin-top: var(--el-tabs-header-height);
1793
+ padding-top: 15px;
1794
+ }
1795
+ .m-editor-props-form-panel-form > .m-container-tab > .tmagic-design-tabs > .el-tabs__header.is-top {
1796
+ position: absolute;
1797
+ top: 0;
1798
+ width: 100%;
1799
+ background: #fff;
1800
+ z-index: 3;
1801
+ }
1802
+
1803
+ .m-editor-props-panel-popper.small span,
1804
+ .m-editor-props-panel-popper.small a,
1805
+ .m-editor-props-panel-popper.small p {
1806
+ font-size: 12px;
1807
+ }
1808
+
1809
+ .magic-editor-content-menu {
1810
+ position: fixed;
1811
+ font-size: 12px;
1812
+ background: #fff;
1813
+ box-shadow: 0 2px 8px 2px rgba(68, 73, 77, 0.16);
1814
+ z-index: 1000;
1815
+ transform-origin: 0% 0%;
1816
+ font-weight: 600;
1817
+ padding: 4px 0px;
1818
+ overflow: auto;
1819
+ max-height: 80%;
1820
+ min-width: 180px;
1821
+ }
1822
+ .magic-editor-content-menu .menu-item {
1823
+ color: #333;
1824
+ display: flex;
1825
+ -webkit-box-align: center;
1826
+ align-items: center;
1827
+ cursor: pointer;
1828
+ min-width: 140px;
1829
+ transition: all 0.2s ease 0s;
1830
+ padding: 5px 14px;
1831
+ border-left: 2px solid transparent;
1832
+ }
1833
+ .magic-editor-content-menu .menu-item .el-button {
1834
+ width: 100%;
1835
+ justify-content: flex-start;
1836
+ }
1837
+ .magic-editor-content-menu .menu-item .el-button--text,
1838
+ .magic-editor-content-menu .menu-item i {
1839
+ color: #313a40;
1840
+ }
1841
+ .magic-editor-content-menu .menu-item .magic-editor-icon {
1842
+ margin-right: 5px;
1843
+ }
1844
+ .magic-editor-content-menu .menu-item.divider {
1845
+ padding: 0 14px;
1846
+ }
1847
+ .magic-editor-content-menu .menu-item.divider .el-divider {
1848
+ margin: 0;
1849
+ }
1850
+ .magic-editor-content-menu .menu-item.button:hover {
1851
+ background-color: #f3f5f9;
1852
+ }
1853
+ .magic-editor-content-menu .menu-item.button:hover .tmagic-design-button,
1854
+ .magic-editor-content-menu .menu-item.button:hover .tmagic-design-button:active,
1855
+ .magic-editor-content-menu .menu-item.button:hover .tmagic-design-button:focus {
1856
+ color: #313a40;
1857
+ }
1858
+ .magic-editor-content-menu .menu-item.button:hover.menu-item i {
1859
+ color: #313a40;
1860
+ }
1861
+ .magic-editor-content-menu .menu-item.button.active {
1862
+ background-color: var(--el-color-primary, #2882e0);
1863
+ }
1864
+ .magic-editor-content-menu .menu-item.button.active .tmagic-design-button,
1865
+ .magic-editor-content-menu .menu-item.button.active .tmagic-design-button:active,
1866
+ .magic-editor-content-menu .menu-item.button.active .tmagic-design-button:focus {
1867
+ color: #fff;
1868
+ background-color: transparent;
1869
+ }
1870
+ .magic-editor-content-menu .menu-item.button.active.menu-item i {
1871
+ color: #fff;
1872
+ }
1873
+
1874
+ .m-editor-stage {
1875
+ position: relative;
1876
+ width: 100%;
1877
+ height: calc(100% - 32px);
1878
+ overflow: hidden;
1879
+ display: flex;
1880
+ justify-content: center;
1881
+ align-items: center;
1882
+ }
1883
+ .m-editor-stage:focus-visible {
1884
+ outline: none;
1885
+ }
1886
+
1887
+ .m-editor-stage-container {
1888
+ width: 100%;
1889
+ height: 100%;
1890
+ z-index: 0;
1891
+ position: relative;
1892
+ transition: transform 0.3s;
1893
+ box-sizing: content-box;
1894
+ box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
1895
+ }
1896
+ .m-editor-stage-container::-webkit-scrollbar {
1897
+ width: 0 !important;
1898
+ }
1899
+
1900
+ .m-editor-stage-overlay {
1901
+ position: absolute;
1902
+ left: 0;
1903
+ top: 0;
1904
+ width: 100%;
1905
+ height: 100%;
1906
+ background-color: #fff;
1907
+ z-index: 20;
1908
+ }
1909
+
1910
+ .m-editor-stage-overlay-close.tmagic-design-icon {
1911
+ position: fixed;
1912
+ right: 20px;
1913
+ top: 10px;
1914
+ cursor: pointer;
1915
+ z-index: 1;
1916
+ }
1917
+
1918
+ .m-editor-stage-float-button {
1919
+ cursor: pointer;
1920
+ transform: translateY(-50%);
1921
+ width: 12px;
1922
+ font-size: 12px;
1923
+ line-height: 1.2;
1924
+ position: absolute;
1925
+ left: 100%;
1926
+ top: 50%;
1927
+ padding: 5px;
1928
+ background-color: #ffffff;
1929
+ transition: background-color 0.2s;
1930
+ color: rgba(0, 0, 0, 0.88);
1931
+ box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
1932
+ }
1933
+
1934
+ .m-editor-node-list-menu {
1935
+ height: 100%;
1936
+ width: 100%;
1937
+ min-width: 300px;
1938
+ max-height: 500px;
1939
+ }
1940
+
1941
+ .m-container-vs-code .el-form-item {
1942
+ margin-bottom: 0;
1943
+ }
1944
+
1945
+ .magic-code-editor {
1946
+ width: 100%;
1947
+ }
1948
+
1949
+ .magic-code-editor-wrapper {
1950
+ width: 100%;
1951
+ height: 100%;
1952
+ position: relative;
1953
+ }
1954
+ .magic-code-editor-wrapper.full-screen {
1955
+ position: fixed;
1956
+ z-index: 10000;
1957
+ top: 0;
1958
+ left: 0;
1959
+ }
1960
+ .magic-code-editor-wrapper .magic-code-editor-content {
1961
+ width: 100%;
1962
+ height: 100%;
1963
+ }
1964
+ .magic-code-editor-wrapper .magic-code-editor-content .margin {
1965
+ margin: 0;
1966
+ }
1967
+ .magic-code-editor-wrapper .magic-code-editor-full-screen-icon {
1968
+ position: absolute;
1969
+ top: 20px;
1970
+ right: 10px;
1971
+ z-index: 11;
1972
+ opacity: 0.3;
1973
+ }
1974
+ .magic-code-editor-wrapper .magic-code-editor-full-screen-icon:hover {
1975
+ opacity: 1;
1976
+ }
1977
+
1978
+ .tmagic-design-icon {
1979
+ --color: inherit;
1980
+ height: 1em;
1981
+ width: 1em;
1982
+ position: relative;
1983
+ fill: currentColor;
1984
+ }
1985
+ .tmagic-design-icon img {
1986
+ max-width: 100%;
1987
+ max-height: 100%;
1988
+ }
1989
+
1990
+ .m-fields-code-select {
1991
+ width: 100%;
1992
+ }
1993
+ .m-fields-code-select > .el-card.tmagic-design-card--flat {
1994
+ background-color: transparent;
1995
+ margin-bottom: 10px;
1996
+ }
1997
+ .m-fields-code-select > .el-card.tmagic-design-card--flat > .el-card__body {
1998
+ padding-left: 0;
1999
+ }
2000
+ .m-fields-code-select > .el-card.tmagic-design-card--flat > .el-card__body .code-select-content > .m-fields-group-list > .tmagic-design-card--flat.el-card {
2001
+ padding-left: 16px;
2002
+ padding-right: 16px;
2003
+ margin-bottom: 10px;
2004
+ border: 0 !important;
2005
+ }
2006
+ .m-fields-code-select .el-card__body .tmagic-design-form-item {
2007
+ margin-bottom: 18px;
2008
+ }
2009
+ .m-fields-code-select .code-select-content > .m-fields-group-list > .tmagic-design-card--flat > .el-card__header {
2010
+ padding: 16px 0;
2011
+ }
2012
+ .m-fields-code-select .create-button.fullWidth {
2013
+ width: 100%;
2014
+ margin: 0 0 16px 0;
2015
+ }
2016
+
2017
+ .m-fields-event-select {
2018
+ width: 100%;
2019
+ }
2020
+ .m-fields-event-select .fullWidth {
2021
+ width: 100%;
2022
+ box-sizing: border-box;
2023
+ }
2024
+ .m-fields-event-select .event-select-container {
2025
+ padding: 0 16px;
2026
+ }
2027
+ .m-fields-event-select .event-select-container > .el-card.tmagic-design-card--flat > .el-card__header {
2028
+ border-bottom: 1px solid #ebeef5;
2029
+ }
2030
+ .m-fields-event-select .event-select-container > .el-card.tmagic-design-card--flat > .el-card__body {
2031
+ padding-bottom: 16px;
2032
+ }
2033
+ .m-fields-event-select .event-select-container > .el-card.tmagic-design-card--flat > .el-card__body .m-fields-group-list-footer div {
2034
+ justify-content: flex-start !important;
2035
+ }
2036
+ .m-fields-event-select .event-select-container > .el-card.tmagic-design-card--flat > .el-card__body .el-card.tmagic-design-card--flat > .el-card__header {
2037
+ padding: 16px 0;
2038
+ }
2039
+ .m-fields-event-select .event-select-code {
2040
+ margin-left: 20px;
2041
+ width: auto;
2042
+ }
2043
+ .m-fields-event-select .m-form-panel {
2044
+ margin: 10px 0px;
2045
+ }
2046
+ .m-fields-event-select .el-card.is-always-shadow {
2047
+ box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.12);
2048
+ }
2049
+
2050
+ .m-fields-code-select-col,
2051
+ .m-fields-data-source-method-select {
2052
+ width: 100%;
2053
+ }
2054
+
2055
+ .code-select-container,
2056
+ .data-source-method-select-container {
2057
+ display: flex;
2058
+ align-items: center;
2059
+ }
2060
+ .code-select-container .select,
2061
+ .data-source-method-select-container .select {
2062
+ flex: 10 0 100px;
2063
+ }
2064
+ .code-select-container .icon,
2065
+ .data-source-method-select-container .icon {
2066
+ flex: 1 0 20px;
2067
+ cursor: pointer;
2068
+ margin-right: 5px;
2069
+ }
2070
+
2071
+ .event-select-container {
2072
+ padding: 0 16px;
2073
+ }
2074
+
2075
+ .event-select-header {
2076
+ display: flex;
2077
+ align-items: center;
2078
+ justify-content: space-between;
2079
+ margin-bottom: 8px;
2080
+ }
2081
+ .event-select-header .event-select-title {
2082
+ color: #0f1113;
2083
+ font-size: 16px;
2084
+ font-weight: 500;
2085
+ line-height: 24px;
2086
+ }
2087
+
2088
+ .event-item-header {
2089
+ position: relative;
2090
+ width: 100%;
2091
+ }
2092
+ .event-item-header .event-item-title {
2093
+ color: #0f1113;
2094
+ font-size: 16px;
2095
+ font-weight: 500;
2096
+ line-height: 24px;
2097
+ margin-bottom: 16px;
2098
+ }
2099
+ .event-item-header .event-item-delete-button {
2100
+ position: absolute;
2101
+ right: 0;
2102
+ top: 0;
2103
+ }
2104
+ .event-item-header .el-form-item .el-form-item.is-error {
2105
+ margin-bottom: 18px;
2106
+ }
2107
+
2108
+ .m-editor-layout {
2109
+ width: 100%;
2110
+ display: flex;
2111
+ justify-self: space-between;
2112
+ }
2113
+ .m-editor-layout:has(.m-editor-resizer-dragging) {
2114
+ overflow: hidden;
2115
+ }
2116
+
2117
+ .m-editor-breadcrumb {
2118
+ position: absolute;
2119
+ left: 5px;
2120
+ top: 5px;
2121
+ z-index: 10;
2122
+ display: flex;
2123
+ align-items: center;
2124
+ white-space: nowrap;
2125
+ }
2126
+ .m-editor-breadcrumb .m-editor-breadcrumb-item {
2127
+ max-width: 100px;
2128
+ min-width: 0;
2129
+ overflow: hidden;
2130
+ }
2131
+ .m-editor-breadcrumb .m-editor-breadcrumb-item > span {
2132
+ display: block;
2133
+ max-width: 100%;
2134
+ overflow: hidden;
2135
+ text-overflow: ellipsis;
2136
+ white-space: nowrap;
2137
+ }
2138
+ .m-editor-breadcrumb .m-editor-breadcrumb-separator,
2139
+ .m-editor-breadcrumb .m-editor-breadcrumb-ellipsis {
2140
+ margin: 0 4px;
2141
+ flex-shrink: 0;
2142
+ }
2143
+
2144
+ .data-source-list-panel .list-container .list-item .codeIcon {
2145
+ width: 22px;
2146
+ height: 22px;
2147
+ margin-right: 5px;
2148
+ }
2149
+ .data-source-list-panel .list-container .list-item .compIcon {
2150
+ width: 22px;
2151
+ height: 22px;
2152
+ margin-right: 5px;
2153
+ }
2154
+
2155
+ .data-source-list-panel-add-menu {
2156
+ padding: 4px 0;
2157
+ }
2158
+ .data-source-list-panel-add-menu .menu-item {
2159
+ cursor: pointer;
2160
+ transition: all 0.2s ease 0s;
2161
+ padding: 5px 14px;
2162
+ }
2163
+ .data-source-list-panel-add-menu .menu-item:hover {
2164
+ background-color: #f3f5f9;
2165
+ }
2166
+
2167
+ .m-editor-data-source-fields {
2168
+ width: 100%;
2169
+ }
2170
+ .m-editor-data-source-fields .tmagic-design-table {
2171
+ width: 100%;
2172
+ }
2173
+ .m-editor-data-source-fields .m-editor-data-source-fields-footer {
2174
+ display: flex;
2175
+ justify-content: flex-end;
2176
+ margin-top: 15px;
2177
+ }
2178
+
2179
+ .m-editor-data-source-methods {
2180
+ width: 100%;
2181
+ }
2182
+ .m-editor-data-source-methods .tmagic-design-table {
2183
+ width: 100%;
2184
+ }
2185
+ .m-editor-data-source-methods .m-editor-data-source-methods-footer {
2186
+ display: flex;
2187
+ justify-content: flex-end;
2188
+ margin-top: 15px;
2189
+ }
2190
+
2191
+ .tmagic-data-source-input-text .el-input__wrapper.tmagic-data-source-input-text-wrapper {
2192
+ overflow: hidden;
2193
+ padding-right: 30px;
2194
+ }
2195
+ .tmagic-data-source-input-text .el-input__inner {
2196
+ display: flex;
2197
+ align-items: center;
2198
+ overflow: hidden;
2199
+ white-space: nowrap;
2200
+ }
2201
+ .tmagic-data-source-input-text .tmagic-data-source-input-icon {
2202
+ position: absolute;
2203
+ right: 7px;
2204
+ }
2205
+
2206
+ .m-fields-key-value {
2207
+ display: flex;
2208
+ justify-items: center;
2209
+ align-items: top;
2210
+ width: 100%;
2211
+ }
2212
+
2213
+ .m-fields-key-value-item {
2214
+ display: flex;
2215
+ margin-bottom: 10px;
2216
+ align-items: center;
2217
+ }
2218
+
2219
+ .m-fields-key-value-delimiter {
2220
+ margin: 0 10px;
2221
+ }
2222
+
2223
+ .m-fields-key-value-delete {
2224
+ margin-left: 10px;
2225
+ }
2226
+
2227
+ .m-editor-tree {
2228
+ color: #313a40;
2229
+ font-size: 13px;
2230
+ }
2231
+ .m-editor-tree .m-editor-tree-node {
2232
+ cursor: pointer;
2233
+ white-space: nowrap;
2234
+ }
2235
+ .m-editor-tree .m-editor-tree-node .tree-node {
2236
+ display: flex;
2237
+ align-items: center;
2238
+ }
2239
+ .m-editor-tree .m-editor-tree-node .tree-node:hover {
2240
+ background-color: #f3f5f9;
2241
+ color: #313a40;
2242
+ }
2243
+ .m-editor-tree .m-editor-tree-node .tree-node.selected {
2244
+ background-color: var(--el-color-primary, #2882e0);
2245
+ color: #f3f5f9;
2246
+ }
2247
+ .m-editor-tree .m-editor-tree-node .tree-node.drag-inner .tree-node-content {
2248
+ background-color: rgba(var(--el-color-primary, #2882e0), 0.5);
2249
+ color: #f3f5f9;
2250
+ }
2251
+ .m-editor-tree .m-editor-tree-node .tree-node.drag-before .tree-node-content {
2252
+ border-top-color: rgba(var(--el-color-primary, #2882e0), 0.5);
2253
+ }
2254
+ .m-editor-tree .m-editor-tree-node .tree-node.drag-after .tree-node-content {
2255
+ border-bottom-color: rgba(var(--el-color-primary, #2882e0), 0.5);
2256
+ }
2257
+ .m-editor-tree .m-editor-tree-node .tree-node .expand-icon {
2258
+ padding: 4px;
2259
+ box-sizing: content-box;
2260
+ font-size: 14px;
2261
+ }
2262
+ .m-editor-tree .m-editor-tree-node .tree-node .tree-node-content {
2263
+ display: flex;
2264
+ flex: 1;
2265
+ justify-content: space-between;
2266
+ height: 22px;
2267
+ border-top: 2px solid transparent;
2268
+ border-bottom: 2px solid transparent;
2269
+ }
2270
+ .m-editor-tree .m-editor-tree-node .tree-node .tree-node-content .tree-node-label {
2271
+ line-height: 22px;
2272
+ flex: 1;
2273
+ width: 100px;
2274
+ overflow: hidden;
2275
+ text-overflow: ellipsis;
2276
+ }
2277
+ .m-editor-tree .m-editor-tree-node .tree-node .tree-node-content .tree-node-label .disabled {
2278
+ cursor: default;
2279
+ }
2280
+ .m-editor-tree .m-editor-tree-node .tree-node .tree-node-content .tree-node-label .hook {
2281
+ color: #999;
2282
+ }
2283
+ .m-editor-tree .m-editor-tree-node .tree-node .tree-node-tool {
2284
+ display: flex;
2285
+ align-items: center;
2286
+ }
2287
+ .m-editor-tree .m-editor-tree-node .tree-node .tree-node-tool .tmagic-design-icon {
2288
+ margin-right: 10px;
2289
+ }
2290
+ .m-editor-tree .m-editor-tree-empty {
2291
+ text-align: center;
2292
+ color: #909399;
2293
+ font-size: 14px;
2294
+ }
2295
+
2296
+ .m-editor-float-box {
2297
+ position: absolute;
2298
+ background-color: #fff;
2299
+ z-index: 100;
2300
+ border: 1px solid #d9dbdd;
2301
+ display: flex;
2302
+ flex-direction: column;
2303
+ max-height: 100%;
2304
+ max-width: 100%;
2305
+ }
2306
+ .m-editor-float-box .m-editor-float-box-title {
2307
+ text-align: center;
2308
+ font-size: 14px;
2309
+ font-weight: 600;
2310
+ padding: 5px;
2311
+ cursor: move;
2312
+ display: flex;
2313
+ justify-content: space-between;
2314
+ align-items: center;
2315
+ border-bottom: 1px solid #d9dbdd;
2316
+ }
2317
+ .m-editor-float-box .m-editor-float-box-body {
2318
+ overflow: auto;
2319
+ flex: 1;
2320
+ }
2321
+
2322
+ .m-editor-floating-box-moveable {
2323
+ opacity: 0;
2324
+ }
2325
+
2326
+ .m-editor-float-box-drag-mask {
2327
+ position: fixed;
2328
+ top: 0;
2329
+ left: 0;
2330
+ width: 100%;
2331
+ height: 100%;
2332
+ background-color: transparent;
2333
+ }
2334
+
2335
+ .m-fields-page-fragment-select {
2336
+ width: 100%;
2337
+ }
2338
+ .m-fields-page-fragment-select .page-fragment-select-container {
2339
+ width: 100%;
2340
+ display: flex;
2341
+ align-items: center;
2342
+ }
2343
+ .m-fields-page-fragment-select .page-fragment-select-container .select {
2344
+ flex: 1;
2345
+ }
2346
+ .m-fields-page-fragment-select .page-fragment-select-container .icon {
2347
+ margin-left: 10px;
2348
+ }
2349
+
2350
+ .m-fields-data-source-select,
2351
+ .m-fields-data-source-field-select,
2352
+ .m-fields-data-source-method-select .data-source-method-select-container,
2353
+ .m-fields-code-select-col .code-select-container {
2354
+ width: 100%;
2355
+ display: flex;
2356
+ align-items: center;
2357
+ }
2358
+ .m-fields-data-source-select.data-source-field-img-upload, .m-fields-data-source-select.data-source-field-big-img-upload,
2359
+ .m-fields-data-source-field-select.data-source-field-img-upload,
2360
+ .m-fields-data-source-field-select.data-source-field-big-img-upload,
2361
+ .m-fields-data-source-method-select .data-source-method-select-container.data-source-field-img-upload,
2362
+ .m-fields-data-source-method-select .data-source-method-select-container.data-source-field-big-img-upload,
2363
+ .m-fields-code-select-col .code-select-container.data-source-field-img-upload,
2364
+ .m-fields-code-select-col .code-select-container.data-source-field-big-img-upload {
2365
+ align-items: flex-start;
2366
+ }
2367
+ .m-fields-data-source-select .m-fields-select-action-button,
2368
+ .m-fields-data-source-field-select .m-fields-select-action-button,
2369
+ .m-fields-data-source-method-select .data-source-method-select-container .m-fields-select-action-button,
2370
+ .m-fields-code-select-col .code-select-container .m-fields-select-action-button {
2371
+ margin-left: 5px;
2372
+ }
2373
+
2374
+ .m-fields-data-source-field-select {
2375
+ width: 100%;
2376
+ }
2377
+ .m-fields-data-source-field-select .m-editor-data-source-field-select {
2378
+ display: flex;
2379
+ width: 100%;
2380
+ }
2381
+ .m-fields-data-source-field-select .m-editor-data-source-field-select .tmagic-design-select {
2382
+ flex: 1;
2383
+ margin-right: 10px;
2384
+ }
2385
+ .m-fields-data-source-field-select .m-editor-data-source-field-select .tmagic-design-cascader {
2386
+ flex: 2;
2387
+ }
2388
+ .m-fields-data-source-field-select .tmagic-design-button {
2389
+ margin-left: 5px;
2390
+ padding: 5px 8px;
2391
+ }
2392
+
2393
+ .m-container-text.display-conds-title .tmagic-design-form-item .el-form-item__label {
2394
+ color: #111;
2395
+ font-weight: 500;
2396
+ font-size: 16px;
2397
+ }
2398
+ .m-container-text.display-conds-title .tmagic-design-form-item {
2399
+ line-height: 24px;
2400
+ margin-bottom: 10px;
2401
+ }
2402
+
2403
+ .m-editor-scroll-bar {
2404
+ position: absolute;
2405
+ background-color: transparent;
2406
+ opacity: 0.3;
2407
+ transition: background-color 0.2s linear, opacity 0.2s linear;
2408
+ }
2409
+ .m-editor-scroll-bar .m-editor-scroll-bar-thumb {
2410
+ background-color: #aaa;
2411
+ border-radius: 6px;
2412
+ position: absolute;
2413
+ }
2414
+ .m-editor-scroll-bar.horizontal {
2415
+ width: 100%;
2416
+ height: 15px;
2417
+ bottom: 0;
2418
+ }
2419
+ .m-editor-scroll-bar.horizontal .m-editor-scroll-bar-thumb {
2420
+ height: 6px;
2421
+ transition: background-color 0.2s linear, height 0.2s ease-in-out;
2422
+ bottom: 2px;
2423
+ }
2424
+ .m-editor-scroll-bar.vertical {
2425
+ height: 100%;
2426
+ width: 15px;
2427
+ right: 5px;
2428
+ }
2429
+ .m-editor-scroll-bar.vertical .m-editor-scroll-bar-thumb {
2430
+ width: 6px;
2431
+ transition: background-color 0.2s linear, width 0.2s ease-in-out;
2432
+ right: 2px;
2433
+ }
2434
+ .m-editor-scroll-bar:hover, .m-editor-scroll-bar:focus {
2435
+ background-color: #eee;
2436
+ opacity: 0.9;
2437
+ }
2438
+ .m-editor-scroll-bar:hover .m-editor-scroll-bar-thumb, .m-editor-scroll-bar:focus .m-editor-scroll-bar-thumb {
2439
+ background-color: #999;
2440
+ }
2441
+ .m-editor-scroll-bar:hover.horizontal .m-editor-scroll-bar-thumb, .m-editor-scroll-bar:focus.horizontal .m-editor-scroll-bar-thumb {
2442
+ height: 11px;
2443
+ }
2444
+ .m-editor-scroll-bar:hover.vertical .m-editor-scroll-bar-thumb, .m-editor-scroll-bar:focus.vertical .m-editor-scroll-bar-thumb {
2445
+ width: 11px;
2446
+ }
2447
+
2448
+ .m-fields-ui-select {
2449
+ cursor: pointer;
2450
+ }
2451
+ .m-fields-ui-select i {
2452
+ margin-right: 3px;
2453
+ }
2454
+ .m-fields-ui-select span {
2455
+ color: var(--el-color-primary, #2882e0);
2456
+ }
2457
+
2458
+ .m-editor-layer-node-content {
2459
+ display: inline-flex;
2460
+ align-items: center;
2461
+ }
2462
+ .m-editor-layer-node-content.is-invalid .m-editor-layer-node-label {
2463
+ color: var(--el-color-danger, #f56c6c);
2464
+ }
2465
+ .m-editor-layer-node-content .m-editor-layer-node-error-icon {
2466
+ margin-left: 4px;
2467
+ color: var(--el-color-danger, #f56c6c);
2468
+ cursor: help;
2469
+ }
2470
+
2471
+ .border-box-container {
2472
+ display: flex;
2473
+ --unuse-border-style: dashed;
2474
+ }
2475
+ .border-box-container .border-icon-container {
2476
+ display: flex;
2477
+ flex-direction: column;
2478
+ justify-content: center;
2479
+ width: 88px;
2480
+ }
2481
+ .border-box-container .border-icon-container-row {
2482
+ display: flex;
2483
+ justify-content: center;
2484
+ align-items: center;
2485
+ }
2486
+ .border-box-container .border-icon-container-row + .border-icon-container-row {
2487
+ margin-top: 8px;
2488
+ }
2489
+ .border-box-container .border-icon-container .border-icon {
2490
+ box-sizing: border-box;
2491
+ width: 16px;
2492
+ height: 16px;
2493
+ border-width: 1px;
2494
+ border-color: #111;
2495
+ border-style: solid;
2496
+ cursor: pointer;
2497
+ }
2498
+ .border-box-container .border-icon-container .border-icon + .border-icon {
2499
+ margin-left: 8px;
2500
+ }
2501
+ .border-box-container .border-icon-container .border-icon.configured {
2502
+ border-color: var(--el-color-success, var(--td-success-color, #2ba471));
2503
+ }
2504
+ .border-box-container .border-icon-container .border-icon.active {
2505
+ border-color: var(--el-color-primary);
2506
+ border-width: 1px;
2507
+ }
2508
+ .border-box-container .border-icon-container .border-icon.center {
2509
+ border-width: 1px;
2510
+ }
2511
+ .border-box-container .border-icon-container .border-icon.border-icon-top {
2512
+ border-top-width: 2px;
2513
+ border-style: solid var(--unuse-border-style) var(--unuse-border-style) var(--unuse-border-style);
2514
+ }
2515
+ .border-box-container .border-icon-container .border-icon.border-icon-right {
2516
+ border-right-width: 2px;
2517
+ border-style: var(--unuse-border-style) solid var(--unuse-border-style) var(--unuse-border-style);
2518
+ }
2519
+ .border-box-container .border-icon-container .border-icon.border-icon-bottom {
2520
+ border-bottom-width: 2px;
2521
+ border-style: var(--unuse-border-style) var(--unuse-border-style) solid var(--unuse-border-style);
2522
+ }
2523
+ .border-box-container .border-icon-container .border-icon.border-icon-left {
2524
+ border-left-width: 2px;
2525
+ border-style: var(--unuse-border-style) var(--unuse-border-style) var(--unuse-border-style) solid;
2526
+ }
2527
+ .border-box-container .border-value-container {
2528
+ margin-left: 16px;
2529
+ flex: 1;
2530
+ }
2531
+
2532
+ .layout-box-container {
2533
+ position: relative;
2534
+ width: 100%;
2535
+ height: 130px;
2536
+ }
2537
+ .layout-box-container .help-txt {
2538
+ float: left;
2539
+ margin-left: -10px;
2540
+ transform: scale(0.75);
2541
+ }
2542
+ .layout-box-container .outer-top-border,
2543
+ .layout-box-container .inner-top-border,
2544
+ .layout-box-container .outer-right-border,
2545
+ .layout-box-container .inner-right-border,
2546
+ .layout-box-container .outer-bottom-border,
2547
+ .layout-box-container .inner-bottom-border,
2548
+ .layout-box-container .outer-left-border,
2549
+ .layout-box-container .inner-left-border {
2550
+ position: absolute;
2551
+ transition: all 0.3s ease;
2552
+ }
2553
+ .layout-box-container .outer-top-border .next-input,
2554
+ .layout-box-container .inner-top-border .next-input,
2555
+ .layout-box-container .outer-right-border .next-input,
2556
+ .layout-box-container .inner-right-border .next-input,
2557
+ .layout-box-container .outer-bottom-border .next-input,
2558
+ .layout-box-container .inner-bottom-border .next-input,
2559
+ .layout-box-container .outer-left-border .next-input,
2560
+ .layout-box-container .inner-left-border .next-input {
2561
+ position: absolute;
2562
+ height: 20px;
2563
+ }
2564
+ .layout-box-container .outer-top-border .next-input input,
2565
+ .layout-box-container .inner-top-border .next-input input,
2566
+ .layout-box-container .outer-right-border .next-input input,
2567
+ .layout-box-container .inner-right-border .next-input input,
2568
+ .layout-box-container .outer-bottom-border .next-input input,
2569
+ .layout-box-container .inner-bottom-border .next-input input,
2570
+ .layout-box-container .outer-left-border .next-input input,
2571
+ .layout-box-container .inner-left-border .next-input input {
2572
+ padding: 0;
2573
+ width: 100%;
2574
+ border: none;
2575
+ outline: none;
2576
+ margin: 0;
2577
+ font-weight: 400;
2578
+ vertical-align: top;
2579
+ background-color: transparent;
2580
+ color: #333;
2581
+ text-align: center;
2582
+ line-height: 20px;
2583
+ height: 20px;
2584
+ }
2585
+ .layout-box-container .outer-top-border,
2586
+ .layout-box-container .inner-top-border {
2587
+ height: 0;
2588
+ border-left: 20px solid transparent;
2589
+ border-right: 20px solid transparent;
2590
+ border-top: 20px solid #d6e4ff;
2591
+ }
2592
+ .layout-box-container .outer-top-border .next-input,
2593
+ .layout-box-container .inner-top-border .next-input {
2594
+ left: 0;
2595
+ right: 0;
2596
+ top: -20px;
2597
+ }
2598
+ .layout-box-container .outer-top-border {
2599
+ top: 0;
2600
+ left: 0;
2601
+ right: 0;
2602
+ }
2603
+ .layout-box-container .inner-top-border {
2604
+ top: 25px;
2605
+ left: 25px;
2606
+ right: 25px;
2607
+ }
2608
+ .layout-box-container .outer-top-border:hover,
2609
+ .layout-box-container .inner-top-border:hover {
2610
+ border-top: 20px solid #bfd4fb;
2611
+ }
2612
+ .layout-box-container .outer-right-border,
2613
+ .layout-box-container .inner-right-border {
2614
+ width: 0;
2615
+ border-top: 20px solid transparent;
2616
+ border-bottom: 20px solid transparent;
2617
+ border-right: 20px solid #d6e4ff;
2618
+ }
2619
+ .layout-box-container .outer-right-border .next-input,
2620
+ .layout-box-container .inner-right-border .next-input {
2621
+ top: 0;
2622
+ bottom: 0;
2623
+ right: -20px;
2624
+ width: 20px;
2625
+ margin: auto;
2626
+ }
2627
+ .layout-box-container .outer-right-border .next-input input,
2628
+ .layout-box-container .inner-right-border .next-input input {
2629
+ position: absolute;
2630
+ top: 0;
2631
+ bottom: 0;
2632
+ left: 0;
2633
+ margin: auto;
2634
+ width: 20px;
2635
+ }
2636
+ .layout-box-container .outer-right-border {
2637
+ top: 5px;
2638
+ bottom: 5px;
2639
+ right: 0;
2640
+ }
2641
+ .layout-box-container .inner-right-border {
2642
+ top: 30px;
2643
+ bottom: 30px;
2644
+ right: 25px;
2645
+ }
2646
+ .layout-box-container .outer-right-border:hover,
2647
+ .layout-box-container .inner-right-border:hover {
2648
+ border-right: 20px solid #bfd4fb;
2649
+ }
2650
+ .layout-box-container .outer-bottom-border,
2651
+ .layout-box-container .inner-bottom-border {
2652
+ height: 0;
2653
+ border-left: 20px solid transparent;
2654
+ border-right: 20px solid transparent;
2655
+ border-bottom: 20px solid #d6e4ff;
2656
+ }
2657
+ .layout-box-container .outer-bottom-border .next-input,
2658
+ .layout-box-container .inner-bottom-border .next-input {
2659
+ position: absolute;
2660
+ left: 0;
2661
+ right: 0;
2662
+ bottom: -20px;
2663
+ }
2664
+ .layout-box-container .outer-bottom-border {
2665
+ bottom: 0;
2666
+ left: 0;
2667
+ right: 0;
2668
+ }
2669
+ .layout-box-container .inner-bottom-border {
2670
+ bottom: 25px;
2671
+ left: 25px;
2672
+ right: 25px;
2673
+ }
2674
+ .layout-box-container .outer-bottom-border:hover,
2675
+ .layout-box-container .inner-bottom-border:hover {
2676
+ border-bottom: 20px solid #bfd4fb;
2677
+ }
2678
+ .layout-box-container .outer-left-border,
2679
+ .layout-box-container .inner-left-border {
2680
+ width: 0;
2681
+ border-top: 20px solid transparent;
2682
+ border-bottom: 20px solid transparent;
2683
+ border-left: 20px solid #d6e4ff;
2684
+ }
2685
+ .layout-box-container .outer-left-border .next-input,
2686
+ .layout-box-container .inner-left-border .next-input {
2687
+ position: absolute;
2688
+ top: 0;
2689
+ bottom: 0;
2690
+ left: -20px;
2691
+ width: 20px;
2692
+ margin: auto;
2693
+ }
2694
+ .layout-box-container .outer-left-border .next-input input,
2695
+ .layout-box-container .inner-left-border .next-input input {
2696
+ position: absolute;
2697
+ top: 0;
2698
+ bottom: 0;
2699
+ right: 0;
2700
+ margin: auto;
2701
+ width: 20px;
2702
+ }
2703
+ .layout-box-container .outer-left-border {
2704
+ top: 5px;
2705
+ bottom: 5px;
2706
+ left: 0;
2707
+ }
2708
+ .layout-box-container .inner-left-border {
2709
+ top: 30px;
2710
+ bottom: 30px;
2711
+ left: 25px;
2712
+ }
2713
+ .layout-box-container .outer-left-border:hover,
2714
+ .layout-box-container .inner-left-border:hover {
2715
+ border-left: 20px solid #bfd4fb;
2716
+ }
2717
+
2718
+ .background-position-container {
2719
+ display: flex;
2720
+ width: 100%;
2721
+ }
2722
+ .background-position-container .presets-value-list {
2723
+ display: flex;
2724
+ flex-wrap: wrap;
2725
+ width: 80px;
2726
+ height: auto;
2727
+ }
2728
+ .background-position-container .presets-value-list .tmagic-design-button + .tmagic-design-button {
2729
+ margin-left: 2px;
2730
+ }
2731
+ .background-position-container .presets-value-list .tmagic-design-button:nth-child(3n+1) {
2732
+ margin-left: 0 !important;
2733
+ }
2734
+ .background-position-container .presets-value-list .t-button--variant-text {
2735
+ padding-left: 2px;
2736
+ padding-right: 2px;
2737
+ }
2738
+ .background-position-container .presets-value-list .position-icon {
2739
+ position: relative;
2740
+ width: 14px;
2741
+ height: 14px;
2742
+ border: 1px solid #1d1f24;
2743
+ }
2744
+ .background-position-container .presets-value-list .position-icon.active {
2745
+ background-color: var(--el-color-primary, #2882e0);
2746
+ }
2747
+ .background-position-container .presets-value-list .position-icon.active::after {
2748
+ border: 1px solid #fff;
2749
+ }
2750
+ .background-position-container .presets-value-list .position-icon::after {
2751
+ position: absolute;
2752
+ content: "";
2753
+ border: 1px solid #1d1f24;
2754
+ box-sizing: border-box;
2755
+ }
2756
+ .background-position-container .presets-value-list .position-icon.left-top::after {
2757
+ top: 1px;
2758
+ left: 1px;
2759
+ width: 6px;
2760
+ height: 6px;
2761
+ }
2762
+ .background-position-container .presets-value-list .position-icon.center-top::after {
2763
+ top: 1px;
2764
+ left: 1px;
2765
+ width: 12px;
2766
+ height: 6px;
2767
+ }
2768
+ .background-position-container .presets-value-list .position-icon.right-top::after {
2769
+ top: 1px;
2770
+ right: 1px;
2771
+ width: 6px;
2772
+ height: 6px;
2773
+ }
2774
+ .background-position-container .presets-value-list .position-icon.left-center::after {
2775
+ top: 1px;
2776
+ left: 1px;
2777
+ width: 6px;
2778
+ height: 12px;
2779
+ }
2780
+ .background-position-container .presets-value-list .position-icon.center-center::after {
2781
+ top: 1px;
2782
+ left: 1px;
2783
+ width: 12px;
2784
+ height: 12px;
2785
+ }
2786
+ .background-position-container .presets-value-list .position-icon.right-center::after {
2787
+ top: 1px;
2788
+ right: 1px;
2789
+ width: 6px;
2790
+ height: 12px;
2791
+ }
2792
+ .background-position-container .presets-value-list .position-icon.left-bottom::after {
2793
+ bottom: 1px;
2794
+ left: 1px;
2795
+ width: 6px;
2796
+ height: 6px;
2797
+ }
2798
+ .background-position-container .presets-value-list .position-icon.center-bottom::after {
2799
+ bottom: 1px;
2800
+ left: 1px;
2801
+ width: 12px;
2802
+ height: 6px;
2803
+ }
2804
+ .background-position-container .presets-value-list .position-icon.right-bottom::after {
2805
+ bottom: 1px;
2806
+ right: 1px;
2807
+ width: 6px;
2808
+ height: 6px;
2809
+ }
2810
+ .background-position-container .custom-value {
2811
+ position: relative;
2812
+ flex: 1;
2813
+ }
2814
+
2815
+ .m-fields-style-setter {
2816
+ width: 100%;
2817
+ }
2818
+ .m-fields-style-setter .tmagic-design-collapse-item > .el-collapse-item__header {
2819
+ background-color: #f2f3f7;
2820
+ height: 26px;
2821
+ min-height: 26px;
2822
+ line-height: 26px;
2823
+ padding: 0 20px;
2824
+ box-sizing: border-box;
2825
+ }
2826
+ .m-fields-style-setter .tmagic-design-collapse-item .el-collapse-item__wrap {
2827
+ padding: 10px 20px;
2828
+ }
2829
+ .m-fields-style-setter .tmagic-design-collapse-item .el-collapse-item__title {
2830
+ display: flex;
2831
+ align-items: center;
2832
+ gap: 3px;
2833
+ }
2834
+ .m-fields-style-setter .tmagic-design-collapse-item .el-collapse-item__content {
2835
+ padding: 0;
2836
+ }
2837
+
2838
+ .text-align-list {
2839
+ display: flex;
2840
+ height: 100%;
2841
+ }
2842
+ .text-align-list .btn-active {
2843
+ color: var(--el-color-primary) !important;
2844
+ }
2845
+
2846
+ .fade-enter-active,
2847
+ .fade-leave-active {
2848
+ transition: opacity 0.5s;
2849
+ }
2850
+
2851
+ .fade-enter, .fade-leave-to {
2852
+ opacity: 0;
2853
+ }
2854
+
2855
+ .m-editor.m-editor--magic-admin {
2856
+ --editor-nav-height: 40px;
2857
+ }
2858
+ .m-editor.m-editor--magic-admin .m-editor-sidebar .m-editor-sidebar-header {
2859
+ width: 61px;
2860
+ padding-top: 4px;
2861
+ flex-shrink: 0;
2862
+ border-right: 1px solid rgba(0, 84, 225, 0.1);
2863
+ display: flex;
2864
+ background-color: #fff;
2865
+ box-sizing: border-box;
2866
+ flex-direction: column;
2867
+ align-items: center;
2868
+ }
2869
+ .m-editor.m-editor--magic-admin .m-editor-sidebar .m-editor-sidebar-header .m-editor-sidebar-header-item {
2870
+ display: flex;
2871
+ flex-direction: column;
2872
+ align-items: center;
2873
+ border-radius: 4px;
2874
+ padding: 4px 2px;
2875
+ width: 52px;
2876
+ margin-bottom: 4px;
2877
+ box-sizing: border-box;
2878
+ background-color: transparent;
2879
+ color: #84909d;
2880
+ }
2881
+ .m-editor.m-editor--magic-admin .m-editor-sidebar .m-editor-sidebar-header .m-editor-sidebar-header-item:hover {
2882
+ background-color: rgba(0, 0, 0, 0.05);
2883
+ }
2884
+ .m-editor.m-editor--magic-admin .m-editor-sidebar .m-editor-sidebar-header .m-editor-sidebar-header-item > i {
2885
+ color: #84909d;
2886
+ font-size: 20px;
2887
+ }
2888
+ .m-editor.m-editor--magic-admin .m-editor-sidebar .m-editor-sidebar-header .m-editor-sidebar-header-item.is-active {
2889
+ background-color: var(--el-button-hover-bg-color, rgb(230, 238, 253));
2890
+ color: var(--el-color-primary);
2891
+ }
2892
+ .m-editor.m-editor--magic-admin .m-editor-sidebar .m-editor-sidebar-header .m-editor-sidebar-header-item.is-active:hover {
2893
+ background-color: var(--el-button-hover-bg-color, rgb(230, 238, 253));
2894
+ }
2895
+ .m-editor.m-editor--magic-admin .m-editor-sidebar .m-editor-sidebar-header .m-editor-sidebar-header-item.is-active > i {
2896
+ color: var(--el-color-primary);
2897
+ }
2898
+ .m-editor.m-editor--magic-admin .m-editor-sidebar .m-editor-sidebar-header .m-editor-sidebar-header-item.is-active .magic-editor-tab-panel-title {
2899
+ color: var(--el-color-primary);
2900
+ }
2901
+ .m-editor.m-editor--magic-admin .m-editor-sidebar .m-editor-sidebar-header .m-editor-sidebar-header-item .magic-editor-tab-panel-title {
2902
+ font-size: 12px;
2903
+ line-height: 14px;
2904
+ font-weight: 400;
2905
+ margin: 0 4px;
2906
+ width: 52px;
2907
+ text-align: center;
2908
+ }
2909
+ .m-editor.m-editor--magic-admin .m-editor-sidebar .m-editor-sidebar-content {
2910
+ width: calc(100% - 61px);
2911
+ }
2912
+ .m-editor.m-editor--magic-admin .m-editor-props-panel .el-input__wrapper {
2913
+ border-radius: 4px;
2914
+ }
2915
+ .m-editor.m-editor--magic-admin .border-box-container .border-icon-container .border-icon {
2916
+ border-color: #ccc;
2917
+ --unuse-border-style: solid;
2918
+ }
2919
+ .m-editor.m-editor--magic-admin .border-box-container .border-icon-container .border-icon.configured {
2920
+ border-color: var(--el-color-success, var(--td-success-color, #2ba471));
2921
+ }
2922
+ .m-editor.m-editor--magic-admin .border-box-container .border-icon-container .border-icon.active {
2923
+ border-color: var(--el-color-primary);
2924
+ background-color: rgba(0, 84, 225, 0.1);
2925
+ }
2926
+ .m-editor.m-editor--magic-admin .border-box-container .border-icon-container .border-icon.active.center {
2927
+ border-width: 2px;
2928
+ }
2929
+ .m-editor.m-editor--magic-admin .border-box-container .border-icon-container .border-icon.active.border-icon-top {
2930
+ border-width: 0;
2931
+ border-top-width: 2px;
2932
+ }
2933
+ .m-editor.m-editor--magic-admin .border-box-container .border-icon-container .border-icon.active.border-icon-right {
2934
+ border-width: 0;
2935
+ border-right-width: 2px;
2936
+ }
2937
+ .m-editor.m-editor--magic-admin .border-box-container .border-icon-container .border-icon.active.border-icon-bottom {
2938
+ border-width: 0;
2939
+ border-bottom-width: 2px;
2940
+ }
2941
+ .m-editor.m-editor--magic-admin .border-box-container .border-icon-container .border-icon.active.border-icon-left {
2942
+ border-width: 0;
2943
+ border-left-width: 2px;
2944
+ }
2945
+ .m-editor.m-editor--magic-admin .border-box-container .border-icon-container .border-icon.center {
2946
+ border-width: 2px;
2947
+ }
2948
+ .m-editor.m-editor--magic-admin .border-box-container .border-icon-container .border-icon {
2949
+ border-radius: 2px;
2950
+ }
2951
+ .m-editor.m-editor--magic-admin .m-container-code-select > .el-form-item:first-child > .el-form-item__label:first-child > :not(.m-form-tip) {
2952
+ color: #111;
2953
+ font-weight: 500;
2954
+ font-size: 16px;
2955
+ line-height: 24px;
2956
+ }
2957
+
2958
+ .m-editor.m-theme--magic-admin .m-editor-props-form-panel-form > .m-container-tab > .tmagic-design-tabs > .el-tabs__content {
2959
+ background-color: #fafafa;
2960
+ border-radius: 8px;
2961
+ padding-left: 16px;
2962
+ padding-right: 16px;
2963
+ }
2964
+
2965
+ .m-editor.m-theme--magic-admin .m-fields-style-setter {
2966
+ border: 0;
2967
+ }
2968
+ .m-editor.m-theme--magic-admin .m-fields-style-setter .tmagic-design-collapse-item .el-collapse-item__wrap {
2969
+ padding: 16px;
2970
+ }
2971
+
2972
+ .m-editor.m-theme--magic-admin .magic-right-panel-tabs-top > .el-tabs > .el-tabs__header .el-tabs__nav-wrap.is-top .el-tabs__nav.is-top .el-tabs__active-bar {
2973
+ display: none;
2974
+ }
2975
+ .m-editor.m-theme--magic-admin .magic-right-panel-tabs-top > .el-tabs > .el-tabs__header .el-tabs__nav-wrap.is-top .el-tabs__nav.is-top .el-tabs__item:not(:last-child)::after {
2976
+ content: "";
2977
+ position: absolute;
2978
+ right: 0;
2979
+ top: 50%;
2980
+ transform: translateY(-50%);
2981
+ height: 12px;
2982
+ border-right: 1px solid #e6e6e6;
2983
+ }
2984
+ .m-editor.m-theme--magic-admin .magic-right-panel-tabs-top > .el-tabs > .el-tabs__header .el-tabs__nav-wrap.is-top::after {
2985
+ display: none;
2986
+ }
2987
+
2988
+ .m-editor.m-theme--magic-admin .m-editor-nav-menu .menu-right > .menu-item > button,
2989
+ .m-editor.m-theme--magic-admin .m-editor-nav-menu .menu-left > .menu-item > button {
2990
+ color: #111;
2991
+ }
2992
+ .m-editor.m-theme--magic-admin .m-editor-nav-menu .menu-item {
2993
+ margin-right: 8px;
2994
+ }
2995
+ .m-editor.m-theme--magic-admin .m-editor-nav-menu .menu-item .el-button--small {
2996
+ font-size: 14px;
2997
+ }
2998
+ .m-editor.m-theme--magic-admin .m-editor-nav-menu .menu-item > button > i {
2999
+ font-size: 16px;
3000
+ }