@tmagic/editor 1.8.0-beta.7 → 1.8.0-manmanyu.8

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