@tmagic/editor 1.8.0-beta.9 → 1.8.0-manmanyu.11

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