element-assits 0.0.92 → 0.0.94

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/README.md +406 -406
  2. package/lib/index.js +8191 -8159
  3. package/lib/style.scss +920 -920
  4. package/package.json +36 -36
package/lib/style.scss CHANGED
@@ -1,920 +1,920 @@
1
- $--color-primary: #409EFF !default;
2
- $--color-success: #67C23A !default;
3
- $--color-warning: #E6A23C !default;
4
- $--color-danger: #F56C6C !default;
5
- $--color-info: #909399 !default;
6
- $--color-primary-text: #303133 !default;
7
- $--color-regular-text: #606266 !default;
8
- $--color-secondary-text: #909399 !default;
9
- $--color-placeholder-text: #C0C4CC !default;
10
- $--color-border-base: #DCDFE6 !default;
11
- $--color-border-light: #E4E7ED !default;
12
- $--color-border-lighter: #EBEEF5 !default;
13
- $--color-border-extralight: #F2F6FC !default;
14
- $--background-color-base: #F5F7FA !default;
15
- .ea-data-table {
16
- .edt-row {
17
- display: flex;
18
- .edt-cell {
19
- padding: 0 8px;
20
- flex: 0 0 auto;
21
- box-sizing: border-box;
22
- overflow: hidden;
23
- text-overflow: ellipsis;
24
- white-space: nowrap;
25
- word-break: break-all;
26
- }
27
- &.edt-header {
28
- background-color: $--color-border-extralight;
29
- color: $--color-primary-text;
30
- }
31
- }
32
- &--border {
33
- border: 1px solid $--color-border-light;
34
- .edt-row {
35
- .edt-cell {
36
- border-bottom: 1px solid $--color-border-light;
37
- border-left: 1px solid $--color-border-light;
38
- &:first-child {
39
- border-left: 0;
40
- }
41
- }
42
- &:last-child .edt-cell{
43
- border-bottom: 0;
44
- }
45
- }
46
- }
47
- .loading-text {
48
- color: $--color-secondary-text;
49
- text-align: center;
50
- font-size: inherit;
51
- }
52
- }
53
-
54
- // table
55
- .ea-table {
56
- // 表格头部样式美化
57
- .el-table {
58
- transition: opacity 0.28s;
59
- th {
60
- background-color: $--background-color-base;
61
- color: $--color-primary-text;
62
- .cell {
63
- min-height: 30px;
64
- display: flex;
65
- justify-content: flex-start;
66
- align-items: center;
67
- }
68
- &.is-center .cell { justify-content: center }
69
- &.is-right .cell { justify-content: flex-end }
70
- }
71
- td, th {
72
- .cell {
73
- line-height: 1.2;
74
- }
75
- }
76
- &.el-table--small {
77
- td, th {
78
- height: 50px;
79
- }
80
- }
81
- &.is-dense {
82
- td, th {
83
- height: 32px;
84
- padding: 2px 0;
85
- .el-button {
86
- padding-top: 0;
87
- padding-bottom: 0;
88
- }
89
- }
90
- }
91
- &.is-unready {
92
- opacity: 0;
93
- .operation-column > div {
94
- height: 32px;
95
- overflow: hidden;
96
- }
97
- &.is-dense {
98
- .operation-column > div {
99
- height: 24px;
100
- }
101
- }
102
- }
103
- }
104
- // 列的更多菜单项
105
- .theader-th-cell {
106
- .cell-icon-menu {
107
- position: absolute;
108
- top: 50%;
109
- right: 4px;
110
- transform: rotate(90deg) translateX(-50%);
111
- color: $--color-placeholder-text;
112
- cursor: pointer;
113
- padding: 4px;
114
- border-radius: 2px;
115
- &:hover {
116
- color: $--color-primary-text;
117
- background-color: $--color-border-light;
118
- }
119
- }
120
- }
121
- // 表格底部
122
- .ea-table__footer {
123
- display: flex;
124
- justify-content: space-between;
125
- transition: opacity 0.28s;
126
- .ea-table__footer-right {
127
- margin-left: auto;
128
- padding-right: 0;
129
- }
130
- > * {
131
- margin-top: 12px;
132
- }
133
- &.is-unready {
134
- opacity: 0;
135
- }
136
- }
137
-
138
- .column-transition-active {
139
- opacity: 0.33;
140
- }
141
-
142
- .el-button > i {
143
- min-width: 12px;
144
- }
145
-
146
- .more-btn > i{
147
- transform: rotate(-90deg);
148
- }
149
- }
150
-
151
- // table - popover
152
- .el-popover.ea-popover-no-padding {
153
- padding: 8px 0;
154
- min-width: 100px;
155
- &.dense {
156
- margin-top: 0px;
157
- margin-bottom: 0px;
158
- min-width: 70px;
159
- }
160
- }
161
-
162
- .more-btn-panel {
163
- &__item {
164
- &:hover {
165
- background-color: $--color-border-lighter;
166
- }
167
- .el-button {
168
- padding: 8px 12px;
169
- width: 100%;
170
- text-align: left;
171
- }
172
- }
173
- }
174
-
175
- .ea-zoom-in-top-enter-active,
176
- .ea-zoom-in-top-leave-active {
177
- opacity: 1;
178
- transform: scaleY(1);
179
- transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1), opacity 300ms cubic-bezier(0.23, 1, 0.32, 1);
180
- transform-origin: center top;
181
- }
182
- .ea-zoom-in-top-enter,
183
- .ea-zoom-in-top-leave-active {
184
- opacity: 0;
185
- transform: scaleY(0);
186
- }
187
-
188
- .el-dialog.ea-modal {
189
- &.no-margin {
190
- margin: 0 !important;
191
- }
192
- &.is-fullscreen {
193
- border-radius: 0;
194
- margin: 0;
195
- }
196
- .el-dialog__header {
197
- color: #555;
198
- font-size: 18px;
199
- .el-dialog__title {
200
- color: inherit;
201
- font-size: inherit;
202
- }
203
- }
204
- }
205
-
206
- .ea-button-tooltip + .ea-button-tooltip {
207
- margin-left: 10px;
208
- }
209
- td {
210
- .ea-button-tooltip + .ea-button-tooltip {
211
- margin-left: 4px;
212
- &.text {
213
- margin-left: 10px;
214
- }
215
- }
216
- .el-button [class*="el-icon-"] + span {
217
- margin-left: 2px;
218
- }
219
- }
220
-
221
- .el-button.ea-button.mini-rect-btn {
222
- padding: 7px;
223
- border: 0;
224
- & [class^="design-"] {
225
- margin-right: 0;
226
- }
227
- &:not(.is-disabled) {
228
- &.primary {
229
- background-color: rgba($--color-primary, .15);
230
- color: $--color-primary;
231
- &:hover,&:focus {
232
- background-color: $--color-primary;
233
- i { color: #fff }
234
- }
235
- }
236
- &.success {
237
- background-color: rgba($--color-success, .15);
238
- color: $--color-success;
239
- &:hover,&:focus {
240
- background-color: $--color-success;
241
- i { color: #fff }
242
- }
243
- }
244
- &.info {
245
- background-color: rgba($--color-info, .15);
246
- color: $--color-info;
247
- &:hover,&:focus {
248
- background-color: $--color-info;
249
- i { color: #fff }
250
- }
251
- }
252
- &.warning {
253
- background-color: rgba($--color-warning, .15);
254
- color: $--color-warning;
255
- &:hover,&:focus {
256
- background-color: $--color-warning;
257
- i { color: #fff }
258
- }
259
- }
260
- &.danger {
261
- background-color: rgba($--color-danger, .15);
262
- color: $--color-danger;
263
- &:hover,&:focus {
264
- background-color: $--color-danger;
265
- i { color: #fff }
266
- }
267
- }
268
- }
269
- }
270
-
271
- .el-drawer.ea-drawer {
272
- .el-drawer__header {
273
- flex-shrink: 0;
274
- color: #555;
275
- font-size: 18px;
276
- border-bottom: 1px solid #DDD;
277
- margin-bottom: 0;
278
- padding: 0 20px;
279
- display: flex;
280
- align-items: center;
281
- .el-drawer__title {
282
- color: inherit;
283
- font-size: inherit;
284
- }
285
- }
286
- .ea-drawer__content {
287
- box-sizing: border-box;
288
- height: 100%;
289
- overflow: auto;
290
- }
291
- .ea-drawer__footer {
292
- border-top: 1px solid #DDD;
293
- background-color: #FFF;
294
- position: absolute;
295
- left: 0;
296
- right: 0;
297
- bottom: 0;
298
- display: flex;
299
- justify-content: center;
300
- align-items: center;
301
- }
302
- }
303
-
304
- .ea-desc {
305
- font-size: 14px;
306
- &__title {
307
- font-size: 16px;
308
- margin-bottom: 12px;
309
- }
310
- &__list {
311
- display: flex;
312
- flex-wrap: wrap;
313
- }
314
- }
315
- .ea-desc .item {
316
- line-height: 24px;
317
- margin-bottom: 10px;
318
- flex: 0 0 auto;
319
- .item-label {
320
- float: left;
321
- text-align: right;
322
- padding-right: 8px;
323
- color: #909399;
324
- }
325
- .item-value {
326
- word-break: break-all;
327
- overflow: hidden;
328
- .value-no-wrap {
329
- height: 48px;
330
- overflow: hidden;
331
- position: relative;
332
- .click-see-more {
333
- position: absolute;
334
- right: 0;
335
- bottom: 0;
336
- height: 24px;
337
- padding-left: 30px;
338
- padding-right: 4px;
339
- background-image: linear-gradient(to right, transparent 0%, #fff 20%, #fff 100%);
340
- cursor: pointer;
341
- color: $--color-primary;
342
- user-select: none;
343
- }
344
- }
345
- }
346
- }
347
-
348
- .ea-list {
349
- .loading-text {
350
- color: $--color-secondary-text;
351
- text-align: center;
352
- font-size: inherit;
353
- }
354
- }
355
-
356
- .ea-select {
357
- display: inline-block;
358
- position: relative;
359
- .el-select {
360
- width: 100%;
361
- }
362
- .async-loading.el-icon-loading {
363
- position: absolute;
364
- top: 10px;
365
- right: 28px;
366
- color: #999;
367
- }
368
- .is-collapse-tags .el-select__tags > span > .el-tag:first-child {
369
- min-width: 36px;
370
- max-width: calc(100% - 80px);
371
- }
372
- }
373
- .ea-select-popover {
374
- .el-select-dropdown__item {
375
- display: flex;
376
- justify-content: space-between;
377
- .select-item-value {
378
- overflow: hidden;
379
- text-overflow: ellipsis;
380
- }
381
- .select-item-desc {
382
- overflow: hidden;
383
- text-overflow: ellipsis;
384
- color: #8492a6;
385
- margin-left: 8px;
386
- }
387
- }
388
- .tools {
389
- padding: 0 20px;
390
- margin-bottom: -5px;
391
- }
392
- }
393
-
394
- .ea-tree {
395
- .ea-tree__main {
396
- margin-top: 18px;
397
- .ea-tree__header {
398
- height: 50px;
399
- padding-left: 24px;
400
- padding-right: 14px;
401
- font-size: 12px;
402
- display: flex;
403
- align-items: center;
404
- justify-content: space-between;
405
- background-color: $--background-color-base;
406
- .ea-tree__header__text {
407
- font-weight: bold;
408
- }
409
- }
410
- }
411
- .ea-tree-real {
412
- .el-tree-node.is-current > .el-tree-node__content {
413
- color: $--color-primary;
414
- }
415
- }
416
- &.ea-tree--border {
417
- .ea-tree__main {
418
- border: 1px solid $--color-border-lighter;
419
- }
420
- .ea-tree__header {
421
- border-bottom: 1px solid $--color-border-lighter;
422
- }
423
- .ea-tree-real {
424
- margin: 10px 0;
425
- }
426
- }
427
- }
428
-
429
- .ea-number .el-input__inner {
430
- text-align: left;
431
- }
432
-
433
- .file-upload-dialog {
434
- // 拖拽区域铺满
435
- .el-upload,
436
- .el-upload .el-upload-dragger {
437
- width: 100%;
438
- }
439
- // 文件列表项边框
440
- .el-upload-list {
441
- .el-upload-list__item {
442
- border: 1px dashed #aaa;
443
- .el-icon-close {
444
- display: inline-block;
445
- }
446
- }
447
- }
448
- // 清除文件列表变动过渡动画
449
- .el-list-enter,
450
- .el-list-enter-active,
451
- .el-list-enter-to,
452
- .el-list-leave,
453
- .el-list-leave-active,
454
- .el-list-leave-to {
455
- -webkit-transition: none !important;
456
- transition: none !important;
457
- }
458
- }
459
-
460
- .ea-split-container {
461
- display: flex;
462
- &.is-down {
463
- user-select: none;
464
- }
465
- .sc-left {
466
- flex-grow: 1;
467
- flex-shrink: 1;
468
- }
469
- .sc-right {
470
- flex-grow: 1;
471
- flex-shrink: 1;
472
- }
473
- .sc-center {
474
- flex-grow: 0;
475
- flex-shrink: 0;
476
- position: relative;
477
- }
478
- .sc-bamboo {
479
- width: 8px;
480
- height: 100%;
481
- border: 1px solid #DCDEE2;
482
- border-top: none;
483
- border-bottom: none;
484
- background-color: #F8F8F9;
485
- cursor: col-resize;
486
- user-select: none;
487
- display: flex;
488
- flex-direction: column;
489
- justify-content: center;
490
- align-items: center;
491
- margin: 0 16px;
492
- .sc-texture {
493
- width: 4px;
494
- height: 1px;
495
- background: rgba(23, 35, 61, .25);
496
- margin-top: 3px;
497
- }
498
- }
499
- .sc-on-bamboo {
500
- position: absolute;
501
- top: 50%;
502
- left: 50%;
503
- transform: translate(-50%, -50%);
504
- background-color: #FFF;
505
- display: flex;
506
- justify-content: center;
507
- align-items: center;
508
- }
509
- }
510
-
511
- .vjs-table {
512
- position: relative;
513
- overflow: hidden;
514
- }
515
- .vjs-header {
516
- position: absolute;
517
- top: 0;
518
- border: 1px solid $--color-border-light;
519
- border-bottom: 0;
520
- }
521
- .vjs-body {
522
- border: 1px solid $--color-border-light;
523
- }
524
-
525
- .vjs-row {
526
- height: 32px;
527
- line-height: 32px;
528
- display: flex;
529
- justify-content: flex-start;
530
- position: relative;
531
- &.odd { background-color: #F8F8F8; }
532
- &:not(.vjs-header):hover { background-color: #EBEEF5; }
533
- .vjs-cell {
534
- flex: 0 0 auto;
535
- height: 100%;
536
- font-size: 14px;
537
- box-sizing: border-box;
538
- padding: 0 8px;
539
- position: relative;
540
- overflow: hidden;
541
- text-overflow: ellipsis;
542
- white-space: nowrap;
543
- word-break: break-all;
544
- & > .el-tag {
545
- vertical-align: 1px;
546
- }
547
- &.vjs-cell-flex {
548
- flex-grow: 1;
549
- }
550
- &.error {
551
- border: 1px solid red;
552
- }
553
- & > .vjs-checkbox {
554
- position: absolute;
555
- top: 0;
556
- }
557
- }
558
- .vjs-icon {
559
- cursor: pointer;
560
- position: absolute;
561
- height: 100%;
562
- color: #CCC;
563
- display: flex;
564
- align-items: center;
565
- z-index: 1;
566
- &:hover {
567
- color: #333;
568
- }
569
- }
570
- .vjs-temp {
571
- color: #909399;
572
- }
573
- }
574
-
575
- .vjs-checkbox .el-checkbox__input.is-indeterminate .el-checkbox__inner {
576
- background-color: $--color-secondary-text;
577
- border-color: $--color-secondary-text;
578
- }
579
-
580
- .cell-text {
581
- height: 100%;
582
- overflow: hidden;
583
- text-overflow: ellipsis;
584
- white-space: nowrap;
585
- word-break: break-all;
586
- .cell-placeholder {
587
- color: #C0C4CC;
588
- }
589
- }
590
-
591
- .cell-input {
592
- display: block;
593
- height: 30px;
594
- line-height: 30px;
595
- font-size: inherit;
596
- color: inherit;
597
- font-family: inherit;
598
- margin-left: -4.7px;
599
- .el-input__inner {
600
- border-radius: 0;
601
- font-size: inherit;
602
- color: inherit;
603
- font-family: inherit;
604
- padding-left: 4px;
605
- }
606
- }
607
-
608
- .cell-select {
609
- cursor: pointer;
610
- &:not(.is-disabled):hover {
611
- border-width: 0;
612
- border-bottom-width: 1.5px;
613
- border-style: solid;
614
- }
615
- &.is-disabled {
616
- cursor: default;
617
- }
618
- }
619
-
620
- .cell-required {
621
- width: 100%;
622
- height: 100%;
623
- display: flex;
624
- align-items: center;
625
- .box {
626
- width: 20px;
627
- height: 20px;
628
- box-sizing: border-box;
629
- border-radius: 4px;
630
- cursor: pointer;
631
- user-select: none;
632
- display: flex;
633
- justify-content: center;
634
- align-items: center;
635
- padding-top: 4px;
636
- color: #DDD;
637
- background-color: rgba(0, 0, 0, 0.02);
638
- &:not(.is-disabled):hover {
639
- color: #999;
640
- background-color: rgba(0, 0, 0, 0.05);
641
- }
642
- &.is-disabled {
643
- cursor: default;
644
- color: transparent;
645
- background-color: transparent;
646
- }
647
- &.is-required, &.is-required:hover {
648
- color: red;
649
- background-color: rgba(0, 0, 0, 0.08);
650
- }
651
- }
652
- }
653
-
654
- .cell-action {
655
- width: 80px;
656
- i {
657
- cursor: pointer;
658
- font-size: 16px;
659
- padding: 4px;
660
- border-radius: 4px;
661
- &:hover {
662
- background-color: rgba(0,0,0,0.1);
663
- }
664
- }
665
- }
666
- .action-popover {
667
- margin: 0 !important;
668
- }
669
-
670
- .ea-blue {
671
- color: #409EFF;
672
- }
673
- .ea-purple {
674
- color: #EE46BC !important;
675
- }
676
- .ea-success {
677
- color: $--color-success;
678
- }
679
- .ea-danger {
680
- color: $--color-danger;
681
- }
682
- .ea-info {
683
- color: $--color-info;
684
- }
685
- .ea-placeholder {
686
- color: $--color-placeholder-text !important;
687
- }
688
-
689
- .ea-popover-no-margin {
690
- margin: 0 !important;
691
- }
692
-
693
- @font-face {
694
- font-family: 'eafont';
695
- src: url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAQYAAsAAAAACMAAAAPLAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGYACDHAqFDIRVATYCJAMQCwoABCAFhE8HQBu9BxEVnLHIfibwpknuXkitybkhDKpb3+RDeb1vMhOsa34zn2ST3rpbnaQ7jZOwi3OelIhQI3mLHn0haTkDFEZf6SdAAFkA/M/ltDHxABvfAoC7xti0t5dlvehe2rbAxhiUbfFAIsy8BXYOdTBB14AA0MJNMC4yOjETxsayzmZMwiDhCeDmksa6mjJIdwNYCkIgqYW8KxnIUvAAt4C7BGCJ+XnyER5JAAeeQtontTqqEsfe4I0bVawK6CPoOBDgaA4AD4ACcOqZidSmO8pB7bATCm1ckMEHOCiBA2ptM75xs1pZNCqFJDsBrvSfRwRICj1SvSIUeAOVBxzwxiiIU7qhaAUUTF8hARgJuAwQV0iaKfUsFCCNNxhGG7SjtYaxY4lGRgbuZDNvZTJvZzHv5riIWmmOGkzUuxFVl27lVB+9q7OkJEK51XPw7m2JcOs9dwL05isn1JNXdWXmfZuUzfstB7eqWw5k6s2HlMM6wyq1Ur1793aQwXL5uHLsklZ/6NadO2U+61H1yA23UsnOr6+wtChXH3JzL0iKIqt5uRoraFeuoKtaqxwuXs18qMz+If6j7B2qsiLTw2vHNIy5EZqYFJ8wvXp6reO9qIzItHL7SvuHY/ODcgM9ijxLm3N3HC3PcEt1dU11yygPdexWfv+Wuh0fmn/+fNVmI0fPkm3aUP9WzjNlTw6OGJcrozrKqO8IucXmW0liyTebp7aTH2z22fzAhy47ZeszcZbHrIk+a4L33vHyySlyqtG1ZtO2tHrQABahETOU7ZxfsjesIuV4ZLq7Z3rkXFJQo3Ome47HpVDPqpj+GrkyMLBSrvlKKHWuDKyRv1Ja3NHQyZE+ckXTJKc/WgEA1hN0Fw03WR/pMjpOe4ySKuya+Q6+fCl7UmKSv0k6BgB4ydgfclmPMZQTHnNhbsEVoizMWZJ9PQBjcRJVdNU5MiHdgxwArWwGLok4MMqTOlSjORsgEDDaBQ4iJgKFgBlERrUBHjo4yQRZ5YughaOg9TqMVgsKwjQAbAwAeAi9jcAx2gyU3kEio54F3jg/EOi9B63s/246NiVcehQjapAbOMWZFPuIQs98opmi6D1CHPXFfnCcoS6qQOyBGfuiC4bZNONIQD0nuBc4K0aGtmePaizsOLbnsqS4mxSK0+7SoxhRA7kBpziTzo/XCHfcE80URbmiOYjfcD847g5qhSqV+FBkKtjy/GE2jXEkQJ98TuDeiizKYQZt/DCPaizYEsH2rKRSlFdRjEmVNmkNgJZ0EIsjlDDCQ9oNQkbUp1VJPSXucbcDAA==') format('woff2');
696
- }
697
- .eafont {
698
- font-family: eafont;
699
- font-style: normal;
700
- font-size: 16px;
701
- color: #909399;
702
- -webkit-font-smoothing: antialiased;
703
- -moz-osx-font-smoothing: grayscale;
704
- }
705
- .ea-icon-disabled:before { content: "\e630" }
706
- .ea-icon-conf:before { content: "\e600" }
707
- .ea-icon-more:before { content: "\e60e" }
708
- .eafont.ea-icon-conf.has { color: #000 }
709
-
710
- .ea-data-tree-body {
711
- &.ea-data-tree-body__border {
712
- border: 1px solid $--color-border-light;
713
- }
714
- }
715
-
716
- .ea-data-tree-row {
717
- display: flex;
718
- justify-content: flex-start;
719
- position: relative;
720
- padding-left: 20px;
721
- box-sizing: border-box;
722
- &.odd { background-color: #F8F8F8; }
723
- &:hover { background-color: #EBEEF5; }
724
- .ea-data-tree-cell {
725
- flex: 0 0 auto;
726
- height: 100%;
727
- font-size: 14px;
728
- box-sizing: border-box;
729
- padding: 0 8px;
730
- position: relative;
731
- overflow: hidden;
732
- text-overflow: ellipsis;
733
- white-space: nowrap;
734
- word-break: break-all;
735
- & > .ea-data-tree-checkbox {
736
- position: absolute;
737
- top: 0;
738
- }
739
- }
740
- .ea-data-tree-icon {
741
- cursor: pointer;
742
- position: absolute;
743
- height: 100%;
744
- color: #CCC;
745
- display: flex;
746
- align-items: center;
747
- z-index: 1;
748
- &:hover {
749
- color: #333;
750
- }
751
- }
752
- }
753
-
754
- .ea-data-tree-checkbox .el-checkbox__input.is-indeterminate .el-checkbox__inner {
755
- background-color: $--color-secondary-text;
756
- border-color: $--color-secondary-text;
757
- }
758
-
759
- .ea-data-tree-empty {
760
- display: flex;
761
- justify-content: center;
762
- align-items: center;
763
- color: $--color-secondary-text;
764
- }
765
-
766
- .ea-form .form-group-title {
767
- position: relative;
768
- height: 32px;
769
- margin-bottom: 22px;
770
- > span {
771
- position: absolute;
772
- top: 0;
773
- left: 20%;
774
- padding: 5px 25px;
775
- background-color: #fff;
776
- z-index: 1;
777
- color: $--color-secondary-text;
778
- }
779
- &::after {
780
- content: '';
781
- position: absolute;
782
- top: 50%;
783
- left: 0;
784
- width: 100%;
785
- height: 0;
786
- border-bottom: 1px dashed $--color-border-base;
787
- }
788
- }
789
-
790
- .ea-table-modal {
791
- .el-dialog {
792
- background: #fdfdfd;
793
- box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.15);
794
- .el-dialog__header {
795
- padding: 12px 20px;
796
- background-color: $--color-border-extralight;
797
- border-bottom: 1px solid $--color-border-lighter;
798
- }
799
- .el-dialog__headerbtn {
800
- top: 12px;
801
- }
802
- .el-dialog__close {
803
- font-weight: bold;
804
- color: $--color-secondary-text;
805
- }
806
- .el-dialog__body {
807
- padding: 10px 0;
808
- height: calc(100% - 70px);
809
- min-height: 40px;
810
- max-height: 800px;
811
- overflow: auto;
812
- .scm-title {
813
- font-size: 12px;
814
- font-weight: bold;
815
- color: $--color-primary-text;
816
- &.medium {
817
- font-size: 14px;
818
- }
819
- }
820
- .el-tree {
821
- background: transparent;
822
- font-size: 12px;
823
- .el-tree-node__label {
824
- font-size: 12px;
825
- }
826
- &.medium {
827
- font-size: 14px;
828
- .el-tree-node__label {
829
- font-size: 14px;
830
- }
831
- }
832
- }
833
- }
834
- }
835
- }
836
-
837
- .conf-header {
838
- border-bottom: 1px solid #DDD;
839
- padding-bottom: 10px;
840
- margin-bottom: 10px;
841
- }
842
- .conf-body {
843
- width: 300px;
844
- }
845
- .dense-much .el-form-item {
846
- margin-bottom: 8px !important;
847
- }
848
-
849
- .ea-select-container {
850
- display: flex;
851
- justify-content: flex-start;
852
- font-size: 12px;
853
- &.medium {
854
- font-size: 14px;
855
- .ea-select-panel .ea-select-panel__item {
856
- line-height: 28px;
857
- }
858
- }
859
- .ea-select-panel {
860
- padding: 0;
861
- margin: 0;
862
- list-style: none;
863
- flex-grow: 1;
864
- min-width: 120px;
865
- & + .ea-select-panel {
866
- border-left: 1px solid #DDD;
867
- }
868
- &__item {
869
- width: 100%;
870
- line-height: 24px;
871
- cursor: pointer;
872
- padding: 0 12px;
873
- box-sizing: border-box;
874
- display: flex;
875
- justify-content: space-between;
876
- align-items: center;
877
- font-size: inherit;
878
- &:hover {
879
- background-color: $--color-border-lighter;
880
- }
881
- &.active {
882
- color: $--color-primary;
883
- font-weight: bold;
884
- }
885
- }
886
- }
887
- }
888
-
889
- .ea-form .el-form-item__content {
890
- & > .el-input-number,
891
- & > .el-input,
892
- & > .ea-select,
893
- & > .el-date-editor,
894
- & > .el-select {
895
- width: 100%;
896
- }
897
- }
898
- .ea-form .el-form-item.hidden-label {
899
- > .el-form-item__label {
900
- display: none;
901
- }
902
- > .el-form-item__content {
903
- width: 100%;
904
- }
905
- }
906
-
907
- .ea-switch-mini {
908
- .el-switch__core {
909
- width: 30px !important;
910
- height: 16px;
911
- &::after {
912
- width: 12px;
913
- height: 12px;
914
- left: 2px;
915
- }
916
- }
917
- &.is-checked .el-switch__core::after {
918
- margin-left: -13px;
919
- }
920
- }
1
+ $--color-primary: #409EFF !default;
2
+ $--color-success: #67C23A !default;
3
+ $--color-warning: #E6A23C !default;
4
+ $--color-danger: #F56C6C !default;
5
+ $--color-info: #909399 !default;
6
+ $--color-primary-text: #303133 !default;
7
+ $--color-regular-text: #606266 !default;
8
+ $--color-secondary-text: #909399 !default;
9
+ $--color-placeholder-text: #C0C4CC !default;
10
+ $--color-border-base: #DCDFE6 !default;
11
+ $--color-border-light: #E4E7ED !default;
12
+ $--color-border-lighter: #EBEEF5 !default;
13
+ $--color-border-extralight: #F2F6FC !default;
14
+ $--background-color-base: #F5F7FA !default;
15
+ .ea-select {
16
+ display: inline-block;
17
+ position: relative;
18
+ .el-select {
19
+ width: 100%;
20
+ }
21
+ .async-loading.el-icon-loading {
22
+ position: absolute;
23
+ top: 10px;
24
+ right: 28px;
25
+ color: #999;
26
+ }
27
+ .is-collapse-tags .el-select__tags > span > .el-tag:first-child {
28
+ min-width: 36px;
29
+ max-width: calc(100% - 80px);
30
+ }
31
+ }
32
+ .ea-select-popover {
33
+ .el-select-dropdown__item {
34
+ display: flex;
35
+ justify-content: space-between;
36
+ .select-item-value {
37
+ overflow: hidden;
38
+ text-overflow: ellipsis;
39
+ }
40
+ .select-item-desc {
41
+ overflow: hidden;
42
+ text-overflow: ellipsis;
43
+ color: #8492a6;
44
+ margin-left: 8px;
45
+ }
46
+ }
47
+ .tools {
48
+ padding: 0 20px;
49
+ margin-bottom: -5px;
50
+ }
51
+ }
52
+
53
+ // table
54
+ .ea-table {
55
+ // 表格头部样式美化
56
+ .el-table {
57
+ transition: opacity 0.28s;
58
+ th {
59
+ background-color: $--background-color-base;
60
+ color: $--color-primary-text;
61
+ .cell {
62
+ min-height: 30px;
63
+ display: flex;
64
+ justify-content: flex-start;
65
+ align-items: center;
66
+ }
67
+ &.is-center .cell { justify-content: center }
68
+ &.is-right .cell { justify-content: flex-end }
69
+ }
70
+ td, th {
71
+ .cell {
72
+ line-height: 1.2;
73
+ }
74
+ }
75
+ &.el-table--small {
76
+ td, th {
77
+ height: 50px;
78
+ }
79
+ }
80
+ &.is-dense {
81
+ td, th {
82
+ height: 32px;
83
+ padding: 2px 0;
84
+ .el-button {
85
+ padding-top: 0;
86
+ padding-bottom: 0;
87
+ }
88
+ }
89
+ }
90
+ &.is-unready {
91
+ opacity: 0;
92
+ .operation-column > div {
93
+ height: 32px;
94
+ overflow: hidden;
95
+ }
96
+ &.is-dense {
97
+ .operation-column > div {
98
+ height: 24px;
99
+ }
100
+ }
101
+ }
102
+ }
103
+ // 列的更多菜单项
104
+ .theader-th-cell {
105
+ .cell-icon-menu {
106
+ position: absolute;
107
+ top: 50%;
108
+ right: 4px;
109
+ transform: rotate(90deg) translateX(-50%);
110
+ color: $--color-placeholder-text;
111
+ cursor: pointer;
112
+ padding: 4px;
113
+ border-radius: 2px;
114
+ &:hover {
115
+ color: $--color-primary-text;
116
+ background-color: $--color-border-light;
117
+ }
118
+ }
119
+ }
120
+ // 表格底部
121
+ .ea-table__footer {
122
+ display: flex;
123
+ justify-content: space-between;
124
+ transition: opacity 0.28s;
125
+ .ea-table__footer-right {
126
+ margin-left: auto;
127
+ padding-right: 0;
128
+ }
129
+ > * {
130
+ margin-top: 12px;
131
+ }
132
+ &.is-unready {
133
+ opacity: 0;
134
+ }
135
+ }
136
+
137
+ .column-transition-active {
138
+ opacity: 0.33;
139
+ }
140
+
141
+ .el-button > i {
142
+ min-width: 12px;
143
+ }
144
+
145
+ .more-btn > i{
146
+ transform: rotate(-90deg);
147
+ }
148
+ }
149
+
150
+ // table - popover
151
+ .el-popover.ea-popover-no-padding {
152
+ padding: 8px 0;
153
+ min-width: 100px;
154
+ &.dense {
155
+ margin-top: 0px;
156
+ margin-bottom: 0px;
157
+ min-width: 70px;
158
+ }
159
+ }
160
+
161
+ .more-btn-panel {
162
+ &__item {
163
+ &:hover {
164
+ background-color: $--color-border-lighter;
165
+ }
166
+ .el-button {
167
+ padding: 8px 12px;
168
+ width: 100%;
169
+ text-align: left;
170
+ }
171
+ }
172
+ }
173
+
174
+ .ea-zoom-in-top-enter-active,
175
+ .ea-zoom-in-top-leave-active {
176
+ opacity: 1;
177
+ transform: scaleY(1);
178
+ transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1), opacity 300ms cubic-bezier(0.23, 1, 0.32, 1);
179
+ transform-origin: center top;
180
+ }
181
+ .ea-zoom-in-top-enter,
182
+ .ea-zoom-in-top-leave-active {
183
+ opacity: 0;
184
+ transform: scaleY(0);
185
+ }
186
+
187
+ .el-dialog.ea-modal {
188
+ &.no-margin {
189
+ margin: 0 !important;
190
+ }
191
+ &.is-fullscreen {
192
+ border-radius: 0;
193
+ margin: 0;
194
+ }
195
+ .el-dialog__header {
196
+ color: #555;
197
+ font-size: 18px;
198
+ .el-dialog__title {
199
+ color: inherit;
200
+ font-size: inherit;
201
+ }
202
+ }
203
+ }
204
+
205
+ .el-drawer.ea-drawer {
206
+ .el-drawer__header {
207
+ flex-shrink: 0;
208
+ color: #555;
209
+ font-size: 18px;
210
+ border-bottom: 1px solid #DDD;
211
+ margin-bottom: 0;
212
+ padding: 0 20px;
213
+ display: flex;
214
+ align-items: center;
215
+ .el-drawer__title {
216
+ color: inherit;
217
+ font-size: inherit;
218
+ }
219
+ }
220
+ .ea-drawer__content {
221
+ box-sizing: border-box;
222
+ height: 100%;
223
+ overflow: auto;
224
+ }
225
+ .ea-drawer__footer {
226
+ border-top: 1px solid #DDD;
227
+ background-color: #FFF;
228
+ position: absolute;
229
+ left: 0;
230
+ right: 0;
231
+ bottom: 0;
232
+ display: flex;
233
+ justify-content: center;
234
+ align-items: center;
235
+ }
236
+ }
237
+
238
+ .ea-data-table {
239
+ .edt-row {
240
+ display: flex;
241
+ .edt-cell {
242
+ padding: 0 8px;
243
+ flex: 0 0 auto;
244
+ box-sizing: border-box;
245
+ overflow: hidden;
246
+ text-overflow: ellipsis;
247
+ white-space: nowrap;
248
+ word-break: break-all;
249
+ }
250
+ &.edt-header {
251
+ background-color: $--color-border-extralight;
252
+ color: $--color-primary-text;
253
+ }
254
+ }
255
+ &--border {
256
+ border: 1px solid $--color-border-light;
257
+ .edt-row {
258
+ .edt-cell {
259
+ border-bottom: 1px solid $--color-border-light;
260
+ border-left: 1px solid $--color-border-light;
261
+ &:first-child {
262
+ border-left: 0;
263
+ }
264
+ }
265
+ &:last-child .edt-cell{
266
+ border-bottom: 0;
267
+ }
268
+ }
269
+ }
270
+ .loading-text {
271
+ color: $--color-secondary-text;
272
+ text-align: center;
273
+ font-size: inherit;
274
+ }
275
+ }
276
+
277
+ .ea-list {
278
+ .loading-text {
279
+ color: $--color-secondary-text;
280
+ text-align: center;
281
+ font-size: inherit;
282
+ }
283
+ }
284
+
285
+ .ea-button-tooltip + .ea-button-tooltip {
286
+ margin-left: 10px;
287
+ }
288
+ td {
289
+ .ea-button-tooltip + .ea-button-tooltip {
290
+ margin-left: 4px;
291
+ &.text {
292
+ margin-left: 10px;
293
+ }
294
+ }
295
+ .el-button [class*="el-icon-"] + span {
296
+ margin-left: 2px;
297
+ }
298
+ }
299
+
300
+ .el-button.ea-button.mini-rect-btn {
301
+ padding: 7px;
302
+ border: 0;
303
+ & [class^="design-"] {
304
+ margin-right: 0;
305
+ }
306
+ &:not(.is-disabled) {
307
+ &.primary {
308
+ background-color: rgba($--color-primary, .15);
309
+ color: $--color-primary;
310
+ &:hover,&:focus {
311
+ background-color: $--color-primary;
312
+ i { color: #fff }
313
+ }
314
+ }
315
+ &.success {
316
+ background-color: rgba($--color-success, .15);
317
+ color: $--color-success;
318
+ &:hover,&:focus {
319
+ background-color: $--color-success;
320
+ i { color: #fff }
321
+ }
322
+ }
323
+ &.info {
324
+ background-color: rgba($--color-info, .15);
325
+ color: $--color-info;
326
+ &:hover,&:focus {
327
+ background-color: $--color-info;
328
+ i { color: #fff }
329
+ }
330
+ }
331
+ &.warning {
332
+ background-color: rgba($--color-warning, .15);
333
+ color: $--color-warning;
334
+ &:hover,&:focus {
335
+ background-color: $--color-warning;
336
+ i { color: #fff }
337
+ }
338
+ }
339
+ &.danger {
340
+ background-color: rgba($--color-danger, .15);
341
+ color: $--color-danger;
342
+ &:hover,&:focus {
343
+ background-color: $--color-danger;
344
+ i { color: #fff }
345
+ }
346
+ }
347
+ }
348
+ }
349
+
350
+ .ea-tree {
351
+ .ea-tree__main {
352
+ margin-top: 18px;
353
+ .ea-tree__header {
354
+ height: 50px;
355
+ padding-left: 24px;
356
+ padding-right: 14px;
357
+ font-size: 12px;
358
+ display: flex;
359
+ align-items: center;
360
+ justify-content: space-between;
361
+ background-color: $--background-color-base;
362
+ .ea-tree__header__text {
363
+ font-weight: bold;
364
+ }
365
+ }
366
+ }
367
+ .ea-tree-real {
368
+ .el-tree-node.is-current > .el-tree-node__content {
369
+ color: $--color-primary;
370
+ }
371
+ }
372
+ &.ea-tree--border {
373
+ .ea-tree__main {
374
+ border: 1px solid $--color-border-lighter;
375
+ }
376
+ .ea-tree__header {
377
+ border-bottom: 1px solid $--color-border-lighter;
378
+ }
379
+ .ea-tree-real {
380
+ margin: 10px 0;
381
+ }
382
+ }
383
+ }
384
+
385
+ .ea-split-container {
386
+ display: flex;
387
+ &.is-down {
388
+ user-select: none;
389
+ }
390
+ .sc-left {
391
+ flex-grow: 1;
392
+ flex-shrink: 1;
393
+ }
394
+ .sc-right {
395
+ flex-grow: 1;
396
+ flex-shrink: 1;
397
+ }
398
+ .sc-center {
399
+ flex-grow: 0;
400
+ flex-shrink: 0;
401
+ position: relative;
402
+ }
403
+ .sc-bamboo {
404
+ width: 8px;
405
+ height: 100%;
406
+ border: 1px solid #DCDEE2;
407
+ border-top: none;
408
+ border-bottom: none;
409
+ background-color: #F8F8F9;
410
+ cursor: col-resize;
411
+ user-select: none;
412
+ display: flex;
413
+ flex-direction: column;
414
+ justify-content: center;
415
+ align-items: center;
416
+ margin: 0 16px;
417
+ .sc-texture {
418
+ width: 4px;
419
+ height: 1px;
420
+ background: rgba(23, 35, 61, .25);
421
+ margin-top: 3px;
422
+ }
423
+ }
424
+ .sc-on-bamboo {
425
+ position: absolute;
426
+ top: 50%;
427
+ left: 50%;
428
+ transform: translate(-50%, -50%);
429
+ background-color: #FFF;
430
+ display: flex;
431
+ justify-content: center;
432
+ align-items: center;
433
+ }
434
+ }
435
+
436
+ .ea-number .el-input__inner {
437
+ text-align: left;
438
+ }
439
+
440
+ .ea-desc {
441
+ font-size: 14px;
442
+ &__title {
443
+ font-size: 16px;
444
+ margin-bottom: 12px;
445
+ }
446
+ &__list {
447
+ display: flex;
448
+ flex-wrap: wrap;
449
+ }
450
+ }
451
+ .ea-desc .item {
452
+ line-height: 24px;
453
+ margin-bottom: 10px;
454
+ flex: 0 0 auto;
455
+ .item-label {
456
+ float: left;
457
+ text-align: right;
458
+ padding-right: 8px;
459
+ color: #909399;
460
+ }
461
+ .item-value {
462
+ word-break: break-all;
463
+ overflow: hidden;
464
+ .value-no-wrap {
465
+ height: 48px;
466
+ overflow: hidden;
467
+ position: relative;
468
+ .click-see-more {
469
+ position: absolute;
470
+ right: 0;
471
+ bottom: 0;
472
+ height: 24px;
473
+ padding-left: 30px;
474
+ padding-right: 4px;
475
+ background-image: linear-gradient(to right, transparent 0%, #fff 20%, #fff 100%);
476
+ cursor: pointer;
477
+ color: $--color-primary;
478
+ user-select: none;
479
+ }
480
+ }
481
+ }
482
+ }
483
+
484
+ .file-upload-dialog {
485
+ // 拖拽区域铺满
486
+ .el-upload,
487
+ .el-upload .el-upload-dragger {
488
+ width: 100%;
489
+ }
490
+ // 文件列表项边框
491
+ .el-upload-list {
492
+ .el-upload-list__item {
493
+ border: 1px dashed #aaa;
494
+ .el-icon-close {
495
+ display: inline-block;
496
+ }
497
+ }
498
+ }
499
+ // 清除文件列表变动过渡动画
500
+ .el-list-enter,
501
+ .el-list-enter-active,
502
+ .el-list-enter-to,
503
+ .el-list-leave,
504
+ .el-list-leave-active,
505
+ .el-list-leave-to {
506
+ -webkit-transition: none !important;
507
+ transition: none !important;
508
+ }
509
+ }
510
+
511
+ .vjs-table {
512
+ position: relative;
513
+ overflow: hidden;
514
+ }
515
+ .vjs-header {
516
+ position: absolute;
517
+ top: 0;
518
+ border: 1px solid $--color-border-light;
519
+ border-bottom: 0;
520
+ }
521
+ .vjs-body {
522
+ border: 1px solid $--color-border-light;
523
+ }
524
+
525
+ .vjs-row {
526
+ height: 32px;
527
+ line-height: 32px;
528
+ display: flex;
529
+ justify-content: flex-start;
530
+ position: relative;
531
+ &.odd { background-color: #F8F8F8; }
532
+ &:not(.vjs-header):hover { background-color: #EBEEF5; }
533
+ .vjs-cell {
534
+ flex: 0 0 auto;
535
+ height: 100%;
536
+ font-size: 14px;
537
+ box-sizing: border-box;
538
+ padding: 0 8px;
539
+ position: relative;
540
+ overflow: hidden;
541
+ text-overflow: ellipsis;
542
+ white-space: nowrap;
543
+ word-break: break-all;
544
+ & > .el-tag {
545
+ vertical-align: 1px;
546
+ }
547
+ &.vjs-cell-flex {
548
+ flex-grow: 1;
549
+ }
550
+ &.error {
551
+ border: 1px solid red;
552
+ }
553
+ & > .vjs-checkbox {
554
+ position: absolute;
555
+ top: 0;
556
+ }
557
+ }
558
+ .vjs-icon {
559
+ cursor: pointer;
560
+ position: absolute;
561
+ height: 100%;
562
+ color: #CCC;
563
+ display: flex;
564
+ align-items: center;
565
+ z-index: 1;
566
+ &:hover {
567
+ color: #333;
568
+ }
569
+ }
570
+ .vjs-temp {
571
+ color: #909399;
572
+ }
573
+ }
574
+
575
+ .vjs-checkbox .el-checkbox__input.is-indeterminate .el-checkbox__inner {
576
+ background-color: $--color-secondary-text;
577
+ border-color: $--color-secondary-text;
578
+ }
579
+
580
+ .cell-text {
581
+ height: 100%;
582
+ overflow: hidden;
583
+ text-overflow: ellipsis;
584
+ white-space: nowrap;
585
+ word-break: break-all;
586
+ .cell-placeholder {
587
+ color: #C0C4CC;
588
+ }
589
+ }
590
+
591
+ .cell-input {
592
+ display: block;
593
+ height: 30px;
594
+ line-height: 30px;
595
+ font-size: inherit;
596
+ color: inherit;
597
+ font-family: inherit;
598
+ margin-left: -4.7px;
599
+ .el-input__inner {
600
+ border-radius: 0;
601
+ font-size: inherit;
602
+ color: inherit;
603
+ font-family: inherit;
604
+ padding-left: 4px;
605
+ }
606
+ }
607
+
608
+ .cell-select {
609
+ cursor: pointer;
610
+ &:not(.is-disabled):hover {
611
+ border-width: 0;
612
+ border-bottom-width: 1.5px;
613
+ border-style: solid;
614
+ }
615
+ &.is-disabled {
616
+ cursor: default;
617
+ }
618
+ }
619
+
620
+ .cell-required {
621
+ width: 100%;
622
+ height: 100%;
623
+ display: flex;
624
+ align-items: center;
625
+ .box {
626
+ width: 20px;
627
+ height: 20px;
628
+ box-sizing: border-box;
629
+ border-radius: 4px;
630
+ cursor: pointer;
631
+ user-select: none;
632
+ display: flex;
633
+ justify-content: center;
634
+ align-items: center;
635
+ padding-top: 4px;
636
+ color: #DDD;
637
+ background-color: rgba(0, 0, 0, 0.02);
638
+ &:not(.is-disabled):hover {
639
+ color: #999;
640
+ background-color: rgba(0, 0, 0, 0.05);
641
+ }
642
+ &.is-disabled {
643
+ cursor: default;
644
+ color: transparent;
645
+ background-color: transparent;
646
+ }
647
+ &.is-required, &.is-required:hover {
648
+ color: red;
649
+ background-color: rgba(0, 0, 0, 0.08);
650
+ }
651
+ }
652
+ }
653
+
654
+ .cell-action {
655
+ width: 80px;
656
+ i {
657
+ cursor: pointer;
658
+ font-size: 16px;
659
+ padding: 4px;
660
+ border-radius: 4px;
661
+ &:hover {
662
+ background-color: rgba(0,0,0,0.1);
663
+ }
664
+ }
665
+ }
666
+ .action-popover {
667
+ margin: 0 !important;
668
+ }
669
+
670
+ .ea-blue {
671
+ color: #409EFF;
672
+ }
673
+ .ea-purple {
674
+ color: #EE46BC !important;
675
+ }
676
+ .ea-success {
677
+ color: $--color-success;
678
+ }
679
+ .ea-danger {
680
+ color: $--color-danger;
681
+ }
682
+ .ea-info {
683
+ color: $--color-info;
684
+ }
685
+ .ea-placeholder {
686
+ color: $--color-placeholder-text !important;
687
+ }
688
+
689
+ .ea-popover-no-margin {
690
+ margin: 0 !important;
691
+ }
692
+
693
+ @font-face {
694
+ font-family: 'eafont';
695
+ src: url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAQYAAsAAAAACMAAAAPLAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGYACDHAqFDIRVATYCJAMQCwoABCAFhE8HQBu9BxEVnLHIfibwpknuXkitybkhDKpb3+RDeb1vMhOsa34zn2ST3rpbnaQ7jZOwi3OelIhQI3mLHn0haTkDFEZf6SdAAFkA/M/ltDHxABvfAoC7xti0t5dlvehe2rbAxhiUbfFAIsy8BXYOdTBB14AA0MJNMC4yOjETxsayzmZMwiDhCeDmksa6mjJIdwNYCkIgqYW8KxnIUvAAt4C7BGCJ+XnyER5JAAeeQtontTqqEsfe4I0bVawK6CPoOBDgaA4AD4ACcOqZidSmO8pB7bATCm1ckMEHOCiBA2ptM75xs1pZNCqFJDsBrvSfRwRICj1SvSIUeAOVBxzwxiiIU7qhaAUUTF8hARgJuAwQV0iaKfUsFCCNNxhGG7SjtYaxY4lGRgbuZDNvZTJvZzHv5riIWmmOGkzUuxFVl27lVB+9q7OkJEK51XPw7m2JcOs9dwL05isn1JNXdWXmfZuUzfstB7eqWw5k6s2HlMM6wyq1Ur1793aQwXL5uHLsklZ/6NadO2U+61H1yA23UsnOr6+wtChXH3JzL0iKIqt5uRoraFeuoKtaqxwuXs18qMz+If6j7B2qsiLTw2vHNIy5EZqYFJ8wvXp6reO9qIzItHL7SvuHY/ODcgM9ijxLm3N3HC3PcEt1dU11yygPdexWfv+Wuh0fmn/+fNVmI0fPkm3aUP9WzjNlTw6OGJcrozrKqO8IucXmW0liyTebp7aTH2z22fzAhy47ZeszcZbHrIk+a4L33vHyySlyqtG1ZtO2tHrQABahETOU7ZxfsjesIuV4ZLq7Z3rkXFJQo3Ome47HpVDPqpj+GrkyMLBSrvlKKHWuDKyRv1Ja3NHQyZE+ckXTJKc/WgEA1hN0Fw03WR/pMjpOe4ySKuya+Q6+fCl7UmKSv0k6BgB4ydgfclmPMZQTHnNhbsEVoizMWZJ9PQBjcRJVdNU5MiHdgxwArWwGLok4MMqTOlSjORsgEDDaBQ4iJgKFgBlERrUBHjo4yQRZ5YughaOg9TqMVgsKwjQAbAwAeAi9jcAx2gyU3kEio54F3jg/EOi9B63s/246NiVcehQjapAbOMWZFPuIQs98opmi6D1CHPXFfnCcoS6qQOyBGfuiC4bZNONIQD0nuBc4K0aGtmePaizsOLbnsqS4mxSK0+7SoxhRA7kBpziTzo/XCHfcE80URbmiOYjfcD847g5qhSqV+FBkKtjy/GE2jXEkQJ98TuDeiizKYQZt/DCPaizYEsH2rKRSlFdRjEmVNmkNgJZ0EIsjlDDCQ9oNQkbUp1VJPSXucbcDAA==') format('woff2');
696
+ }
697
+ .eafont {
698
+ font-family: eafont;
699
+ font-style: normal;
700
+ font-size: 16px;
701
+ color: #909399;
702
+ -webkit-font-smoothing: antialiased;
703
+ -moz-osx-font-smoothing: grayscale;
704
+ }
705
+ .ea-icon-disabled:before { content: "\e630" }
706
+ .ea-icon-conf:before { content: "\e600" }
707
+ .ea-icon-more:before { content: "\e60e" }
708
+ .eafont.ea-icon-conf.has { color: #000 }
709
+
710
+ .ea-data-tree-body {
711
+ &.ea-data-tree-body__border {
712
+ border: 1px solid $--color-border-light;
713
+ }
714
+ }
715
+
716
+ .ea-data-tree-row {
717
+ display: flex;
718
+ justify-content: flex-start;
719
+ position: relative;
720
+ padding-left: 20px;
721
+ box-sizing: border-box;
722
+ &.odd { background-color: #F8F8F8; }
723
+ &:hover { background-color: #EBEEF5; }
724
+ .ea-data-tree-cell {
725
+ flex: 0 0 auto;
726
+ height: 100%;
727
+ font-size: 14px;
728
+ box-sizing: border-box;
729
+ padding: 0 8px;
730
+ position: relative;
731
+ overflow: hidden;
732
+ text-overflow: ellipsis;
733
+ white-space: nowrap;
734
+ word-break: break-all;
735
+ & > .ea-data-tree-checkbox {
736
+ position: absolute;
737
+ top: 0;
738
+ }
739
+ }
740
+ .ea-data-tree-icon {
741
+ cursor: pointer;
742
+ position: absolute;
743
+ height: 100%;
744
+ color: #CCC;
745
+ display: flex;
746
+ align-items: center;
747
+ z-index: 1;
748
+ &:hover {
749
+ color: #333;
750
+ }
751
+ }
752
+ }
753
+
754
+ .ea-data-tree-checkbox .el-checkbox__input.is-indeterminate .el-checkbox__inner {
755
+ background-color: $--color-secondary-text;
756
+ border-color: $--color-secondary-text;
757
+ }
758
+
759
+ .ea-data-tree-empty {
760
+ display: flex;
761
+ justify-content: center;
762
+ align-items: center;
763
+ color: $--color-secondary-text;
764
+ }
765
+
766
+ .ea-form .form-group-title {
767
+ position: relative;
768
+ height: 32px;
769
+ margin-bottom: 22px;
770
+ > span {
771
+ position: absolute;
772
+ top: 0;
773
+ left: 20%;
774
+ padding: 5px 25px;
775
+ background-color: #fff;
776
+ z-index: 1;
777
+ color: $--color-secondary-text;
778
+ }
779
+ &::after {
780
+ content: '';
781
+ position: absolute;
782
+ top: 50%;
783
+ left: 0;
784
+ width: 100%;
785
+ height: 0;
786
+ border-bottom: 1px dashed $--color-border-base;
787
+ }
788
+ }
789
+
790
+ .ea-table-modal {
791
+ .el-dialog {
792
+ background: #fdfdfd;
793
+ box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.15);
794
+ .el-dialog__header {
795
+ padding: 12px 20px;
796
+ background-color: $--color-border-extralight;
797
+ border-bottom: 1px solid $--color-border-lighter;
798
+ }
799
+ .el-dialog__headerbtn {
800
+ top: 12px;
801
+ }
802
+ .el-dialog__close {
803
+ font-weight: bold;
804
+ color: $--color-secondary-text;
805
+ }
806
+ .el-dialog__body {
807
+ padding: 10px 0;
808
+ height: calc(100% - 70px);
809
+ min-height: 40px;
810
+ max-height: 800px;
811
+ overflow: auto;
812
+ .scm-title {
813
+ font-size: 12px;
814
+ font-weight: bold;
815
+ color: $--color-primary-text;
816
+ &.medium {
817
+ font-size: 14px;
818
+ }
819
+ }
820
+ .el-tree {
821
+ background: transparent;
822
+ font-size: 12px;
823
+ .el-tree-node__label {
824
+ font-size: 12px;
825
+ }
826
+ &.medium {
827
+ font-size: 14px;
828
+ .el-tree-node__label {
829
+ font-size: 14px;
830
+ }
831
+ }
832
+ }
833
+ }
834
+ }
835
+ }
836
+
837
+ .conf-header {
838
+ border-bottom: 1px solid #DDD;
839
+ padding-bottom: 10px;
840
+ margin-bottom: 10px;
841
+ }
842
+ .conf-body {
843
+ width: 300px;
844
+ }
845
+ .dense-much .el-form-item {
846
+ margin-bottom: 8px !important;
847
+ }
848
+
849
+ .ea-form .el-form-item__content {
850
+ & > .el-input-number,
851
+ & > .el-input,
852
+ & > .ea-select,
853
+ & > .el-date-editor,
854
+ & > .el-select {
855
+ width: 100%;
856
+ }
857
+ }
858
+ .ea-form .el-form-item.hidden-label {
859
+ > .el-form-item__label {
860
+ display: none;
861
+ }
862
+ > .el-form-item__content {
863
+ width: 100%;
864
+ }
865
+ }
866
+
867
+ .ea-select-container {
868
+ display: flex;
869
+ justify-content: flex-start;
870
+ font-size: 12px;
871
+ &.medium {
872
+ font-size: 14px;
873
+ .ea-select-panel .ea-select-panel__item {
874
+ line-height: 28px;
875
+ }
876
+ }
877
+ .ea-select-panel {
878
+ padding: 0;
879
+ margin: 0;
880
+ list-style: none;
881
+ flex-grow: 1;
882
+ min-width: 120px;
883
+ & + .ea-select-panel {
884
+ border-left: 1px solid #DDD;
885
+ }
886
+ &__item {
887
+ width: 100%;
888
+ line-height: 24px;
889
+ cursor: pointer;
890
+ padding: 0 12px;
891
+ box-sizing: border-box;
892
+ display: flex;
893
+ justify-content: space-between;
894
+ align-items: center;
895
+ font-size: inherit;
896
+ &:hover {
897
+ background-color: $--color-border-lighter;
898
+ }
899
+ &.active {
900
+ color: $--color-primary;
901
+ font-weight: bold;
902
+ }
903
+ }
904
+ }
905
+ }
906
+
907
+ .ea-switch-mini {
908
+ .el-switch__core {
909
+ width: 30px !important;
910
+ height: 16px;
911
+ &::after {
912
+ width: 12px;
913
+ height: 12px;
914
+ left: 2px;
915
+ }
916
+ }
917
+ &.is-checked .el-switch__core::after {
918
+ margin-left: -13px;
919
+ }
920
+ }