@lx-frontend/wrap-element-ui 1.0.1-beta.2 → 1.0.1-beta.4

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 (46) hide show
  1. package/README.md +45 -45
  2. package/package.json +15 -16
  3. package/src/components/AddMembers/index.vue +157 -157
  4. package/src/components/AuditSteps/index.vue +140 -140
  5. package/src/components/DemoComponent/index.vue +20 -20
  6. package/src/components/EditableTable/README.md +147 -147
  7. package/src/components/EditableTable/index.less +724 -716
  8. package/src/components/EditableTable/index.vue +914 -841
  9. package/src/components/EditableTable/types.ts +116 -94
  10. package/src/components/EditableTable/useCellHover.ts +71 -71
  11. package/src/components/EditableTable/useColumnHeaderOperation.ts +325 -187
  12. package/src/components/EditableTable/useDefaultOperation.ts +95 -95
  13. package/src/components/EditableTable/useDragSort.ts +290 -291
  14. package/src/components/EditableTable/usePagination.ts +30 -33
  15. package/src/components/EditableTable/useRowBgColor.ts +50 -50
  16. package/src/components/EditableTable/useViewSetting.ts +119 -67
  17. package/src/components/Ellipsis/MultilineEllipsis.vue +141 -141
  18. package/src/components/Ellipsis/index.vue +119 -119
  19. package/src/components/LxTable/index.vue +296 -296
  20. package/src/components/PopoverForm/index.vue +66 -66
  21. package/src/components/SearchForm/index.vue +243 -243
  22. package/src/components/SearchSelect/index.vue +153 -153
  23. package/src/components/index.ts +24 -24
  24. package/src/components/singleMessage/index.ts +44 -44
  25. package/dist/AddMembers/index.vue.d.ts +0 -31
  26. package/dist/AuditSteps/index.vue.d.ts +0 -46
  27. package/dist/DemoComponent/index.vue.d.ts +0 -2
  28. package/dist/EditableTable/index.vue.d.ts +0 -186
  29. package/dist/EditableTable/types.d.ts +0 -123
  30. package/dist/EditableTable/useCellHover.d.ts +0 -11
  31. package/dist/EditableTable/useColumnHeaderOperation.d.ts +0 -106
  32. package/dist/EditableTable/useDefaultOperation.d.ts +0 -22
  33. package/dist/EditableTable/useDragSort.d.ts +0 -15
  34. package/dist/EditableTable/usePagination.d.ts +0 -13
  35. package/dist/EditableTable/useRowBgColor.d.ts +0 -16
  36. package/dist/EditableTable/useViewSetting.d.ts +0 -58
  37. package/dist/Ellipsis/MultilineEllipsis.vue.d.ts +0 -91
  38. package/dist/Ellipsis/index.vue.d.ts +0 -89
  39. package/dist/LxTable/index.vue.d.ts +0 -2
  40. package/dist/PopoverForm/index.vue.d.ts +0 -50
  41. package/dist/SearchForm/index.vue.d.ts +0 -105
  42. package/dist/SearchSelect/index.vue.d.ts +0 -53
  43. package/dist/index.css +0 -1
  44. package/dist/index.d.ts +0 -12
  45. package/dist/index.mjs +0 -40826
  46. package/dist/singleMessage/index.d.ts +0 -4
@@ -1,716 +1,724 @@
1
- @--theme-blue--: #2468f2;
2
-
3
- .editable-table {
4
- &__selected-color {
5
- position: absolute;
6
- left: 0;
7
- top: 0;
8
- right: 0;
9
- bottom: 0;
10
- }
11
-
12
- &__color-title {
13
- text-align: center;
14
- width: 28px;
15
- padding: 0 !important;
16
- }
17
-
18
- &__color-icon {
19
- padding: 0 !important;
20
- margin-left: 8px;
21
- width: 8px;
22
- height: 8px;
23
- border-radius: 50%;
24
- // left: 5px;
25
- position: relative;
26
- background-color: #fcae46;
27
- cursor: pointer;
28
- overflow: visible !important;
29
-
30
- &::before {
31
- background-color: #fc6559;
32
- left: -10px;
33
- z-index: 2;
34
- }
35
-
36
- &::after {
37
- background-color: #409eff;
38
- left: -5px;
39
- z-index: 1;
40
- }
41
-
42
- &::before,
43
- &::after {
44
- content: "";
45
- width: 8px;
46
- height: 8px;
47
- border-radius: 50%;
48
- position: absolute;
49
- top: 0;
50
- }
51
- }
52
-
53
- &__color-column,
54
- &__drag-cell {
55
- padding: 0 !important;
56
-
57
- & .cell {
58
- padding: 0 !important;
59
- height: 100%;
60
-
61
- display: flex !important;
62
- justify-content: center;
63
- align-items: center;
64
- text-align: center;
65
- }
66
- }
67
-
68
- &__color-column {
69
- & .cell {
70
- padding: 0 !important;
71
- border: none !important;
72
- }
73
- }
74
-
75
- &__drag-line {
76
- border: none;
77
- border-top: 1px solid #13161b;
78
- height: 4px;
79
- width: 15px;
80
-
81
- &:last-child {
82
- height: 1px;
83
- }
84
- }
85
-
86
- &__drag-icon {
87
- width: 100%;
88
- height: 100%;
89
- min-height: 45px;
90
- cursor: grab;
91
- display: flex;
92
- flex-direction: column;
93
- justify-content: center;
94
- align-items: center;
95
- }
96
-
97
- &__sort-icon {
98
- position: relative;
99
- width: 12px;
100
- height: 12px;
101
- border: 1px solid #7b7b7b;
102
- padding: 0 !important;
103
- margin-left: 4px;
104
- border-radius: 50%;
105
-
106
- &::after {
107
- position: absolute;
108
- top: 50%;
109
- left: 50%;
110
- content: "";
111
- width: 3px;
112
- height: 3px;
113
- border-bottom: 1px solid;
114
- border-left: 1px solid;
115
- border-color: #7b7b7b;
116
- transform: translate(-50%, -55%) rotate(-45deg);
117
- }
118
-
119
- &--active {
120
- border: 1px solid @--theme-blue--;
121
-
122
- &::after {
123
- border-color: @--theme-blue--;
124
- }
125
- }
126
- }
127
-
128
- &__sort-reference {
129
- display: inline-flex;
130
- justify-content: flex-start;
131
- align-items: center;
132
-
133
- &:hover {
134
- cursor: pointer;
135
- }
136
-
137
- &--active {
138
- color: @--theme-blue--;
139
- }
140
- }
141
-
142
- &__sort-filter {
143
- padding: 0 !important;
144
- }
145
-
146
- &__pin-top {
147
- width: 24px;
148
- height: 24px;
149
- color: white;
150
- background-color: #969ca4;
151
- }
152
-
153
- & .el-table td,
154
- .el-table th.is-leaf {
155
- border-bottom: 1px solid #dfe3ec;
156
- }
157
-
158
- & .el-table {
159
- &__expanded-cell {
160
- background-color: #fafafa;
161
- }
162
- }
163
-
164
- & .el-table tr td {
165
- min-height: 45px;
166
- border-top: none;
167
- border-left: none;
168
- border-right: none;
169
- }
170
-
171
- & thead tr th {
172
- background-color: #f3f4f8 !important;
173
- border-right: none !important;
174
-
175
- & .cell {
176
- color: #13161b;
177
- }
178
-
179
- &:not(:last-child) .cell {
180
- border-right: 2px #e4e8ef solid;
181
- }
182
- }
183
- }
184
-
185
- .view-setting {
186
- &__btn-wrapper {
187
- display: flex;
188
- justify-content: flex-end;
189
- }
190
-
191
- &__btn {
192
- display: flex;
193
- justify-content: flex-end;
194
- align-items: center;
195
- font-weight: 400;
196
- font-size: 14px;
197
- color: @--theme-blue--;
198
- margin-bottom: 17px;
199
- margin-right: 20px;
200
- }
201
-
202
- &__btn-text {
203
- margin-left: 4px;
204
- }
205
-
206
- &__dialog {
207
- padding: 0px;
208
-
209
- .el-dialog__body {
210
- max-height: 800px;
211
- }
212
-
213
- .el-dialog__body {
214
- padding: 0;
215
- }
216
-
217
- & .el-button--primary {
218
- background-color: @--theme-blue-- !important;
219
- border-color: @--theme-blue-- !important;
220
- }
221
-
222
- & .el-checkbox.is-checked:not(.is-disabled) {
223
- .el-checkbox__input .el-checkbox__inner {
224
- background-color: @--theme-blue-- !important;
225
- border-color: @--theme-blue-- !important;
226
- }
227
- .el-checkbox__label {
228
- color: @--theme-blue-- !important;
229
- }
230
- }
231
-
232
- & .el-button {
233
- border-radius: 2px;
234
- }
235
- }
236
-
237
- &__content {
238
- display: flex;
239
- min-height: 500px;
240
- }
241
-
242
- &__content-left {
243
- min-width: 417px;
244
- width: 417px;
245
-
246
- display: flex;
247
- flex-direction: column;
248
- justify-content: flex-start;
249
- align-items: flex-start;
250
- }
251
-
252
- &__content-left-item {
253
- width: 130px;
254
- margin-bottom: 15px;
255
- }
256
-
257
- &__content-right {
258
- border-left: 1px solid #d9d9d9;
259
- display: flex;
260
- flex-direction: column;
261
- justify-content: flex-start;
262
- align-items: flex-start;
263
- }
264
-
265
- &__content-right-title,
266
- &__content-left-title {
267
- border-bottom: 1px solid #d9d9d9;
268
- width: 100%;
269
- height: 46px;
270
- display: flex;
271
- justify-content: flex-start;
272
- align-items: center;
273
- padding-left: 20px;
274
- }
275
-
276
- &__selected-count {
277
- margin-left: 20px;
278
- }
279
-
280
- &__checkbox-wrapper {
281
- padding-left: 37px;
282
- padding-top: 24px;
283
- }
284
-
285
- &__content-right {
286
- flex-grow: 1;
287
- }
288
-
289
- &__content-right-frize {
290
- width: 100%;
291
- display: flex;
292
- justify-content: flex-start;
293
- align-items: center;
294
- height: 50px;
295
- border-bottom: 1px solid #d9d9d9;
296
- padding-left: 20px;
297
- }
298
-
299
- &__content-right-input {
300
- width: 140px;
301
- margin: 0 4px;
302
-
303
- .el-input__inner {
304
- height: 28px;
305
- line-height: 28px;
306
- }
307
- }
308
-
309
- &__content-right-selected {
310
- display: flex;
311
- justify-content: flex-start;
312
- flex-direction: column;
313
- align-items: flex-start;
314
- width: 100%;
315
- flex-grow: 1;
316
- padding-left: 18px;
317
- padding-top: 17px;
318
- padding-right: 23px;
319
- }
320
-
321
- &__selected-item-left {
322
- display: flex;
323
- justify-content: flex-start;
324
- align-items: center;
325
- }
326
-
327
- &__icon-wrapper {
328
- width: 14px;
329
- height: 14px;
330
- line-height: 14px;
331
- padding: 2px 4px;
332
- margin-right: 10px;
333
- cursor: grab;
334
- display: flex;
335
- flex-direction: column;
336
- justify-content: center;
337
- align-items: center;
338
- }
339
-
340
- &__selected-item {
341
- display: flex;
342
- justify-content: space-between;
343
- align-items: center;
344
- line-height: 30px;
345
- height: 30px;
346
- width: 100%;
347
- }
348
-
349
- &__selected-item-close {
350
- cursor: pointer;
351
- &--disabled {
352
- cursor: not-allowed;
353
- color: #989ea9;
354
- }
355
- }
356
- }
357
-
358
- .color-popover {
359
- min-width: 102px;
360
- width: 102px;
361
- padding: 0;
362
-
363
- & .popper__arrow::after {
364
- left: 0 !important;
365
- }
366
- }
367
-
368
- .color-list {
369
- color: #fff;
370
- width: 102px;
371
- border-radius: 5px;
372
- overflow: hidden;
373
- &__item {
374
- display: inline-block;
375
- width: 100%;
376
- height: 27px;
377
- line-height: 27px;
378
- padding-left: 6px;
379
- }
380
- }
381
-
382
- .sort-filter {
383
- width: 258px;
384
- padding: 0;
385
-
386
- &__column-title {
387
- font-size: 14px;
388
- font-weight: 600;
389
- height: 40px;
390
- line-height: 40px;
391
- text-align: center;
392
- border-bottom: 1px solid #d6dbe3;
393
- }
394
-
395
- &__filter,
396
- &__sort,
397
- &__search {
398
- padding: 14px;
399
- }
400
-
401
- &__filter {
402
- padding-top: 0;
403
- }
404
-
405
- &__filter-title,
406
- &__sort-title,
407
- &__search-title {
408
- font-weight: 600;
409
- font-size: 14px;
410
- color: #1f1f1f;
411
- margin-bottom: 10px;
412
- }
413
-
414
- &__search-input {
415
- & .el-input__inner {
416
- height: 32px;
417
- }
418
- }
419
-
420
- &__filter-title {
421
- border-top: 1px solid #f3f3f3;
422
- padding-top: 14px;
423
- }
424
-
425
- &__sort-btns {
426
- display: flex;
427
- justify-content: space-between;
428
- align-items: center;
429
-
430
- & .el-button {
431
- border: none;
432
- }
433
- }
434
-
435
- &__sort-btn {
436
- width: 112px;
437
- height: 28px;
438
- padding: 4px 42px;
439
- display: inline-block;
440
- background-color: #f4f4f4;
441
- color: #4a4a4a;
442
-
443
- &:hover {
444
- background-color: #fafafa;
445
- }
446
-
447
- &--active {
448
- color: @--theme-blue--;
449
- border-color: #eef3ff;
450
- background: #f4f7fe;
451
-
452
- &:hover {
453
- background-color: #f4f7fe;
454
- }
455
- }
456
- }
457
-
458
- &__filter-checkbox-group {
459
- display: flex;
460
- flex-direction: column;
461
- justify-content: flex-start;
462
- align-items: flex-start;
463
- }
464
-
465
- &__filter-checkbox {
466
- margin-top: 10px;
467
- font-size: 14px;
468
-
469
- &:first-child {
470
- margin-top: 0;
471
- }
472
- }
473
-
474
- &__footer {
475
- display: flex;
476
- height: 47px;
477
- border-top: 1px solid #d6dbe3;
478
- justify-content: flex-end;
479
- align-items: center;
480
- padding: 0 15px;
481
- }
482
-
483
- &__reset-btn,
484
- &__confirm-btn {
485
- width: 50px;
486
- height: 28px;
487
- margin-left: 10px;
488
- display: flex;
489
- justify-content: center;
490
- align-items: center;
491
- border-radius: 2px;
492
- font-size: 14px;
493
- font-weight: 400;
494
- }
495
-
496
- &__confirm-btn {
497
- background-color: @--theme-blue--;
498
- border-color: @--theme-blue--;
499
- }
500
- }
501
-
502
- .btn-pointer {
503
- cursor: pointer;
504
- }
505
-
506
- .operation-popover {
507
- min-width: 120px;
508
- padding: 0;
509
-
510
- &__operation {
511
- display: flex;
512
- flex-direction: column;
513
- justify-content: space-between;
514
- align-items: center;
515
- }
516
-
517
- &__operation-reference {
518
- display: inline-block;
519
-
520
- &--active {
521
- color: @--theme-blue--;
522
- }
523
-
524
- .el-button {
525
- background: transparent;
526
- border: none;
527
- padding: 0;
528
- font-weight: 400;
529
- color: #13161b;
530
- font-size: 14px;
531
-
532
- &:focus {
533
- color: @--theme-blue--;
534
- }
535
- }
536
- }
537
-
538
- &__operation-item {
539
- height: 40px;
540
- line-height: 40px;
541
- width: 100%;
542
- text-align: center;
543
- color: #1f1f1f;
544
- cursor: pointer;
545
-
546
- &:hover {
547
- background: #f4f7fe;
548
- }
549
- }
550
-
551
- &__save-cancel {
552
- display: flex;
553
- justify-content: flex-start;
554
- align-items: center;
555
- color: @--theme-blue--;
556
- }
557
-
558
- &__btn {
559
- cursor: pointer;
560
- &:first-child {
561
- margin-right: 15px;
562
- }
563
- }
564
-
565
- &__operation-btn {
566
- &--active {
567
- color: @--theme-blue-- !important;
568
- }
569
- }
570
- }
571
-
572
- .pagination-wrap {
573
- display: flex;
574
- justify-content: space-between;
575
- align-items: center;
576
- margin-top: 12px;
577
-
578
- & .el-pagination {
579
- .el-pager li.number {
580
- background-color: #fff;
581
- border: 1px solid #d6dbe3;
582
- font-weight: 400;
583
- font-size: 14px;
584
-
585
- &.active {
586
- background-color: @--theme-blue--;
587
- color: #fff;
588
- }
589
- }
590
-
591
- & .btn-prev,
592
- & .btn-next,
593
- & .el-icon-more {
594
- background-color: #fff !important;
595
- }
596
- }
597
- }
598
-
599
- .custom-row-classname-pinned {
600
- & td:last-child {
601
- background-image: url("./pin-top.png");
602
- background-repeat: no-repeat;
603
- background-size: 24px 24px;
604
- background-position: right 0 top 0;
605
- }
606
- }
607
-
608
- .el-table__body tr.current-row > td,
609
- .el-table__body tr.hover-row > td {
610
- background-color: #fafafa;
611
- }
612
-
613
- .el-table-filter,
614
- th.el-table__cell .el-table__column-filter-trigger,
615
- th.is-sortable .caret-wrapper {
616
- display: none;
617
- }
618
-
619
- table tbody tr td {
620
- & .el-date-editor.el-input {
621
- width: 100%;
622
- }
623
-
624
- & .cell {
625
- font-size: 14px;
626
- }
627
- }
628
-
629
- .editable-table {
630
- & table th {
631
- font-size: 14px;
632
- font-weight: bold;
633
- }
634
-
635
- & table td {
636
- font-size: 12px;
637
- color: #13161b;
638
- }
639
- }
640
-
641
- .no-inner-cell-border {
642
- & .cell {
643
- border: none !important;
644
- }
645
- }
646
-
647
- .editable-table-drag-icon {
648
- position: relative;
649
- width: 5px;
650
- height: 2px;
651
- border-left: 2px solid #989ea9;
652
- border-right: 2px solid #989ea9;
653
- cursor: grab;
654
-
655
- &::after,
656
- &::before {
657
- position: absolute;
658
- content: "";
659
- box-sizing: border-box;
660
- left: -2px;
661
- display: block;
662
- width: 5px;
663
- height: 2px;
664
- border-left: 2px solid #989ea9;
665
- border-right: 2px solid #989ea9;
666
- }
667
-
668
- &::after {
669
- top: -4px;
670
- }
671
-
672
- &::before {
673
- bottom: -4px;
674
- }
675
- }
676
-
677
- .el-select-dropdown {
678
- &__item {
679
- text-align: center;
680
- }
681
- }
682
-
683
- .el-dialog__header {
684
- display: flex;
685
- justify-content: space-between;
686
- align-items: center;
687
- font-size: 14px;
688
- background-color: #eeeeee;
689
- height: 36px;
690
- line-height: 36px;
691
- padding: 0 20px;
692
- }
693
-
694
- .el-dialog__headerbtn {
695
- position: inherit;
696
- }
697
-
698
- .el-dialog__title {
699
- font-size: 14px;
700
- line-height: 20px;
701
- color: #333333;
702
- }
703
-
704
- .el-dialog__footer {
705
- background-color: #eeeeee;
706
- height: 42px;
707
- line-height: 42px;
708
- padding: 0 20px;
709
-
710
- & .el-button {
711
- height: 24px;
712
- // line-height: 24px;
713
- font-size: 12px;
714
- padding: 5px 12px;
715
- }
716
- }
1
+ @--theme-blue--: #2468f2;
2
+
3
+ .editable-table {
4
+ &__selected-color {
5
+ position: absolute;
6
+ left: 0;
7
+ top: 0;
8
+ right: 0;
9
+ bottom: 0;
10
+ }
11
+
12
+ &__color-title {
13
+ text-align: center;
14
+ width: 28px;
15
+ padding: 0 !important;
16
+ }
17
+
18
+ &__color-icon {
19
+ padding: 0 !important;
20
+ margin-left: 8px;
21
+ width: 8px;
22
+ height: 8px;
23
+ border-radius: 50%;
24
+ // left: 5px;
25
+ position: relative;
26
+ background-color: #fcae46;
27
+ cursor: pointer;
28
+ overflow: visible !important;
29
+
30
+ &::before {
31
+ background-color: #fc6559;
32
+ left: -10px;
33
+ z-index: 2;
34
+ }
35
+
36
+ &::after {
37
+ background-color: #409eff;
38
+ left: -5px;
39
+ z-index: 1;
40
+ }
41
+
42
+ &::before,
43
+ &::after {
44
+ content: "";
45
+ width: 8px;
46
+ height: 8px;
47
+ border-radius: 50%;
48
+ position: absolute;
49
+ top: 0;
50
+ }
51
+ }
52
+
53
+ &__color-column,
54
+ &__drag-cell {
55
+ padding: 0 !important;
56
+
57
+ & .cell {
58
+ padding: 0 !important;
59
+ height: 100%;
60
+
61
+ display: flex !important;
62
+ justify-content: center;
63
+ align-items: center;
64
+ text-align: center;
65
+ }
66
+ }
67
+
68
+ &__color-column {
69
+ & .cell {
70
+ padding: 0 !important;
71
+ border: none !important;
72
+ }
73
+ }
74
+
75
+ &__drag-line {
76
+ border: none;
77
+ border-top: 1px solid #13161b;
78
+ height: 4px;
79
+ width: 15px;
80
+
81
+ &:last-child {
82
+ height: 1px;
83
+ }
84
+ }
85
+
86
+ &__drag-icon {
87
+ width: 100%;
88
+ height: 100%;
89
+ min-height: 45px;
90
+ cursor: grab;
91
+ display: flex;
92
+ flex-direction: column;
93
+ justify-content: center;
94
+ align-items: center;
95
+ }
96
+
97
+ &__sort-icon {
98
+ position: relative;
99
+ width: 12px;
100
+ height: 12px;
101
+ border: 1px solid #7b7b7b;
102
+ padding: 0 !important;
103
+ margin-left: 4px;
104
+ border-radius: 50%;
105
+
106
+ &::after {
107
+ position: absolute;
108
+ top: 50%;
109
+ left: 50%;
110
+ content: "";
111
+ width: 3px;
112
+ height: 3px;
113
+ border-bottom: 1px solid;
114
+ border-left: 1px solid;
115
+ border-color: #7b7b7b;
116
+ transform: translate(-50%, -55%) rotate(-45deg);
117
+ }
118
+
119
+ &--active {
120
+ border: 1px solid @--theme-blue--;
121
+
122
+ &::after {
123
+ border-color: @--theme-blue--;
124
+ }
125
+ }
126
+ }
127
+
128
+ &__sort-reference {
129
+ display: inline-flex;
130
+ justify-content: flex-start;
131
+ align-items: center;
132
+
133
+ &:hover {
134
+ cursor: pointer;
135
+ }
136
+
137
+ &--active {
138
+ color: @--theme-blue--;
139
+ }
140
+ }
141
+
142
+ &__sort-filter {
143
+ padding: 0 !important;
144
+ }
145
+
146
+ &__pin-top {
147
+ width: 24px;
148
+ height: 24px;
149
+ color: white;
150
+ background-color: #969ca4;
151
+ }
152
+
153
+ & .el-table td,
154
+ .el-table th.is-leaf {
155
+ border-bottom: 1px solid #dfe3ec;
156
+ }
157
+
158
+ & .el-table {
159
+ &__expanded-cell {
160
+ background-color: #fafafa;
161
+ }
162
+ }
163
+
164
+ & .el-table tr td {
165
+ min-height: 45px;
166
+ border-top: none;
167
+ border-left: none;
168
+ border-right: none;
169
+ }
170
+
171
+ & thead tr th {
172
+ background-color: #f3f4f8 !important;
173
+ border-right: none !important;
174
+
175
+ & .cell {
176
+ color: #13161b;
177
+ }
178
+
179
+ &:not(:last-child) .cell {
180
+ border-right: 2px #e4e8ef solid;
181
+ }
182
+ }
183
+
184
+ .el-table-filter,
185
+ th.el-table__cell .el-table__column-filter-trigger,
186
+ th.is-sortable .caret-wrapper {
187
+ display: none;
188
+ }
189
+
190
+ .el-table__body tr.current-row > td,
191
+ .el-table__body tr.hover-row > td {
192
+ background-color: #fafafa;
193
+ }
194
+
195
+ table tbody tr td {
196
+ & .el-date-editor.el-input {
197
+ width: 100%;
198
+ }
199
+
200
+ & .cell {
201
+ font-size: 14px;
202
+ }
203
+ }
204
+
205
+ .el-table__fixed-body-wrapper {
206
+ background: #fff;
207
+ }
208
+ }
209
+
210
+ .view-setting {
211
+ &__btn-wrapper {
212
+ display: flex;
213
+ justify-content: flex-end;
214
+ }
215
+
216
+ &__btn {
217
+ display: flex;
218
+ justify-content: flex-end;
219
+ align-items: center;
220
+ font-weight: 400;
221
+ font-size: 14px;
222
+ color: @--theme-blue--;
223
+ margin-bottom: 17px;
224
+ margin-right: 20px;
225
+ }
226
+
227
+ &__btn-text {
228
+ margin-left: 4px;
229
+ }
230
+
231
+ &__dialog {
232
+ padding: 0px;
233
+
234
+ .el-dialog__body {
235
+ max-height: 70vh;
236
+ }
237
+
238
+ .el-dialog__body {
239
+ padding: 0;
240
+ }
241
+
242
+ & .el-button--primary {
243
+ background-color: @--theme-blue-- !important;
244
+ border-color: @--theme-blue-- !important;
245
+ }
246
+
247
+ & .el-checkbox.is-checked:not(.is-disabled) {
248
+ .el-checkbox__input .el-checkbox__inner {
249
+ background-color: @--theme-blue-- !important;
250
+ border-color: @--theme-blue-- !important;
251
+ }
252
+ .el-checkbox__label {
253
+ color: @--theme-blue-- !important;
254
+ }
255
+ }
256
+
257
+ & .el-button {
258
+ border-radius: 2px;
259
+ }
260
+ }
261
+
262
+ &__content {
263
+ display: flex;
264
+ min-height: 500px;
265
+ }
266
+
267
+ &__content-left {
268
+ min-width: 417px;
269
+ width: 417px;
270
+
271
+ display: flex;
272
+ flex-direction: column;
273
+ justify-content: flex-start;
274
+ align-items: flex-start;
275
+ }
276
+
277
+ &__content-left-item {
278
+ width: 130px;
279
+ margin-bottom: 15px;
280
+ }
281
+
282
+ &__content-right {
283
+ border-left: 1px solid #d9d9d9;
284
+ display: flex;
285
+ flex-direction: column;
286
+ justify-content: flex-start;
287
+ align-items: flex-start;
288
+ }
289
+
290
+ &__content-right-title,
291
+ &__content-left-title {
292
+ border-bottom: 1px solid #d9d9d9;
293
+ width: 100%;
294
+ height: 46px;
295
+ display: flex;
296
+ justify-content: flex-start;
297
+ align-items: center;
298
+ padding-left: 20px;
299
+ }
300
+
301
+ &__selected-count {
302
+ margin-left: 20px;
303
+ }
304
+
305
+ &__checkbox-wrapper {
306
+ padding-left: 37px;
307
+ padding-top: 24px;
308
+ }
309
+
310
+ &__content-right {
311
+ flex-grow: 1;
312
+ }
313
+
314
+ &__content-right-frize {
315
+ width: 100%;
316
+ display: flex;
317
+ justify-content: flex-start;
318
+ align-items: center;
319
+ height: 50px;
320
+ border-bottom: 1px solid #d9d9d9;
321
+ padding-left: 20px;
322
+ }
323
+
324
+ &__content-right-input {
325
+ width: 140px;
326
+ margin: 0 4px;
327
+
328
+ .el-input__inner {
329
+ height: 28px;
330
+ line-height: 28px;
331
+ }
332
+ }
333
+
334
+ &__content-right-selected {
335
+ display: flex;
336
+ justify-content: flex-start;
337
+ flex-direction: column;
338
+ align-items: flex-start;
339
+ width: 100%;
340
+ flex-grow: 1;
341
+ padding-left: 18px;
342
+ padding-top: 17px;
343
+ padding-right: 23px;
344
+ }
345
+
346
+ &__selected-item-left {
347
+ display: flex;
348
+ justify-content: flex-start;
349
+ align-items: center;
350
+ }
351
+
352
+ &__icon-wrapper {
353
+ width: 14px;
354
+ height: 14px;
355
+ line-height: 14px;
356
+ padding: 2px 4px;
357
+ margin-right: 10px;
358
+ cursor: grab;
359
+ display: flex;
360
+ flex-direction: column;
361
+ justify-content: center;
362
+ align-items: center;
363
+ }
364
+
365
+ &__selected-item {
366
+ display: flex;
367
+ justify-content: space-between;
368
+ align-items: center;
369
+ line-height: 30px;
370
+ height: 30px;
371
+ width: 100%;
372
+ }
373
+
374
+ &__selected-item-close {
375
+ cursor: pointer;
376
+ &--disabled {
377
+ cursor: not-allowed;
378
+ color: #989ea9;
379
+ }
380
+ }
381
+ }
382
+
383
+ .color-popover {
384
+ min-width: 102px;
385
+ width: 102px;
386
+ padding: 0;
387
+
388
+ & .popper__arrow::after {
389
+ left: 0 !important;
390
+ }
391
+ }
392
+
393
+ .color-list {
394
+ color: #fff;
395
+ width: 102px;
396
+ border-radius: 5px;
397
+ overflow: hidden;
398
+ &__item {
399
+ display: inline-block;
400
+ width: 100%;
401
+ height: 27px;
402
+ line-height: 27px;
403
+ padding-left: 6px;
404
+ }
405
+ }
406
+
407
+ .sort-filter {
408
+ width: 258px;
409
+ padding: 0;
410
+
411
+ &__column-title {
412
+ font-size: 14px;
413
+ font-weight: 600;
414
+ height: 40px;
415
+ line-height: 40px;
416
+ text-align: center;
417
+ border-bottom: 1px solid #d6dbe3;
418
+ }
419
+
420
+ &__filter,
421
+ &__sort,
422
+ &__search {
423
+ padding: 14px;
424
+ }
425
+
426
+ &__filter {
427
+ padding-top: 0;
428
+ }
429
+
430
+ &__filter-title,
431
+ &__sort-title,
432
+ &__search-title {
433
+ font-weight: 600;
434
+ font-size: 14px;
435
+ color: #1f1f1f;
436
+ margin-bottom: 10px;
437
+ }
438
+
439
+ &__search-input {
440
+ & .el-input__inner {
441
+ height: 32px;
442
+ }
443
+ }
444
+
445
+ &__filter-title {
446
+ border-top: 1px solid #f3f3f3;
447
+ padding-top: 14px;
448
+ }
449
+
450
+ &__sort-btns {
451
+ display: flex;
452
+ justify-content: space-between;
453
+ align-items: center;
454
+
455
+ & .el-button {
456
+ border: none;
457
+ }
458
+ }
459
+
460
+ &__sort-btn {
461
+ width: 112px;
462
+ height: 28px;
463
+ padding: 4px 42px;
464
+ display: inline-block;
465
+ background-color: #f4f4f4;
466
+ color: #4a4a4a;
467
+
468
+ &:hover {
469
+ background-color: #fafafa;
470
+ }
471
+
472
+ &--active {
473
+ color: @--theme-blue--;
474
+ border-color: #eef3ff;
475
+ background: #f4f7fe;
476
+
477
+ &:hover {
478
+ background-color: #f4f7fe;
479
+ }
480
+ }
481
+ }
482
+
483
+ &__filter-checkbox-group {
484
+ display: flex;
485
+ flex-direction: column;
486
+ justify-content: flex-start;
487
+ align-items: flex-start;
488
+ }
489
+
490
+ &__filter-checkbox {
491
+ margin-top: 10px;
492
+ font-size: 14px;
493
+
494
+ &:first-child {
495
+ margin-top: 0;
496
+ }
497
+ }
498
+
499
+ &__footer {
500
+ display: flex;
501
+ height: 47px;
502
+ border-top: 1px solid #d6dbe3;
503
+ justify-content: flex-end;
504
+ align-items: center;
505
+ padding: 0 15px;
506
+ }
507
+
508
+ &__reset-btn,
509
+ &__confirm-btn {
510
+ width: 50px;
511
+ height: 28px;
512
+ margin-left: 10px;
513
+ display: flex;
514
+ justify-content: center;
515
+ align-items: center;
516
+ border-radius: 2px;
517
+ font-size: 14px;
518
+ font-weight: 400;
519
+ }
520
+
521
+ &__confirm-btn {
522
+ background-color: @--theme-blue--;
523
+ border-color: @--theme-blue--;
524
+ }
525
+
526
+ .el-checkbox__input.is-checked .el-checkbox__inner,
527
+ .el-radio__input.is-checked .el-radio__inner {
528
+ background: #2468f2;
529
+ border-color: #2468f2;
530
+ }
531
+ }
532
+
533
+ .btn-pointer {
534
+ cursor: pointer;
535
+ }
536
+
537
+ .operation-popover {
538
+ min-width: 120px;
539
+ padding: 0;
540
+
541
+ &__operation {
542
+ display: flex;
543
+ flex-direction: column;
544
+ justify-content: space-between;
545
+ align-items: center;
546
+ }
547
+
548
+ &__operation-reference {
549
+ display: inline-block;
550
+
551
+ &--active {
552
+ color: @--theme-blue--;
553
+ }
554
+
555
+ .el-button {
556
+ background: transparent;
557
+ border: none;
558
+ padding: 0;
559
+ font-weight: 400;
560
+ color: #13161b;
561
+ font-size: 14px;
562
+
563
+ &:focus {
564
+ color: @--theme-blue--;
565
+ }
566
+ }
567
+ }
568
+
569
+ &__operation-item {
570
+ height: 40px;
571
+ line-height: 40px;
572
+ width: 100%;
573
+ text-align: center;
574
+ color: #1f1f1f;
575
+ cursor: pointer;
576
+
577
+ &:hover {
578
+ background: #f4f7fe;
579
+ }
580
+ }
581
+
582
+ &__save-cancel {
583
+ display: flex;
584
+ justify-content: flex-start;
585
+ align-items: center;
586
+ color: @--theme-blue--;
587
+ }
588
+
589
+ &__btn {
590
+ cursor: pointer;
591
+ &:first-child {
592
+ margin-right: 15px;
593
+ }
594
+ }
595
+
596
+ &__operation-btn {
597
+ &--active {
598
+ color: @--theme-blue-- !important;
599
+ }
600
+ }
601
+ }
602
+
603
+ .pagination-wrap {
604
+ display: flex;
605
+ justify-content: space-between;
606
+ align-items: center;
607
+ margin-top: 12px;
608
+
609
+ & .el-pagination {
610
+ padding: 0;
611
+
612
+ .el-pager li.number {
613
+ background-color: #fff;
614
+ border: 1px solid #d6dbe3;
615
+ font-weight: 400;
616
+ font-size: 14px;
617
+
618
+ &.active {
619
+ background-color: @--theme-blue--;
620
+ color: #fff;
621
+ }
622
+ }
623
+
624
+ & .btn-prev,
625
+ & .btn-next,
626
+ & .el-icon-more {
627
+ background-color: #fff !important;
628
+ }
629
+ }
630
+ }
631
+
632
+ .custom-row-classname-pinned {
633
+ & td:last-child {
634
+ background-image: url("./pin-top.png");
635
+ background-repeat: no-repeat;
636
+ background-size: 24px 24px;
637
+ background-position: right 0 top 0;
638
+ }
639
+ }
640
+
641
+
642
+
643
+ .editable-table {
644
+ & table th {
645
+ font-size: 14px;
646
+ font-weight: bold;
647
+ }
648
+
649
+ & table td {
650
+ font-size: 12px;
651
+ color: #13161b;
652
+ }
653
+ }
654
+
655
+ .no-inner-cell-border {
656
+ & .cell {
657
+ border: none !important;
658
+ }
659
+ }
660
+
661
+ .editable-table-drag-icon {
662
+ position: relative;
663
+ width: 5px;
664
+ height: 2px;
665
+ border-left: 2px solid #989ea9;
666
+ border-right: 2px solid #989ea9;
667
+ cursor: grab;
668
+
669
+ &::after,
670
+ &::before {
671
+ position: absolute;
672
+ content: "";
673
+ box-sizing: border-box;
674
+ left: -2px;
675
+ display: block;
676
+ width: 5px;
677
+ height: 2px;
678
+ border-left: 2px solid #989ea9;
679
+ border-right: 2px solid #989ea9;
680
+ }
681
+
682
+ &::after {
683
+ top: -4px;
684
+ }
685
+
686
+ &::before {
687
+ bottom: -4px;
688
+ }
689
+ }
690
+
691
+ .el-dialog__header {
692
+ display: flex;
693
+ justify-content: space-between;
694
+ align-items: center;
695
+ font-size: 14px;
696
+ background-color: #eeeeee;
697
+ height: 36px;
698
+ line-height: 36px;
699
+ padding: 0 20px;
700
+ }
701
+
702
+ .el-dialog__headerbtn {
703
+ position: inherit;
704
+ }
705
+
706
+ .el-dialog__title {
707
+ font-size: 14px;
708
+ line-height: 20px;
709
+ color: #333333;
710
+ }
711
+
712
+ .el-dialog__footer {
713
+ background-color: #eeeeee;
714
+ height: 42px;
715
+ line-height: 42px;
716
+ padding: 0 20px;
717
+
718
+ & .el-button {
719
+ height: 24px;
720
+ // line-height: 24px;
721
+ font-size: 12px;
722
+ padding: 5px 12px;
723
+ }
724
+ }