tianheng-ui 0.0.44 → 0.0.47

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,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
-
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
+
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
+ }