es-grid-template 1.4.0 → 1.4.2

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 (33) hide show
  1. package/es/grid-component/EditableCell.js +46 -15
  2. package/es/grid-component/InternalTable.d.ts +1 -0
  3. package/es/grid-component/InternalTable.js +469 -113
  4. package/es/grid-component/TableGrid.js +46 -48
  5. package/es/grid-component/hooks/columns/index.d.ts +1 -1
  6. package/es/grid-component/hooks/columns/index.js +3 -13
  7. package/es/grid-component/hooks/useColumns.js +5 -2
  8. package/es/grid-component/hooks/utils.d.ts +17 -2
  9. package/es/grid-component/hooks/utils.js +24 -5
  10. package/es/grid-component/styles.scss +1186 -1170
  11. package/es/grid-component/table/Grid.d.ts +1 -0
  12. package/es/grid-component/table/GridEdit.d.ts +1 -0
  13. package/es/grid-component/table/GridEdit.js +190 -140
  14. package/es/grid-component/table/Group.d.ts +1 -0
  15. package/es/grid-component/type.d.ts +7 -2
  16. package/es/grid-component/useContext.d.ts +1 -0
  17. package/lib/grid-component/EditableCell.js +46 -15
  18. package/lib/grid-component/InternalTable.d.ts +1 -0
  19. package/lib/grid-component/InternalTable.js +469 -102
  20. package/lib/grid-component/TableGrid.js +45 -47
  21. package/lib/grid-component/hooks/columns/index.d.ts +1 -1
  22. package/lib/grid-component/hooks/columns/index.js +5 -15
  23. package/lib/grid-component/hooks/useColumns.js +4 -1
  24. package/lib/grid-component/hooks/utils.d.ts +17 -2
  25. package/lib/grid-component/hooks/utils.js +26 -6
  26. package/lib/grid-component/styles.scss +1186 -1170
  27. package/lib/grid-component/table/Grid.d.ts +1 -0
  28. package/lib/grid-component/table/GridEdit.d.ts +1 -0
  29. package/lib/grid-component/table/GridEdit.js +189 -139
  30. package/lib/grid-component/table/Group.d.ts +1 -0
  31. package/lib/grid-component/type.d.ts +7 -2
  32. package/lib/grid-component/useContext.d.ts +1 -0
  33. package/package.json +5 -5
@@ -1,1170 +1,1186 @@
1
- $prefix: 'ui-rc' !default;
2
- $antdPrefix: 'ant' !default;
3
- $primary: #eb4619 !default;
4
- $rowHoverBg: #FBDED6 !default;
5
- $rowSelectedBg: #FEF2EF !default;
6
- //$tableBorderColor: red !default;
7
- $tableBorderColor: #e0e0e0 !default;
8
- //$tableBorderColor: #C4C4C4 !default;
9
- //$tableBorderColor: #f0f0f0 !default;
10
- $border-radius: 6px !default;
11
- $border-selected-color: #0550C5 !default;
12
- $body-color: #ffffff !default;
13
- //$cell-selected-bg: #E6EFFD !default;
14
- $cell-selected-bg: #F3F8FF !default;
15
- //$cell-index-selected-bg: #0550C5 !default;
16
- $cell-index-selected-bg: #1869E6 !default;
17
- //$cell-index-focus-bg: #CEDBEF !default;
18
- $cell-index-focus-bg: #E6EFFD !default;
19
- $rowSelectedHoverBg: 'ui-rc' !default;
20
- $boxShadowColor: rgba(5, 5, 5, 0.09) !default;
21
- $fontFamily: "Montserrat",Helvetica,Arial,serif !default;
22
-
23
- .react-hot-toast {
24
- font-size: 1rem;
25
- color: $body-color;
26
- letter-spacing: 0.14px;
27
- box-shadow: 0px 4px 10px -4px rgb(58 53 65 / 60%);
28
- border-radius: $border-radius;
29
- }
30
-
31
- .popup-context-menu {
32
- min-width: 200px;
33
-
34
- }
35
- .ant-dropdown-menu.popup-context-menu {
36
- .ant-dropdown-menu-submenu {
37
- .ant-dropdown-menu-submenu-title {
38
- align-items: center;
39
- }
40
- }
41
- }
42
-
43
- // -------------- Table -------------
44
-
45
- .#{$prefix}-table-wrapper {
46
-
47
- p {
48
- margin: 0;
49
- }
50
-
51
- .ui-rc-table {
52
- //font-family: $fontFamily;
53
- color: #000000de;
54
- //font-weight: 500;
55
- }
56
-
57
- .ui-rc-table {
58
- .#{$prefix}-table-cell {
59
- &.#{$prefix}-table-selection-column {
60
- //padding: 6px 8px !important;
61
- //padding: 6px 8px !important;
62
- }
63
- }
64
- }
65
-
66
-
67
- &.table-none-column-select {
68
- .#{$prefix}-table-cell {
69
- &.#{$prefix}-table-selection-column {
70
- padding: 0 !important;
71
- overflow: hidden !important;
72
- border-inline-end: 0 !important;
73
- //flex: 0 0 0 !important;
74
- //width: 0 !important;
75
- }
76
- }
77
- }
78
-
79
- .#{$prefix}-table {
80
-
81
- //line-height: 20px;
82
-
83
- .#{$prefix}-table-cell {
84
- //min-height: 35px;
85
- //height: 35px;
86
-
87
- .#{$prefix}-table-filter-column {
88
- .#{$prefix}-dropdown-trigger.#{$prefix}-table-filter-trigger {
89
- margin-left: 0;
90
- }
91
- }
92
-
93
- &.cell-group {
94
- font-weight: 600;
95
- background-color: #f5f5f5;
96
- border-inline-end-color: transparent !important;
97
-
98
- }
99
- &.cell-group-fixed {
100
- font-weight: 600;
101
- position: sticky;
102
- text-align: left !important;
103
- left: 0;
104
- z-index: 15;
105
- }
106
-
107
- }
108
-
109
- }
110
-
111
- .#{$prefix}-table-tbody-virtual {
112
- .#{$prefix}-table-cell {
113
- border-bottom: 1px solid $tableBorderColor;
114
- }
115
- }
116
-
117
- .#{$prefix}-table-bordered {
118
-
119
- .#{$prefix}-table-tbody-virtual {
120
- .#{$prefix}-table-cell {
121
- //display: flex;
122
- border-inline-end: 1px solid $tableBorderColor;
123
- }
124
- }
125
- .#{$prefix}-table-container {
126
- .#{$prefix}-table-thead {
127
-
128
- > tr{
129
- > th.#{$prefix}-table-cell:last-of-type {
130
- //border-inline-end: 0;
131
- }
132
- }
133
-
134
- }
135
- .#{$prefix}-table-summary {
136
- > tr{
137
- > td.#{$prefix}-table-cell:last-of-type {
138
- //border-inline-end: 0;
139
- }
140
- }
141
- }
142
- }
143
-
144
- }
145
-
146
- .#{$prefix}-table-tbody {
147
-
148
-
149
- .#{$prefix}-table-cell {
150
- line-height: 22px;
151
- &:focus-visible {
152
- outline: none;
153
- }
154
-
155
-
156
- &.disable {
157
- background-color: #f0f0f0;
158
- }
159
-
160
- &.selected {
161
- //background: red;
162
- background-color: $cell-selected-bg !important;
163
- }
164
-
165
- .ui-rc-table-cell-content {
166
- line-height: 22px;
167
- }
168
-
169
- &.#{$prefix}-table-cell-fix-left-last {
170
- .#{$prefix}-table-cell-content {
171
- }
172
- }
173
-
174
- }
175
-
176
- .#{$prefix}-table-row {
177
-
178
- &.#{$prefix}-table-row-selected {
179
- > .#{$prefix}-table-cell {
180
- background: #FEF2EF;
181
- }
182
- }
183
-
184
- &.row-disabled {
185
- .#{$prefix}-table-cell {
186
- //background-color: #f5f5f5;
187
- }
188
- }
189
-
190
- > .#{$prefix}-table-cell {
191
- &.#{$prefix}-table-cell-row-hover {
192
- background: #FBDED6;
193
- }
194
-
195
- &.#{$prefix}-cell-command {
196
- padding: 5px 8px;
197
-
198
- .#{$prefix}-cell-command__content {
199
- display: flex;
200
- gap: 5px;
201
- overflow: hidden;
202
- }
203
- }
204
-
205
-
206
- }
207
-
208
- .#{$prefix}-table-cell:last-of-type {
209
- //border-inline-end: 0;
210
- }
211
-
212
-
213
- @for $i from 0 through 10 {
214
- &:has(.indent-level-#{$i}) {
215
- .#{$prefix}-table-cell {
216
- &.cell-number {
217
- .ui-rc_content {
218
- padding-left: $i * 10px;
219
- }
220
- }
221
- }
222
- }
223
- }
224
-
225
- }
226
-
227
- .#{$prefix}-table-placeholder {
228
- .#{$prefix}-table-cell {
229
- padding-top: 0 !important;
230
- padding-bottom: 0 !important;
231
- .#{$prefix}-table-expanded-row-fixed {
232
- margin-top: 0 !important;
233
- margin-bottom: 0 !important;
234
- }
235
- }
236
- }
237
- }
238
-
239
- .#{$prefix}-table-thead {
240
- //font-weight: 400;
241
-
242
- > tr {
243
- > th,
244
- > td {
245
- border-bottom: 1px solid $tableBorderColor;
246
- //background: #fff;
247
- font-weight: 500;
248
- //line-height: 23px;
249
- //height: 40px;
250
- }
251
- }
252
-
253
- .#{$prefix}-table-cell {
254
-
255
- .ui-rc-table-cell-content {
256
- line-height: 22px;
257
- }
258
-
259
- &.#{$prefix}-table-cell-fix-left-last {
260
- .#{$prefix}-table-cell-content {
261
- //overflow: visible;
262
- }
263
- }
264
- .#{$prefix}-table-column-title {
265
- //display: flex;
266
- }
267
-
268
- &.head-align-center {
269
- text-align: center;
270
- }
271
- &.head-align-right {
272
- text-align: right;
273
- }
274
- }
275
- }
276
-
277
- .#{$prefix}-table-summary {
278
- .#{$prefix}-table-cell {
279
- background-color: #fafafa;
280
- height: 39px;
281
- font-weight: 600;
282
- }
283
-
284
- > tr > td {
285
- border-bottom: 1px solid $tableBorderColor;
286
- }
287
- }
288
-
289
- .#{$prefix}-table-bordered .#{$prefix}-table-tbody-virtual .#{$prefix}-table-cell.#{$prefix}-table-cell-fix-right-first:before {
290
- border-inline-start: 1px solid $tableBorderColor;
291
- }
292
-
293
- .#{$prefix}-table {
294
-
295
- &.#{$prefix}-table-bordered {
296
- > .#{$prefix}-table-container {
297
- border-inline-start: 1px solid $tableBorderColor;
298
- border-top: 1px solid $tableBorderColor;
299
-
300
- &::after {
301
- border-inline-end: 1px solid $tableBorderColor;
302
- }
303
-
304
- > .#{$prefix}-table-content,
305
- > .#{$prefix}-table-header,
306
- > .#{$prefix}-table-body,
307
- > .#{$prefix}-table-summary {
308
- > table {
309
- > thead {
310
- > tr:not(:last-child) {
311
- > th {
312
- border-bottom: 1px solid $tableBorderColor;
313
- }
314
- }
315
- }
316
- }
317
- }
318
-
319
-
320
- > .#{$prefix}-table-content,
321
- > .#{$prefix}-table-header,
322
- > .#{$prefix}-table-body,
323
- > .#{$prefix}-table-summary {
324
- > table {
325
- > thead,
326
- > tbody,
327
- > tfoot {
328
- > tr {
329
- > th,
330
- > td {
331
- border-inline-end: 1px solid $tableBorderColor;
332
- }
333
- }
334
- }
335
- }
336
- }
337
-
338
- }
339
-
340
- > .#{$prefix}-table-title {
341
- border: 1px solid $tableBorderColor;
342
- border-bottom: 0;
343
- }
344
- }
345
-
346
- &.#{$prefix}-table-ping-right:not(.#{$prefix}-table-has-fix-right) .#{$prefix}-table-container::after {
347
- box-shadow: inset -10px 0 8px -8px $boxShadowColor;
348
- //box-shadow: none;
349
- }
350
-
351
-
352
- }
353
-
354
- .#{$prefix}-table-ping-left {
355
- .#{$prefix}-table-cell-fix-left-first::after,
356
- .#{$prefix}-table-cell-fix-left-last::after {
357
- box-shadow: inset 10px 0 8px -8px $boxShadowColor;
358
- }
359
- }
360
-
361
- .#{$prefix}-table-ping-right {
362
- .#{$prefix}-table-cell-fix-right-first::after,
363
- .#{$prefix}-table-cell-fix-right-last::after {
364
- box-shadow: inset -10px 0 8px -8px $boxShadowColor;
365
- }
366
- }
367
-
368
-
369
- .#{$prefix}-table.#{$prefix}-table-bordered {
370
- > .#{$prefix}-table-container {
371
- > .#{$prefix}-table-header > table > thead > tr,
372
- > .#{$prefix}-table-summary > table > tfoot > tr {
373
- > .#{$prefix}-table-cell-fix-right-first::before {
374
- border-inline-start: 1px solid $tableBorderColor;
375
- content: "";
376
- position: absolute;
377
- inset-block: 0;
378
- inset-inline-start: -1px;
379
- }
380
- }
381
- }
382
- }
383
-
384
-
385
- }
386
-
387
- // -------------- Table edit-------------
388
-
389
- .#{$prefix}-table-wrapper {
390
-
391
- .#{$prefix}-table.#{$prefix}-table-small {
392
- .ui-rc-table-thead {
393
- >tr >th.#{$prefix}-table-selection-column{
394
- //padding-block: 7px;
395
- padding: 0;
396
- //padding: 6px 8px;
397
- }
398
- }
399
- //.#{$prefix}-table-selection-column{
400
- // padding-block: 7px;
401
- // padding: 0;
402
- // //padding: 6px 8px;
403
- //}
404
- }
405
-
406
- &.grid-editable {
407
-
408
- .#{$prefix}-table-row {
409
- &:has(+ .#{$prefix}-table-cell) {
410
-
411
- }
412
- }
413
-
414
- .#{$prefix}-table .#{$prefix}-table-tbody .rc-ui-cell-editable {
415
- overflow: unset;
416
-
417
- display: flex;
418
- //--------
419
- padding: 0;
420
-
421
- .#{$prefix}-table-row-expand-icon {
422
- top: 8px;
423
- left: 8px;
424
- }
425
-
426
- &.rc-ui-cell-index {
427
- &.focus {
428
- background-color: $cell-index-focus-bg;
429
- font-weight: 500;
430
- }
431
- &.selected {
432
- background-color: $cell-index-selected-bg !important;
433
- color: #fff;
434
- //font-weight: 500;
435
- }
436
- }
437
-
438
- &.cell-editable {
439
-
440
- &.cell-border-top {
441
- border-bottom: 1px solid $border-selected-color;
442
- }
443
-
444
- &.cell-border-bottom {
445
- border-bottom: 1px solid $border-selected-color;
446
- }
447
-
448
- &.cell-border-left {
449
- border-inline-end: 1px solid $border-selected-color;
450
- }
451
-
452
- &.cell-border-right {
453
- border-inline-end: 1px solid $border-selected-color;
454
- }
455
-
456
- &.cell-paste-border-top {
457
- border-bottom: 1px dashed #949494;
458
- }
459
-
460
- &.cell-paste-border-bottom {
461
- border-bottom: 1px dashed #949494;
462
- }
463
-
464
- &.cell-paste-border-left {
465
- border-inline-end: 1px dashed #949494;
466
- }
467
-
468
- &.cell-paste-border-right {
469
- border-inline-end: 1px dashed #949494;
470
- }
471
-
472
-
473
- &.#{$prefix}-table-cell-fix-left {
474
- &:has(.ui-rc_cell-content.selected) {
475
- }
476
-
477
- }
478
-
479
- &.#{$prefix}-table-cell-fix-right {
480
- &:has(.ui-rc_cell-content.selected) {
481
- }
482
-
483
- &.cell-border-end {
484
- z-index: 3;
485
- }
486
-
487
- }
488
-
489
-
490
- &.cell-border-end {
491
- z-index: 1;
492
- }
493
-
494
- &.#{$prefix}-table-cell-fix-right-first {
495
-
496
- &.cell-border-end {
497
- z-index: 3;
498
- }
499
-
500
- &.next-cell-border-left {
501
- &::before {
502
- border-inline-start: 1px solid $border-selected-color;
503
- }
504
- }
505
-
506
-
507
- &.next-cell-paste-border-left {
508
- &::before {
509
- border-inline-start: 1px dashed #949494;
510
- }
511
- }
512
-
513
- &.fixed-cell-border-left {
514
- &::before {
515
- border-inline-start: 1px solid $border-selected-color;
516
- }
517
- }
518
- &.fixed-cell-paste-border-left {
519
- &::before {
520
- border-inline-start: 1px dashed #949494;
521
- }
522
- }
523
-
524
- }
525
-
526
- &.#{$prefix}-table-cell-fix-left-last {
527
-
528
- &.cell-border-end {
529
- z-index: 3;
530
- }
531
-
532
- }
533
-
534
- }
535
-
536
-
537
- }
538
-
539
- .#{$prefix}-table.#{$prefix}-table-ping-left {
540
- .#{$prefix}-table-tbody .rc-ui-cell-editable{
541
- &.cell-editable {
542
-
543
-
544
- &.#{$prefix}-table-cell-fix-left-last {
545
-
546
- &.cell-border-left {
547
- border-inline-end: 1px solid $tableBorderColor;
548
- }
549
-
550
- }
551
-
552
-
553
-
554
- }
555
- }
556
-
557
- &:not(.#{$prefix}-table.#{$prefix}-table-ping-right) {
558
-
559
- .#{$prefix}-table-tbody .rc-ui-cell-editable {
560
- &.cell-editable {
561
-
562
- // //&.cell-border-end {
563
- // // z-index: 1;
564
- // //}
565
-
566
- &.#{$prefix}-table-cell-fix-right {
567
- z-index: 0;
568
-
569
- &.cell-border-end {
570
- z-index: 3;
571
- }
572
- }
573
-
574
- }
575
- }
576
-
577
- }
578
-
579
- }
580
-
581
- .#{$prefix}-table.#{$prefix}-table-ping-right {
582
- .#{$prefix}-table-tbody .rc-ui-cell-editable{
583
-
584
- &.cell-editable {
585
-
586
- &.#{$prefix}-table-cell-fix-right-first {
587
-
588
- &.next-cell-border-left {
589
- &::before {
590
- border-inline-start: 1px solid $tableBorderColor;
591
- }
592
- }
593
-
594
-
595
-
596
- }
597
-
598
- &.#{$prefix}-table-cell-fix-left-last {
599
- &.cell-border-end {
600
- z-index: 3;
601
- }
602
- }
603
-
604
- }
605
-
606
- &.cell-border-end {
607
- z-index: 1;
608
- }
609
-
610
- }
611
-
612
- }
613
-
614
-
615
- .#{$prefix}-table.#{$prefix}-table-small {
616
- .#{$prefix}-table-thead > tr > th,
617
- tfoot > tr > th,
618
- tfoot > tr > td,
619
- tfoot > tr > td.#{$prefix}-table-cell
620
- {
621
- //padding: 8px 8px;
622
- }
623
- }
624
-
625
- .#{$prefix}-table.#{$prefix}-table-small {
626
- .#{$prefix}-table-selection-column{
627
- //padding: 8px 8px;
628
- //padding: 6px 8px;
629
- }
630
- }
631
-
632
- .ui-rc_cell-content {
633
- //position: relative;
634
- user-select: none;
635
- //padding: 8px 8px;
636
- padding: 7px 8px;
637
- //min-height: 23px;
638
- overflow: hidden;
639
-
640
- .ui-rc_content {
641
- width: 100%;
642
- }
643
- &:hover {
644
- .dragging-point {
645
- //visibility: visible;
646
- }
647
- }
648
-
649
- .dragging-point {
650
- //visibility: hidden;
651
- width: 10px;
652
- height: 10px;
653
- position: absolute;
654
- cursor: crosshair;
655
- right: -1px;
656
- bottom: -1px;
657
- //background: red;
658
-
659
- &.hidden {
660
- display: none;
661
- }
662
-
663
- .dot-point {
664
- position: absolute;
665
- width: 8px;
666
- height: 8px;
667
- border-radius: 6px;
668
- background-color: $border-selected-color;
669
- bottom: -3px;
670
- right: -3px;
671
- }
672
-
673
- }
674
- }
675
-
676
- .ui-rc_cell-content.selected {
677
- background-color: $cell-selected-bg;
678
- }
679
-
680
- //.ui-rc_cell-content.disable {
681
- // background-color: #f0f0f0;
682
- //}
683
-
684
- .ui-rc_cell-content--index {
685
- &.focus {
686
- background-color: $cell-index-focus-bg;
687
- //color: #fff;
688
- //font-weight: 500;
689
- }
690
- &.selected {
691
- background-color: $cell-index-selected-bg;
692
- color: #fff;
693
- //font-weight: 500;
694
- }
695
- }
696
-
697
- .#{$prefix}-table-tbody {
698
-
699
- .#{$prefix}-table-row {
700
- &.#{$prefix}-table-row-selected {
701
- >.#{$prefix}-table-cell {
702
- //background: #FEF2EF;
703
- }
704
- }
705
- >.#{$prefix}-table-cell {
706
- &.#{$prefix}-table-cell-row-hover {
707
- //background: #FBDED6;
708
- }
709
- }
710
-
711
- .#{$prefix}-table-cell {
712
-
713
- .#{$prefix}-table-row-indent {
714
- position: absolute;
715
- @for $i from 1 through 10 {
716
- &.indent-level-#{$i} {
717
- padding-left: $i * 25px;;
718
- }
719
- }
720
- }
721
-
722
- @for $i from 0 through 10 {
723
- &:has(.indent-level-#{$i}) {
724
-
725
- .#{$prefix}-table-row-expand-icon {
726
- position: absolute;
727
- //.ui-rc_content {
728
- //padding-left: $i * 10px;
729
- //}
730
- }
731
-
732
- .ui-rc_cell-content {
733
- padding-left: $i * 25px + 8px;
734
- }
735
-
736
- }
737
- }
738
-
739
- @for $i from 0 through 10 {
740
- &:has(.indent-level-#{$i}) {
741
-
742
- .#{$prefix}-table-row-expand-icon {
743
- position: absolute;
744
- left: $i * 25px + 8px !important;
745
- }
746
-
747
- .ui-rc_cell-content {
748
- padding-left: ($i + 1)* 25px + 8px;
749
- }
750
-
751
- }
752
- }
753
- }
754
- }
755
-
756
-
757
- .#{$prefix}-table-cell{
758
-
759
- &.#{$prefix}-table-cell-ellipsis {
760
- .ui-rc_cell-content {
761
-
762
- .ui-rc_content {
763
- text-overflow: ellipsis;
764
- text-decoration: none;
765
- transition: 0.3s;
766
- white-space: nowrap;
767
- overflow: hidden;
768
- line-height: 22px;
769
- }
770
- }
771
- }
772
-
773
- &.cell-editing {
774
- //padding: 0 !important;
775
- &:focus-visible {
776
- outline: none;
777
- }
778
- .ant-form-item ,
779
- .ant-row.ant-form-item-row,
780
- .ant-col.ant-form-item-control,
781
- .ant-form-item-control-input,
782
- .ant-form-item-control-input-content,
783
- .ant-input{
784
- height: 100%;
785
- &:focus-visible {
786
- outline: none;
787
- }
788
- }
789
-
790
- .#{$prefix}-checkbox-wrapper {
791
- .#{$prefix}-checkbox {
792
- background-color: red;
793
- }
794
- .#{$prefix}-checkbox-input {
795
- &:focus-visible {
796
- outline: none;
797
- }
798
- }
799
- }
800
-
801
-
802
- .ant-input, .ant-picker{
803
- border-radius: 0;
804
- }
805
-
806
- // color picker
807
-
808
- .ant-color-picker-trigger{
809
- height: 100%;
810
- border-radius: 0;
811
- .ant-color-picker-color-block {
812
- height: 100%;
813
- width: 100%;
814
- }
815
-
816
- }
817
-
818
-
819
- // ------------ select ---------------
820
-
821
- .#{$prefix}-table-select-single .#{$prefix}-table-select-selector,
822
- .#{$prefix}-select-single .#{$prefix}-select-selector {
823
-
824
- border-radius: 0;
825
-
826
- }
827
-
828
- .#{$prefix}-table-select-single:not(.#{$prefix}-table-select-customize-input) {
829
- .#{$prefix}-table-select-selector {
830
- .#{$prefix}-table-select-selection-search-input {
831
- height: auto;
832
- }
833
- }
834
- }
835
-
836
- // ------------ select ---------------
837
-
838
-
839
- }
840
- &.cell-editable {
841
- &:focus-visible {
842
- outline: none;
843
- }
844
- }
845
- .#{$prefix}-table-cell-content {
846
- display: flex;
847
- height: 100%;
848
- }
849
-
850
- .ui-rc_cell-content,
851
- .#{$prefix}-table-cell-content{
852
- //width: 100%;
853
- flex: 1;
854
- }
855
- .ui-rc_content {
856
- //padding: 5px 8px;
857
- }
858
- .ui-rc_content:has(.ant-color-picker-trigger) {
859
- padding: 1px 8px;
860
- }
861
- }
862
- }
863
-
864
- }
865
-
866
- }
867
- // ---------------- Table edit end---------------
868
-
869
-
870
- // -------------- Checkbox ----------
871
-
872
- .#{$prefix}-checkbox-indeterminate {
873
- &:hover {
874
- .#{$prefix}-checkbox-inner {
875
- border-color: $primary !important;;
876
- }
877
- }
878
-
879
- .#{$prefix}-checkbox-inner {
880
- &:after {
881
- background-color: $primary;
882
- }
883
- }
884
- }
885
- //.#{$prefix}-checkbox-input {
886
- // &:focus-visible {
887
- // outline: none;
888
- // }
889
- //}
890
-
891
- .#{$prefix}-checkbox .#{$prefix}-checkbox-input:focus-visible+.#{$prefix}-checkbox-inner {
892
- outline: none;
893
- }
894
-
895
- .#{$prefix}-checkbox {
896
- &.#{$prefix}-checkbox-checked {
897
- &:hover {
898
- .#{$prefix}-checkbox-inner {
899
- background-color: $primary;
900
- border-color: $primary;
901
- }
902
- }
903
-
904
- .#{$prefix}-checkbox-inner {
905
- background-color: $primary;
906
- border-color: $primary;
907
- }
908
- }
909
- }
910
-
911
- .#{$prefix}-checkbox:not(.#{$prefix}-checkbox-disabled):hover {
912
- .#{$prefix}-checkbox-inner {
913
- border-color: $primary;
914
- }
915
- }
916
-
917
- .#{$prefix}-checkbox-wrapper:not(.#{$prefix}-checkbox-wrapper-disabled):hover {
918
- .#{$prefix}-checkbox-inner {
919
- border-color: $primary;
920
- }
921
-
922
- .#{$prefix}-checkbox-checked:not(.#{$prefix}-checkbox-disabled) {
923
- .#{$prefix}-checkbox-inner {
924
- background-color: $primary;
925
- }
926
- }
927
- }
928
-
929
- // ------------ Tree ---------------
930
-
931
- .#{$prefix}-tree {
932
- .#{$prefix}-tree-checkbox-checked {
933
- .#{$prefix}-tree-checkbox-inner {
934
- background-color: $primary;
935
- border-color: $primary;
936
- }
937
- }
938
-
939
- .#{$prefix}-tree-checkbox-wrapper-checked:not(.#{$prefix}-tree-checkbox-wrapper-disabled):hover,
940
- .#{$prefix}-tree-checkbox-checked:not(.#{$prefix}-tree-checkbox-disabled):hover {
941
- .#{$prefix}-tree-checkbox-inner {
942
- background-color: $primary;
943
- }
944
- }
945
-
946
- .#{$prefix}-tree-checkbox-wrapper:not(.#{$prefix}-tree-checkbox-wrapper-disabled):hover,
947
- .#{$prefix}-tree-checkbox:not(.#{$prefix}-tree-checkbox-disabled):hover {
948
- .#{$prefix}-tree-checkbox-inner {
949
- border-color: $primary;
950
- }
951
- }
952
- }
953
-
954
-
955
- // ------------ ant Tree ---------------
956
-
957
- .#{$antdPrefix}-tree {
958
- .#{$antdPrefix}-tree-checkbox-checked {
959
- .#{$antdPrefix}-tree-checkbox-inner {
960
- background-color: $primary;
961
- border-color: $primary;
962
- }
963
- }
964
-
965
- .#{$antdPrefix}-tree-checkbox-wrapper-checked:not(.#{$antdPrefix}-tree-checkbox-wrapper-disabled):hover,
966
- .#{$antdPrefix}-tree-checkbox-checked:not(.#{$antdPrefix}-tree-checkbox-disabled):hover {
967
- .#{$antdPrefix}-tree-checkbox-inner {
968
- background-color: $primary;
969
- }
970
- }
971
-
972
- .#{$antdPrefix}-tree-checkbox-wrapper:not(.#{$antdPrefix}-tree-checkbox-wrapper-disabled):hover,
973
- .#{$antdPrefix}-tree-checkbox:not(.#{$antdPrefix}-tree-checkbox-disabled):hover {
974
- .#{$antdPrefix}-tree-checkbox-inner {
975
- border-color: $primary;
976
- }
977
- }
978
- }
979
-
980
-
981
- // ------------ paging ---------------
982
-
983
- .#{$prefix}-table-wrapper .#{$prefix}-table-pagination.#{$prefix}-pagination {
984
- margin: 0;
985
- }
986
-
987
- .#{$prefix}-table-wrapper {
988
- .#{$prefix}-table {
989
- .#{$prefix}-pagination {
990
- &::before {
991
- content: "";
992
- position: absolute;
993
- border-left: 1px solid $tableBorderColor;
994
- height: 55px;
995
- bottom: 0;
996
- left: 0;
997
- }
998
-
999
- &::after {
1000
- content: "";
1001
- position: absolute;
1002
- border-left: 1px solid $tableBorderColor;
1003
- height: 55px;
1004
- bottom: 0;
1005
- visibility: visible;
1006
- right: 0;
1007
- }
1008
-
1009
- &.top-pagination {
1010
- border: none;
1011
- padding-top: 0;
1012
- padding-bottom: 0;
1013
- .#{$prefix}-pagination-total-text {
1014
- margin-left: auto;
1015
- }
1016
- }
1017
- border-bottom: 1px solid $tableBorderColor;
1018
-
1019
- }
1020
- }
1021
- }
1022
-
1023
-
1024
- .#{$prefix}-pagination {
1025
-
1026
- .#{$prefix}-pagination-total-text {
1027
- white-space: nowrap;
1028
- }
1029
-
1030
- .#{$prefix}-pagination-item-active {
1031
- border-color: $primary;
1032
-
1033
- &:hover {
1034
- border-color: $primary;
1035
-
1036
- a {
1037
- color: $primary;
1038
- }
1039
- }
1040
-
1041
- a {
1042
- color: $primary;
1043
- }
1044
- }
1045
-
1046
- .#{$prefix}-pagination-jump-prev, .#{$prefix}-pagination-jump-next {
1047
- .#{$prefix}-pagination-item-container {
1048
- .#{$prefix}-pagination-item-link-icon {
1049
- color: $primary;
1050
- }
1051
- }
1052
- }
1053
- }
1054
-
1055
-
1056
-
1057
- //.#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-content >table >tbody>tr>td >.#{$prefix}-table-expanded-row-fixed {
1058
- // border-inline-end: 1px solid $tableBorderColor;
1059
- //}
1060
- //
1061
- //.#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-content >table >tbody>tr>td >.#{$prefix}-table-expanded-row-fixed::after {
1062
- // //border-inline-end: 1px solid $tableBorderColor;
1063
- // border-inline-end: 0 solid $tableBorderColor;
1064
- //}
1065
- //
1066
- //
1067
- //.#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered.#{$prefix}-table-small >.#{$prefix}-table-container >.#{$prefix}-table-body >table>tbody>tr>td >.#{$prefix}-table-expanded-row-fixed {
1068
- // margin-top: 0;
1069
- // margin-bottom: 0;
1070
- // border-inline-end: 1px solid $tableBorderColor;
1071
- //}
1072
- //
1073
- //.#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered.#{$prefix}-table-small >.#{$prefix}-table-container >.#{$prefix}-table-body >table>tbody>tr>td >.#{$prefix}-table-expanded-row-fixed::after {
1074
- // border-inline-end: 0 solid $tableBorderColor;
1075
- //}
1076
-
1077
-
1078
- .#{$prefix}-table-wrapper {
1079
- .#{$prefix}-table {
1080
- &.#{$prefix}-table-bordered {
1081
- > .#{$prefix}-table-container {
1082
- > .#{$prefix}-table-content,
1083
- > .#{$prefix}-table-header,
1084
- > .#{$prefix}-table-body,
1085
- > .#{$prefix}-table-summary {
1086
- > table > tbody > tr {
1087
- > th,
1088
- > td {
1089
- > .#{$prefix}-table-expanded-row-fixed::after {
1090
- // Thêm CSS ở đây
1091
- }
1092
- }
1093
- }
1094
- }
1095
- }
1096
- }
1097
- }
1098
- }
1099
-
1100
-
1101
- .#{$prefix}-table-wrapper {
1102
- .#{$prefix}-table.#{$prefix}-table-small {
1103
- .#{$prefix}-table-title,
1104
- .#{$prefix}-table-footer,
1105
- .#{$prefix}-table-cell,
1106
- .#{$prefix}-table-thead > tr > th,
1107
- .#{$prefix}-table-tbody > tr > th,
1108
- .#{$prefix}-table-tbody > tr > td,
1109
- tfoot > tr > th,
1110
- tfoot > tr > td {
1111
- //padding: 8px 8px;
1112
- //font-size: 13px;
1113
- }
1114
- }
1115
- }
1116
- .#{$prefix}-table-wrapper {
1117
- .#{$prefix}-table.#{$prefix}-table-small {
1118
- .#{$prefix}-table-cell {
1119
- &:has(.ant-color-picker-trigger) {
1120
- padding: 1px 8px;
1121
- }
1122
- .ant-color-picker-trigger{
1123
- width: 100%;
1124
- min-height: 20px;
1125
- .ant-color-picker-clear {
1126
- height: 20px;
1127
- }
1128
- }
1129
- }
1130
- }
1131
- }
1132
-
1133
-
1134
-
1135
- //ui-rc-table-ping-right
1136
-
1137
- .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-content >table >thead>tr >.#{$prefix}-table-cell-fix-right-first::after,
1138
- .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-header >table >thead>tr >.#{$prefix}-table-cell-fix-right-first::after,
1139
- .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-body >table >thead>tr >.#{$prefix}-table-cell-fix-right-first::after,
1140
- .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-summary >table >thead>tr >.#{$prefix}-table-cell-fix-right-first::after,
1141
- .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-content >table >tbody>tr >.#{$prefix}-table-cell-fix-right-first::after,
1142
- .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-header >table >tbody>tr >.#{$prefix}-table-cell-fix-right-first::after,
1143
- .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-body >table >tbody>tr >.#{$prefix}-table-cell-fix-right-first::after,
1144
- .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-summary >table >tbody>tr >.#{$prefix}-table-cell-fix-right-first::after,
1145
- .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-content >table >tfoot>tr >.#{$prefix}-table-cell-fix-right-first::after,
1146
- .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-header >table >tfoot>tr >.#{$prefix}-table-cell-fix-right-first::after,
1147
- .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-body >table >tfoot>tr >.#{$prefix}-table-cell-fix-right-first::after,
1148
- .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-summary >table >tfoot>tr >.#{$prefix}-table-cell-fix-right-first::after {
1149
- border-inline-end: 1px solid $tableBorderColor;
1150
- }
1151
-
1152
-
1153
- // toolbar
1154
-
1155
- .ui-rc-toolbar-bottom {
1156
- .be-toolbar-item {
1157
- .toolbar-dropdown-button {
1158
- .ant-btn.ant-btn-default.ant-btn-variant-outlined.ant-btn-compact-item.ant-btn-compact-first-item {
1159
- border-color: #28c76f;
1160
- }
1161
- .ant-btn.ant-btn-default.ant-btn-variant-outlined.ant-btn-compact-item.ant-btn-compact-last-item {
1162
- border-color: #28c76f;
1163
- .ant-btn-icon {
1164
- color: #28c76f;
1165
- }
1166
- }
1167
- }
1168
-
1169
- }
1170
- }
1
+ $prefix: 'ui-rc' !default;
2
+ $antdPrefix: 'ant' !default;
3
+ $primary: #eb4619 !default;
4
+ $rowHoverBg: #FBDED6 !default;
5
+ $rowSelectedBg: #FEF2EF !default;
6
+ //$tableBorderColor: red !default;
7
+ $tableBorderColor: #e0e0e0 !default;
8
+ //$tableBorderColor: #C4C4C4 !default;
9
+ //$tableBorderColor: #f0f0f0 !default;
10
+ $border-radius: 6px !default;
11
+ $border-selected-color: #0550C5 !default;
12
+ $body-color: #ffffff !default;
13
+ //$cell-selected-bg: #E6EFFD !default;
14
+ $cell-selected-bg: #F3F8FF !default;
15
+ //$cell-index-selected-bg: #0550C5 !default;
16
+ $cell-index-selected-bg: #1869E6 !default;
17
+ //$cell-index-focus-bg: #CEDBEF !default;
18
+ $cell-index-focus-bg: #E6EFFD !default;
19
+ $rowSelectedHoverBg: 'ui-rc' !default;
20
+ $boxShadowColor: rgba(5, 5, 5, 0.09) !default;
21
+ $fontFamily: "Montserrat",Helvetica,Arial,serif !default;
22
+
23
+ .react-hot-toast {
24
+ font-size: 1rem;
25
+ color: $body-color;
26
+ letter-spacing: 0.14px;
27
+ box-shadow: 0px 4px 10px -4px rgb(58 53 65 / 60%);
28
+ border-radius: $border-radius;
29
+ }
30
+
31
+ .popup-context-menu {
32
+ min-width: 200px;
33
+
34
+ }
35
+ .ant-dropdown-menu.popup-context-menu {
36
+ .ant-dropdown-menu-submenu {
37
+ .ant-dropdown-menu-submenu-title {
38
+ align-items: center;
39
+ }
40
+ }
41
+ }
42
+
43
+ // -------------- Table -------------
44
+
45
+ .#{$prefix}-table-wrapper {
46
+
47
+ p {
48
+ margin: 0;
49
+ }
50
+
51
+ .ui-rc-table {
52
+ //font-family: $fontFamily;
53
+ color: #000000de;
54
+ //font-weight: 500;
55
+ }
56
+
57
+ .ui-rc-table {
58
+ .#{$prefix}-table-cell {
59
+ &.#{$prefix}-table-selection-column {
60
+ //padding: 6px 8px !important;
61
+ //padding: 6px 8px !important;
62
+ }
63
+ }
64
+ }
65
+
66
+
67
+ &.table-none-column-select {
68
+ .#{$prefix}-table-cell {
69
+ &.#{$prefix}-table-selection-column {
70
+ padding: 0 !important;
71
+ overflow: hidden !important;
72
+ border-inline-end: 0 !important;
73
+ //flex: 0 0 0 !important;
74
+ //width: 0 !important;
75
+ }
76
+ }
77
+ }
78
+
79
+ .#{$prefix}-table {
80
+
81
+ //line-height: 20px;
82
+
83
+ .#{$prefix}-table-cell {
84
+ //min-height: 35px;
85
+ //height: 35px;
86
+
87
+ .#{$prefix}-table-filter-column {
88
+ .#{$prefix}-dropdown-trigger.#{$prefix}-table-filter-trigger {
89
+ margin-left: 0;
90
+ }
91
+ }
92
+
93
+ &.cell-group {
94
+ font-weight: 600;
95
+ background-color: #f5f5f5;
96
+ border-inline-end-color: transparent !important;
97
+
98
+ }
99
+ &.cell-group-fixed {
100
+ font-weight: 600;
101
+ position: sticky;
102
+ text-align: left !important;
103
+ left: 0;
104
+ z-index: 15;
105
+ }
106
+
107
+ }
108
+
109
+ }
110
+
111
+ .#{$prefix}-table-tbody-virtual {
112
+ .#{$prefix}-table-cell {
113
+ border-bottom: 1px solid $tableBorderColor;
114
+ }
115
+ }
116
+
117
+ .#{$prefix}-table-bordered {
118
+
119
+ .#{$prefix}-table-tbody-virtual {
120
+ .#{$prefix}-table-cell {
121
+ //display: flex;
122
+ border-inline-end: 1px solid $tableBorderColor;
123
+ }
124
+ }
125
+ .#{$prefix}-table-container {
126
+ .#{$prefix}-table-thead {
127
+
128
+ > tr{
129
+ > th.#{$prefix}-table-cell:last-of-type {
130
+ //border-inline-end: 0;
131
+ }
132
+ }
133
+
134
+ }
135
+ .#{$prefix}-table-summary {
136
+ > tr{
137
+ > td.#{$prefix}-table-cell:last-of-type {
138
+ //border-inline-end: 0;
139
+ }
140
+ }
141
+ }
142
+ }
143
+
144
+ }
145
+
146
+ .#{$prefix}-table-tbody {
147
+
148
+
149
+ .#{$prefix}-table-cell {
150
+ line-height: 22px;
151
+ &:focus-visible {
152
+ outline: none;
153
+ }
154
+
155
+
156
+ &.disable {
157
+ background-color: #f0f0f0;
158
+ }
159
+
160
+ &.selected {
161
+ //background: red;
162
+ background-color: $cell-selected-bg !important;
163
+ }
164
+
165
+ .ui-rc-table-cell-content {
166
+ line-height: 22px;
167
+ }
168
+
169
+ &.#{$prefix}-table-cell-fix-left-last {
170
+ .#{$prefix}-table-cell-content {
171
+ }
172
+ }
173
+
174
+ }
175
+
176
+ .#{$prefix}-table-row {
177
+
178
+ &.#{$prefix}-table-row-selected {
179
+ > .#{$prefix}-table-cell {
180
+ background: #FEF2EF;
181
+ }
182
+ }
183
+
184
+ &.row-disabled {
185
+ .#{$prefix}-table-cell {
186
+ //background-color: #f5f5f5;
187
+ }
188
+ }
189
+
190
+ > .#{$prefix}-table-cell {
191
+ &.#{$prefix}-table-cell-row-hover {
192
+ background: #FBDED6;
193
+ }
194
+
195
+ &.#{$prefix}-cell-command {
196
+ padding: 5px 8px;
197
+
198
+ .#{$prefix}-cell-command__content {
199
+ display: flex;
200
+ gap: 5px;
201
+ overflow: hidden;
202
+ }
203
+ }
204
+
205
+
206
+ }
207
+
208
+ .#{$prefix}-table-cell:last-of-type {
209
+ //border-inline-end: 0;
210
+ }
211
+
212
+
213
+ @for $i from 0 through 10 {
214
+ &:has(.indent-level-#{$i}) {
215
+ .#{$prefix}-table-cell {
216
+ &.cell-number {
217
+ .ui-rc_content {
218
+ padding-left: $i * 10px;
219
+ }
220
+ }
221
+ }
222
+ }
223
+ }
224
+
225
+ }
226
+
227
+ .#{$prefix}-table-placeholder {
228
+ .#{$prefix}-table-cell {
229
+ padding-top: 0 !important;
230
+ padding-bottom: 0 !important;
231
+ .#{$prefix}-table-expanded-row-fixed {
232
+ margin-top: 0 !important;
233
+ margin-bottom: 0 !important;
234
+ }
235
+ }
236
+ }
237
+ }
238
+
239
+ .#{$prefix}-table-thead {
240
+ //font-weight: 400;
241
+
242
+ > tr {
243
+ > th,
244
+ > td {
245
+ border-bottom: 1px solid $tableBorderColor;
246
+ //background: #fff;
247
+ font-weight: 500;
248
+ //line-height: 23px;
249
+ //height: 40px;
250
+ }
251
+ }
252
+
253
+ .#{$prefix}-table-cell {
254
+
255
+ .ui-rc-table-cell-content {
256
+ line-height: 22px;
257
+ }
258
+
259
+ &.#{$prefix}-table-cell-fix-left-last {
260
+ .#{$prefix}-table-cell-content {
261
+ //overflow: visible;
262
+ }
263
+ }
264
+ .#{$prefix}-table-column-title {
265
+ //display: flex;
266
+ }
267
+
268
+ &.head-align-center {
269
+ text-align: center;
270
+ }
271
+ &.head-align-right {
272
+ text-align: right;
273
+ }
274
+ }
275
+ }
276
+
277
+ .#{$prefix}-table-summary {
278
+ .#{$prefix}-table-cell {
279
+ background-color: #fafafa;
280
+ height: 39px;
281
+ font-weight: 600;
282
+ }
283
+
284
+ > tr > td {
285
+ border-bottom: 1px solid $tableBorderColor;
286
+ }
287
+ }
288
+
289
+ .#{$prefix}-table-bordered .#{$prefix}-table-tbody-virtual .#{$prefix}-table-cell.#{$prefix}-table-cell-fix-right-first:before {
290
+ border-inline-start: 1px solid $tableBorderColor;
291
+ }
292
+
293
+ .#{$prefix}-table {
294
+
295
+ &.#{$prefix}-table-bordered {
296
+ > .#{$prefix}-table-container {
297
+ border-inline-start: 1px solid $tableBorderColor;
298
+ border-top: 1px solid $tableBorderColor;
299
+
300
+ &::after {
301
+ border-inline-end: 1px solid $tableBorderColor;
302
+ }
303
+
304
+ > .#{$prefix}-table-content,
305
+ > .#{$prefix}-table-header,
306
+ > .#{$prefix}-table-body,
307
+ > .#{$prefix}-table-summary {
308
+ > table {
309
+ > thead {
310
+ > tr:not(:last-child) {
311
+ > th {
312
+ border-bottom: 1px solid $tableBorderColor;
313
+ }
314
+ }
315
+ }
316
+ }
317
+ }
318
+
319
+
320
+ > .#{$prefix}-table-content,
321
+ > .#{$prefix}-table-header,
322
+ > .#{$prefix}-table-body,
323
+ > .#{$prefix}-table-summary {
324
+ > table {
325
+ > thead,
326
+ > tbody,
327
+ > tfoot {
328
+ > tr {
329
+ > th,
330
+ > td {
331
+ border-inline-end: 1px solid $tableBorderColor;
332
+ }
333
+ }
334
+ }
335
+ }
336
+ }
337
+
338
+ }
339
+
340
+ > .#{$prefix}-table-title {
341
+ border: 1px solid $tableBorderColor;
342
+ border-bottom: 0;
343
+ }
344
+ }
345
+
346
+ &.#{$prefix}-table-ping-right:not(.#{$prefix}-table-has-fix-right) .#{$prefix}-table-container::after {
347
+ box-shadow: inset -10px 0 8px -8px $boxShadowColor;
348
+ //box-shadow: none;
349
+ }
350
+
351
+
352
+ }
353
+
354
+ .#{$prefix}-table-ping-left {
355
+ .#{$prefix}-table-cell-fix-left-first::after,
356
+ .#{$prefix}-table-cell-fix-left-last::after {
357
+ box-shadow: inset 10px 0 8px -8px $boxShadowColor;
358
+ }
359
+ }
360
+
361
+ .#{$prefix}-table-ping-right {
362
+ .#{$prefix}-table-cell-fix-right-first::after,
363
+ .#{$prefix}-table-cell-fix-right-last::after {
364
+ box-shadow: inset -10px 0 8px -8px $boxShadowColor;
365
+ }
366
+ }
367
+
368
+
369
+ .#{$prefix}-table.#{$prefix}-table-bordered {
370
+ > .#{$prefix}-table-container {
371
+ > .#{$prefix}-table-header > table > thead > tr,
372
+ > .#{$prefix}-table-summary > table > tfoot > tr {
373
+ > .#{$prefix}-table-cell-fix-right-first::before {
374
+ border-inline-start: 1px solid $tableBorderColor;
375
+ content: "";
376
+ position: absolute;
377
+ inset-block: 0;
378
+ inset-inline-start: -1px;
379
+ }
380
+ }
381
+ }
382
+ }
383
+
384
+
385
+ }
386
+
387
+ // -------------- Table edit-------------
388
+
389
+ .#{$prefix}-table-wrapper {
390
+
391
+ .#{$prefix}-table.#{$prefix}-table-small {
392
+ .ui-rc-table-thead {
393
+ >tr >th.#{$prefix}-table-selection-column{
394
+ //padding-block: 7px;
395
+ padding: 0;
396
+ //padding: 6px 8px;
397
+ }
398
+ }
399
+ //.#{$prefix}-table-selection-column{
400
+ // padding-block: 7px;
401
+ // padding: 0;
402
+ // //padding: 6px 8px;
403
+ //}
404
+ }
405
+
406
+ &.grid-editable {
407
+
408
+ .#{$prefix}-table-row {
409
+ &:has(+ .#{$prefix}-table-cell) {
410
+
411
+ }
412
+ }
413
+
414
+ .#{$prefix}-table .#{$prefix}-table-tbody .rc-ui-cell-editable {
415
+ overflow: unset;
416
+ display: flex;
417
+ height: 37px;
418
+ //--------
419
+ padding: 0;
420
+
421
+ .#{$prefix}-table-row-expand-icon {
422
+ top: 8px;
423
+ left: 8px;
424
+ }
425
+
426
+ &.rc-ui-cell-index {
427
+ &.focus {
428
+ background-color: $cell-index-focus-bg;
429
+ //font-weight: 500;
430
+ }
431
+ &.selected {
432
+ background-color: $cell-index-selected-bg !important;
433
+ color: #fff;
434
+ //font-weight: 500;
435
+ }
436
+ }
437
+
438
+ &.cell-editable {
439
+
440
+ &.cell-border-top {
441
+ border-bottom: 1px solid $border-selected-color;
442
+ }
443
+
444
+ &.cell-border-bottom {
445
+ border-bottom: 1px solid $border-selected-color;
446
+ }
447
+
448
+ &.cell-border-left {
449
+ border-inline-end: 1px solid $border-selected-color;
450
+ }
451
+
452
+ &.cell-border-right {
453
+ border-inline-end: 1px solid $border-selected-color;
454
+ }
455
+
456
+ &.cell-paste-border-top {
457
+ border-bottom: 1px dashed #949494;
458
+ }
459
+
460
+ &.cell-paste-border-bottom {
461
+ border-bottom: 1px dashed #949494;
462
+ }
463
+
464
+ &.cell-paste-border-left {
465
+ border-inline-end: 1px dashed #949494;
466
+ }
467
+
468
+ &.cell-paste-border-right {
469
+ border-inline-end: 1px dashed #949494;
470
+ }
471
+
472
+
473
+ &.#{$prefix}-table-cell-fix-left {
474
+ &:has(.ui-rc_cell-content.selected) {
475
+ }
476
+
477
+ }
478
+
479
+ &.#{$prefix}-table-cell-fix-right {
480
+ &:has(.ui-rc_cell-content.selected) {
481
+ }
482
+
483
+ &.cell-border-end {
484
+ z-index: 3;
485
+ }
486
+
487
+ }
488
+
489
+
490
+ &.cell-border-end {
491
+ z-index: 1;
492
+ }
493
+
494
+ &.#{$prefix}-table-cell-fix-right-first {
495
+
496
+ &.cell-border-end {
497
+ z-index: 3;
498
+ }
499
+
500
+ &.next-cell-border-left {
501
+ &::before {
502
+ border-inline-start: 1px solid $border-selected-color;
503
+ }
504
+ }
505
+
506
+
507
+ &.next-cell-paste-border-left {
508
+ &::before {
509
+ border-inline-start: 1px dashed #949494;
510
+ }
511
+ }
512
+
513
+ &.fixed-cell-border-left {
514
+ &::before {
515
+ border-inline-start: 1px solid $border-selected-color;
516
+ }
517
+ }
518
+ &.fixed-cell-paste-border-left {
519
+ &::before {
520
+ border-inline-start: 1px dashed #949494;
521
+ }
522
+ }
523
+
524
+ }
525
+
526
+ &.#{$prefix}-table-cell-fix-left-last {
527
+
528
+ &.cell-border-end {
529
+ z-index: 3;
530
+ }
531
+
532
+ }
533
+
534
+ }
535
+
536
+
537
+ }
538
+
539
+ .#{$prefix}-table.#{$prefix}-table-ping-left {
540
+ .#{$prefix}-table-tbody .rc-ui-cell-editable{
541
+ &.cell-editable {
542
+
543
+
544
+ &.#{$prefix}-table-cell-fix-left-last {
545
+
546
+ &.cell-border-left {
547
+ border-inline-end: 1px solid $tableBorderColor;
548
+ }
549
+
550
+ }
551
+
552
+
553
+
554
+ }
555
+ }
556
+
557
+ &:not(.#{$prefix}-table.#{$prefix}-table-ping-right) {
558
+
559
+ .#{$prefix}-table-tbody .rc-ui-cell-editable {
560
+ &.cell-editable {
561
+
562
+ // //&.cell-border-end {
563
+ // // z-index: 1;
564
+ // //}
565
+
566
+ &.#{$prefix}-table-cell-fix-right {
567
+ z-index: 0;
568
+
569
+ &.cell-border-end {
570
+ z-index: 3;
571
+ }
572
+ }
573
+
574
+ }
575
+ }
576
+
577
+ }
578
+
579
+ }
580
+
581
+ .#{$prefix}-table.#{$prefix}-table-ping-right {
582
+ .#{$prefix}-table-tbody .rc-ui-cell-editable{
583
+
584
+ &.cell-editable {
585
+
586
+ &.#{$prefix}-table-cell-fix-right-first {
587
+
588
+ &.next-cell-border-left {
589
+ &::before {
590
+ border-inline-start: 1px solid $tableBorderColor;
591
+ }
592
+ }
593
+
594
+
595
+
596
+ }
597
+
598
+ &.#{$prefix}-table-cell-fix-left-last {
599
+ &.cell-border-end {
600
+ z-index: 3;
601
+ }
602
+ }
603
+
604
+ }
605
+
606
+ &.cell-border-end {
607
+ z-index: 1;
608
+ }
609
+
610
+ }
611
+
612
+ }
613
+
614
+
615
+ .#{$prefix}-table.#{$prefix}-table-small {
616
+ .#{$prefix}-table-thead > tr > th,
617
+ tfoot > tr > th,
618
+ tfoot > tr > td,
619
+ tfoot > tr > td.#{$prefix}-table-cell
620
+ {
621
+ //padding: 8px 8px;
622
+ }
623
+ }
624
+
625
+ .#{$prefix}-table.#{$prefix}-table-small {
626
+ .#{$prefix}-table-selection-column{
627
+ //padding: 8px 8px;
628
+ //padding: 6px 8px;
629
+ }
630
+ }
631
+
632
+ .ui-rc_cell-content {
633
+ user-select: none;
634
+ //padding: 7px 8px;
635
+ padding: 2px 8px;
636
+ display: flex;
637
+ align-items: center;
638
+ overflow: hidden;
639
+
640
+ .ui-rc_content {
641
+ width: 100%;
642
+ }
643
+ &:hover {
644
+ .dragging-point {
645
+ //visibility: visible;
646
+ }
647
+ }
648
+
649
+ .dragging-point {
650
+ //visibility: hidden;
651
+ width: 10px;
652
+ height: 10px;
653
+ position: absolute;
654
+ cursor: crosshair;
655
+ right: -1px;
656
+ bottom: -1px;
657
+ //background: red;
658
+
659
+ &.hidden {
660
+ display: none;
661
+ }
662
+
663
+ .dot-point {
664
+ position: absolute;
665
+ width: 8px;
666
+ height: 8px;
667
+ border-radius: 6px;
668
+ background-color: $border-selected-color;
669
+ bottom: -3px;
670
+ right: -3px;
671
+ }
672
+
673
+ }
674
+ }
675
+
676
+ .ui-rc_cell-content.selected {
677
+ background-color: $cell-selected-bg;
678
+ }
679
+ .ui-rc_cell-content {
680
+ //position: relative;
681
+ &.isValid {
682
+ &::after {
683
+ content: "";
684
+ position: absolute;
685
+ top: 0;
686
+ right: 0;
687
+ width: 0;
688
+ height: 0;
689
+ border-top: 0 solid transparent;
690
+ border-right: 8px solid red;
691
+ border-bottom: 8px solid transparent;
692
+ }
693
+ }
694
+ }
695
+
696
+ //.ui-rc_cell-content.disable {
697
+ // background-color: #f0f0f0;
698
+ //}
699
+
700
+ //.ui-rc_cell-content--index {
701
+ // &.focus {
702
+ // background-color: $cell-index-focus-bg;
703
+ // //color: #fff;
704
+ // //font-weight: 500;
705
+ // }
706
+ // &.selected {
707
+ // background-color: $cell-index-selected-bg;
708
+ // color: #fff;
709
+ // //font-weight: 500;
710
+ // }
711
+ //}
712
+
713
+ .#{$prefix}-table-tbody {
714
+
715
+ .#{$prefix}-table-row {
716
+ &.#{$prefix}-table-row-selected {
717
+ >.#{$prefix}-table-cell {
718
+ //background: #FEF2EF;
719
+ }
720
+ }
721
+ >.#{$prefix}-table-cell {
722
+ &.#{$prefix}-table-cell-row-hover {
723
+ //background: #FBDED6;
724
+ }
725
+ }
726
+
727
+ .#{$prefix}-table-cell {
728
+
729
+ .#{$prefix}-table-row-indent {
730
+ position: absolute;
731
+ @for $i from 1 through 10 {
732
+ &.indent-level-#{$i} {
733
+ padding-left: $i * 25px;;
734
+ }
735
+ }
736
+ }
737
+
738
+ @for $i from 0 through 10 {
739
+ &:has(.indent-level-#{$i}) {
740
+
741
+ .#{$prefix}-table-row-expand-icon {
742
+ position: absolute;
743
+ //.ui-rc_content {
744
+ //padding-left: $i * 10px;
745
+ //}
746
+ }
747
+
748
+ .ui-rc_cell-content {
749
+ padding-left: $i * 25px + 8px;
750
+ }
751
+
752
+ }
753
+ }
754
+
755
+ @for $i from 0 through 10 {
756
+ &:has(.indent-level-#{$i}) {
757
+
758
+ .#{$prefix}-table-row-expand-icon {
759
+ position: absolute;
760
+ left: $i * 25px + 8px !important;
761
+ }
762
+
763
+ .ui-rc_cell-content {
764
+ padding-left: ($i + 1)* 25px + 8px;
765
+ }
766
+
767
+ }
768
+ }
769
+ }
770
+ }
771
+
772
+
773
+ .#{$prefix}-table-cell{
774
+
775
+ &.#{$prefix}-table-cell-ellipsis {
776
+ .ui-rc_cell-content {
777
+
778
+ .ui-rc_content {
779
+ text-overflow: ellipsis;
780
+ text-decoration: none;
781
+ transition: 0.3s;
782
+ white-space: nowrap;
783
+ overflow: hidden;
784
+ line-height: 22px;
785
+ }
786
+ }
787
+ }
788
+
789
+ &.cell-editing {
790
+ //padding: 0 !important;
791
+ &:focus-visible {
792
+ outline: none;
793
+ }
794
+ .ant-form-item ,
795
+ .ant-row.ant-form-item-row,
796
+ .ant-col.ant-form-item-control,
797
+ .ant-form-item-control-input,
798
+ .ant-form-item-control-input-content,
799
+ .ant-input{
800
+ height: 100%;
801
+ &:focus-visible {
802
+ outline: none;
803
+ }
804
+ }
805
+
806
+ .#{$prefix}-checkbox-wrapper {
807
+ .#{$prefix}-checkbox {
808
+ background-color: red;
809
+ }
810
+ .#{$prefix}-checkbox-input {
811
+ &:focus-visible {
812
+ outline: none;
813
+ }
814
+ }
815
+ }
816
+
817
+
818
+ .ant-input, .ant-picker{
819
+ border-radius: 0;
820
+ }
821
+
822
+ // color picker
823
+
824
+ .ant-color-picker-trigger{
825
+ height: 100%;
826
+ border-radius: 0;
827
+ .ant-color-picker-color-block {
828
+ height: 100%;
829
+ width: 100%;
830
+ }
831
+
832
+ }
833
+
834
+
835
+ // ------------ select ---------------
836
+
837
+ .#{$prefix}-table-select-single .#{$prefix}-table-select-selector,
838
+ .#{$prefix}-select-single .#{$prefix}-select-selector {
839
+
840
+ border-radius: 0;
841
+
842
+ }
843
+
844
+ .#{$prefix}-table-select-single:not(.#{$prefix}-table-select-customize-input) {
845
+ .#{$prefix}-table-select-selector {
846
+ .#{$prefix}-table-select-selection-search-input {
847
+ height: auto;
848
+ }
849
+ }
850
+ }
851
+
852
+ // ------------ select ---------------
853
+
854
+
855
+ }
856
+ &.cell-editable {
857
+ &:focus-visible {
858
+ outline: none;
859
+ }
860
+ }
861
+ .#{$prefix}-table-cell-content {
862
+ display: flex;
863
+ height: 100%;
864
+ }
865
+
866
+ .ui-rc_cell-content,
867
+ .#{$prefix}-table-cell-content{
868
+ //width: 100%;
869
+ flex: 1;
870
+ }
871
+ .ui-rc_content {
872
+ //padding: 5px 8px;
873
+ }
874
+ .ui-rc_content:has(.ant-color-picker-trigger) {
875
+ padding: 1px 8px;
876
+ }
877
+ }
878
+ }
879
+
880
+ }
881
+
882
+ }
883
+ // ---------------- Table edit end---------------
884
+
885
+
886
+ // -------------- Checkbox ----------
887
+
888
+ .#{$prefix}-checkbox-indeterminate {
889
+ &:hover {
890
+ .#{$prefix}-checkbox-inner {
891
+ border-color: $primary !important;;
892
+ }
893
+ }
894
+
895
+ .#{$prefix}-checkbox-inner {
896
+ &:after {
897
+ background-color: $primary;
898
+ }
899
+ }
900
+ }
901
+ //.#{$prefix}-checkbox-input {
902
+ // &:focus-visible {
903
+ // outline: none;
904
+ // }
905
+ //}
906
+
907
+ .#{$prefix}-checkbox .#{$prefix}-checkbox-input:focus-visible+.#{$prefix}-checkbox-inner {
908
+ outline: none;
909
+ }
910
+
911
+ .#{$prefix}-checkbox {
912
+ &.#{$prefix}-checkbox-checked {
913
+ &:hover {
914
+ .#{$prefix}-checkbox-inner {
915
+ background-color: $primary;
916
+ border-color: $primary;
917
+ }
918
+ }
919
+
920
+ .#{$prefix}-checkbox-inner {
921
+ background-color: $primary;
922
+ border-color: $primary;
923
+ }
924
+ }
925
+ }
926
+
927
+ .#{$prefix}-checkbox:not(.#{$prefix}-checkbox-disabled):hover {
928
+ .#{$prefix}-checkbox-inner {
929
+ border-color: $primary;
930
+ }
931
+ }
932
+
933
+ .#{$prefix}-checkbox-wrapper:not(.#{$prefix}-checkbox-wrapper-disabled):hover {
934
+ .#{$prefix}-checkbox-inner {
935
+ border-color: $primary;
936
+ }
937
+
938
+ .#{$prefix}-checkbox-checked:not(.#{$prefix}-checkbox-disabled) {
939
+ .#{$prefix}-checkbox-inner {
940
+ background-color: $primary;
941
+ }
942
+ }
943
+ }
944
+
945
+ // ------------ Tree ---------------
946
+
947
+ .#{$prefix}-tree {
948
+ .#{$prefix}-tree-checkbox-checked {
949
+ .#{$prefix}-tree-checkbox-inner {
950
+ background-color: $primary;
951
+ border-color: $primary;
952
+ }
953
+ }
954
+
955
+ .#{$prefix}-tree-checkbox-wrapper-checked:not(.#{$prefix}-tree-checkbox-wrapper-disabled):hover,
956
+ .#{$prefix}-tree-checkbox-checked:not(.#{$prefix}-tree-checkbox-disabled):hover {
957
+ .#{$prefix}-tree-checkbox-inner {
958
+ background-color: $primary;
959
+ }
960
+ }
961
+
962
+ .#{$prefix}-tree-checkbox-wrapper:not(.#{$prefix}-tree-checkbox-wrapper-disabled):hover,
963
+ .#{$prefix}-tree-checkbox:not(.#{$prefix}-tree-checkbox-disabled):hover {
964
+ .#{$prefix}-tree-checkbox-inner {
965
+ border-color: $primary;
966
+ }
967
+ }
968
+ }
969
+
970
+
971
+ // ------------ ant Tree ---------------
972
+
973
+ .#{$antdPrefix}-tree {
974
+ .#{$antdPrefix}-tree-checkbox-checked {
975
+ .#{$antdPrefix}-tree-checkbox-inner {
976
+ background-color: $primary;
977
+ border-color: $primary;
978
+ }
979
+ }
980
+
981
+ .#{$antdPrefix}-tree-checkbox-wrapper-checked:not(.#{$antdPrefix}-tree-checkbox-wrapper-disabled):hover,
982
+ .#{$antdPrefix}-tree-checkbox-checked:not(.#{$antdPrefix}-tree-checkbox-disabled):hover {
983
+ .#{$antdPrefix}-tree-checkbox-inner {
984
+ background-color: $primary;
985
+ }
986
+ }
987
+
988
+ .#{$antdPrefix}-tree-checkbox-wrapper:not(.#{$antdPrefix}-tree-checkbox-wrapper-disabled):hover,
989
+ .#{$antdPrefix}-tree-checkbox:not(.#{$antdPrefix}-tree-checkbox-disabled):hover {
990
+ .#{$antdPrefix}-tree-checkbox-inner {
991
+ border-color: $primary;
992
+ }
993
+ }
994
+ }
995
+
996
+
997
+ // ------------ paging ---------------
998
+
999
+ .#{$prefix}-table-wrapper .#{$prefix}-table-pagination.#{$prefix}-pagination {
1000
+ margin: 0;
1001
+ }
1002
+
1003
+ .#{$prefix}-table-wrapper {
1004
+ .#{$prefix}-table {
1005
+ .#{$prefix}-pagination {
1006
+ &::before {
1007
+ content: "";
1008
+ position: absolute;
1009
+ border-left: 1px solid $tableBorderColor;
1010
+ height: 55px;
1011
+ bottom: 0;
1012
+ left: 0;
1013
+ }
1014
+
1015
+ &::after {
1016
+ content: "";
1017
+ position: absolute;
1018
+ border-left: 1px solid $tableBorderColor;
1019
+ height: 55px;
1020
+ bottom: 0;
1021
+ visibility: visible;
1022
+ right: 0;
1023
+ }
1024
+
1025
+ &.top-pagination {
1026
+ border: none;
1027
+ padding-top: 0;
1028
+ padding-bottom: 0;
1029
+ .#{$prefix}-pagination-total-text {
1030
+ margin-left: auto;
1031
+ }
1032
+ }
1033
+ border-bottom: 1px solid $tableBorderColor;
1034
+
1035
+ }
1036
+ }
1037
+ }
1038
+
1039
+
1040
+ .#{$prefix}-pagination {
1041
+
1042
+ .#{$prefix}-pagination-total-text {
1043
+ white-space: nowrap;
1044
+ }
1045
+
1046
+ .#{$prefix}-pagination-item-active {
1047
+ border-color: $primary;
1048
+
1049
+ &:hover {
1050
+ border-color: $primary;
1051
+
1052
+ a {
1053
+ color: $primary;
1054
+ }
1055
+ }
1056
+
1057
+ a {
1058
+ color: $primary;
1059
+ }
1060
+ }
1061
+
1062
+ .#{$prefix}-pagination-jump-prev, .#{$prefix}-pagination-jump-next {
1063
+ .#{$prefix}-pagination-item-container {
1064
+ .#{$prefix}-pagination-item-link-icon {
1065
+ color: $primary;
1066
+ }
1067
+ }
1068
+ }
1069
+ }
1070
+
1071
+
1072
+
1073
+ //.#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-content >table >tbody>tr>td >.#{$prefix}-table-expanded-row-fixed {
1074
+ // border-inline-end: 1px solid $tableBorderColor;
1075
+ //}
1076
+ //
1077
+ //.#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-content >table >tbody>tr>td >.#{$prefix}-table-expanded-row-fixed::after {
1078
+ // //border-inline-end: 1px solid $tableBorderColor;
1079
+ // border-inline-end: 0 solid $tableBorderColor;
1080
+ //}
1081
+ //
1082
+ //
1083
+ //.#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered.#{$prefix}-table-small >.#{$prefix}-table-container >.#{$prefix}-table-body >table>tbody>tr>td >.#{$prefix}-table-expanded-row-fixed {
1084
+ // margin-top: 0;
1085
+ // margin-bottom: 0;
1086
+ // border-inline-end: 1px solid $tableBorderColor;
1087
+ //}
1088
+ //
1089
+ //.#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered.#{$prefix}-table-small >.#{$prefix}-table-container >.#{$prefix}-table-body >table>tbody>tr>td >.#{$prefix}-table-expanded-row-fixed::after {
1090
+ // border-inline-end: 0 solid $tableBorderColor;
1091
+ //}
1092
+
1093
+
1094
+ .#{$prefix}-table-wrapper {
1095
+ .#{$prefix}-table {
1096
+ &.#{$prefix}-table-bordered {
1097
+ > .#{$prefix}-table-container {
1098
+ > .#{$prefix}-table-content,
1099
+ > .#{$prefix}-table-header,
1100
+ > .#{$prefix}-table-body,
1101
+ > .#{$prefix}-table-summary {
1102
+ > table > tbody > tr {
1103
+ > th,
1104
+ > td {
1105
+ > .#{$prefix}-table-expanded-row-fixed::after {
1106
+ // Thêm CSS đây
1107
+ }
1108
+ }
1109
+ }
1110
+ }
1111
+ }
1112
+ }
1113
+ }
1114
+ }
1115
+
1116
+
1117
+ .#{$prefix}-table-wrapper {
1118
+ .#{$prefix}-table.#{$prefix}-table-small {
1119
+ .#{$prefix}-table-title,
1120
+ .#{$prefix}-table-footer,
1121
+ .#{$prefix}-table-cell,
1122
+ .#{$prefix}-table-thead > tr > th,
1123
+ .#{$prefix}-table-tbody > tr > th,
1124
+ .#{$prefix}-table-tbody > tr > td,
1125
+ tfoot > tr > th,
1126
+ tfoot > tr > td {
1127
+ //padding: 8px 8px;
1128
+ //font-size: 13px;
1129
+ }
1130
+ }
1131
+ }
1132
+ .#{$prefix}-table-wrapper {
1133
+ .#{$prefix}-table.#{$prefix}-table-small {
1134
+ .#{$prefix}-table-cell {
1135
+ &:has(.ant-color-picker-trigger) {
1136
+ padding: 1px 8px;
1137
+ }
1138
+ .ant-color-picker-trigger{
1139
+ width: 100%;
1140
+ min-height: 20px;
1141
+ .ant-color-picker-clear {
1142
+ height: 20px;
1143
+ }
1144
+ }
1145
+ }
1146
+ }
1147
+ }
1148
+
1149
+
1150
+
1151
+ //ui-rc-table-ping-right
1152
+
1153
+ .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-content >table >thead>tr >.#{$prefix}-table-cell-fix-right-first::after,
1154
+ .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-header >table >thead>tr >.#{$prefix}-table-cell-fix-right-first::after,
1155
+ .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-body >table >thead>tr >.#{$prefix}-table-cell-fix-right-first::after,
1156
+ .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-summary >table >thead>tr >.#{$prefix}-table-cell-fix-right-first::after,
1157
+ .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-content >table >tbody>tr >.#{$prefix}-table-cell-fix-right-first::after,
1158
+ .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-header >table >tbody>tr >.#{$prefix}-table-cell-fix-right-first::after,
1159
+ .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-body >table >tbody>tr >.#{$prefix}-table-cell-fix-right-first::after,
1160
+ .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-summary >table >tbody>tr >.#{$prefix}-table-cell-fix-right-first::after,
1161
+ .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-content >table >tfoot>tr >.#{$prefix}-table-cell-fix-right-first::after,
1162
+ .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-header >table >tfoot>tr >.#{$prefix}-table-cell-fix-right-first::after,
1163
+ .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-body >table >tfoot>tr >.#{$prefix}-table-cell-fix-right-first::after,
1164
+ .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-summary >table >tfoot>tr >.#{$prefix}-table-cell-fix-right-first::after {
1165
+ border-inline-end: 1px solid $tableBorderColor;
1166
+ }
1167
+
1168
+
1169
+ // toolbar
1170
+
1171
+ .ui-rc-toolbar-bottom {
1172
+ .be-toolbar-item {
1173
+ .toolbar-dropdown-button {
1174
+ .ant-btn.ant-btn-default.ant-btn-variant-outlined.ant-btn-compact-item.ant-btn-compact-first-item {
1175
+ border-color: #28c76f;
1176
+ }
1177
+ .ant-btn.ant-btn-default.ant-btn-variant-outlined.ant-btn-compact-item.ant-btn-compact-last-item {
1178
+ border-color: #28c76f;
1179
+ .ant-btn-icon {
1180
+ color: #28c76f;
1181
+ }
1182
+ }
1183
+ }
1184
+
1185
+ }
1186
+ }