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

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