gbformdesign 0.1.0 → 0.1.1

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.
@@ -1,837 +1,837 @@
1
- /*! Styles adapted from form-create-designer (MIT License, Copyright (c) 2022 xaboy). */
2
- ._fc-designer {
3
- height: 100%;
4
- min-height: 500px;
5
- overflow: hidden;
6
- cursor: default;
7
- position: relative;
8
- background-color: #FFF;
9
- --fc-drag-empty: "拖拽左侧列表中的组件到此处";
10
- --fc-child-empty: "点击右下角 \e789 按钮添加一列";
11
- --fc-tool-border-color: #2E73FF;
12
- }
13
-
14
- ._fc-designer .CodeMirror-placeholder,
15
- ._fd-fn .CodeMirror-placeholder,
16
- ._fd-config-dialog .CodeMirror-placeholder {
17
- color: #aaaaaa !important;
18
- }
19
-
20
-
21
- ._fc-designer .CodeMirror-gutters, ._fd-fn .CodeMirror-gutters, ._fd-config-dialog .CodeMirror-gutters {
22
- background-color: #ECECEC;
23
- border-right-color: #D9D9D9;
24
- }
25
-
26
- ._fc-designer .CodeMirror-scroll, ._fd-fn .CodeMirror-scroll, ._fd-config-dialog .CodeMirror-scroll {
27
- background-color: #F5F5F5;
28
- color: #262626;
29
- caret-color: #262626;
30
- }
31
-
32
- ._fc-designer > .el-main {
33
- position: absolute;
34
- top: 0;
35
- bottom: 0;
36
- left: 0;
37
- right: 0;
38
- padding: 0;
39
- }
40
-
41
- ._fc-l-menu {
42
- display: flex;
43
- flex-direction: column;
44
- align-items: center;
45
- border-top: 1px solid #ECECEC;
46
- border-right: 1px solid #ECECEC;
47
- }
48
-
49
- ._fc-l-menu-item {
50
- display: flex;
51
- width: 100%;
52
- align-items: center;
53
- justify-content: center;
54
- height: 40px;
55
- cursor: pointer;
56
- box-sizing: border-box;
57
- }
58
-
59
- ._fc-l-menu-item.active {
60
- color: #2E73FF;
61
- }
62
-
63
- ._fc-l-menu-form {
64
- border-bottom: 1px solid #ECECEC;
65
- }
66
-
67
- ._fc-l-menu-item i {
68
- font-size: 22px;
69
- }
70
-
71
- ._fc-l-menu-item i:hover {
72
- color: #2E73FF;
73
- }
74
-
75
- ._fc-l-menu-item .el-badge__content {
76
- --el-badge-size: 15px;
77
- --el-badge-padding: 4px;
78
- background-color: #2E73FF;
79
- }
80
-
81
- ._fc-l-label {
82
- font-weight: 500;
83
- font-size: 14px;
84
- color: #262626;
85
- line-height: 17px;
86
- padding: 12px;
87
- margin-top: 5px;
88
- }
89
-
90
- ._fc-l-info {
91
- font-weight: 400;
92
- font-size: 12px;
93
- color: #AAAAAA;
94
- line-height: 17px;
95
- text-align: left;
96
- font-style: normal;
97
- padding: 0 12px;
98
- }
99
-
100
- ._fc-l > .el-container {
101
- height: 100%;
102
- }
103
-
104
- ._fc-m .form-create ._fc-l-item {
105
- display: flex !important;
106
- align-items: center;
107
- justify-content: center;
108
- background: #f5f5f5;
109
- color: #000;
110
- width: 100%;
111
- margin: 5px 0;
112
- height: 30px;
113
- overflow: hidden;
114
- transition: all .3s ease;
115
- border: 1px dashed #000;
116
- border-radius: 4px;
117
- padding-bottom: 0;
118
- }
119
-
120
- ._fc-m .form-create ._fc-l-item ._fc-l-icon {
121
- display: inline-block !important;
122
- padding: 0 4px;
123
- }
124
-
125
- ._fc-m .form-create ._fc-l-item ._fc-l-name {
126
- display: inline-block !important;
127
- font-size: 12px;
128
- }
129
-
130
- ._fc-l, ._fc-m, ._fc-r {
131
- border-top: 1px solid #ECECEC;
132
- box-sizing: border-box;
133
- overflow: unset;
134
- position: relative;
135
- background-color: #FFFFFF;
136
- }
137
-
138
- ._fc-l-close, ._fc-r-close, ._fc-l-open, ._fc-r-open {
139
- position: absolute;
140
- display: flex;
141
- align-items: center;
142
- justify-content: center;
143
- width: 12px;
144
- height: 46px;
145
- top: 50%;
146
- right: -12px;
147
- cursor: pointer;
148
- background: #FFFFFF;
149
- z-index: 1;
150
- border-radius: 0 5px 5px 0;
151
- }
152
-
153
- ._fc-l-open {
154
- left: 0;
155
- right: unset;
156
- }
157
-
158
- ._fc-r-close {
159
- left: -12px;
160
- right: unset;
161
- border-radius: 5px 0 0 5px;
162
- }
163
-
164
- ._fc-r-open {
165
- right: 0;
166
- border-radius: 5px 0 0 5px;
167
- }
168
-
169
- ._fc-l-close > i, ._fc-r-open > i {
170
- display: block;
171
- transform: rotate(-90deg);
172
- font-size: 9px;
173
- }
174
-
175
- ._fc-r-close > i, ._fc-l-open > i {
176
- display: block;
177
- transform: rotate(90deg);
178
- font-size: 9px;
179
- }
180
-
181
- ._fc-r {
182
- --el-color-primary: #2E73FF;
183
- }
184
-
185
- ._fc-r-tab-props {
186
- padding: 0 20px;
187
- position: relative;
188
- }
189
-
190
- ._fc-r-tools-close {
191
- position: absolute;
192
- right: 24px;
193
- top: 12px;
194
- transform: rotate(45deg);
195
- color: #666666;
196
- cursor: pointer;
197
- }
198
-
199
- ._fc-r-title {
200
- font-size: 12px;
201
- color: #333333;
202
- margin: 15px 0 5px 0;
203
- }
204
-
205
- ._fc-r-sub ._fc-r-title {
206
- display: flex;
207
- align-items: center;
208
- justify-content: space-between;
209
- }
210
-
211
- ._fc-r-sub .fc-icon {
212
- cursor: pointer;
213
- }
214
-
215
- ._fc-r-sub ._fd-config-item + ._fd-config-item {
216
- margin-top: 8px;
217
- }
218
-
219
- ._fc-r-sub > ._fd-config-item > ._fd-ci-head {
220
- position: relative;
221
- padding-left: 8px;
222
- }
223
-
224
- ._fc-r-sub > ._fd-config-item > ._fd-ci-head:before {
225
- content: ' ';
226
- position: absolute;
227
- width: 5px;
228
- height: 5px;
229
- background-color: #333;
230
- border-radius: 25px;
231
- left: 0;
232
- }
233
-
234
- ._fc-r-config {
235
- display: grid;
236
- grid-template-columns: 280px;
237
- grid-template-areas: "base" "props" "style" "event" "validate";
238
- }
239
-
240
- ._fc-r-name-input .el-input-group__append {
241
- width: 25px;
242
- padding: 0;
243
- margin: 0;
244
- color: #606266;
245
- cursor: pointer;
246
- }
247
-
248
- ._fc-r-name-input .icon-group {
249
- cursor: pointer
250
- }
251
-
252
- ._fc-r-name-input .icon-group:hover {
253
- color: #2E73FF;
254
- }
255
-
256
- ._fc-r-tab-props > ._fd-config-item{
257
- margin-top: 15px;
258
- }
259
-
260
- ._fc-r .el-main {
261
- padding-bottom: 100px;
262
- }
263
-
264
- ._fc-l .el-main {
265
- padding: 0;
266
- }
267
-
268
- ._fc-l .el-tree-node__label {
269
- padding: 3px;
270
- font-weight: 400;
271
- color: #333;
272
- }
273
-
274
- ._fc-l .el-tree-node__content {
275
- height: 30px;
276
- margin-top: 5px;
277
- }
278
-
279
- ._fc-l .el-tree-node__content > .el-tree-node__expand-icon {
280
- color: #333;
281
- }
282
-
283
- ._fc-l .el-tree-node__expand-icon.is-leaf {
284
- color: transparent;
285
- }
286
-
287
- @keyframes rotating {
288
- 0% {
289
- transform: rotate(0)
290
- }
291
-
292
- to {
293
- transform: rotate(360deg)
294
- }
295
- }
296
-
297
- ._fc-loading {
298
- animation: rotating 2s linear infinite;
299
- }
300
-
301
- ._fc-tree-node {
302
- display: flex;
303
- align-items: center;
304
- justify-content: space-between;
305
- width: 100%;
306
- height: 26px;
307
- line-height: 26px;
308
- padding-right: 5px
309
- }
310
-
311
- ._fc-tree-node.active, ._fc-tree-node.active .icon-more {
312
- color: #2E73FF;
313
- }
314
-
315
- ._fc-tree-label {
316
- display: flex;
317
- align-items: center;
318
- min-width: 0;
319
- }
320
-
321
- ._fc-tree-label > span {
322
- white-space: nowrap;
323
- overflow: hidden;
324
- text-overflow: ellipsis;
325
- }
326
-
327
- ._fc-tree-label > i {
328
- margin-right: 5px;
329
- font-weight: 400;
330
- }
331
-
332
- ._fc-tree-more {
333
- display: flex;
334
- align-items: center;
335
- padding: 0 15px;
336
- font-weight: 700;
337
- }
338
-
339
- ._fc-l-tabs {
340
- display: flex;
341
- border-bottom: 1px solid #ECECEC;
342
- padding: 0;
343
- position: relative;
344
- }
345
-
346
- ._fc-l-tab {
347
- height: 40px;
348
- box-sizing: border-box;
349
- line-height: 40px;
350
- display: inline-block;
351
- list-style: none;
352
- font-size: 14px;
353
- font-weight: 600;
354
- color: #303133;
355
- position: relative;
356
- flex: 1;
357
- text-align: center;
358
- }
359
-
360
- ._fc-l ._fc-l-tab.active {
361
- color: #409EFF;
362
- border-bottom: 2px solid #409EFF;
363
- }
364
-
365
- ._fc-l-group {
366
- border: 1px solid #EEEEEE;
367
- padding: 0;
368
- margin: 12px;
369
- user-select: none;
370
- }
371
-
372
- ._fc-l-group ._fc-l-list {
373
- display: grid;
374
- grid-template-columns: repeat(3, 1fr);
375
- align-items: stretch;
376
- }
377
-
378
- ._fc-l-title {
379
- display: flex;
380
- align-items: center;
381
- justify-content: space-between;
382
- cursor: pointer;
383
- font-weight: 600;
384
- font-size: 14px;
385
- padding: 12px;
386
- margin: 0;
387
- }
388
-
389
- ._fc-l-title i {
390
- font-size: 14px;
391
- }
392
-
393
- ._fc-l-title i.down {
394
- transform: rotate(90deg);
395
- }
396
-
397
- ._fc-l-item {
398
- display: inline-block;
399
- background: #FFF;
400
- color: #000;
401
- line-height: 1;
402
- text-align: center;
403
- transition: all .2s ease;
404
- cursor: pointer;
405
- padding-bottom: 10px;
406
- }
407
-
408
- ._fc-l-item i {
409
- font-size: 21px;
410
- display: inline-block;
411
- }
412
-
413
- ._fc-l-item ._fc-l-name {
414
- font-size: 12px;
415
- }
416
-
417
- ._fc-l-item ._fc-l-icon {
418
- padding: 10px 5px 12px;
419
- }
420
-
421
- ._fc-l-item:hover {
422
- background: #2E73FF;
423
- color: #fff;
424
- }
425
-
426
- ._fc-m-tools {
427
- height: 40px;
428
- align-items: center;
429
- display: flex;
430
- justify-content: space-between;
431
- border: 1px solid #ECECEC;
432
- border-top: 0 none;
433
- white-space: nowrap;
434
- }
435
-
436
- ._fc-m-tools-l, ._fc-m-tools-r {
437
- display: flex;
438
- align-items: center;
439
- }
440
-
441
- ._fc-m-tools-r {
442
- overflow: auto;
443
- }
444
-
445
-
446
- ._fc-m-tools-l .devices .fc-icon {
447
- width: 18px;
448
- cursor: pointer;
449
- }
450
-
451
- ._fc-m-tools-l .devices .fc-icon.active {
452
- color: #2E73FF;
453
- }
454
-
455
- ._fc-m-tools-l .devices .fc-icon + .fc-icon {
456
- margin-left: 5px;
457
- }
458
-
459
- ._fc-m-tools .line {
460
- width: 1px;
461
- height: 24px;
462
- background: #D8D8D8;
463
- margin: 0 10px;
464
- }
465
-
466
- ._fc-m-tools .el-button {
467
- padding: 5px 10px;
468
- display: flex;
469
- align-items: center;
470
- border-radius: 5px;
471
- }
472
-
473
- ._fc-m-tools .el-button > span {
474
- display: inline-flex;
475
- justify-content: center;
476
- align-items: center;
477
- }
478
-
479
- ._fc-m-tools .el-dropdown, ._fc-m-tools .el-button + .el-button {
480
- margin-left: 10px;
481
- }
482
-
483
- ._fc-m-tools ._fd-m-extend {
484
- color: #666;
485
- border-color: #ccc;
486
- background-color: #f1f1f1;
487
- border-radius: 5px;
488
- padding: 5px;
489
- }
490
-
491
- ._fc-m-tools ._fd-m-extend .fc-icon {
492
- margin-right: 0;
493
- }
494
-
495
- ._fc-m-tools ._fd-input-btn {
496
- display: flex;
497
- align-items: center;
498
- justify-content: space-between;
499
- font-size: 12px;
500
- }
501
-
502
- ._fc-m-tools ._fd-input-btn .el-switch__action {
503
- width: 18px;
504
- height: 18px;
505
- left: 2px;
506
- }
507
-
508
- ._fc-m-tools ._fd-input-btn .is-checked .el-switch__action {
509
- --el-color-white: #2E73FF;
510
- left: calc(100% - 20px);
511
- }
512
-
513
- ._fc-m-tools ._fd-input-btn .el-switch__core {
514
- --el-switch-on-color: var(--el-switch-off-color);
515
- border-radius: 16px;
516
- height: 24px;
517
- width: 46px;
518
- }
519
-
520
- ._fc-m-tools ._fd-input-btn .is-checked .el-switch__core {
521
- --el-switch-on-color: var(--el-switch-off-color);
522
- border-radius: 16px;
523
- height: 24px;
524
- width: 46px;
525
- }
526
-
527
- ._fc-m-tools-r .fc-icon {
528
- font-size: 14px;
529
- }
530
-
531
- ._fc-m-tools-l .fc-icon {
532
- font-size: 18px;
533
- cursor: pointer;
534
- }
535
-
536
- ._fc-m-tools-l .fc-icon + .fc-icon {
537
- margin-left: 10px;
538
- }
539
-
540
- ._fc-m-tools-l .fc-icon.disabled {
541
- color: #999;
542
- cursor: not-allowed;
543
- }
544
-
545
- ._fc-r .el-tabs__nav-wrap::after {
546
- height: 1px;
547
- background-color: #ECECEC;
548
- }
549
-
550
- ._fc-r ._fc-r-tabs {
551
- display: flex;
552
- padding: 0;
553
- border-bottom: 1px solid #ECECEC;
554
- }
555
-
556
- ._fc-r .el-table__cell .cell, ._fc-r .el-button, ._fc-r .el-radio-button__inner {
557
- font-weight: 400;
558
- }
559
-
560
- ._fc-r ._fc-r-tab {
561
- height: 40px;
562
- box-sizing: border-box;
563
- line-height: 40px;
564
- display: inline-block;
565
- list-style: none;
566
- font-size: 14px;
567
- font-weight: 600;
568
- color: #303133;
569
- position: relative;
570
- flex: 1;
571
- text-align: center;
572
- }
573
-
574
- ._fc-r ._fc-r-tab.active {
575
- color: #409EFF;
576
- border-bottom: 2px solid #409EFF;
577
- }
578
-
579
- ._fc-m-con {
580
- position: relative;
581
- background: #F5F5F5;
582
- padding: 20px 20px 36px;
583
- }
584
-
585
- ._fc-m-drag {
586
- margin: 0 auto;
587
- overflow: auto;
588
- padding: 2px;
589
- box-sizing: border-box;
590
- }
591
-
592
- ._fc-m-input {
593
- padding: 5px 5px 80px;
594
- }
595
-
596
- ._fc-m-input-handle {
597
- position: absolute;
598
- bottom: 16px;
599
- left: 0;
600
- right: 0;
601
- padding: 12px;
602
- background: #FFFFFF;
603
- box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.05);
604
- text-align: center;
605
- margin: 20px;
606
- z-index: 99;
607
- }
608
-
609
- ._fc-m-drag.mobile {
610
- width: 400px;
611
- }
612
-
613
- ._fc-m-drag.pad {
614
- width: 770px;
615
- }
616
-
617
- ._fc-m-drag, .draggable-drag {
618
- background: #fff;
619
- height: 100%;
620
- position: relative;
621
- }
622
-
623
- ._fc-m-drag > form, ._fc-m-drag > form > .el-row {
624
- height: 100%;
625
- }
626
-
627
- ._fc-m-drag .el-tree {
628
- width: 100%;
629
- }
630
-
631
- ._fd-drag-box {
632
- width: 100%;
633
- height: 100%;
634
- min-height: 80px;
635
- transition: padding-bottom, padding-top .3s ease;
636
- }
637
-
638
- ._fd-drag-box > div[data-draggable] {
639
- margin-bottom: 1px;
640
- }
641
-
642
- ._fc-r ._fc-group-container + ._fc-group-container {
643
- margin-top: 20px;
644
- }
645
-
646
- ._fc-r ._fc-group-container {
647
- margin: 0;
648
- padding: 10px;
649
- }
650
-
651
- ._fc-r ._fc-group-handle {
652
- right: 15px;
653
- }
654
-
655
- ._fc-r .el-form-item {
656
- margin-bottom: 10px !important;
657
- }
658
-
659
- ._fc-r .el-form-item__label {
660
- color: #333333;
661
- }
662
-
663
- ._fc-upload-preview {
664
- display: inline-block;
665
- width: 120px;
666
- height: 120px;
667
- border-radius: 5px;
668
- overflow: hidden;
669
- }
670
-
671
- ._fc-tabs .el-tabs__item {
672
- font-weight: 400;
673
- }
674
-
675
- ._fc-tabs .el-tabs__content {
676
- overflow: auto;
677
- }
678
-
679
- ._fc-tabs .el-tabs__nav-scroll {
680
- padding: 0 15px;
681
- }
682
-
683
- ._fc-tabs .el-tab-pane {
684
- margin-right: 15px;
685
- }
686
-
687
- ._fc-tabs .el-tabs__nav-wrap::after {
688
- height: 1px;
689
- }
690
-
691
- .form-create .fc-none {
692
- display: none;
693
- }
694
-
695
- ._fd-draggable-drag.drag-holder, ._fd-tableFormColumn-drag.drag-holder, ._fd-elTabPane-drag.drag-holder, ._fd-group-drag.drag-holder, ._fd-subForm-drag.drag-holder, ._fd-elCard-drag.drag-holder, ._fd-elCollapseItem-drag.drag-holder {
696
- position: relative;
697
- background: #f5f5f5;
698
- background-size: 0;
699
- min-height: 90px;
700
- }
701
-
702
- ._fc-child-empty:after, ._fd-draggable-drag.drag-holder:after, ._fd-tableFormColumn-drag.drag-holder:after, ._fd-elTabPane-drag.drag-holder:after, ._fd-group-drag.drag-holder:after, ._fd-subForm-drag.drag-holder:after, ._fd-elCard-drag.drag-holder:after, ._fd-elCollapseItem-drag.drag-holder:after {
703
- content: var(--fc-drag-empty);
704
- position: absolute;
705
- top: 0;
706
- left: 0;
707
- bottom: 0;
708
- right: 0;
709
- display: flex;
710
- justify-content: center;
711
- align-items: center;
712
- color: #aaa;
713
- font-size: 12px;
714
- }
715
-
716
- ._fc-designer ._fc-m-drag ._fd-draggable-drag {
717
- overflow: auto;
718
- padding: 2px 2px 100px;
719
- }
720
-
721
- ._fc-m-drag._fd-drop-hover ._fd-draggable-drag {
722
- padding-top: 20px;
723
- }
724
-
725
- ._fd-draggable-drag.drag-holder {
726
- background-color: #ffffff;
727
- }
728
-
729
- ._fd-draggable-drag.drag-holder:after {
730
- font-size: 16px;
731
- }
732
-
733
- ._fc-child-empty:after {
734
- font-family: "fc-icon" !important;
735
- content: var(--fc-child-empty);
736
- }
737
-
738
- .fc-configured {
739
- color: #999;
740
- margin-left: 5px;
741
- }
742
-
743
- ._fc-manage-text {
744
- cursor: pointer;
745
- color: #2f73ff;
746
- margin-left: 4px;
747
- font-size: 12px;
748
- }
749
-
750
- ._fc-manage-text i {
751
- font-size: 12px;
752
- }
753
-
754
- ._fc-message-error {
755
- top: 16px;
756
- z-index: 2116;
757
- border-radius: 8px;
758
- padding: 9px 13px;
759
- background-color: #fff;
760
- border-color: #fff;
761
- 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);
762
- }
763
-
764
- ._fc-message-error > .el-icon {
765
- font-size: 18px;
766
- }
767
-
768
- ._fc-message-error .el-message__content {
769
- color: rgba(0, 0, 0, 0.88);
770
- font-size: 14px;
771
- }
772
-
773
- ._fd-preview-copy{
774
- display: flex;
775
- position: absolute;
776
- right: 35px;
777
- top: 65px;
778
- align-items: center;
779
- justify-content: center;
780
- width: 28px;
781
- height: 28px;
782
- background: #2E73FF33;
783
- border-radius: 10px;
784
- color: #2E73FF;
785
- cursor: pointer;
786
- }
787
-
788
- ._fd-preview-dialog {
789
- border-radius: 6px;
790
- padding-top: 0;
791
- min-height: 40%;
792
- }
793
-
794
- ._fd-preview-dialog .el-dialog__header {
795
- position: absolute;
796
- right: 0;
797
- top: 0;
798
- float: right;
799
- z-index: 9;
800
- }
801
-
802
- ._fd-preview-code {
803
- margin-top: 0;
804
- max-height: 510px;
805
- overflow: auto;
806
- }
807
-
808
- ._fd-preview-tabs .el-tabs__nav-wrap::after {
809
- height: 1px;
810
- }
811
-
812
- ._fd-preview-tabs .el-tabs__item {
813
- height: 46px;
814
- }
815
-
816
- ._fd-preview-code > code {
817
- white-space: pre-wrap;
818
- }
819
-
820
- ._fd-row-line {
821
- width: 100%;
822
- height: 1px;
823
- margin: 10px 0;
824
- background: #D8D8D8;
825
- }
826
-
827
- .CodeMirror-hints {
828
- z-index: 999999;
829
- }
830
-
831
- ._fd-drag-item {
832
- width: 100%;
833
- }
834
-
835
- ._fc-designer .CodeMirror-placeholder, ._fd-config-dialog .CodeMirror-placeholder, ._fd-struct-con .CodeMirror-placeholder {
836
- color: #aaaaaa !important;
837
- }
1
+ /*! Styles adapted from form-create-designer (MIT License, Copyright (c) 2022 xaboy). */
2
+ ._fc-designer {
3
+ height: 100%;
4
+ min-height: 500px;
5
+ overflow: hidden;
6
+ cursor: default;
7
+ position: relative;
8
+ background-color: #FFF;
9
+ --fc-drag-empty: "拖拽左侧列表中的组件到此处";
10
+ --fc-child-empty: "点击右下角 \e789 按钮添加一列";
11
+ --fc-tool-border-color: #2E73FF;
12
+ }
13
+
14
+ ._fc-designer .CodeMirror-placeholder,
15
+ ._fd-fn .CodeMirror-placeholder,
16
+ ._fd-config-dialog .CodeMirror-placeholder {
17
+ color: #aaaaaa !important;
18
+ }
19
+
20
+
21
+ ._fc-designer .CodeMirror-gutters, ._fd-fn .CodeMirror-gutters, ._fd-config-dialog .CodeMirror-gutters {
22
+ background-color: #ECECEC;
23
+ border-right-color: #D9D9D9;
24
+ }
25
+
26
+ ._fc-designer .CodeMirror-scroll, ._fd-fn .CodeMirror-scroll, ._fd-config-dialog .CodeMirror-scroll {
27
+ background-color: #F5F5F5;
28
+ color: #262626;
29
+ caret-color: #262626;
30
+ }
31
+
32
+ ._fc-designer > .el-main {
33
+ position: absolute;
34
+ top: 0;
35
+ bottom: 0;
36
+ left: 0;
37
+ right: 0;
38
+ padding: 0;
39
+ }
40
+
41
+ ._fc-l-menu {
42
+ display: flex;
43
+ flex-direction: column;
44
+ align-items: center;
45
+ border-top: 1px solid #ECECEC;
46
+ border-right: 1px solid #ECECEC;
47
+ }
48
+
49
+ ._fc-l-menu-item {
50
+ display: flex;
51
+ width: 100%;
52
+ align-items: center;
53
+ justify-content: center;
54
+ height: 40px;
55
+ cursor: pointer;
56
+ box-sizing: border-box;
57
+ }
58
+
59
+ ._fc-l-menu-item.active {
60
+ color: #2E73FF;
61
+ }
62
+
63
+ ._fc-l-menu-form {
64
+ border-bottom: 1px solid #ECECEC;
65
+ }
66
+
67
+ ._fc-l-menu-item i {
68
+ font-size: 22px;
69
+ }
70
+
71
+ ._fc-l-menu-item i:hover {
72
+ color: #2E73FF;
73
+ }
74
+
75
+ ._fc-l-menu-item .el-badge__content {
76
+ --el-badge-size: 15px;
77
+ --el-badge-padding: 4px;
78
+ background-color: #2E73FF;
79
+ }
80
+
81
+ ._fc-l-label {
82
+ font-weight: 500;
83
+ font-size: 14px;
84
+ color: #262626;
85
+ line-height: 17px;
86
+ padding: 12px;
87
+ margin-top: 5px;
88
+ }
89
+
90
+ ._fc-l-info {
91
+ font-weight: 400;
92
+ font-size: 12px;
93
+ color: #AAAAAA;
94
+ line-height: 17px;
95
+ text-align: left;
96
+ font-style: normal;
97
+ padding: 0 12px;
98
+ }
99
+
100
+ ._fc-l > .el-container {
101
+ height: 100%;
102
+ }
103
+
104
+ ._fc-m .form-create ._fc-l-item {
105
+ display: flex !important;
106
+ align-items: center;
107
+ justify-content: center;
108
+ background: #f5f5f5;
109
+ color: #000;
110
+ width: 100%;
111
+ margin: 5px 0;
112
+ height: 30px;
113
+ overflow: hidden;
114
+ transition: all .3s ease;
115
+ border: 1px dashed #000;
116
+ border-radius: 4px;
117
+ padding-bottom: 0;
118
+ }
119
+
120
+ ._fc-m .form-create ._fc-l-item ._fc-l-icon {
121
+ display: inline-block !important;
122
+ padding: 0 4px;
123
+ }
124
+
125
+ ._fc-m .form-create ._fc-l-item ._fc-l-name {
126
+ display: inline-block !important;
127
+ font-size: 12px;
128
+ }
129
+
130
+ ._fc-l, ._fc-m, ._fc-r {
131
+ border-top: 1px solid #ECECEC;
132
+ box-sizing: border-box;
133
+ overflow: unset;
134
+ position: relative;
135
+ background-color: #FFFFFF;
136
+ }
137
+
138
+ ._fc-l-close, ._fc-r-close, ._fc-l-open, ._fc-r-open {
139
+ position: absolute;
140
+ display: flex;
141
+ align-items: center;
142
+ justify-content: center;
143
+ width: 12px;
144
+ height: 46px;
145
+ top: 50%;
146
+ right: -12px;
147
+ cursor: pointer;
148
+ background: #FFFFFF;
149
+ z-index: 1;
150
+ border-radius: 0 5px 5px 0;
151
+ }
152
+
153
+ ._fc-l-open {
154
+ left: 0;
155
+ right: unset;
156
+ }
157
+
158
+ ._fc-r-close {
159
+ left: -12px;
160
+ right: unset;
161
+ border-radius: 5px 0 0 5px;
162
+ }
163
+
164
+ ._fc-r-open {
165
+ right: 0;
166
+ border-radius: 5px 0 0 5px;
167
+ }
168
+
169
+ ._fc-l-close > i, ._fc-r-open > i {
170
+ display: block;
171
+ transform: rotate(-90deg);
172
+ font-size: 9px;
173
+ }
174
+
175
+ ._fc-r-close > i, ._fc-l-open > i {
176
+ display: block;
177
+ transform: rotate(90deg);
178
+ font-size: 9px;
179
+ }
180
+
181
+ ._fc-r {
182
+ --el-color-primary: #2E73FF;
183
+ }
184
+
185
+ ._fc-r-tab-props {
186
+ padding: 0 20px;
187
+ position: relative;
188
+ }
189
+
190
+ ._fc-r-tools-close {
191
+ position: absolute;
192
+ right: 24px;
193
+ top: 12px;
194
+ transform: rotate(45deg);
195
+ color: #666666;
196
+ cursor: pointer;
197
+ }
198
+
199
+ ._fc-r-title {
200
+ font-size: 12px;
201
+ color: #333333;
202
+ margin: 15px 0 5px 0;
203
+ }
204
+
205
+ ._fc-r-sub ._fc-r-title {
206
+ display: flex;
207
+ align-items: center;
208
+ justify-content: space-between;
209
+ }
210
+
211
+ ._fc-r-sub .fc-icon {
212
+ cursor: pointer;
213
+ }
214
+
215
+ ._fc-r-sub ._fd-config-item + ._fd-config-item {
216
+ margin-top: 8px;
217
+ }
218
+
219
+ ._fc-r-sub > ._fd-config-item > ._fd-ci-head {
220
+ position: relative;
221
+ padding-left: 8px;
222
+ }
223
+
224
+ ._fc-r-sub > ._fd-config-item > ._fd-ci-head:before {
225
+ content: ' ';
226
+ position: absolute;
227
+ width: 5px;
228
+ height: 5px;
229
+ background-color: #333;
230
+ border-radius: 25px;
231
+ left: 0;
232
+ }
233
+
234
+ ._fc-r-config {
235
+ display: grid;
236
+ grid-template-columns: 280px;
237
+ grid-template-areas: "base" "props" "style" "event" "validate";
238
+ }
239
+
240
+ ._fc-r-name-input .el-input-group__append {
241
+ width: 25px;
242
+ padding: 0;
243
+ margin: 0;
244
+ color: #606266;
245
+ cursor: pointer;
246
+ }
247
+
248
+ ._fc-r-name-input .icon-group {
249
+ cursor: pointer
250
+ }
251
+
252
+ ._fc-r-name-input .icon-group:hover {
253
+ color: #2E73FF;
254
+ }
255
+
256
+ ._fc-r-tab-props > ._fd-config-item{
257
+ margin-top: 15px;
258
+ }
259
+
260
+ ._fc-r .el-main {
261
+ padding-bottom: 100px;
262
+ }
263
+
264
+ ._fc-l .el-main {
265
+ padding: 0;
266
+ }
267
+
268
+ ._fc-l .el-tree-node__label {
269
+ padding: 3px;
270
+ font-weight: 400;
271
+ color: #333;
272
+ }
273
+
274
+ ._fc-l .el-tree-node__content {
275
+ height: 30px;
276
+ margin-top: 5px;
277
+ }
278
+
279
+ ._fc-l .el-tree-node__content > .el-tree-node__expand-icon {
280
+ color: #333;
281
+ }
282
+
283
+ ._fc-l .el-tree-node__expand-icon.is-leaf {
284
+ color: transparent;
285
+ }
286
+
287
+ @keyframes rotating {
288
+ 0% {
289
+ transform: rotate(0)
290
+ }
291
+
292
+ to {
293
+ transform: rotate(360deg)
294
+ }
295
+ }
296
+
297
+ ._fc-loading {
298
+ animation: rotating 2s linear infinite;
299
+ }
300
+
301
+ ._fc-tree-node {
302
+ display: flex;
303
+ align-items: center;
304
+ justify-content: space-between;
305
+ width: 100%;
306
+ height: 26px;
307
+ line-height: 26px;
308
+ padding-right: 5px
309
+ }
310
+
311
+ ._fc-tree-node.active, ._fc-tree-node.active .icon-more {
312
+ color: #2E73FF;
313
+ }
314
+
315
+ ._fc-tree-label {
316
+ display: flex;
317
+ align-items: center;
318
+ min-width: 0;
319
+ }
320
+
321
+ ._fc-tree-label > span {
322
+ white-space: nowrap;
323
+ overflow: hidden;
324
+ text-overflow: ellipsis;
325
+ }
326
+
327
+ ._fc-tree-label > i {
328
+ margin-right: 5px;
329
+ font-weight: 400;
330
+ }
331
+
332
+ ._fc-tree-more {
333
+ display: flex;
334
+ align-items: center;
335
+ padding: 0 15px;
336
+ font-weight: 700;
337
+ }
338
+
339
+ ._fc-l-tabs {
340
+ display: flex;
341
+ border-bottom: 1px solid #ECECEC;
342
+ padding: 0;
343
+ position: relative;
344
+ }
345
+
346
+ ._fc-l-tab {
347
+ height: 40px;
348
+ box-sizing: border-box;
349
+ line-height: 40px;
350
+ display: inline-block;
351
+ list-style: none;
352
+ font-size: 14px;
353
+ font-weight: 600;
354
+ color: #303133;
355
+ position: relative;
356
+ flex: 1;
357
+ text-align: center;
358
+ }
359
+
360
+ ._fc-l ._fc-l-tab.active {
361
+ color: #409EFF;
362
+ border-bottom: 2px solid #409EFF;
363
+ }
364
+
365
+ ._fc-l-group {
366
+ border: 1px solid #EEEEEE;
367
+ padding: 0;
368
+ margin: 12px;
369
+ user-select: none;
370
+ }
371
+
372
+ ._fc-l-group ._fc-l-list {
373
+ display: grid;
374
+ grid-template-columns: repeat(3, 1fr);
375
+ align-items: stretch;
376
+ }
377
+
378
+ ._fc-l-title {
379
+ display: flex;
380
+ align-items: center;
381
+ justify-content: space-between;
382
+ cursor: pointer;
383
+ font-weight: 600;
384
+ font-size: 14px;
385
+ padding: 12px;
386
+ margin: 0;
387
+ }
388
+
389
+ ._fc-l-title i {
390
+ font-size: 14px;
391
+ }
392
+
393
+ ._fc-l-title i.down {
394
+ transform: rotate(90deg);
395
+ }
396
+
397
+ ._fc-l-item {
398
+ display: inline-block;
399
+ background: #FFF;
400
+ color: #000;
401
+ line-height: 1;
402
+ text-align: center;
403
+ transition: all .2s ease;
404
+ cursor: pointer;
405
+ padding-bottom: 10px;
406
+ }
407
+
408
+ ._fc-l-item i {
409
+ font-size: 21px;
410
+ display: inline-block;
411
+ }
412
+
413
+ ._fc-l-item ._fc-l-name {
414
+ font-size: 12px;
415
+ }
416
+
417
+ ._fc-l-item ._fc-l-icon {
418
+ padding: 10px 5px 12px;
419
+ }
420
+
421
+ ._fc-l-item:hover {
422
+ background: #2E73FF;
423
+ color: #fff;
424
+ }
425
+
426
+ ._fc-m-tools {
427
+ height: 40px;
428
+ align-items: center;
429
+ display: flex;
430
+ justify-content: space-between;
431
+ border: 1px solid #ECECEC;
432
+ border-top: 0 none;
433
+ white-space: nowrap;
434
+ }
435
+
436
+ ._fc-m-tools-l, ._fc-m-tools-r {
437
+ display: flex;
438
+ align-items: center;
439
+ }
440
+
441
+ ._fc-m-tools-r {
442
+ overflow: auto;
443
+ }
444
+
445
+
446
+ ._fc-m-tools-l .devices .fc-icon {
447
+ width: 18px;
448
+ cursor: pointer;
449
+ }
450
+
451
+ ._fc-m-tools-l .devices .fc-icon.active {
452
+ color: #2E73FF;
453
+ }
454
+
455
+ ._fc-m-tools-l .devices .fc-icon + .fc-icon {
456
+ margin-left: 5px;
457
+ }
458
+
459
+ ._fc-m-tools .line {
460
+ width: 1px;
461
+ height: 24px;
462
+ background: #D8D8D8;
463
+ margin: 0 10px;
464
+ }
465
+
466
+ ._fc-m-tools .el-button {
467
+ padding: 5px 10px;
468
+ display: flex;
469
+ align-items: center;
470
+ border-radius: 5px;
471
+ }
472
+
473
+ ._fc-m-tools .el-button > span {
474
+ display: inline-flex;
475
+ justify-content: center;
476
+ align-items: center;
477
+ }
478
+
479
+ ._fc-m-tools .el-dropdown, ._fc-m-tools .el-button + .el-button {
480
+ margin-left: 10px;
481
+ }
482
+
483
+ ._fc-m-tools ._fd-m-extend {
484
+ color: #666;
485
+ border-color: #ccc;
486
+ background-color: #f1f1f1;
487
+ border-radius: 5px;
488
+ padding: 5px;
489
+ }
490
+
491
+ ._fc-m-tools ._fd-m-extend .fc-icon {
492
+ margin-right: 0;
493
+ }
494
+
495
+ ._fc-m-tools ._fd-input-btn {
496
+ display: flex;
497
+ align-items: center;
498
+ justify-content: space-between;
499
+ font-size: 12px;
500
+ }
501
+
502
+ ._fc-m-tools ._fd-input-btn .el-switch__action {
503
+ width: 18px;
504
+ height: 18px;
505
+ left: 2px;
506
+ }
507
+
508
+ ._fc-m-tools ._fd-input-btn .is-checked .el-switch__action {
509
+ --el-color-white: #2E73FF;
510
+ left: calc(100% - 20px);
511
+ }
512
+
513
+ ._fc-m-tools ._fd-input-btn .el-switch__core {
514
+ --el-switch-on-color: var(--el-switch-off-color);
515
+ border-radius: 16px;
516
+ height: 24px;
517
+ width: 46px;
518
+ }
519
+
520
+ ._fc-m-tools ._fd-input-btn .is-checked .el-switch__core {
521
+ --el-switch-on-color: var(--el-switch-off-color);
522
+ border-radius: 16px;
523
+ height: 24px;
524
+ width: 46px;
525
+ }
526
+
527
+ ._fc-m-tools-r .fc-icon {
528
+ font-size: 14px;
529
+ }
530
+
531
+ ._fc-m-tools-l .fc-icon {
532
+ font-size: 18px;
533
+ cursor: pointer;
534
+ }
535
+
536
+ ._fc-m-tools-l .fc-icon + .fc-icon {
537
+ margin-left: 10px;
538
+ }
539
+
540
+ ._fc-m-tools-l .fc-icon.disabled {
541
+ color: #999;
542
+ cursor: not-allowed;
543
+ }
544
+
545
+ ._fc-r .el-tabs__nav-wrap::after {
546
+ height: 1px;
547
+ background-color: #ECECEC;
548
+ }
549
+
550
+ ._fc-r ._fc-r-tabs {
551
+ display: flex;
552
+ padding: 0;
553
+ border-bottom: 1px solid #ECECEC;
554
+ }
555
+
556
+ ._fc-r .el-table__cell .cell, ._fc-r .el-button, ._fc-r .el-radio-button__inner {
557
+ font-weight: 400;
558
+ }
559
+
560
+ ._fc-r ._fc-r-tab {
561
+ height: 40px;
562
+ box-sizing: border-box;
563
+ line-height: 40px;
564
+ display: inline-block;
565
+ list-style: none;
566
+ font-size: 14px;
567
+ font-weight: 600;
568
+ color: #303133;
569
+ position: relative;
570
+ flex: 1;
571
+ text-align: center;
572
+ }
573
+
574
+ ._fc-r ._fc-r-tab.active {
575
+ color: #409EFF;
576
+ border-bottom: 2px solid #409EFF;
577
+ }
578
+
579
+ ._fc-m-con {
580
+ position: relative;
581
+ background: #F5F5F5;
582
+ padding: 20px 20px 36px;
583
+ }
584
+
585
+ ._fc-m-drag {
586
+ margin: 0 auto;
587
+ overflow: auto;
588
+ padding: 2px;
589
+ box-sizing: border-box;
590
+ }
591
+
592
+ ._fc-m-input {
593
+ padding: 5px 5px 80px;
594
+ }
595
+
596
+ ._fc-m-input-handle {
597
+ position: absolute;
598
+ bottom: 16px;
599
+ left: 0;
600
+ right: 0;
601
+ padding: 12px;
602
+ background: #FFFFFF;
603
+ box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.05);
604
+ text-align: center;
605
+ margin: 20px;
606
+ z-index: 99;
607
+ }
608
+
609
+ ._fc-m-drag.mobile {
610
+ width: 400px;
611
+ }
612
+
613
+ ._fc-m-drag.pad {
614
+ width: 770px;
615
+ }
616
+
617
+ ._fc-m-drag, .draggable-drag {
618
+ background: #fff;
619
+ height: 100%;
620
+ position: relative;
621
+ }
622
+
623
+ ._fc-m-drag > form, ._fc-m-drag > form > .el-row {
624
+ height: 100%;
625
+ }
626
+
627
+ ._fc-m-drag .el-tree {
628
+ width: 100%;
629
+ }
630
+
631
+ ._fd-drag-box {
632
+ width: 100%;
633
+ height: 100%;
634
+ min-height: 80px;
635
+ transition: padding-bottom, padding-top .3s ease;
636
+ }
637
+
638
+ ._fd-drag-box > div[data-draggable] {
639
+ margin-bottom: 1px;
640
+ }
641
+
642
+ ._fc-r ._fc-group-container + ._fc-group-container {
643
+ margin-top: 20px;
644
+ }
645
+
646
+ ._fc-r ._fc-group-container {
647
+ margin: 0;
648
+ padding: 10px;
649
+ }
650
+
651
+ ._fc-r ._fc-group-handle {
652
+ right: 15px;
653
+ }
654
+
655
+ ._fc-r .el-form-item {
656
+ margin-bottom: 10px !important;
657
+ }
658
+
659
+ ._fc-r .el-form-item__label {
660
+ color: #333333;
661
+ }
662
+
663
+ ._fc-upload-preview {
664
+ display: inline-block;
665
+ width: 120px;
666
+ height: 120px;
667
+ border-radius: 5px;
668
+ overflow: hidden;
669
+ }
670
+
671
+ ._fc-tabs .el-tabs__item {
672
+ font-weight: 400;
673
+ }
674
+
675
+ ._fc-tabs .el-tabs__content {
676
+ overflow: auto;
677
+ }
678
+
679
+ ._fc-tabs .el-tabs__nav-scroll {
680
+ padding: 0 15px;
681
+ }
682
+
683
+ ._fc-tabs .el-tab-pane {
684
+ margin-right: 15px;
685
+ }
686
+
687
+ ._fc-tabs .el-tabs__nav-wrap::after {
688
+ height: 1px;
689
+ }
690
+
691
+ .form-create .fc-none {
692
+ display: none;
693
+ }
694
+
695
+ ._fd-draggable-drag.drag-holder, ._fd-tableFormColumn-drag.drag-holder, ._fd-elTabPane-drag.drag-holder, ._fd-group-drag.drag-holder, ._fd-subForm-drag.drag-holder, ._fd-elCard-drag.drag-holder, ._fd-elCollapseItem-drag.drag-holder {
696
+ position: relative;
697
+ background: #f5f5f5;
698
+ background-size: 0;
699
+ min-height: 90px;
700
+ }
701
+
702
+ ._fc-child-empty:after, ._fd-draggable-drag.drag-holder:after, ._fd-tableFormColumn-drag.drag-holder:after, ._fd-elTabPane-drag.drag-holder:after, ._fd-group-drag.drag-holder:after, ._fd-subForm-drag.drag-holder:after, ._fd-elCard-drag.drag-holder:after, ._fd-elCollapseItem-drag.drag-holder:after {
703
+ content: var(--fc-drag-empty);
704
+ position: absolute;
705
+ top: 0;
706
+ left: 0;
707
+ bottom: 0;
708
+ right: 0;
709
+ display: flex;
710
+ justify-content: center;
711
+ align-items: center;
712
+ color: #aaa;
713
+ font-size: 12px;
714
+ }
715
+
716
+ ._fc-designer ._fc-m-drag ._fd-draggable-drag {
717
+ overflow: auto;
718
+ padding: 2px 2px 100px;
719
+ }
720
+
721
+ ._fc-m-drag._fd-drop-hover ._fd-draggable-drag {
722
+ padding-top: 20px;
723
+ }
724
+
725
+ ._fd-draggable-drag.drag-holder {
726
+ background-color: #ffffff;
727
+ }
728
+
729
+ ._fd-draggable-drag.drag-holder:after {
730
+ font-size: 16px;
731
+ }
732
+
733
+ ._fc-child-empty:after {
734
+ font-family: "fc-icon" !important;
735
+ content: var(--fc-child-empty);
736
+ }
737
+
738
+ .fc-configured {
739
+ color: #999;
740
+ margin-left: 5px;
741
+ }
742
+
743
+ ._fc-manage-text {
744
+ cursor: pointer;
745
+ color: #2f73ff;
746
+ margin-left: 4px;
747
+ font-size: 12px;
748
+ }
749
+
750
+ ._fc-manage-text i {
751
+ font-size: 12px;
752
+ }
753
+
754
+ ._fc-message-error {
755
+ top: 16px;
756
+ z-index: 2116;
757
+ border-radius: 8px;
758
+ padding: 9px 13px;
759
+ background-color: #fff;
760
+ border-color: #fff;
761
+ 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);
762
+ }
763
+
764
+ ._fc-message-error > .el-icon {
765
+ font-size: 18px;
766
+ }
767
+
768
+ ._fc-message-error .el-message__content {
769
+ color: rgba(0, 0, 0, 0.88);
770
+ font-size: 14px;
771
+ }
772
+
773
+ ._fd-preview-copy{
774
+ display: flex;
775
+ position: absolute;
776
+ right: 35px;
777
+ top: 65px;
778
+ align-items: center;
779
+ justify-content: center;
780
+ width: 28px;
781
+ height: 28px;
782
+ background: #2E73FF33;
783
+ border-radius: 10px;
784
+ color: #2E73FF;
785
+ cursor: pointer;
786
+ }
787
+
788
+ ._fd-preview-dialog {
789
+ border-radius: 6px;
790
+ padding-top: 0;
791
+ min-height: 40%;
792
+ }
793
+
794
+ ._fd-preview-dialog .el-dialog__header {
795
+ position: absolute;
796
+ right: 0;
797
+ top: 0;
798
+ float: right;
799
+ z-index: 9;
800
+ }
801
+
802
+ ._fd-preview-code {
803
+ margin-top: 0;
804
+ max-height: 510px;
805
+ overflow: auto;
806
+ }
807
+
808
+ ._fd-preview-tabs .el-tabs__nav-wrap::after {
809
+ height: 1px;
810
+ }
811
+
812
+ ._fd-preview-tabs .el-tabs__item {
813
+ height: 46px;
814
+ }
815
+
816
+ ._fd-preview-code > code {
817
+ white-space: pre-wrap;
818
+ }
819
+
820
+ ._fd-row-line {
821
+ width: 100%;
822
+ height: 1px;
823
+ margin: 10px 0;
824
+ background: #D8D8D8;
825
+ }
826
+
827
+ .CodeMirror-hints {
828
+ z-index: 999999;
829
+ }
830
+
831
+ ._fd-drag-item {
832
+ width: 100%;
833
+ }
834
+
835
+ ._fc-designer .CodeMirror-placeholder, ._fd-config-dialog .CodeMirror-placeholder, ._fd-struct-con .CodeMirror-placeholder {
836
+ color: #aaaaaa !important;
837
+ }