tianheng-ui 0.0.47 → 0.0.50

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,746 +1,768 @@
1
- $primary-color: #409EFF;
2
- $primary-background-color: #ecf5ff;
3
-
4
- .fm-style{
5
- height: 100%;
6
-
7
- *, :after, :before {
8
- -webkit-box-sizing: border-box;
9
- -moz-box-sizing: border-box;
10
- box-sizing: border-box;
11
- }
12
-
13
- .fa-icon{
14
- width: auto;
15
- height: 1em; /* 或任意其它字体大小相对值 */
16
-
17
- /* 要在 Safari 中正常工作,需要再引入如下两行代码 */
18
- max-width: 100%;
19
- max-height: 100%;
20
- vertical-align: middle;
21
- }
22
-
23
- .fm2-container{
24
- background: #fff;
25
- height: 100%;
26
- border: 1px solid #e0e0e0;
27
-
28
- .el-container{
29
- height: 100% !important;
30
- }
31
-
32
- &>.el-container{
33
- background: #fff;
34
- }
35
- .fm2-main{
36
- position: relative;
37
-
38
- &>.el-container{
39
- position: absolute;
40
- top: 0;
41
- bottom: 0;
42
- left: 0;
43
- right: 0;
44
- }
45
- }
46
- main{
47
- padding: 0;
48
- }
49
-
50
- footer{
51
- height: 30px;
52
- line-height: 30px;
53
- border-top: 1px solid #e0e0e0;
54
- font-size: 12px;
55
- text-align: right;
56
- color: $primary-color;
57
- background: #fafafa;
58
-
59
- a{
60
- color: $primary-color;
61
- }
62
- }
63
- }
64
-
65
- .center-container{
66
- border-left: 1px solid #e0e0e0;
67
- border-right: 1px solid #e0e0e0;
68
-
69
- .btn-bar{
70
- height: 45px;
71
- line-height: 45px;
72
- font-size: 18px;
73
- border-bottom: solid 2px #e4e7ed;
74
- text-align: right;
75
- }
76
-
77
- .el-main{
78
- padding: 0;
79
- position: relative;
80
- background: #fafafa;
81
- }
82
- }
83
-
84
- .components-list{
85
- padding: 8px 0;
86
- width: 100%;
87
- height: 100%;
88
-
89
- .widget-cate{
90
- padding: 8px 12px;
91
- font-size: 13px;
92
- }
93
-
94
- ul{
95
- position: relative;
96
- overflow: hidden;
97
- padding: 0 10px 10px;
98
- margin: 0;
99
- }
100
-
101
- .form-edit-widget-label{
102
- font-size: 12px;
103
- display: block;
104
- width: 48%;
105
- line-height: 26px;
106
- position: relative;
107
- float: left;
108
- left: 0;
109
- overflow: hidden;
110
- text-overflow: ellipsis;
111
- white-space: nowrap;
112
- margin: 1%;
113
- color: #333;
114
- border: 1px solid #F4F6FC;
115
-
116
- &:hover{
117
- color: $primary-color;
118
- border: 1px dashed $primary-color;
119
- }
120
-
121
- &>a{
122
- display: block;
123
- cursor: move;
124
- background: #F4F6FC;
125
- border: 1px solid #F4F6FC;
126
-
127
- .icon{
128
- margin-right: 6px;
129
- margin-left: 8px;
130
- font-size: 14px;
131
- display: inline-block;
132
- vertical-align: middle;
133
- }
134
-
135
- span{
136
- display: inline-block;
137
- vertical-align: middle;
138
- }
139
- }
140
- }
141
- }
142
-
143
- .widget-form-container{
144
- position: absolute;
145
- top: 0;
146
- left: 0;
147
- right: 0;
148
- bottom: 0;
149
-
150
-
151
-
152
- .widget-form-list{
153
- background: #fff;
154
- // border: 1px dashed #999;
155
- border: 1px dashed #999;
156
- min-height: 600px;
157
- margin: 10px;
158
-
159
- .widget-col-list{
160
- min-height: 50px;
161
- border: 1px dashed #ccc;
162
- background: #fff;
163
- }
164
-
165
- .widget-view{
166
- padding-bottom: 18px;
167
- position: relative;
168
- border: 1px dashed rgba(170,170,170,0.7);
169
- background-color: rgba(236, 245, 255, .3);
170
- margin: 2px;
171
-
172
- .el-form-item__content{
173
- position: unset;
174
- }
175
-
176
- &.is_req{
177
- .el-form-item__label::before{
178
- content: '*';
179
- color: #f56c6c;
180
- margin-right: 4px;
181
- }
182
- }
183
-
184
- .widget-view-description{
185
- height: 15px;
186
- line-height: 15px;
187
- font-size:13px;
188
- margin-top: 6px;
189
- color:#909399;
190
- }
191
-
192
- .widget-view-action{
193
- position: absolute;
194
- right: 0;
195
- bottom: 0;
196
- height: 28px;
197
- line-height: 28px;
198
- background: $primary-color;
199
- z-index: 9;
200
-
201
- i{
202
- font-size: 14px;
203
- color: #fff;
204
- margin: 0 5px;
205
- cursor: pointer;
206
-
207
- }
208
- }
209
-
210
- .widget-view-drag{
211
- position: absolute;
212
- left: -2px;
213
- top: -2px;
214
- bottom: -18px;
215
- height: 28px;
216
- line-height: 28px;
217
- background: $primary-color;
218
- z-index: 9;
219
- // display: none;
220
-
221
- i{
222
- font-size: 14px;
223
- color: #fff;
224
- margin: 0 5px;
225
- cursor: move;
226
- }
227
- }
228
-
229
- &:after{
230
- position: absolute;
231
- left: 0;
232
- right: 0;
233
- top: 0;
234
- bottom: 0;
235
- display: block;
236
- }
237
-
238
- &:hover{
239
- background: $primary-background-color;
240
- outline: 1px solid $primary-color;
241
- outline-offset: 0px;
242
-
243
- &.active{
244
- outline: 2px solid $primary-color;
245
- border: 1px solid $primary-color;
246
- outline-offset: 0;
247
- }
248
-
249
- .widget-view-drag{
250
- display: block;
251
- }
252
- }
253
-
254
- &.active{
255
- outline: 2px solid $primary-color;
256
- border: 1px solid $primary-color;
257
- }
258
-
259
- &.ghost{
260
- background: #F56C6C;
261
- border: 2px solid #F56C6C;
262
- outline-width: 0;
263
- height: 3px;
264
- box-sizing: border-box;
265
- font-size: 0;
266
- content: '';
267
- overflow: hidden;
268
- padding: 0;
269
- }
270
- }
271
-
272
- .widget-table{
273
- padding-bottom: 0;
274
- padding: 5px;
275
- background-color: rgba(253,246,236, .3);
276
-
277
- .widget-table-wrapper{
278
- min-height: 50px;
279
- background: #fff;
280
- display: flex;
281
- justify-content: flex-start;
282
-
283
- .widget-table-row{
284
- td{
285
- border-bottom: 0;
286
- }
287
- }
288
-
289
- .widget-table-left{
290
- width: 51px;
291
- border-left: 1px solid #EBEEF5;
292
- border-right: 1px solid #EBEEF5;
293
- border-top: 1px solid #EBEEF5;
294
- flex: none;
295
- }
296
-
297
- .widget-table-view{
298
- border: 1px solid #EBEEF5;
299
- width: 200px;
300
- float: left;
301
- height: 100%;
302
- position: relative;
303
- display: block;
304
-
305
- .el-table{
306
- height: 100%;
307
- }
308
-
309
- &.is_req{
310
- .el-form-item__label::before{
311
- content: '*';
312
- color: #f56c6c;
313
- margin-right: 4px;
314
- }
315
- }
316
-
317
- .widget-view-description{
318
- height: 15px;
319
- line-height: 15px;
320
- font-size:13px;
321
- margin-top: 6px;
322
- color:#909399;
323
- }
324
-
325
- .widget-view-action{
326
- position: absolute;
327
- right: 0;
328
- bottom: 0;
329
- height: 28px;
330
- line-height: 28px;
331
- background: $primary-color;
332
- z-index: 9;
333
-
334
- i{
335
- font-size: 14px;
336
- color: #fff;
337
- margin: 0 5px;
338
- cursor: pointer;
339
-
340
- }
341
- }
342
-
343
- .widget-view-drag{
344
- position: absolute;
345
- left: -2px;
346
- top: -2px;
347
- bottom: -18px;
348
- height: 28px;
349
- line-height: 28px;
350
- background: $primary-color;
351
- z-index: 9;
352
- // display: none;
353
-
354
- i{
355
- font-size: 14px;
356
- color: #fff;
357
- margin: 0 5px;
358
- cursor: move;
359
- }
360
- }
361
-
362
- &::after{
363
- position: absolute;
364
- left: 0;
365
- right: 0;
366
- top: 0;
367
- bottom: 0;
368
- display: block;
369
- content: '';
370
- }
371
-
372
- &::before{
373
- display: none;
374
- }
375
-
376
- &:hover{
377
- background: $primary-background-color;
378
- outline: 1px solid $primary-color;
379
- outline-offset: -1px;
380
-
381
- &.active{
382
- // outline: 1px solid $primary-color;
383
- border: 1px solid $primary-color;
384
- outline: 1px solid $primary-color;
385
- outline-offset: -1px;
386
- }
387
-
388
- .widget-view-drag{
389
- display: block;
390
- }
391
- }
392
-
393
- &.active{
394
- outline: 1px solid $primary-color;
395
- border: 1px solid $primary-color;
396
- outline-offset: -1px;
397
- }
398
-
399
- &.ghost{
400
- background: #F56C6C;
401
- outline-width: 0;
402
- width: 5px !important;
403
- box-sizing: border-box;
404
- font-size: 0;
405
- content: '';
406
- overflow: hidden;
407
- padding: 0;
408
- position: relative;
409
- outline: none !important;
410
- border: 0 !important;
411
-
412
- &::after{
413
- background: #F56C6C;
414
- position: absolute;
415
- top: 0;
416
- left: 0;
417
- bottom: 0;
418
- right: 0;
419
- z-index: 9999;
420
- content: '';
421
- outline: none;
422
- }
423
- }
424
- }
425
-
426
- .widget-table-content{
427
- width:100%;
428
- // border: 1px dashed #ccc;
429
- outline: 1px dashed #ccc;
430
- background: #fff;
431
- flex:1;
432
- margin: 0 1px;
433
- overflow: auto;
434
-
435
- &>div{
436
- height: 100%;
437
- }
438
-
439
- .widget-table-col{
440
- height: 100%;
441
-
442
- .ghost{
443
- background: #F56C6C;
444
- // border: 2px solid #F56C6C;
445
- position: relative;
446
- content: '';
447
- float: left;
448
- height: 100%;
449
- width: 5px !important;
450
- list-style: none;
451
- font-size: 0;
452
- overflow: hidden;
453
- outline: none;
454
-
455
- &::after{
456
- background: #F56C6C;
457
- position: absolute;
458
- top: 0;
459
- left: 0;
460
- bottom: 0;
461
- right: 0;
462
- z-index: 9999;
463
- content: '';
464
- outline: none;
465
- }
466
- }
467
- }
468
- }
469
- }
470
-
471
- &.active{
472
- outline: 2px solid #e6a23c;
473
- border: 1px solid #e6a23c;
474
- }
475
-
476
- &:hover{
477
- background: #fdf6ec;
478
- outline: 1px solid #e6a23c;
479
- outline-offset: 0px;
480
-
481
- &.active{
482
- outline: 2px solid #e6a23c;
483
- border: 1px solid #e6a23c;
484
- outline-offset: 0;
485
- }
486
- }
487
-
488
- .widget-view-action.widget-col-action{
489
- background: #e6a23c;
490
- }
491
-
492
- .widget-view-drag.widget-col-drag{
493
- background: #e6a23c;
494
- }
495
-
496
- &::after{
497
- display: none;
498
- }
499
-
500
- &.ghost{
501
- background: #F56C6C;
502
- outline-width: 0;
503
- height: 5px;
504
- box-sizing: border-box;
505
- font-size: 0;
506
- content: '';
507
- overflow: hidden;
508
- padding: 0;
509
- position: relative;
510
- outline: none;
511
- border: 0;
512
-
513
- &::after{
514
- background: #F56C6C;
515
- position: absolute;
516
- top:0;
517
- left: 0;
518
- right: 0;
519
- bottom: 0;
520
- content: '';
521
- display: block;
522
- z-index: 999;
523
- }
524
- }
525
- }
526
-
527
- .widget-col{
528
- padding-bottom: 0;
529
- padding: 5px;
530
- // margin-left: 2px !important;
531
- // margin-right: 2px !important;
532
- background-color: rgba(253,246,236, .3);
533
-
534
- &.active{
535
- outline: 2px solid #e6a23c;
536
- border: 1px solid #e6a23c;
537
- }
538
-
539
- &:hover{
540
- background: #fdf6ec;
541
- outline: 1px solid #e6a23c;
542
- outline-offset: 0px;
543
-
544
- &.active{
545
- outline: 2px solid #e6a23c;
546
- border: 1px solid #e6a23c;
547
- outline-offset: 0;
548
- }
549
- }
550
-
551
- .el-col{
552
- min-height: 50px;
553
- }
554
-
555
- &.ghost{
556
- background: #F56C6C;
557
- border: 2px solid #F56C6C;
558
- outline-width: 0;
559
- height: 3px;
560
- box-sizing: border-box;
561
- font-size: 0;
562
- content: '';
563
- overflow: hidden;
564
- padding: 0;
565
- }
566
-
567
- .widget-view-action.widget-col-action{
568
- background: #e6a23c;
569
- }
570
-
571
- .widget-view-drag.widget-col-drag{
572
- background: #e6a23c;
573
- }
574
-
575
- &::after{
576
- display: none;
577
- }
578
- }
579
-
580
- .ghost{
581
- background: #F56C6C;
582
- border: 2px solid #F56C6C;
583
- outline-width: 0;
584
- height: 3px;
585
- box-sizing: border-box;
586
- font-size: 0;
587
- content: '';
588
- overflow: hidden;
589
- padding: 0;
590
- }
591
- }
592
-
593
- .ghost{
594
- background: #F56C6C;
595
- border: 2px solid #F56C6C;
596
- position: relative;
597
-
598
- &::after{
599
- background: #F56C6C;
600
- }
601
- }
602
-
603
- li.ghost{
604
- height: 5px;
605
- list-style: none;
606
- font-size: 0;
607
- overflow: hidden;
608
- }
609
-
610
- .widget-grid{
611
- background: #F4F6FC;
612
- position: relative;
613
- border-left: 5px solid transparent;
614
- padding: 5px;
615
- margin: 0 !important;
616
-
617
- &.active{
618
- border-left: 5px solid $primary-color;
619
- background: #b3d8ff;
620
- }
621
- }
622
-
623
- .widget-grid-container{
624
- &.ghost{
625
- background: #F56C6C;
626
- border: 2px solid #F56C6C;
627
- outline-width: 0;
628
- height: 3px;
629
- box-sizing: border-box;
630
- font-size: 0;
631
- content: '';
632
- overflow: hidden;
633
- padding: 0;
634
- }
635
- }
636
-
637
- .ghost{
638
- background: #F56C6C;
639
- border: 2px solid #F56C6C;
640
- position: relative;
641
-
642
- &::after{
643
- background: #F56C6C;
644
- }
645
- }
646
-
647
- li.ghost{
648
- height: 5px;
649
- list-style: none;
650
- font-size: 0;
651
- overflow: hidden;
652
- }
653
- }
654
-
655
- .widget-config-container{
656
- position: relative;
657
-
658
- .el-header{
659
- border-bottom: solid 2px #e4e7ed;
660
- padding: 0 2px;
661
- }
662
-
663
- .config-tab{
664
- height: 45px;
665
- line-height: 45px;
666
- display: inline-block;
667
- width: 145px;
668
- text-align: center;
669
- font-size: 14px;
670
- font-weight: 500;
671
- position: relative;
672
- cursor: pointer;
673
-
674
- &.active{
675
- border-bottom: solid 2px $primary-color;
676
- }
677
- }
678
-
679
- .config-content{
680
- padding: 10px;
681
-
682
- .el-form-item__label{
683
- padding: 0;
684
- font-weight: 500;
685
- }
686
-
687
- .el-form-item {
688
- border-bottom: solid 1px #e1e1e1;
689
- padding-bottom: 10px;
690
- }
691
-
692
- .config-pattern-input{
693
- .el-input-group__prepend,.el-input-group__append{
694
- padding: 0 8px;
695
- }
696
- }
697
- }
698
-
699
- .ghost{
700
- background: #fff;
701
- border: 1px dashed $primary-color;
702
-
703
- &::after{
704
- background: #fff;
705
- display: block;
706
- content: '';
707
- position: absolute;
708
- top: 0;
709
- left: 0;
710
- right: 0;
711
- bottom: 0;
712
- }
713
- }
714
-
715
- ul{
716
- margin: 0;
717
- padding: 0;
718
- }
719
-
720
- li.ghost{
721
- list-style: none;
722
- font-size: 0;
723
- display: block;
724
- position: relative;
725
- }
726
- }
727
-
728
- .viewer-container{
729
- z-index: 99999 !important;
730
- }
731
-
732
- .form-empty{
733
- position: absolute;
734
- text-align: center;
735
- width: 300px;
736
- font-size: 20px;
737
- top: 200px;
738
- left: 50%;
739
- margin-left: -150px;
740
- color: #ccc;
741
- }
742
-
743
- .widget-empty{
744
- background-position: 50%;
745
- }
746
- }
1
+ $primary-color: #409EFF;
2
+ $primary-background-color: #ecf5ff;
3
+
4
+ .fm-style{
5
+ height: 100%;
6
+
7
+ *, :after, :before {
8
+ -webkit-box-sizing: border-box;
9
+ -moz-box-sizing: border-box;
10
+ box-sizing: border-box;
11
+ }
12
+
13
+ .fa-icon{
14
+ width: auto;
15
+ height: 1em; /* 或任意其它字体大小相对值 */
16
+
17
+ /* 要在 Safari 中正常工作,需要再引入如下两行代码 */
18
+ max-width: 100%;
19
+ max-height: 100%;
20
+ vertical-align: middle;
21
+ }
22
+
23
+ .fm2-container{
24
+ background: #fff;
25
+ height: 100%;
26
+ border: 1px solid #e0e0e0;
27
+
28
+ .el-container{
29
+ height: 100% !important;
30
+ }
31
+
32
+ &>.el-container{
33
+ background: #fff;
34
+ }
35
+ .fm2-main{
36
+ position: relative;
37
+
38
+ &>.el-container{
39
+ position: absolute;
40
+ top: 0;
41
+ bottom: 0;
42
+ left: 0;
43
+ right: 0;
44
+ }
45
+ }
46
+ main{
47
+ padding: 0;
48
+ }
49
+
50
+ footer{
51
+ height: 30px;
52
+ line-height: 30px;
53
+ border-top: 1px solid #e0e0e0;
54
+ font-size: 12px;
55
+ text-align: right;
56
+ color: $primary-color;
57
+ background: #fafafa;
58
+
59
+ a{
60
+ color: $primary-color;
61
+ }
62
+ }
63
+ }
64
+
65
+ .center-container{
66
+ border-left: 1px solid #e0e0e0;
67
+ border-right: 1px solid #e0e0e0;
68
+
69
+ .btn-bar{
70
+ height: 45px;
71
+ line-height: 45px;
72
+ font-size: 18px;
73
+ border-bottom: solid 2px #e4e7ed;
74
+ text-align: right;
75
+ }
76
+
77
+ .el-main{
78
+ padding: 0;
79
+ position: relative;
80
+ background: #fafafa;
81
+ }
82
+ }
83
+
84
+ .components-list{
85
+ padding: 8px 0;
86
+ width: 100%;
87
+ height: 100%;
88
+
89
+ .widget-cate{
90
+ padding: 8px 12px;
91
+ font-size: 13px;
92
+ }
93
+
94
+ ul{
95
+ position: relative;
96
+ overflow: hidden;
97
+ padding: 0 10px 10px;
98
+ margin: 0;
99
+ }
100
+
101
+ .form-edit-widget-label{
102
+ font-size: 12px;
103
+ display: block;
104
+ width: 48%;
105
+ line-height: 26px;
106
+ position: relative;
107
+ float: left;
108
+ left: 0;
109
+ overflow: hidden;
110
+ text-overflow: ellipsis;
111
+ white-space: nowrap;
112
+ margin: 1%;
113
+ color: #333;
114
+ border: 1px solid #F4F6FC;
115
+
116
+ &:hover{
117
+ color: $primary-color;
118
+ border: 1px dashed $primary-color;
119
+ }
120
+
121
+ &>a{
122
+ display: block;
123
+ cursor: move;
124
+ background: #F4F6FC;
125
+ border: 1px solid #F4F6FC;
126
+
127
+ .icon{
128
+ margin-right: 6px;
129
+ margin-left: 8px;
130
+ font-size: 14px;
131
+ display: inline-block;
132
+ vertical-align: middle;
133
+ }
134
+
135
+ span{
136
+ display: inline-block;
137
+ vertical-align: middle;
138
+ }
139
+ }
140
+ }
141
+ }
142
+
143
+ .widget-form-container{
144
+ position: absolute;
145
+ top: 0;
146
+ left: 0;
147
+ right: 0;
148
+ bottom: 0;
149
+
150
+
151
+
152
+ .widget-form-list{
153
+ background: #fff;
154
+ // border: 1px dashed #999;
155
+ border: 1px dashed #999;
156
+ min-height: 600px;
157
+ margin: 10px;
158
+
159
+ .widget-col-list{
160
+ min-height: 50px;
161
+ border: 1px dashed #ccc;
162
+ background: #fff;
163
+ }
164
+ .widget-table-list {
165
+ display: -webkit-box;
166
+ min-height: 50px;
167
+ border: 1px dashed #ccc;
168
+ background: #fff;
169
+ white-space: nowrap;
170
+ overflow-x: scroll;
171
+ .widget-table-list-item {
172
+ display: inline-block;
173
+ width: 230px;
174
+ border: 1px dashed #ccc;
175
+ vertical-align: top;
176
+ }
177
+ }
178
+ .widget-table-list:hover::-webkit-scrollbar-thumb {
179
+ background-color: rgba(69, 90, 100, 0.2);
180
+ }
181
+
182
+ .widget-view{
183
+ padding-bottom: 18px;
184
+ position: relative;
185
+ border: 1px dashed rgba(170,170,170,0.7);
186
+ background-color: rgba(236, 245, 255, .3);
187
+ margin: 2px;
188
+
189
+ .el-form-item__content{
190
+ position: unset;
191
+ }
192
+
193
+ &.is_req{
194
+ .el-form-item__label::before{
195
+ content: '*';
196
+ color: #f56c6c;
197
+ margin-right: 4px;
198
+ }
199
+ }
200
+
201
+ .widget-view-description{
202
+ height: 15px;
203
+ line-height: 15px;
204
+ font-size:13px;
205
+ margin-top: 6px;
206
+ color:#909399;
207
+ }
208
+
209
+ .widget-view-action{
210
+ position: absolute;
211
+ right: 0;
212
+ bottom: 0;
213
+ height: 28px;
214
+ line-height: 28px;
215
+ background: $primary-color;
216
+ z-index: 9;
217
+
218
+ i{
219
+ font-size: 14px;
220
+ color: #fff;
221
+ margin: 0 5px;
222
+ cursor: pointer;
223
+
224
+ }
225
+ }
226
+
227
+ .widget-view-drag{
228
+ position: absolute;
229
+ left: -2px;
230
+ top: -2px;
231
+ bottom: -18px;
232
+ height: 28px;
233
+ line-height: 28px;
234
+ background: $primary-color;
235
+ z-index: 9;
236
+ // display: none;
237
+
238
+ i{
239
+ font-size: 14px;
240
+ color: #fff;
241
+ margin: 0 5px;
242
+ cursor: move;
243
+ }
244
+ }
245
+
246
+ // &:after{
247
+ // position: absolute;
248
+ // left: 0;
249
+ // right: 0;
250
+ // top: 0;
251
+ // bottom: 0;
252
+ // display: block;
253
+ // }
254
+
255
+ &:hover{
256
+ background: $primary-background-color;
257
+ outline: 1px solid $primary-color;
258
+ outline-offset: 0px;
259
+
260
+ &.active{
261
+ outline: 2px solid $primary-color;
262
+ border: 1px solid $primary-color;
263
+ outline-offset: 0;
264
+ }
265
+
266
+ .widget-view-drag{
267
+ display: block;
268
+ }
269
+ }
270
+
271
+ &.active{
272
+ outline: 2px solid $primary-color;
273
+ border: 1px solid $primary-color;
274
+ }
275
+
276
+ &.ghost{
277
+ background: #F56C6C;
278
+ border: 2px solid #F56C6C;
279
+ outline-width: 0;
280
+ height: 3px;
281
+ box-sizing: border-box;
282
+ font-size: 0;
283
+ content: '';
284
+ overflow: hidden;
285
+ padding: 0;
286
+ }
287
+ }
288
+
289
+ .widget-table{
290
+ padding-bottom: 0;
291
+ padding: 5px;
292
+ background-color: rgba(253,246,236, .3);
293
+
294
+ .widget-table-wrapper{
295
+ min-height: 50px;
296
+ background: #fff;
297
+ display: flex;
298
+ justify-content: flex-start;
299
+
300
+ .widget-table-row{
301
+ td{
302
+ border-bottom: 0;
303
+ }
304
+ }
305
+
306
+ .widget-table-left{
307
+ width: 51px;
308
+ border-left: 1px solid #EBEEF5;
309
+ border-right: 1px solid #EBEEF5;
310
+ border-top: 1px solid #EBEEF5;
311
+ flex: none;
312
+ }
313
+
314
+ .widget-table-view{
315
+ border: 1px solid #EBEEF5;
316
+ width: 200px;
317
+ float: left;
318
+ height: 100%;
319
+ position: relative;
320
+ display: block;
321
+
322
+ .el-table{
323
+ height: 100%;
324
+ }
325
+
326
+ &.is_req{
327
+ .el-form-item__label::before{
328
+ content: '*';
329
+ color: #f56c6c;
330
+ margin-right: 4px;
331
+ }
332
+ }
333
+
334
+ .widget-view-description{
335
+ height: 15px;
336
+ line-height: 15px;
337
+ font-size:13px;
338
+ margin-top: 6px;
339
+ color:#909399;
340
+ }
341
+
342
+ .widget-view-action{
343
+ position: absolute;
344
+ right: 0;
345
+ bottom: 0;
346
+ height: 28px;
347
+ line-height: 28px;
348
+ background: $primary-color;
349
+ z-index: 9;
350
+
351
+ i{
352
+ font-size: 14px;
353
+ color: #fff;
354
+ margin: 0 5px;
355
+ cursor: pointer;
356
+
357
+ }
358
+ }
359
+
360
+ .widget-view-drag{
361
+ position: absolute;
362
+ left: -2px;
363
+ top: -2px;
364
+ bottom: -18px;
365
+ height: 28px;
366
+ line-height: 28px;
367
+ background: $primary-color;
368
+ z-index: 9;
369
+ // display: none;
370
+
371
+ i{
372
+ font-size: 14px;
373
+ color: #fff;
374
+ margin: 0 5px;
375
+ cursor: move;
376
+ }
377
+ }
378
+
379
+ &::after{
380
+ position: absolute;
381
+ left: 0;
382
+ right: 0;
383
+ top: 0;
384
+ bottom: 0;
385
+ display: block;
386
+ content: '';
387
+ }
388
+
389
+ &::before{
390
+ display: none;
391
+ }
392
+
393
+ &:hover{
394
+ background: $primary-background-color;
395
+ outline: 1px solid $primary-color;
396
+ outline-offset: -1px;
397
+
398
+ &.active{
399
+ // outline: 1px solid $primary-color;
400
+ border: 1px solid $primary-color;
401
+ outline: 1px solid $primary-color;
402
+ outline-offset: -1px;
403
+ }
404
+
405
+ .widget-view-drag{
406
+ display: block;
407
+ }
408
+ }
409
+
410
+ &.active{
411
+ outline: 1px solid $primary-color;
412
+ border: 1px solid $primary-color;
413
+ outline-offset: -1px;
414
+ }
415
+
416
+ &.ghost{
417
+ background: #F56C6C;
418
+ outline-width: 0;
419
+ width: 5px !important;
420
+ box-sizing: border-box;
421
+ font-size: 0;
422
+ content: '';
423
+ overflow: hidden;
424
+ padding: 0;
425
+ position: relative;
426
+ outline: none !important;
427
+ border: 0 !important;
428
+
429
+ &::after{
430
+ background: #F56C6C;
431
+ position: absolute;
432
+ top: 0;
433
+ left: 0;
434
+ bottom: 0;
435
+ right: 0;
436
+ z-index: 9999;
437
+ content: '';
438
+ outline: none;
439
+ }
440
+ }
441
+ }
442
+
443
+ .widget-table-content{
444
+ width:100%;
445
+ // border: 1px dashed #ccc;
446
+ outline: 1px dashed #ccc;
447
+ background: #fff;
448
+ flex:1;
449
+ margin: 0 1px;
450
+ overflow: auto;
451
+
452
+ &>div{
453
+ height: 100%;
454
+ }
455
+
456
+ .widget-table-col{
457
+ height: 100%;
458
+
459
+ .ghost{
460
+ background: #F56C6C;
461
+ // border: 2px solid #F56C6C;
462
+ position: relative;
463
+ content: '';
464
+ float: left;
465
+ height: 100%;
466
+ width: 5px !important;
467
+ list-style: none;
468
+ font-size: 0;
469
+ overflow: hidden;
470
+ outline: none;
471
+
472
+ &::after{
473
+ background: #F56C6C;
474
+ position: absolute;
475
+ top: 0;
476
+ left: 0;
477
+ bottom: 0;
478
+ right: 0;
479
+ z-index: 9999;
480
+ content: '';
481
+ outline: none;
482
+ }
483
+ }
484
+ }
485
+ }
486
+ }
487
+
488
+ &.active{
489
+ outline: 2px solid #e6a23c;
490
+ border: 1px solid #e6a23c;
491
+ }
492
+
493
+ &:hover{
494
+ background: #fdf6ec;
495
+ outline: 1px solid #e6a23c;
496
+ outline-offset: 0px;
497
+
498
+ &.active{
499
+ outline: 2px solid #e6a23c;
500
+ border: 1px solid #e6a23c;
501
+ outline-offset: 0;
502
+ }
503
+ }
504
+
505
+ .widget-view-action.widget-col-action{
506
+ background: #e6a23c;
507
+ }
508
+
509
+ .widget-view-drag.widget-col-drag{
510
+ background: #e6a23c;
511
+ }
512
+
513
+ &::after{
514
+ display: none;
515
+ }
516
+
517
+ &.ghost{
518
+ background: #F56C6C;
519
+ outline-width: 0;
520
+ height: 5px;
521
+ box-sizing: border-box;
522
+ font-size: 0;
523
+ content: '';
524
+ overflow: hidden;
525
+ padding: 0;
526
+ position: relative;
527
+ outline: none;
528
+ border: 0;
529
+
530
+ &::after{
531
+ background: #F56C6C;
532
+ position: absolute;
533
+ top:0;
534
+ left: 0;
535
+ right: 0;
536
+ bottom: 0;
537
+ content: '';
538
+ display: block;
539
+ z-index: 999;
540
+ }
541
+ }
542
+ }
543
+
544
+ .widget-col{
545
+ padding-bottom: 0;
546
+ padding: 5px;
547
+ // margin-left: 2px !important;
548
+ // margin-right: 2px !important;
549
+ background-color: rgba(253,246,236, .3);
550
+
551
+ &.active{
552
+ outline: 2px solid #e6a23c;
553
+ border: 1px solid #e6a23c;
554
+ }
555
+
556
+ &:hover{
557
+ background: #fdf6ec;
558
+ outline: 1px solid #e6a23c;
559
+ outline-offset: 0px;
560
+
561
+ &.active{
562
+ outline: 2px solid #e6a23c;
563
+ border: 1px solid #e6a23c;
564
+ outline-offset: 0;
565
+ }
566
+ }
567
+
568
+ .el-col{
569
+ min-height: 50px;
570
+ }
571
+
572
+ &.ghost{
573
+ background: #F56C6C;
574
+ border: 2px solid #F56C6C;
575
+ outline-width: 0;
576
+ height: 3px;
577
+ box-sizing: border-box;
578
+ font-size: 0;
579
+ content: '';
580
+ overflow: hidden;
581
+ padding: 0;
582
+ }
583
+
584
+ .widget-view-action.widget-col-action{
585
+ background: #e6a23c;
586
+ }
587
+
588
+ .widget-view-drag.widget-col-drag{
589
+ background: #e6a23c;
590
+ }
591
+
592
+ &::after{
593
+ display: none;
594
+ }
595
+ }
596
+
597
+ .ghost{
598
+ background: #F56C6C;
599
+ border: 2px solid #F56C6C;
600
+ outline-width: 0;
601
+ height: 3px;
602
+ box-sizing: border-box;
603
+ font-size: 0;
604
+ content: '';
605
+ overflow: hidden;
606
+ padding: 0;
607
+ }
608
+ }
609
+
610
+ .ghost{
611
+ background: #F56C6C;
612
+ border: 2px solid #F56C6C;
613
+ position: relative;
614
+
615
+ &::after{
616
+ background: #F56C6C;
617
+ }
618
+ }
619
+
620
+ li.ghost{
621
+ height: 5px;
622
+ list-style: none;
623
+ font-size: 0;
624
+ overflow: hidden;
625
+ }
626
+
627
+ .widget-grid{
628
+ background: #F4F6FC;
629
+ position: relative;
630
+ border-left: 5px solid transparent;
631
+ padding: 5px;
632
+ margin: 0 !important;
633
+
634
+ &.active{
635
+ border-left: 5px solid $primary-color;
636
+ background: #b3d8ff;
637
+ }
638
+ }
639
+
640
+ .widget-grid-container{
641
+ &.ghost{
642
+ background: #F56C6C;
643
+ border: 2px solid #F56C6C;
644
+ outline-width: 0;
645
+ height: 3px;
646
+ box-sizing: border-box;
647
+ font-size: 0;
648
+ content: '';
649
+ overflow: hidden;
650
+ padding: 0;
651
+ }
652
+ }
653
+
654
+ .ghost{
655
+ background: #F56C6C;
656
+ border: 2px solid #F56C6C;
657
+ position: relative;
658
+
659
+ &::after{
660
+ background: #F56C6C;
661
+ }
662
+ }
663
+
664
+ li.ghost{
665
+ height: 5px;
666
+ list-style: none;
667
+ font-size: 0;
668
+ overflow: hidden;
669
+ }
670
+ }
671
+
672
+ .widget-config-container{
673
+ position: relative;
674
+
675
+ .el-header{
676
+ border-bottom: solid 2px #e4e7ed;
677
+ padding: 0 2px;
678
+ }
679
+
680
+ .config-tab{
681
+ height: 45px;
682
+ line-height: 45px;
683
+ display: inline-block;
684
+ width: 145px;
685
+ text-align: center;
686
+ font-size: 14px;
687
+ font-weight: 500;
688
+ position: relative;
689
+ cursor: pointer;
690
+
691
+ &.active{
692
+ border-bottom: solid 2px $primary-color;
693
+ }
694
+ }
695
+
696
+ .config-content{
697
+ padding: 10px;
698
+
699
+ .el-form-item__label{
700
+ padding: 0;
701
+ font-weight: 500;
702
+ }
703
+
704
+ .el-form-item {
705
+ border-bottom: solid 1px #e1e1e1;
706
+ padding-bottom: 10px;
707
+ }
708
+
709
+ .config-pattern-input{
710
+ .el-input-group__prepend,.el-input-group__append{
711
+ padding: 0 8px;
712
+ }
713
+ }
714
+ }
715
+
716
+ .ghost{
717
+ background: #fff;
718
+ border: 1px dashed $primary-color;
719
+
720
+ &::after{
721
+ background: #fff;
722
+ display: block;
723
+ content: '';
724
+ position: absolute;
725
+ top: 0;
726
+ left: 0;
727
+ right: 0;
728
+ bottom: 0;
729
+ }
730
+ }
731
+
732
+ ul{
733
+ margin: 0;
734
+ padding: 0;
735
+ }
736
+
737
+ li.ghost{
738
+ list-style: none;
739
+ font-size: 0;
740
+ display: block;
741
+ position: relative;
742
+ }
743
+ }
744
+
745
+ .viewer-container{
746
+ z-index: 99999 !important;
747
+ }
748
+
749
+ .form-empty{
750
+ position: absolute;
751
+ text-align: center;
752
+ width: 300px;
753
+ font-size: 20px;
754
+ top: 200px;
755
+ left: 50%;
756
+ margin-left: -150px;
757
+ color: #ccc;
758
+ }
759
+
760
+ .widget-empty{
761
+ background-position: 50%;
762
+ }
763
+
764
+ .widget-divider {
765
+ display: flex;
766
+ align-items: center;
767
+ }
768
+ }