es-grid-template 1.8.64 → 1.8.66

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 (222) hide show
  1. package/es/grid-component/TempTable.d.ts +2 -2
  2. package/es/grid-component/TempTable.js +5 -5
  3. package/es/grid-component/hooks/index.js +0 -1
  4. package/es/grid-component/hooks/useLazyKVMap.d.ts +1 -1
  5. package/es/grid-component/hooks/useLazyKVMap.js +0 -4
  6. package/es/grid-component/hooks/utils.d.ts +1 -8
  7. package/es/grid-component/hooks/utils.js +176 -144
  8. package/es/grid-component/index.d.ts +1 -1
  9. package/es/grid-component/index.js +0 -4
  10. package/es/grid-component/styles.scss +1394 -1394
  11. package/es/grid-component/type.d.ts +0 -407
  12. package/es/grid-component/type.js +490 -1
  13. package/es/table-component/type.d.ts +10 -0
  14. package/es/{grid-component → table-virtuoso}/ColumnsGroup/ColumnsGroup.js +4 -3
  15. package/es/{grid-component → table-virtuoso}/InternalTable.d.ts +2 -3
  16. package/es/table-virtuoso/InternalTable.js +391 -0
  17. package/es/table-virtuoso/body/TableBodyCell.d.ts +14 -0
  18. package/es/table-virtuoso/body/TableBodyCell.js +457 -0
  19. package/es/table-virtuoso/body/TableBodyRow.d.ts +13 -0
  20. package/es/table-virtuoso/body/TableBodyRow.js +112 -0
  21. package/es/table-virtuoso/footer/TableFooterCell.d.ts +7 -0
  22. package/es/table-virtuoso/footer/TableFooterCell.js +54 -0
  23. package/es/table-virtuoso/header/TableHeadCell.d.ts +14 -0
  24. package/es/table-virtuoso/header/TableHeadCell.js +265 -0
  25. package/es/table-virtuoso/header/renderFilter.d.ts +20 -0
  26. package/es/table-virtuoso/header/renderFilter.js +289 -0
  27. package/es/table-virtuoso/hook/constant.d.ts +73 -0
  28. package/es/table-virtuoso/hook/constant.js +240 -0
  29. package/es/table-virtuoso/hook/convert.d.ts +1 -0
  30. package/es/table-virtuoso/hook/convert.js +28 -0
  31. package/es/table-virtuoso/hook/useColumns.d.ts +28 -0
  32. package/es/table-virtuoso/hook/useColumns.js +302 -0
  33. package/es/table-virtuoso/hook/useFilterOperator.d.ts +7 -0
  34. package/es/table-virtuoso/hook/useFilterOperator.js +33 -0
  35. package/es/table-virtuoso/hook/utils.d.ts +159 -0
  36. package/es/table-virtuoso/hook/utils.js +2263 -0
  37. package/es/table-virtuoso/index.d.ts +2 -0
  38. package/es/table-virtuoso/index.js +2 -0
  39. package/es/table-virtuoso/style.d.ts +22 -0
  40. package/es/table-virtuoso/style.js +12 -0
  41. package/es/table-virtuoso/style.scss +1441 -0
  42. package/es/table-virtuoso/table/Grid.d.ts +37 -0
  43. package/es/table-virtuoso/table/Grid.js +298 -0
  44. package/es/table-virtuoso/table/TableContainer.d.ts +49 -0
  45. package/es/table-virtuoso/table/TableContainer.js +292 -0
  46. package/es/table-virtuoso/table/TableWrapper.d.ts +22 -0
  47. package/es/table-virtuoso/table/TableWrapper.js +161 -0
  48. package/es/table-virtuoso/type.d.ts +0 -0
  49. package/es/table-virtuoso/type.js +785 -0
  50. package/es/table-virtuoso/useContext.d.ts +97 -0
  51. package/es/table-virtuoso/useContext.js +21 -0
  52. package/lib/grid-component/TempTable.d.ts +2 -2
  53. package/lib/grid-component/TempTable.js +5 -7
  54. package/lib/grid-component/hooks/useLazyKVMap.d.ts +1 -1
  55. package/lib/grid-component/hooks/useLazyKVMap.js +0 -3
  56. package/lib/grid-component/hooks/utils.d.ts +1 -8
  57. package/lib/grid-component/hooks/utils.js +179 -152
  58. package/lib/grid-component/index.d.ts +1 -1
  59. package/lib/grid-component/index.js +0 -3
  60. package/lib/grid-component/styles.scss +1394 -1394
  61. package/lib/grid-component/type.d.ts +0 -407
  62. package/lib/grid-component/type.js +490 -4
  63. package/lib/table-component/type.d.ts +10 -0
  64. package/lib/{grid-component → table-virtuoso}/ColumnsGroup/ColumnsGroup.js +4 -3
  65. package/lib/{grid-component → table-virtuoso}/InternalTable.d.ts +2 -3
  66. package/lib/table-virtuoso/InternalTable.js +400 -0
  67. package/lib/table-virtuoso/body/TableBodyCell.d.ts +14 -0
  68. package/lib/table-virtuoso/body/TableBodyCell.js +464 -0
  69. package/lib/table-virtuoso/body/TableBodyRow.d.ts +13 -0
  70. package/lib/table-virtuoso/body/TableBodyRow.js +119 -0
  71. package/lib/table-virtuoso/footer/TableFooterCell.d.ts +7 -0
  72. package/lib/table-virtuoso/footer/TableFooterCell.js +63 -0
  73. package/lib/table-virtuoso/header/TableHeadCell.d.ts +14 -0
  74. package/lib/table-virtuoso/header/TableHeadCell.js +274 -0
  75. package/lib/table-virtuoso/header/renderFilter.d.ts +20 -0
  76. package/lib/table-virtuoso/header/renderFilter.js +299 -0
  77. package/lib/table-virtuoso/hook/constant.d.ts +73 -0
  78. package/lib/table-virtuoso/hook/constant.js +247 -0
  79. package/lib/table-virtuoso/hook/convert.d.ts +1 -0
  80. package/lib/table-virtuoso/hook/convert.js +34 -0
  81. package/lib/table-virtuoso/hook/useColumns.d.ts +28 -0
  82. package/lib/table-virtuoso/hook/useColumns.js +315 -0
  83. package/lib/table-virtuoso/hook/useFilterOperator.d.ts +7 -0
  84. package/lib/table-virtuoso/hook/useFilterOperator.js +40 -0
  85. package/lib/table-virtuoso/hook/utils.d.ts +159 -0
  86. package/lib/table-virtuoso/hook/utils.js +2389 -0
  87. package/lib/table-virtuoso/index.d.ts +2 -0
  88. package/lib/table-virtuoso/index.js +9 -0
  89. package/lib/table-virtuoso/style.d.ts +22 -0
  90. package/lib/table-virtuoso/style.js +19 -0
  91. package/lib/table-virtuoso/style.scss +1441 -0
  92. package/lib/table-virtuoso/table/Grid.d.ts +37 -0
  93. package/lib/table-virtuoso/table/Grid.js +307 -0
  94. package/lib/table-virtuoso/table/TableContainer.d.ts +49 -0
  95. package/lib/table-virtuoso/table/TableContainer.js +300 -0
  96. package/lib/table-virtuoso/table/TableWrapper.d.ts +22 -0
  97. package/lib/table-virtuoso/table/TableWrapper.js +166 -0
  98. package/lib/table-virtuoso/type.d.ts +0 -0
  99. package/lib/table-virtuoso/type.js +786 -0
  100. package/lib/table-virtuoso/useContext.d.ts +97 -0
  101. package/lib/table-virtuoso/useContext.js +27 -0
  102. package/package.json +2 -1
  103. package/es/grid-component/AdvanceFilter.d.ts +0 -14
  104. package/es/grid-component/AdvanceFilter.js +0 -454
  105. package/es/grid-component/CheckboxFilter.d.ts +0 -20
  106. package/es/grid-component/CheckboxFilter.js +0 -244
  107. package/es/grid-component/CheckboxFilter2.d.ts +0 -20
  108. package/es/grid-component/CheckboxFilter2.js +0 -244
  109. package/es/grid-component/ColumnsChoose.d.ts +0 -10
  110. package/es/grid-component/ColumnsChoose.js +0 -230
  111. package/es/grid-component/Command.d.ts +0 -8
  112. package/es/grid-component/Command.js +0 -80
  113. package/es/grid-component/ContextMenu.d.ts +0 -20
  114. package/es/grid-component/ContextMenu.js +0 -130
  115. package/es/grid-component/ConvertColumnTable.d.ts +0 -7
  116. package/es/grid-component/ConvertColumnTable.js +0 -144
  117. package/es/grid-component/EditForm/EditForm.d.ts +0 -27
  118. package/es/grid-component/EditForm/EditForm.js +0 -394
  119. package/es/grid-component/EditForm/index.d.ts +0 -1
  120. package/es/grid-component/EditForm/index.js +0 -1
  121. package/es/grid-component/EditableCell.d.ts +0 -20
  122. package/es/grid-component/EditableCell.js +0 -1030
  123. package/es/grid-component/FilterSearch.d.ts +0 -12
  124. package/es/grid-component/FilterSearch.js +0 -33
  125. package/es/grid-component/GridStyle.d.ts +0 -8
  126. package/es/grid-component/GridStyle.js +0 -5
  127. package/es/grid-component/InternalTable.js +0 -1170
  128. package/es/grid-component/TableGrid.d.ts +0 -21
  129. package/es/grid-component/TableGrid.js +0 -493
  130. package/es/grid-component/async-select/index.d.ts +0 -11
  131. package/es/grid-component/async-select/index.js +0 -38
  132. package/es/grid-component/async-table-select/index.d.ts +0 -11
  133. package/es/grid-component/async-table-select/index.js +0 -40
  134. package/es/grid-component/checkbox-control/index.d.ts +0 -13
  135. package/es/grid-component/checkbox-control/index.js +0 -40
  136. package/es/grid-component/hooks/columns/index.d.ts +0 -10
  137. package/es/grid-component/hooks/columns/index.js +0 -503
  138. package/es/grid-component/hooks/content/ControlCheckbox.d.ts +0 -13
  139. package/es/grid-component/hooks/content/ControlCheckbox.js +0 -87
  140. package/es/grid-component/hooks/content/HeaderContent.d.ts +0 -14
  141. package/es/grid-component/hooks/content/HeaderContent.js +0 -44
  142. package/es/grid-component/hooks/content/TooltipContent.d.ts +0 -13
  143. package/es/grid-component/hooks/content/TooltipContent.js +0 -74
  144. package/es/grid-component/hooks/useColumns.d.ts +0 -19
  145. package/es/grid-component/hooks/useColumns.js +0 -317
  146. package/es/grid-component/number/index.d.ts +0 -10
  147. package/es/grid-component/number/index.js +0 -39
  148. package/es/grid-component/number-range/index.d.ts +0 -11
  149. package/es/grid-component/number-range/index.js +0 -63
  150. package/es/grid-component/table/Grid.d.ts +0 -23
  151. package/es/grid-component/table/Grid.js +0 -49
  152. package/es/grid-component/table/GridEdit.d.ts +0 -23
  153. package/es/grid-component/table/GridEdit.js +0 -2726
  154. package/es/grid-component/table/Group.d.ts +0 -21
  155. package/es/grid-component/table/Group.js +0 -195
  156. package/es/grid-component/table/InfiniteTable.d.ts +0 -23
  157. package/es/grid-component/table/InfiniteTable.js +0 -101
  158. package/es/grid-component/useContext.d.ts +0 -34
  159. package/es/grid-component/useContext.js +0 -8
  160. package/lib/grid-component/AdvanceFilter.d.ts +0 -14
  161. package/lib/grid-component/AdvanceFilter.js +0 -463
  162. package/lib/grid-component/CheckboxFilter.d.ts +0 -20
  163. package/lib/grid-component/CheckboxFilter.js +0 -253
  164. package/lib/grid-component/CheckboxFilter2.d.ts +0 -20
  165. package/lib/grid-component/CheckboxFilter2.js +0 -253
  166. package/lib/grid-component/ColumnsChoose.d.ts +0 -10
  167. package/lib/grid-component/ColumnsChoose.js +0 -240
  168. package/lib/grid-component/Command.d.ts +0 -8
  169. package/lib/grid-component/Command.js +0 -88
  170. package/lib/grid-component/ContextMenu.d.ts +0 -20
  171. package/lib/grid-component/ContextMenu.js +0 -140
  172. package/lib/grid-component/ConvertColumnTable.d.ts +0 -7
  173. package/lib/grid-component/ConvertColumnTable.js +0 -153
  174. package/lib/grid-component/EditForm/EditForm.d.ts +0 -27
  175. package/lib/grid-component/EditForm/EditForm.js +0 -404
  176. package/lib/grid-component/EditForm/index.d.ts +0 -1
  177. package/lib/grid-component/EditForm/index.js +0 -16
  178. package/lib/grid-component/EditableCell.d.ts +0 -20
  179. package/lib/grid-component/EditableCell.js +0 -1032
  180. package/lib/grid-component/FilterSearch.d.ts +0 -12
  181. package/lib/grid-component/FilterSearch.js +0 -42
  182. package/lib/grid-component/GridStyle.d.ts +0 -8
  183. package/lib/grid-component/GridStyle.js +0 -12
  184. package/lib/grid-component/InternalTable.js +0 -1178
  185. package/lib/grid-component/TableGrid.d.ts +0 -21
  186. package/lib/grid-component/TableGrid.js +0 -493
  187. package/lib/grid-component/async-select/index.d.ts +0 -11
  188. package/lib/grid-component/async-select/index.js +0 -47
  189. package/lib/grid-component/async-table-select/index.d.ts +0 -11
  190. package/lib/grid-component/async-table-select/index.js +0 -49
  191. package/lib/grid-component/checkbox-control/index.d.ts +0 -13
  192. package/lib/grid-component/checkbox-control/index.js +0 -48
  193. package/lib/grid-component/hooks/columns/index.d.ts +0 -10
  194. package/lib/grid-component/hooks/columns/index.js +0 -518
  195. package/lib/grid-component/hooks/content/ControlCheckbox.d.ts +0 -13
  196. package/lib/grid-component/hooks/content/ControlCheckbox.js +0 -95
  197. package/lib/grid-component/hooks/content/HeaderContent.d.ts +0 -14
  198. package/lib/grid-component/hooks/content/HeaderContent.js +0 -53
  199. package/lib/grid-component/hooks/content/TooltipContent.d.ts +0 -13
  200. package/lib/grid-component/hooks/content/TooltipContent.js +0 -81
  201. package/lib/grid-component/hooks/useColumns.d.ts +0 -19
  202. package/lib/grid-component/hooks/useColumns.js +0 -328
  203. package/lib/grid-component/number/index.d.ts +0 -10
  204. package/lib/grid-component/number/index.js +0 -47
  205. package/lib/grid-component/number-range/index.d.ts +0 -11
  206. package/lib/grid-component/number-range/index.js +0 -71
  207. package/lib/grid-component/table/Grid.d.ts +0 -23
  208. package/lib/grid-component/table/Grid.js +0 -58
  209. package/lib/grid-component/table/GridEdit.d.ts +0 -23
  210. package/lib/grid-component/table/GridEdit.js +0 -2723
  211. package/lib/grid-component/table/Group.d.ts +0 -21
  212. package/lib/grid-component/table/Group.js +0 -204
  213. package/lib/grid-component/table/InfiniteTable.d.ts +0 -23
  214. package/lib/grid-component/table/InfiniteTable.js +0 -109
  215. package/lib/grid-component/useContext.d.ts +0 -34
  216. package/lib/grid-component/useContext.js +0 -13
  217. /package/es/{grid-component → table-virtuoso}/ColumnsGroup/ColumnsGroup.d.ts +0 -0
  218. /package/es/{grid-component → table-virtuoso}/ColumnsGroup/index.d.ts +0 -0
  219. /package/es/{grid-component → table-virtuoso}/ColumnsGroup/index.js +0 -0
  220. /package/lib/{grid-component → table-virtuoso}/ColumnsGroup/ColumnsGroup.d.ts +0 -0
  221. /package/lib/{grid-component → table-virtuoso}/ColumnsGroup/index.d.ts +0 -0
  222. /package/lib/{grid-component → table-virtuoso}/ColumnsGroup/index.js +0 -0
@@ -1,1438 +1,1438 @@
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
- &.ui-rc-table-scroll-horizontal {
81
-
82
- .ui-rc-table-container {
83
-
84
- .#{$prefix}-table-tbody-virtual {
85
-
86
- .ui-rc-table-tbody-virtual-scrollbar.ui-rc-table-tbody-virtual-scrollbar-horizontal {
87
- visibility: visible !important;
88
- bottom: -8px !important;
89
- z-index: 5 !important;
90
- background-color: #f0f0f0;
91
- }
92
-
93
- }
94
-
95
- &:has(.ui-rc-table-summary) {
96
-
97
- .#{$prefix}-table-tbody-virtual {
98
-
99
- .ui-rc-table-tbody-virtual-scrollbar.ui-rc-table-tbody-virtual-scrollbar-horizontal {
100
- visibility: visible !important;
101
- //bottom: -40px !important;
102
- bottom: -47px !important;
103
- z-index: 5 !important;
104
-
105
- }
106
-
107
- }
108
-
109
- }
110
-
111
- }
112
-
113
-
114
-
115
- }
116
- }
117
- .#{$prefix}-table {
118
-
119
- //line-height: 20px;
120
-
121
- .#{$prefix}-table-cell {
122
- //min-height: 35px;
123
- //height: 35px;
124
-
125
- .#{$prefix}-table-filter-column {
126
- .#{$prefix}-dropdown-trigger.#{$prefix}-table-filter-trigger {
127
- margin-left: 0;
128
- }
129
- }
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
+ // &.ui-rc-table-scroll-horizontal {
81
+
82
+ // .ui-rc-table-container {
83
+
84
+ // .#{$prefix}-table-tbody-virtual {
85
+
86
+ // .ui-rc-table-tbody-virtual-scrollbar.ui-rc-table-tbody-virtual-scrollbar-horizontal {
87
+ // visibility: visible !important;
88
+ // bottom: -8px !important;
89
+ // z-index: 5 !important;
90
+ // background-color: #f0f0f0;
91
+ // }
92
+
93
+ // }
94
+
95
+ // &:has(.ui-rc-table-summary) {
96
+
97
+ // .#{$prefix}-table-tbody-virtual {
98
+
99
+ // .ui-rc-table-tbody-virtual-scrollbar.ui-rc-table-tbody-virtual-scrollbar-horizontal {
100
+ // visibility: visible !important;
101
+ // //bottom: -40px !important;
102
+ // bottom: -47px !important;
103
+ // z-index: 5 !important;
104
+
105
+ // }
106
+
107
+ // }
108
+
109
+ // }
110
+
111
+ // }
112
+
113
+
114
+
115
+ // }
116
+ // }
117
+ // .#{$prefix}-table {
118
+
119
+ // //line-height: 20px;
120
+
121
+ // .#{$prefix}-table-cell {
122
+ // //min-height: 35px;
123
+ // //height: 35px;
124
+
125
+ // .#{$prefix}-table-filter-column {
126
+ // .#{$prefix}-dropdown-trigger.#{$prefix}-table-filter-trigger {
127
+ // margin-left: 0;
128
+ // }
129
+ // }
130
130
 
131
- &.cell-group {
132
- font-weight: 600;
133
- background-color: #f5f5f5;
134
- border-inline-end-color: transparent !important;
135
- }
136
-
137
- &.cell-group.cell-number {
138
- border-inline-end-color: $tableBorderColor !important;
139
- }
131
+ // &.cell-group {
132
+ // font-weight: 600;
133
+ // background-color: #f5f5f5;
134
+ // border-inline-end-color: transparent !important;
135
+ // }
136
+
137
+ // &.cell-group.cell-number {
138
+ // border-inline-end-color: $tableBorderColor !important;
139
+ // }
140
140
 
141
- &.cell-group-fixed {
142
- font-weight: 600;
143
- position: sticky;
144
- text-align: left !important;
145
- left: 0;
146
- z-index: 15;
147
- }
148
-
149
- }
150
-
151
- }
152
-
153
- .#{$prefix}-table-tbody-virtual {
154
- .#{$prefix}-table-cell {
155
- border-bottom: 1px solid $tableBorderColor;
156
- }
157
- }
141
+ // &.cell-group-fixed {
142
+ // font-weight: 600;
143
+ // position: sticky;
144
+ // text-align: left !important;
145
+ // left: 0;
146
+ // z-index: 15;
147
+ // }
148
+
149
+ // }
150
+
151
+ // }
152
+
153
+ // .#{$prefix}-table-tbody-virtual {
154
+ // .#{$prefix}-table-cell {
155
+ // border-bottom: 1px solid $tableBorderColor;
156
+ // }
157
+ // }
158
158
 
159
- .#{$prefix}-table-bordered {
159
+ // .#{$prefix}-table-bordered {
160
160
 
161
- .#{$prefix}-table-tbody-virtual {
162
- .#{$prefix}-table-cell {
163
- //display: flex;
164
- border-inline-end: 1px solid $tableBorderColor;
165
- }
166
- }
167
- .#{$prefix}-table-container {
168
- .#{$prefix}-table-thead {
169
-
170
- > tr{
171
- > th.#{$prefix}-table-cell:last-of-type {
172
- //border-inline-end: 0;
173
- }
174
- }
161
+ // .#{$prefix}-table-tbody-virtual {
162
+ // .#{$prefix}-table-cell {
163
+ // //display: flex;
164
+ // border-inline-end: 1px solid $tableBorderColor;
165
+ // }
166
+ // }
167
+ // .#{$prefix}-table-container {
168
+ // .#{$prefix}-table-thead {
169
+
170
+ // > tr{
171
+ // > th.#{$prefix}-table-cell:last-of-type {
172
+ // //border-inline-end: 0;
173
+ // }
174
+ // }
175
175
 
176
- }
177
- .#{$prefix}-table-summary {
178
- > tr{
179
- > td.#{$prefix}-table-cell:last-of-type {
180
- //border-inline-end: 0;
181
- }
182
- }
183
- }
184
- }
185
-
186
- }
187
-
188
- .#{$prefix}-table-tbody {
189
-
190
-
191
- .#{$prefix}-table-cell {
192
- line-height: 22px;
193
- &:focus-visible {
194
- outline: none;
195
- }
196
-
197
-
198
- &.disable {
199
- background-color: #f0f0f0;
200
- }
201
-
202
- //&.selected {
203
- // //background: red;
204
- // background-color: $cell-selected-bg !important;
205
- //}
206
- &.selected-bg {
207
- //background: red;
208
- background-color: $cell-selected-bg !important;
209
- }
210
-
211
- .ui-rc-table-cell-content {
212
- line-height: 22px;
213
- }
214
-
215
- &.#{$prefix}-table-cell-fix-left-last {
216
- .#{$prefix}-table-cell-content {
217
- }
218
- }
219
-
220
- }
221
-
222
- .#{$prefix}-table-row {
223
-
224
- &.#{$prefix}-table-row-selected {
225
- > .#{$prefix}-table-cell {
226
- background: #FEF2EF;
227
- }
228
- }
229
-
230
- &.row-disabled {
231
- .#{$prefix}-table-cell {
232
- //background-color: #f5f5f5;
233
- }
234
- }
235
-
236
- > .#{$prefix}-table-cell {
237
- &.#{$prefix}-table-cell-row-hover {
238
- background: #FBDED6;
239
- }
240
-
241
- &.#{$prefix}-cell-command {
242
- padding: 5px 8px;
243
-
244
- .#{$prefix}-cell-command__content {
245
- display: flex;
246
- gap: 5px;
247
- overflow: hidden;
248
- }
249
- }
250
-
251
-
252
- }
253
-
254
- .#{$prefix}-table-cell:last-of-type {
255
- //border-inline-end: 0;
256
- }
257
-
258
-
259
- @for $i from 0 through 10 {
260
- &:has(.indent-level-#{$i}) {
261
- .#{$prefix}-table-cell {
262
- &.cell-number {
263
- .ui-rc_content {
264
- padding-left: $i * 10px;
265
- }
266
- }
267
- }
268
- }
269
- }
270
-
271
- }
272
-
273
- .#{$prefix}-table-placeholder {
274
- .#{$prefix}-table-cell {
275
- padding-top: 0 !important;
276
- padding-bottom: 0 !important;
277
- .#{$prefix}-table-expanded-row-fixed {
278
- margin-top: 0 !important;
279
- margin-bottom: 0 !important;
280
- }
281
- }
282
- }
283
- }
284
-
285
- .#{$prefix}-table-thead {
286
- //font-weight: 400;
287
-
288
- > tr {
289
- > th,
290
- > td {
291
- border-bottom: 1px solid $tableBorderColor;
292
- //background: #fff;
293
- font-weight: 500;
294
- //line-height: 23px;
295
- //height: 40px;
296
- }
297
- }
298
-
299
- .#{$prefix}-table-cell {
300
-
301
- .ui-rc-table-column-sorter{
302
- line-height: normal !important;
303
- }
304
-
305
- &:hover {
306
- .ui-rc-table-column-sorter-up.active {
307
- opacity: 1 !important;
308
- }
309
- }
310
-
311
- .ui-rc-table-cell-content {
312
- line-height: 22px;
313
- }
314
-
315
- &.#{$prefix}-table-cell-fix-left-last {
316
- .#{$prefix}-table-cell-content {
317
- //overflow: visible;
318
- }
319
- }
320
-
321
- .#{$prefix}-table-column-title {
322
- //overflow: unset;
323
- //position: unset;
324
- //display: flex;
325
- }
326
-
327
- &.head-align-center {
328
- text-align: center;
329
- }
330
-
331
- &.head-align-right {
332
- text-align: right;
333
- }
334
-
335
- .ui-rc-table-column-title {
336
- .header-text-wrap {
337
- white-space: normal !important;
338
- }
339
- }
340
-
341
-
342
- }
343
- }
344
-
345
- .#{$prefix}-table-summary {
346
- .#{$prefix}-table-cell {
347
- background-color: #fafafa;
348
- height: 39px;
349
- font-weight: 600;
350
- }
351
-
352
- > tr > td {
353
- border-bottom: 1px solid $tableBorderColor;
354
- }
355
- }
356
-
357
- //.#{$prefix}-table-bordered .#{$prefix}-table-tbody-virtual .#{$prefix}-table-cell.#{$prefix}-table-cell-fix-right-first:before {
358
- // border-inline-start: 1px solid $tableBorderColor;
359
- //}
360
-
361
- .#{$prefix}-table-bordered .#{$prefix}-table-tbody-virtual .#{$prefix}-table-cell.#{$prefix}-table-cell-fix-right-first {
362
- &::before {
363
- border-inline-start: 1px solid $tableBorderColor;
364
- }
365
- &.has-before::before {
366
- border-inline-start: 1px solid $border-selected-color;
367
- }
368
- &.cell-border-left.selected-bg::before {
369
- border-inline-start: 1px solid $border-selected-color;
370
- }
371
- }
372
-
373
-
374
-
375
- .#{$prefix}-table {
376
-
377
- &.#{$prefix}-table-bordered {
378
- > .#{$prefix}-table-container {
379
- border-inline-start: 1px solid $tableBorderColor;
380
- border-top: 1px solid $tableBorderColor;
381
-
382
- &::after {
383
- border-inline-end: 1px solid $tableBorderColor;
384
- }
385
-
386
- > .#{$prefix}-table-content,
387
- > .#{$prefix}-table-header,
388
- > .#{$prefix}-table-body,
389
- > .#{$prefix}-table-summary {
390
- > table {
391
- > thead {
392
- > tr:not(:last-child) {
393
- > th {
394
- border-bottom: 1px solid $tableBorderColor;
395
- }
396
- }
397
- }
398
- }
399
- }
400
-
401
-
402
- > .#{$prefix}-table-content,
403
- > .#{$prefix}-table-header,
404
- > .#{$prefix}-table-body,
405
- > .#{$prefix}-table-summary {
406
- > table {
407
- > thead,
408
- > tbody,
409
- > tfoot {
410
- > tr {
411
- > th,
412
- > td {
413
- border-inline-end: 1px solid $tableBorderColor;
414
- }
415
- }
416
- }
417
- }
418
- }
419
-
420
- }
421
-
422
- > .#{$prefix}-table-title {
423
- border: 1px solid $tableBorderColor;
424
- border-bottom: 0;
425
- }
426
- }
427
-
428
- &.#{$prefix}-table-ping-right:not(.#{$prefix}-table-has-fix-right) .#{$prefix}-table-container::after {
429
- box-shadow: inset -10px 0 8px -8px $boxShadowColor;
430
- //box-shadow: none;
431
- }
432
-
433
-
434
- }
435
-
436
- .#{$prefix}-table-ping-left {
437
- .#{$prefix}-table-cell-fix-left-first::after,
438
- .#{$prefix}-table-cell-fix-left-last::after {
439
- box-shadow: inset 10px 0 8px -8px $boxShadowColor;
440
- }
441
- }
442
-
443
- .#{$prefix}-table-ping-right {
444
- .#{$prefix}-table-cell-fix-right-first::after,
445
- .#{$prefix}-table-cell-fix-right-last::after {
446
- box-shadow: inset -10px 0 8px -8px $boxShadowColor;
447
- }
448
- }
449
-
450
-
451
- .#{$prefix}-table.#{$prefix}-table-bordered {
452
- > .#{$prefix}-table-container {
453
- > .#{$prefix}-table-header > table > thead > tr,
454
- > .#{$prefix}-table-summary > table > tfoot > tr {
455
- > .#{$prefix}-table-cell-fix-right-first::before {
456
- border-inline-start: 1px solid $tableBorderColor;
457
- content: "";
458
- position: absolute;
459
- inset-block: 0;
460
- inset-inline-start: -1px;
461
- }
462
- }
463
- }
464
- }
465
-
466
-
467
- }
468
-
469
- // -------------- Table edit-------------
470
-
471
- .#{$prefix}-table-wrapper {
472
-
473
- .#{$prefix}-table.#{$prefix}-table-small {
474
- .ui-rc-table-thead {
475
- >tr >th.#{$prefix}-table-selection-column{
476
- //padding-block: 7px;
477
- padding: 0;
478
- //padding: 6px 8px;
479
- }
480
- }
481
- //.#{$prefix}-table-selection-column{
482
- // padding-block: 7px;
483
- // padding: 0;
484
- // //padding: 6px 8px;
485
- //}
486
- }
487
-
488
- &.grid-editable {
489
-
490
- .#{$prefix}-table-row {
491
- &:has(+ .#{$prefix}-table-cell) {
492
-
493
- }
494
- }
495
-
496
- .#{$prefix}-table .#{$prefix}-table-tbody .rc-ui-cell-editable {
497
- overflow: unset;
498
- display: flex;
499
- height: 37px;
500
- //--------
501
- padding: 0;
502
-
503
- .#{$prefix}-table-row-expand-icon {
504
- top: 8px;
505
- left: 8px;
506
- }
507
-
508
- &.rc-ui-cell-index {
509
- &.focus {
510
- background-color: $cell-index-focus-bg;
511
- //font-weight: 500;
512
- }
513
- &.selected-index {
514
- background-color: $cell-index-selected-bg !important;
515
- color: #fff;
516
- //font-weight: 500;
517
- }
518
- }
519
-
520
- &.cell-editable {
521
-
522
- &.cell-border-top {
523
- //border-bottom: 1px solid $border-selected-color;
524
- &::after {
525
- content: "";
526
- position: absolute;
527
- top: -1px;
528
- left: 0;
529
- //right: 0;
530
- //bottom: 0;
531
- height: 1px;
532
- width: 100%;
533
- border-top: 1px solid $border-selected-color; /* line đè lên border gốc */
534
- pointer-events: none; /* không ảnh hưởng đến tương tác */
535
- z-index: 1;
536
- }
537
- &.ui-rc-table-cell-fix-left.ui-rc-table-cell-fix-left-last {
538
- &::after {
539
- left: -100%;
540
- }
541
- }
542
- &.ui-rc-table-cell-fix-right.ui-rc-table-cell-fix-right-first {
543
- &::after {
544
- left: 100%;
545
- }
546
- }
547
- }
548
-
549
- &.cell-border-bottom {
550
- border-bottom: 1px solid $border-selected-color;
551
- //position: relative;
552
- //&::before {
553
- // content: "";
554
- // position: absolute;
555
- // //top: 0;
556
- // left: 0;
557
- // //right: 0;
558
- // bottom: 0;
559
- // height: 1px;
560
- // width: 100%;
561
- // border: 1px solid red; /* line đè lên border gốc */
562
- // pointer-events: none; /* không ảnh hưởng đến tương tác */
563
- // z-index: 1;
564
- //}
565
-
566
- }
567
-
568
- &.cell-border-left {
569
- //overflow: hidden;
570
- //border-inline-end: 1px solid $border-selected-color;
571
- &::before {
572
- content: "";
573
- position: absolute;
574
- top: 0;
575
- left: 0;
576
- //right: 0;
577
- //bottom: 0;
578
- height: 102%;
579
- width: 1px;
580
- border-left: 1px solid $border-selected-color; /* line đè lên border gốc */
581
- pointer-events: none; /* không ảnh hưởng đến tương tác */
582
- z-index: 1;
583
- }
584
- }
585
-
586
- &.cell-border-right {
587
- border-inline-end: 1px solid $border-selected-color;
588
- //&::before {
589
- // content: "";
590
- // position: absolute;
591
- // top: 0;
592
- // //left: 0;
593
- // right: 0;
594
- // //bottom: 0;
595
- // height: 100%;
596
- // width: 1px;
597
- // border: 1px solid red; /* line đè lên border gốc */
598
- // pointer-events: none; /* không ảnh hưởng đến tương tác */
599
- // z-index: 1;
600
- //}
601
- }
602
-
603
- &.cell-paste-border-top {
604
- border-bottom: 1px dashed #949494;
605
- }
606
-
607
- &.cell-paste-border-bottom {
608
- border-bottom: 1px dashed #949494;
609
- }
610
-
611
- &.cell-paste-border-left {
612
- border-inline-end: 1px dashed #949494;
613
- }
614
-
615
- &.cell-paste-border-right {
616
- border-inline-end: 1px dashed #949494;
617
- }
618
-
619
-
620
- &.#{$prefix}-table-cell-fix-left {
621
- &:has(.ui-rc_cell-content.selected) {
622
- }
623
-
624
- }
625
-
626
- &.#{$prefix}-table-cell-fix-right {
627
- &:has(.ui-rc_cell-content.selected) {
628
- }
629
-
630
- &.cell-border-end {
631
- z-index: 3;
632
- }
633
-
634
- }
635
-
636
-
637
- &.cell-border-end {
638
- z-index: 1;
639
- }
176
+ // }
177
+ // .#{$prefix}-table-summary {
178
+ // > tr{
179
+ // > td.#{$prefix}-table-cell:last-of-type {
180
+ // //border-inline-end: 0;
181
+ // }
182
+ // }
183
+ // }
184
+ // }
185
+
186
+ // }
187
+
188
+ // .#{$prefix}-table-tbody {
189
+
190
+
191
+ // .#{$prefix}-table-cell {
192
+ // line-height: 22px;
193
+ // &:focus-visible {
194
+ // outline: none;
195
+ // }
196
+
197
+
198
+ // &.disable {
199
+ // background-color: #f0f0f0;
200
+ // }
201
+
202
+ // //&.selected {
203
+ // // //background: red;
204
+ // // background-color: $cell-selected-bg !important;
205
+ // //}
206
+ // &.selected-bg {
207
+ // //background: red;
208
+ // background-color: $cell-selected-bg !important;
209
+ // }
210
+
211
+ // .ui-rc-table-cell-content {
212
+ // line-height: 22px;
213
+ // }
214
+
215
+ // &.#{$prefix}-table-cell-fix-left-last {
216
+ // .#{$prefix}-table-cell-content {
217
+ // }
218
+ // }
219
+
220
+ // }
221
+
222
+ // .#{$prefix}-table-row {
223
+
224
+ // &.#{$prefix}-table-row-selected {
225
+ // > .#{$prefix}-table-cell {
226
+ // background: #FEF2EF;
227
+ // }
228
+ // }
229
+
230
+ // &.row-disabled {
231
+ // .#{$prefix}-table-cell {
232
+ // //background-color: #f5f5f5;
233
+ // }
234
+ // }
235
+
236
+ // > .#{$prefix}-table-cell {
237
+ // &.#{$prefix}-table-cell-row-hover {
238
+ // background: #FBDED6;
239
+ // }
240
+
241
+ // &.#{$prefix}-cell-command {
242
+ // padding: 5px 8px;
243
+
244
+ // .#{$prefix}-cell-command__content {
245
+ // display: flex;
246
+ // gap: 5px;
247
+ // overflow: hidden;
248
+ // }
249
+ // }
250
+
251
+
252
+ // }
253
+
254
+ // .#{$prefix}-table-cell:last-of-type {
255
+ // //border-inline-end: 0;
256
+ // }
257
+
258
+
259
+ // @for $i from 0 through 10 {
260
+ // &:has(.indent-level-#{$i}) {
261
+ // .#{$prefix}-table-cell {
262
+ // &.cell-number {
263
+ // .ui-rc_content {
264
+ // padding-left: $i * 10px;
265
+ // }
266
+ // }
267
+ // }
268
+ // }
269
+ // }
270
+
271
+ // }
272
+
273
+ // .#{$prefix}-table-placeholder {
274
+ // .#{$prefix}-table-cell {
275
+ // padding-top: 0 !important;
276
+ // padding-bottom: 0 !important;
277
+ // .#{$prefix}-table-expanded-row-fixed {
278
+ // margin-top: 0 !important;
279
+ // margin-bottom: 0 !important;
280
+ // }
281
+ // }
282
+ // }
283
+ // }
284
+
285
+ // .#{$prefix}-table-thead {
286
+ // //font-weight: 400;
287
+
288
+ // > tr {
289
+ // > th,
290
+ // > td {
291
+ // border-bottom: 1px solid $tableBorderColor;
292
+ // //background: #fff;
293
+ // font-weight: 500;
294
+ // //line-height: 23px;
295
+ // //height: 40px;
296
+ // }
297
+ // }
298
+
299
+ // .#{$prefix}-table-cell {
300
+
301
+ // .ui-rc-table-column-sorter{
302
+ // line-height: normal !important;
303
+ // }
304
+
305
+ // &:hover {
306
+ // .ui-rc-table-column-sorter-up.active {
307
+ // opacity: 1 !important;
308
+ // }
309
+ // }
310
+
311
+ // .ui-rc-table-cell-content {
312
+ // line-height: 22px;
313
+ // }
314
+
315
+ // &.#{$prefix}-table-cell-fix-left-last {
316
+ // .#{$prefix}-table-cell-content {
317
+ // //overflow: visible;
318
+ // }
319
+ // }
320
+
321
+ // .#{$prefix}-table-column-title {
322
+ // //overflow: unset;
323
+ // //position: unset;
324
+ // //display: flex;
325
+ // }
326
+
327
+ // &.head-align-center {
328
+ // text-align: center;
329
+ // }
330
+
331
+ // &.head-align-right {
332
+ // text-align: right;
333
+ // }
334
+
335
+ // .ui-rc-table-column-title {
336
+ // .header-text-wrap {
337
+ // white-space: normal !important;
338
+ // }
339
+ // }
340
+
341
+
342
+ // }
343
+ // }
344
+
345
+ // .#{$prefix}-table-summary {
346
+ // .#{$prefix}-table-cell {
347
+ // background-color: #fafafa;
348
+ // height: 39px;
349
+ // font-weight: 600;
350
+ // }
351
+
352
+ // > tr > td {
353
+ // border-bottom: 1px solid $tableBorderColor;
354
+ // }
355
+ // }
356
+
357
+ // //.#{$prefix}-table-bordered .#{$prefix}-table-tbody-virtual .#{$prefix}-table-cell.#{$prefix}-table-cell-fix-right-first:before {
358
+ // // border-inline-start: 1px solid $tableBorderColor;
359
+ // //}
360
+
361
+ // .#{$prefix}-table-bordered .#{$prefix}-table-tbody-virtual .#{$prefix}-table-cell.#{$prefix}-table-cell-fix-right-first {
362
+ // &::before {
363
+ // border-inline-start: 1px solid $tableBorderColor;
364
+ // }
365
+ // &.has-before::before {
366
+ // border-inline-start: 1px solid $border-selected-color;
367
+ // }
368
+ // &.cell-border-left.selected-bg::before {
369
+ // border-inline-start: 1px solid $border-selected-color;
370
+ // }
371
+ // }
372
+
373
+
374
+
375
+ // .#{$prefix}-table {
376
+
377
+ // &.#{$prefix}-table-bordered {
378
+ // > .#{$prefix}-table-container {
379
+ // border-inline-start: 1px solid $tableBorderColor;
380
+ // border-top: 1px solid $tableBorderColor;
381
+
382
+ // &::after {
383
+ // border-inline-end: 1px solid $tableBorderColor;
384
+ // }
385
+
386
+ // > .#{$prefix}-table-content,
387
+ // > .#{$prefix}-table-header,
388
+ // > .#{$prefix}-table-body,
389
+ // > .#{$prefix}-table-summary {
390
+ // > table {
391
+ // > thead {
392
+ // > tr:not(:last-child) {
393
+ // > th {
394
+ // border-bottom: 1px solid $tableBorderColor;
395
+ // }
396
+ // }
397
+ // }
398
+ // }
399
+ // }
400
+
401
+
402
+ // > .#{$prefix}-table-content,
403
+ // > .#{$prefix}-table-header,
404
+ // > .#{$prefix}-table-body,
405
+ // > .#{$prefix}-table-summary {
406
+ // > table {
407
+ // > thead,
408
+ // > tbody,
409
+ // > tfoot {
410
+ // > tr {
411
+ // > th,
412
+ // > td {
413
+ // border-inline-end: 1px solid $tableBorderColor;
414
+ // }
415
+ // }
416
+ // }
417
+ // }
418
+ // }
419
+
420
+ // }
421
+
422
+ // > .#{$prefix}-table-title {
423
+ // border: 1px solid $tableBorderColor;
424
+ // border-bottom: 0;
425
+ // }
426
+ // }
427
+
428
+ // &.#{$prefix}-table-ping-right:not(.#{$prefix}-table-has-fix-right) .#{$prefix}-table-container::after {
429
+ // box-shadow: inset -10px 0 8px -8px $boxShadowColor;
430
+ // //box-shadow: none;
431
+ // }
432
+
433
+
434
+ // }
435
+
436
+ // .#{$prefix}-table-ping-left {
437
+ // .#{$prefix}-table-cell-fix-left-first::after,
438
+ // .#{$prefix}-table-cell-fix-left-last::after {
439
+ // box-shadow: inset 10px 0 8px -8px $boxShadowColor;
440
+ // }
441
+ // }
442
+
443
+ // .#{$prefix}-table-ping-right {
444
+ // .#{$prefix}-table-cell-fix-right-first::after,
445
+ // .#{$prefix}-table-cell-fix-right-last::after {
446
+ // box-shadow: inset -10px 0 8px -8px $boxShadowColor;
447
+ // }
448
+ // }
449
+
450
+
451
+ // .#{$prefix}-table.#{$prefix}-table-bordered {
452
+ // > .#{$prefix}-table-container {
453
+ // > .#{$prefix}-table-header > table > thead > tr,
454
+ // > .#{$prefix}-table-summary > table > tfoot > tr {
455
+ // > .#{$prefix}-table-cell-fix-right-first::before {
456
+ // border-inline-start: 1px solid $tableBorderColor;
457
+ // content: "";
458
+ // position: absolute;
459
+ // inset-block: 0;
460
+ // inset-inline-start: -1px;
461
+ // }
462
+ // }
463
+ // }
464
+ // }
465
+
466
+
467
+ // }
468
+
469
+ // // -------------- Table edit-------------
470
+
471
+ // .#{$prefix}-table-wrapper {
472
+
473
+ // .#{$prefix}-table.#{$prefix}-table-small {
474
+ // .ui-rc-table-thead {
475
+ // >tr >th.#{$prefix}-table-selection-column{
476
+ // //padding-block: 7px;
477
+ // padding: 0;
478
+ // //padding: 6px 8px;
479
+ // }
480
+ // }
481
+ // //.#{$prefix}-table-selection-column{
482
+ // // padding-block: 7px;
483
+ // // padding: 0;
484
+ // // //padding: 6px 8px;
485
+ // //}
486
+ // }
487
+
488
+ // &.grid-editable {
489
+
490
+ // .#{$prefix}-table-row {
491
+ // &:has(+ .#{$prefix}-table-cell) {
492
+
493
+ // }
494
+ // }
495
+
496
+ // .#{$prefix}-table .#{$prefix}-table-tbody .rc-ui-cell-editable {
497
+ // overflow: unset;
498
+ // display: flex;
499
+ // height: 37px;
500
+ // //--------
501
+ // padding: 0;
502
+
503
+ // .#{$prefix}-table-row-expand-icon {
504
+ // top: 8px;
505
+ // left: 8px;
506
+ // }
507
+
508
+ // &.rc-ui-cell-index {
509
+ // &.focus {
510
+ // background-color: $cell-index-focus-bg;
511
+ // //font-weight: 500;
512
+ // }
513
+ // &.selected-index {
514
+ // background-color: $cell-index-selected-bg !important;
515
+ // color: #fff;
516
+ // //font-weight: 500;
517
+ // }
518
+ // }
519
+
520
+ // &.cell-editable {
521
+
522
+ // &.cell-border-top {
523
+ // //border-bottom: 1px solid $border-selected-color;
524
+ // &::after {
525
+ // content: "";
526
+ // position: absolute;
527
+ // top: -1px;
528
+ // left: 0;
529
+ // //right: 0;
530
+ // //bottom: 0;
531
+ // height: 1px;
532
+ // width: 100%;
533
+ // border-top: 1px solid $border-selected-color; /* line đè lên border gốc */
534
+ // pointer-events: none; /* không ảnh hưởng đến tương tác */
535
+ // z-index: 1;
536
+ // }
537
+ // &.ui-rc-table-cell-fix-left.ui-rc-table-cell-fix-left-last {
538
+ // &::after {
539
+ // left: -100%;
540
+ // }
541
+ // }
542
+ // &.ui-rc-table-cell-fix-right.ui-rc-table-cell-fix-right-first {
543
+ // &::after {
544
+ // left: 100%;
545
+ // }
546
+ // }
547
+ // }
548
+
549
+ // &.cell-border-bottom {
550
+ // border-bottom: 1px solid $border-selected-color;
551
+ // //position: relative;
552
+ // //&::before {
553
+ // // content: "";
554
+ // // position: absolute;
555
+ // // //top: 0;
556
+ // // left: 0;
557
+ // // //right: 0;
558
+ // // bottom: 0;
559
+ // // height: 1px;
560
+ // // width: 100%;
561
+ // // border: 1px solid red; /* line đè lên border gốc */
562
+ // // pointer-events: none; /* không ảnh hưởng đến tương tác */
563
+ // // z-index: 1;
564
+ // //}
565
+
566
+ // }
567
+
568
+ // &.cell-border-left {
569
+ // //overflow: hidden;
570
+ // //border-inline-end: 1px solid $border-selected-color;
571
+ // &::before {
572
+ // content: "";
573
+ // position: absolute;
574
+ // top: 0;
575
+ // left: 0;
576
+ // //right: 0;
577
+ // //bottom: 0;
578
+ // height: 102%;
579
+ // width: 1px;
580
+ // border-left: 1px solid $border-selected-color; /* line đè lên border gốc */
581
+ // pointer-events: none; /* không ảnh hưởng đến tương tác */
582
+ // z-index: 1;
583
+ // }
584
+ // }
585
+
586
+ // &.cell-border-right {
587
+ // border-inline-end: 1px solid $border-selected-color;
588
+ // //&::before {
589
+ // // content: "";
590
+ // // position: absolute;
591
+ // // top: 0;
592
+ // // //left: 0;
593
+ // // right: 0;
594
+ // // //bottom: 0;
595
+ // // height: 100%;
596
+ // // width: 1px;
597
+ // // border: 1px solid red; /* line đè lên border gốc */
598
+ // // pointer-events: none; /* không ảnh hưởng đến tương tác */
599
+ // // z-index: 1;
600
+ // //}
601
+ // }
602
+
603
+ // &.cell-paste-border-top {
604
+ // border-bottom: 1px dashed #949494;
605
+ // }
606
+
607
+ // &.cell-paste-border-bottom {
608
+ // border-bottom: 1px dashed #949494;
609
+ // }
610
+
611
+ // &.cell-paste-border-left {
612
+ // border-inline-end: 1px dashed #949494;
613
+ // }
614
+
615
+ // &.cell-paste-border-right {
616
+ // border-inline-end: 1px dashed #949494;
617
+ // }
618
+
619
+
620
+ // &.#{$prefix}-table-cell-fix-left {
621
+ // &:has(.ui-rc_cell-content.selected) {
622
+ // }
623
+
624
+ // }
625
+
626
+ // &.#{$prefix}-table-cell-fix-right {
627
+ // &:has(.ui-rc_cell-content.selected) {
628
+ // }
629
+
630
+ // &.cell-border-end {
631
+ // z-index: 3;
632
+ // }
633
+
634
+ // }
635
+
636
+
637
+ // &.cell-border-end {
638
+ // z-index: 1;
639
+ // }
640
640
 
641
- &.#{$prefix}-table-cell-fix-right-first {
641
+ // &.#{$prefix}-table-cell-fix-right-first {
642
642
 
643
- &.cell-border-end {
644
- z-index: 3;
645
- }
643
+ // &.cell-border-end {
644
+ // z-index: 3;
645
+ // }
646
646
 
647
- &.next-cell-border-left {
648
- &::before {
649
- border-inline-start: 1px solid $border-selected-color;
650
- }
651
- }
647
+ // &.next-cell-border-left {
648
+ // &::before {
649
+ // border-inline-start: 1px solid $border-selected-color;
650
+ // }
651
+ // }
652
652
 
653
653
 
654
- &.next-cell-paste-border-left {
655
- &::before {
656
- border-inline-start: 1px dashed #949494;
657
- }
658
- }
654
+ // &.next-cell-paste-border-left {
655
+ // &::before {
656
+ // border-inline-start: 1px dashed #949494;
657
+ // }
658
+ // }
659
659
 
660
- &.fixed-cell-border-left {
661
- &::before {
662
- border-inline-start: 1px solid $border-selected-color;
663
- }
664
- }
665
- &.fixed-cell-paste-border-left {
666
- &::before {
667
- border-inline-start: 1px dashed #949494;
668
- }
669
- }
660
+ // &.fixed-cell-border-left {
661
+ // &::before {
662
+ // border-inline-start: 1px solid $border-selected-color;
663
+ // }
664
+ // }
665
+ // &.fixed-cell-paste-border-left {
666
+ // &::before {
667
+ // border-inline-start: 1px dashed #949494;
668
+ // }
669
+ // }
670
670
 
671
- }
671
+ // }
672
672
 
673
- &.#{$prefix}-table-cell-fix-left-last {
673
+ // &.#{$prefix}-table-cell-fix-left-last {
674
674
 
675
- &.cell-border-end {
676
- z-index: 3;
677
- }
675
+ // &.cell-border-end {
676
+ // z-index: 3;
677
+ // }
678
678
 
679
- }
679
+ // }
680
680
 
681
- }
681
+ // }
682
682
 
683
683
 
684
- }
684
+ // }
685
685
 
686
- .#{$prefix}-table.#{$prefix}-table-ping-left {
687
- .#{$prefix}-table-tbody .rc-ui-cell-editable{
688
- &.cell-editable {
686
+ // .#{$prefix}-table.#{$prefix}-table-ping-left {
687
+ // .#{$prefix}-table-tbody .rc-ui-cell-editable{
688
+ // &.cell-editable {
689
689
 
690
690
 
691
- &.#{$prefix}-table-cell-fix-left-last {
691
+ // &.#{$prefix}-table-cell-fix-left-last {
692
692
 
693
- //&.cell-border-left {
694
- // border-inline-end: 1px solid $tableBorderColor;
695
- //}
693
+ // //&.cell-border-left {
694
+ // // border-inline-end: 1px solid $tableBorderColor;
695
+ // //}
696
696
 
697
- }
697
+ // }
698
698
 
699
699
 
700
700
 
701
- }
702
- }
701
+ // }
702
+ // }
703
703
 
704
- &:not(.#{$prefix}-table.#{$prefix}-table-ping-right) {
704
+ // &:not(.#{$prefix}-table.#{$prefix}-table-ping-right) {
705
705
 
706
- .#{$prefix}-table-tbody .rc-ui-cell-editable {
707
- &.cell-editable {
706
+ // .#{$prefix}-table-tbody .rc-ui-cell-editable {
707
+ // &.cell-editable {
708
708
 
709
- // //&.cell-border-end {
710
- // // z-index: 1;
711
- // //}
709
+ // // //&.cell-border-end {
710
+ // // // z-index: 1;
711
+ // // //}
712
712
 
713
- &.#{$prefix}-table-cell-fix-right {
714
- z-index: 0 !important;
713
+ // &.#{$prefix}-table-cell-fix-right {
714
+ // z-index: 0 !important;
715
715
 
716
- &:has(.dragging-point.show) {
717
- z-index: 3 !important;
718
- }
716
+ // &:has(.dragging-point.show) {
717
+ // z-index: 3 !important;
718
+ // }
719
719
 
720
- &.cell-border-end {
721
- z-index: 3;
722
- }
723
- }
720
+ // &.cell-border-end {
721
+ // z-index: 3;
722
+ // }
723
+ // }
724
724
 
725
- }
726
- }
725
+ // }
726
+ // }
727
727
 
728
- }
728
+ // }
729
729
 
730
- }
730
+ // }
731
731
 
732
- .#{$prefix}-table.#{$prefix}-table-ping-right {
733
- .#{$prefix}-table-tbody .rc-ui-cell-editable{
732
+ // .#{$prefix}-table.#{$prefix}-table-ping-right {
733
+ // .#{$prefix}-table-tbody .rc-ui-cell-editable{
734
734
 
735
- &.cell-editable {
735
+ // &.cell-editable {
736
736
 
737
- &.#{$prefix}-table-cell-fix-right-first {
737
+ // &.#{$prefix}-table-cell-fix-right-first {
738
738
 
739
- &.next-cell-border-left {
740
- &::before {
741
- border-inline-start: 1px solid $tableBorderColor;
742
- }
743
- }
739
+ // &.next-cell-border-left {
740
+ // &::before {
741
+ // border-inline-start: 1px solid $tableBorderColor;
742
+ // }
743
+ // }
744
744
 
745
745
 
746
746
 
747
- }
748
-
749
- &.#{$prefix}-table-cell-fix-left-last {
750
- &.cell-border-end {
751
- z-index: 3;
752
- }
753
- }
754
-
755
- }
756
-
757
- &.cell-border-end {
758
- z-index: 1;
759
- }
760
-
761
- }
762
-
763
- }
747
+ // }
748
+
749
+ // &.#{$prefix}-table-cell-fix-left-last {
750
+ // &.cell-border-end {
751
+ // z-index: 3;
752
+ // }
753
+ // }
754
+
755
+ // }
756
+
757
+ // &.cell-border-end {
758
+ // z-index: 1;
759
+ // }
760
+
761
+ // }
762
+
763
+ // }
764
764
 
765
765
 
766
- .#{$prefix}-table.#{$prefix}-table-small {
767
- .#{$prefix}-table-thead > tr > th,
768
- tfoot > tr > th,
769
- tfoot > tr > td,
770
- tfoot > tr > td.#{$prefix}-table-cell
771
- {
772
- //padding: 8px 8px;
773
- }
774
- }
775
-
776
- .#{$prefix}-table.#{$prefix}-table-small {
777
- .#{$prefix}-table-selection-column{
778
- //padding: 8px 8px;
779
- //padding: 6px 8px;
780
- }
781
- }
782
-
783
- .ui-rc_cell-content {
784
- user-select: none;
785
- //padding: 7px 8px;
786
- padding: 2px 8px;
787
- display: flex;
788
- align-items: center;
789
- overflow: hidden;
790
-
791
- .ui-rc_content {
792
- width: 100%;
793
- }
794
- &:hover {
795
- .dragging-point {
796
- //visibility: visible;
797
- }
798
- }
799
-
800
- .dragging-point {
801
- //visibility: hidden;
802
- width: 10px;
803
- height: 10px;
804
- position: absolute;
805
- cursor: crosshair;
806
- right: -1px;
807
- bottom: -1px;
808
- //background: red;
809
-
810
- &.hidden {
811
- display: none;
812
- }
813
-
814
- .dot-point {
815
- position: absolute;
816
- width: 8px;
817
- height: 8px;
818
- border-radius: 6px;
819
- background-color: $border-selected-color;
820
- bottom: -3px;
821
- right: -3px;
822
- }
823
-
824
- }
825
- }
826
-
827
- .ui-rc_cell-content.selected {
828
- background-color: $cell-selected-bg;
829
- }
830
- .ui-rc_cell-content {
831
- //position: relative;
832
- &.isValid {
833
- &::after {
834
- content: "";
835
- position: absolute;
836
- top: 0;
837
- right: 0;
838
- width: 0;
839
- height: 0;
840
- border-top: 0 solid transparent;
841
- border-right: 8px solid red;
842
- border-bottom: 8px solid transparent;
843
- }
844
- }
845
- }
846
-
847
- //.ui-rc_cell-content.disable {
848
- // background-color: #f0f0f0;
849
- //}
850
-
851
- //.ui-rc_cell-content--index {
852
- // &.focus {
853
- // background-color: $cell-index-focus-bg;
854
- // //color: #fff;
855
- // //font-weight: 500;
856
- // }
857
- // &.selected {
858
- // background-color: $cell-index-selected-bg;
859
- // color: #fff;
860
- // //font-weight: 500;
861
- // }
862
- //}
863
-
864
- .#{$prefix}-table-tbody {
865
-
866
- .#{$prefix}-table-row {
867
- &.#{$prefix}-table-row-selected {
868
- >.#{$prefix}-table-cell {
869
- //background: #FEF2EF;
870
- }
871
- }
872
- >.#{$prefix}-table-cell {
873
- &.#{$prefix}-table-cell-row-hover {
874
- //background: #FBDED6;
875
- }
876
- }
877
-
878
- .#{$prefix}-table-cell {
879
-
880
- .#{$prefix}-table-row-indent {
881
- position: absolute;
882
- @for $i from 1 through 10 {
883
- &.indent-level-#{$i} {
884
- padding-left: $i * 25px;;
885
- }
886
- }
887
- }
888
-
889
- @for $i from 0 through 10 {
890
- &:has(.indent-level-#{$i}) {
891
-
892
- .#{$prefix}-table-row-expand-icon {
893
- position: absolute;
894
- //.ui-rc_content {
895
- //padding-left: $i * 10px;
896
- //}
897
- }
898
-
899
- .ui-rc_cell-content {
900
- padding-left: $i * 25px + 8px;
901
- }
902
-
903
- }
904
- }
905
-
906
- @for $i from 0 through 10 {
907
- &:has(.indent-level-#{$i}) {
908
-
909
- .#{$prefix}-table-row-expand-icon {
910
- position: absolute;
911
- left: $i * 25px + 8px !important;
912
- }
913
-
914
- .ui-rc_cell-content {
915
- padding-left: ($i + 1)* 25px + 8px;
916
- }
917
-
918
- }
919
- }
920
- }
921
- }
922
-
923
-
924
- .#{$prefix}-table-cell{
925
-
926
- &.#{$prefix}-table-cell-ellipsis {
927
- .ui-rc_cell-content {
928
-
929
- .ui-rc_content {
930
- text-overflow: ellipsis;
931
- text-decoration: none;
932
- transition: 0.3s;
933
- white-space: nowrap;
934
- overflow: hidden;
935
- line-height: 22px;
936
- }
937
- }
938
- }
939
-
940
- &.cell-editing {
941
- //padding: 0 !important;
942
- &:focus-visible {
943
- outline: none;
944
- }
945
- .ant-form-item ,
946
- .ant-row.ant-form-item-row,
947
- .ant-col.ant-form-item-control,
948
- .ant-form-item-control-input,
949
- .ant-form-item-control-input-content,
950
- .ant-input{
951
- height: 100% !important;
952
- max-height: unset !important;
953
- &:focus-visible {
954
- outline: none;
955
- }
956
- }
957
- textarea.ant-input {
958
- line-height: 1.8;
959
- }
960
-
961
- input.be-cell-editing, .ant-picker, .ui-rc-select-selector, .ui-rc-table-select-selector {
962
- padding-inline: 7px;
963
- }
964
-
965
- .#{$prefix}-checkbox-wrapper {
966
- .#{$prefix}-checkbox {
967
- background-color: red;
968
- }
969
- .#{$prefix}-checkbox-input {
970
- &:focus-visible {
971
- outline: none;
972
- }
973
- }
974
- }
975
-
976
-
977
- .ant-input, .ant-picker{
978
- border-radius: 0;
979
- }
980
-
981
- // color picker
982
-
983
- .ant-color-picker-trigger{
984
- height: 100%;
985
- border-radius: 0;
986
- .ant-color-picker-color-block {
987
- height: 100%;
988
- width: 100%;
989
- }
990
-
991
- }
992
-
993
-
994
- // ------------ select ---------------
995
-
996
- .#{$prefix}-table-select-single .#{$prefix}-table-select-selector,
997
- .#{$prefix}-select-single .#{$prefix}-select-selector {
998
-
999
- border-radius: 0;
1000
-
1001
- }
1002
-
1003
- .#{$prefix}-table-select-single:not(.#{$prefix}-table-select-customize-input) {
1004
- .#{$prefix}-table-select-selector {
1005
- .#{$prefix}-table-select-selection-search-input {
1006
- height: auto;
1007
- }
1008
- }
1009
- }
1010
-
1011
- // ------------ select ---------------
1012
-
1013
-
1014
- }
1015
- &.cell-editable {
1016
-
1017
- &:focus-visible {
1018
- outline: none;
1019
- }
1020
- .ui-rc_content {
1021
- //display: flex;
1022
- //justify-content: space-between;
1023
- &.select-cell {
1024
- padding-right: 18px;
1025
- position: relative;
1026
- //&::after {
1027
- // position: absolute;
1028
- // right: 0;
1029
- // content: '';
1030
- // display: inline-block;
1031
- // margin-left: 4px;
1032
- // vertical-align: middle;
1033
- // width: 0;
1034
- // height: 0;
1035
- // border-left: 5px solid transparent;
1036
- // border-right: 5px solid transparent;
1037
- // border-top: 5px solid black;
1038
- //}
1039
- }
1040
- }
1041
- .caret-down {
1042
- float: right;
1043
- position: absolute;
1044
- right: 0;
1045
- &::before {
1046
- content: '';
1047
- display: inline-block;
1048
- margin-left: 4px;
1049
- vertical-align: middle;
1050
- width: 0;
1051
- height: 0;
1052
- border-left: 5px solid transparent;
1053
- border-right: 5px solid transparent;
1054
- border-top: 5px solid #6f7777;
1055
- }
1056
- }
1057
-
1058
- }
1059
- .#{$prefix}-table-cell-content {
1060
- display: flex;
1061
- height: 100%;
1062
- }
1063
-
1064
- .ui-rc_cell-content,
1065
- .#{$prefix}-table-cell-content{
1066
- //width: 100%;
1067
- flex: 1;
1068
- }
1069
- .ui-rc_content {
1070
- //padding: 5px 8px;
1071
- }
1072
- .ui-rc_content:has(.ant-color-picker-trigger) {
1073
- padding: 1px 8px;
1074
- }
1075
- }
1076
- }
1077
-
1078
- }
1079
-
1080
- }
1081
- // ---------------- Table edit end---------------
1082
-
1083
-
1084
- // -------------- Checkbox ----------
1085
-
1086
- .#{$prefix}-checkbox-indeterminate {
1087
- &:hover {
1088
- .#{$prefix}-checkbox-inner {
1089
- border-color: $primary !important;;
1090
- }
1091
- }
1092
-
1093
- .#{$prefix}-checkbox-inner {
1094
- &:after {
1095
- background-color: $primary;
1096
- }
1097
- }
1098
- }
1099
- //.#{$prefix}-checkbox-input {
1100
- // &:focus-visible {
1101
- // outline: none;
1102
- // }
1103
- //}
1104
-
1105
- .#{$prefix}-checkbox .#{$prefix}-checkbox-input:focus-visible+.#{$prefix}-checkbox-inner {
1106
- outline: none;
1107
- }
1108
-
1109
- .#{$prefix}-checkbox {
1110
- &.#{$prefix}-checkbox-checked {
1111
- &:hover {
1112
- .#{$prefix}-checkbox-inner {
1113
- background-color: $primary;
1114
- border-color: $primary;
1115
- }
1116
- }
1117
-
1118
- .#{$prefix}-checkbox-inner {
1119
- background-color: $primary;
1120
- border-color: $primary;
1121
- }
1122
- }
1123
- }
1124
-
1125
- .#{$prefix}-checkbox:not(.#{$prefix}-checkbox-disabled):hover {
1126
- .#{$prefix}-checkbox-inner {
1127
- border-color: $primary;
1128
- }
1129
- }
1130
-
1131
- .#{$prefix}-checkbox-wrapper:not(.#{$prefix}-checkbox-wrapper-disabled):hover {
1132
- .#{$prefix}-checkbox-inner {
1133
- border-color: $primary;
1134
- }
1135
-
1136
- .#{$prefix}-checkbox-checked:not(.#{$prefix}-checkbox-disabled) {
1137
- .#{$prefix}-checkbox-inner {
1138
- background-color: $primary;
1139
- }
1140
- }
1141
- }
1142
-
1143
-
1144
- // -------------- radio ----------
1145
-
1146
- .ui-rc-radio-wrapper {
1147
- .ui-rc-radio-checked {
1148
- .ui-rc-radio-inner {
1149
- background-color: $primary;
1150
- border-color: $primary;
1151
- }
1152
- }
1153
- &:hover {
1154
- .ui-rc-radio-inner {
1155
- border-color: $primary;
1156
- }
1157
- }
1158
- }
1159
-
1160
- // ------------ Tree ---------------
1161
-
1162
- .#{$prefix}-tree {
1163
- .#{$prefix}-tree-checkbox-checked {
1164
- .#{$prefix}-tree-checkbox-inner {
1165
- background-color: $primary;
1166
- border-color: $primary;
1167
- }
1168
- }
1169
-
1170
- .#{$prefix}-tree-checkbox-wrapper-checked:not(.#{$prefix}-tree-checkbox-wrapper-disabled):hover,
1171
- .#{$prefix}-tree-checkbox-checked:not(.#{$prefix}-tree-checkbox-disabled):hover {
1172
- .#{$prefix}-tree-checkbox-inner {
1173
- background-color: $primary;
1174
- }
1175
- }
1176
-
1177
- .#{$prefix}-tree-checkbox-wrapper:not(.#{$prefix}-tree-checkbox-wrapper-disabled):hover,
1178
- .#{$prefix}-tree-checkbox:not(.#{$prefix}-tree-checkbox-disabled):hover {
1179
- .#{$prefix}-tree-checkbox-inner {
1180
- border-color: $primary;
1181
- }
1182
- }
1183
- }
1184
-
1185
-
1186
- // ------------ ant Tree ---------------
1187
-
1188
- .#{$antdPrefix}-tree {
1189
- .#{$antdPrefix}-tree-checkbox-checked {
1190
- .#{$antdPrefix}-tree-checkbox-inner {
1191
- background-color: $primary;
1192
- border-color: $primary;
1193
- }
1194
- }
1195
-
1196
- .#{$antdPrefix}-tree-checkbox-wrapper-checked:not(.#{$antdPrefix}-tree-checkbox-wrapper-disabled):hover,
1197
- .#{$antdPrefix}-tree-checkbox-checked:not(.#{$antdPrefix}-tree-checkbox-disabled):hover {
1198
- .#{$antdPrefix}-tree-checkbox-inner {
1199
- background-color: $primary;
1200
- }
1201
- }
1202
-
1203
- .#{$antdPrefix}-tree-checkbox-wrapper:not(.#{$antdPrefix}-tree-checkbox-wrapper-disabled):hover,
1204
- .#{$antdPrefix}-tree-checkbox:not(.#{$antdPrefix}-tree-checkbox-disabled):hover {
1205
- .#{$antdPrefix}-tree-checkbox-inner {
1206
- border-color: $primary;
1207
- }
1208
- }
1209
- }
1210
-
1211
-
1212
- // ------------ paging ---------------
1213
-
1214
- .#{$prefix}-table-wrapper .#{$prefix}-table-pagination.#{$prefix}-pagination {
1215
- margin: 0;
1216
- }
1217
-
1218
- .#{$prefix}-table-wrapper {
1219
- .#{$prefix}-table {
1220
- .#{$prefix}-pagination {
1221
- &::before {
1222
- content: "";
1223
- position: absolute;
1224
- border-left: 1px solid $tableBorderColor;
1225
- height: 55px;
1226
- bottom: 0;
1227
- left: 0;
1228
- }
1229
-
1230
- &::after {
1231
- content: "";
1232
- position: absolute;
1233
- border-left: 1px solid $tableBorderColor;
1234
- height: 55px;
1235
- bottom: 0;
1236
- visibility: visible;
1237
- right: 0;
1238
- }
1239
-
1240
- &.top-pagination {
1241
- border: none;
1242
- padding-top: 0;
1243
- padding-bottom: 0;
1244
- .#{$prefix}-pagination-total-text {
1245
- margin-left: auto;
1246
- }
1247
- }
1248
- border-bottom: 1px solid $tableBorderColor;
1249
-
1250
- }
1251
- }
1252
- }
1253
-
1254
-
1255
- .#{$prefix}-pagination {
1256
-
1257
- .#{$prefix}-pagination-total-text {
1258
- white-space: nowrap;
1259
- }
1260
-
1261
- .#{$prefix}-pagination-item-active {
1262
- border-color: $primary;
1263
-
1264
- &:hover {
1265
- border-color: $primary;
1266
-
1267
- a {
1268
- color: $primary;
1269
- }
1270
- }
1271
-
1272
- a {
1273
- color: $primary;
1274
- }
1275
- }
1276
-
1277
- .#{$prefix}-pagination-jump-prev, .#{$prefix}-pagination-jump-next {
1278
- .#{$prefix}-pagination-item-container {
1279
- .#{$prefix}-pagination-item-link-icon {
1280
- color: $primary;
1281
- }
1282
- }
1283
- }
1284
- }
1285
-
1286
-
1287
-
1288
- //.#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-content >table >tbody>tr>td >.#{$prefix}-table-expanded-row-fixed {
1289
- // border-inline-end: 1px solid $tableBorderColor;
1290
- //}
1291
- //
1292
- //.#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-content >table >tbody>tr>td >.#{$prefix}-table-expanded-row-fixed::after {
1293
- // //border-inline-end: 1px solid $tableBorderColor;
1294
- // border-inline-end: 0 solid $tableBorderColor;
1295
- //}
1296
- //
1297
- //
1298
- //.#{$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 {
1299
- // margin-top: 0;
1300
- // margin-bottom: 0;
1301
- // border-inline-end: 1px solid $tableBorderColor;
1302
- //}
1303
- //
1304
- //.#{$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 {
1305
- // border-inline-end: 0 solid $tableBorderColor;
1306
- //}
1307
-
1308
-
1309
- .#{$prefix}-table-wrapper {
1310
- .#{$prefix}-table {
1311
- &.#{$prefix}-table-bordered {
1312
- > .#{$prefix}-table-container {
1313
- > .#{$prefix}-table-content,
1314
- > .#{$prefix}-table-header,
1315
- > .#{$prefix}-table-body,
1316
- > .#{$prefix}-table-summary {
1317
- > table > tbody > tr {
1318
- > th,
1319
- > td {
1320
- > .#{$prefix}-table-expanded-row-fixed::after {
1321
- // Thêm CSS ở đây
1322
- }
1323
- }
1324
- }
1325
- }
1326
- }
1327
- }
1328
- }
1329
- }
1330
-
1331
-
1332
- .#{$prefix}-table-wrapper {
1333
- .#{$prefix}-table.#{$prefix}-table-small {
1334
- .#{$prefix}-table-title,
1335
- .#{$prefix}-table-footer,
1336
- .#{$prefix}-table-cell,
1337
- .#{$prefix}-table-thead > tr > th,
1338
- .#{$prefix}-table-tbody > tr > th,
1339
- .#{$prefix}-table-tbody > tr > td,
1340
- tfoot > tr > th,
1341
- tfoot > tr > td {
1342
- //padding: 8px 8px;
1343
- //font-size: 13px;
1344
- }
1345
- }
1346
- }
1347
- .#{$prefix}-table-wrapper {
1348
- .#{$prefix}-table.#{$prefix}-table-small {
1349
- .#{$prefix}-table-cell {
1350
- &:has(.ant-color-picker-trigger) {
1351
- padding: 1px 8px;
1352
- }
1353
- .ant-color-picker-trigger{
1354
- width: 100%;
1355
- min-height: 20px;
1356
- .ant-color-picker-clear {
1357
- height: 20px;
1358
- }
1359
- }
1360
- }
1361
- }
1362
- }
1363
-
1364
-
1365
-
1366
- //ui-rc-table-ping-right
1367
-
1368
- .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-content >table >thead>tr >.#{$prefix}-table-cell-fix-right-first::after,
1369
- .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-header >table >thead>tr >.#{$prefix}-table-cell-fix-right-first::after,
1370
- .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-body >table >thead>tr >.#{$prefix}-table-cell-fix-right-first::after,
1371
- .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-summary >table >thead>tr >.#{$prefix}-table-cell-fix-right-first::after,
1372
- .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-content >table >tbody>tr >.#{$prefix}-table-cell-fix-right-first::after,
1373
- .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-header >table >tbody>tr >.#{$prefix}-table-cell-fix-right-first::after,
1374
- .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-body >table >tbody>tr >.#{$prefix}-table-cell-fix-right-first::after,
1375
- .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-summary >table >tbody>tr >.#{$prefix}-table-cell-fix-right-first::after,
1376
- .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-content >table >tfoot>tr >.#{$prefix}-table-cell-fix-right-first::after,
1377
- .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-header >table >tfoot>tr >.#{$prefix}-table-cell-fix-right-first::after,
1378
- .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-body >table >tfoot>tr >.#{$prefix}-table-cell-fix-right-first::after,
1379
- .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-summary >table >tfoot>tr >.#{$prefix}-table-cell-fix-right-first::after {
1380
- border-inline-end: 1px solid $tableBorderColor;
1381
- }
1382
-
1383
-
1384
- // toolbar
1385
-
1386
- .ui-rc-toolbar-bottom {
1387
- .be-toolbar-item {
1388
- .toolbar-dropdown-button {
1389
- .ant-btn.ant-btn-default.ant-btn-variant-outlined.ant-btn-compact-item.ant-btn-compact-first-item {
1390
- border-color: #28c76f;
1391
- }
1392
- .ant-btn.ant-btn-default.ant-btn-variant-outlined.ant-btn-compact-item.ant-btn-compact-last-item {
1393
- border-color: #28c76f;
1394
- .ant-btn-icon {
1395
- color: #28c76f;
1396
- }
1397
- }
1398
- }
1399
-
1400
- }
1401
- }
1402
-
1403
-
1404
- .react-resizable {
1405
- position: relative;
1406
- background-clip: padding-box;
1407
- }
1408
-
1409
- .rc-resizable-handle {
1410
- position: absolute;
1411
- //right: 10px;
1412
- right: 0px;
1413
- bottom: 0;
1414
- z-index: 1;
1415
- width: 5px;
1416
- height: 100%;
1417
- cursor: col-resize;
1418
- //transform: translateY(-50%);
1419
- &.none {
1420
- cursor: auto;
1421
- display: none;
1422
- }
1423
- }
1424
-
1425
- .rs-picker-popup {
1426
- z-index: 1660;
1427
- }
1428
-
1429
- .select__menu-portal {
1430
- z-index: 9999 !important;
1431
- }
1432
-
1433
- .rc-fullscreen {
1434
- background-color: #ffffff85;
1435
- }
1436
- .be-popup-container {
1437
- z-index: 1070 !important;
1438
- }
766
+ // .#{$prefix}-table.#{$prefix}-table-small {
767
+ // .#{$prefix}-table-thead > tr > th,
768
+ // tfoot > tr > th,
769
+ // tfoot > tr > td,
770
+ // tfoot > tr > td.#{$prefix}-table-cell
771
+ // {
772
+ // //padding: 8px 8px;
773
+ // }
774
+ // }
775
+
776
+ // .#{$prefix}-table.#{$prefix}-table-small {
777
+ // .#{$prefix}-table-selection-column{
778
+ // //padding: 8px 8px;
779
+ // //padding: 6px 8px;
780
+ // }
781
+ // }
782
+
783
+ // .ui-rc_cell-content {
784
+ // user-select: none;
785
+ // //padding: 7px 8px;
786
+ // padding: 2px 8px;
787
+ // display: flex;
788
+ // align-items: center;
789
+ // overflow: hidden;
790
+
791
+ // .ui-rc_content {
792
+ // width: 100%;
793
+ // }
794
+ // &:hover {
795
+ // .dragging-point {
796
+ // //visibility: visible;
797
+ // }
798
+ // }
799
+
800
+ // .dragging-point {
801
+ // //visibility: hidden;
802
+ // width: 10px;
803
+ // height: 10px;
804
+ // position: absolute;
805
+ // cursor: crosshair;
806
+ // right: -1px;
807
+ // bottom: -1px;
808
+ // //background: red;
809
+
810
+ // &.hidden {
811
+ // display: none;
812
+ // }
813
+
814
+ // .dot-point {
815
+ // position: absolute;
816
+ // width: 8px;
817
+ // height: 8px;
818
+ // border-radius: 6px;
819
+ // background-color: $border-selected-color;
820
+ // bottom: -3px;
821
+ // right: -3px;
822
+ // }
823
+
824
+ // }
825
+ // }
826
+
827
+ // .ui-rc_cell-content.selected {
828
+ // background-color: $cell-selected-bg;
829
+ // }
830
+ // .ui-rc_cell-content {
831
+ // //position: relative;
832
+ // &.isValid {
833
+ // &::after {
834
+ // content: "";
835
+ // position: absolute;
836
+ // top: 0;
837
+ // right: 0;
838
+ // width: 0;
839
+ // height: 0;
840
+ // border-top: 0 solid transparent;
841
+ // border-right: 8px solid red;
842
+ // border-bottom: 8px solid transparent;
843
+ // }
844
+ // }
845
+ // }
846
+
847
+ // //.ui-rc_cell-content.disable {
848
+ // // background-color: #f0f0f0;
849
+ // //}
850
+
851
+ // //.ui-rc_cell-content--index {
852
+ // // &.focus {
853
+ // // background-color: $cell-index-focus-bg;
854
+ // // //color: #fff;
855
+ // // //font-weight: 500;
856
+ // // }
857
+ // // &.selected {
858
+ // // background-color: $cell-index-selected-bg;
859
+ // // color: #fff;
860
+ // // //font-weight: 500;
861
+ // // }
862
+ // //}
863
+
864
+ // .#{$prefix}-table-tbody {
865
+
866
+ // .#{$prefix}-table-row {
867
+ // &.#{$prefix}-table-row-selected {
868
+ // >.#{$prefix}-table-cell {
869
+ // //background: #FEF2EF;
870
+ // }
871
+ // }
872
+ // >.#{$prefix}-table-cell {
873
+ // &.#{$prefix}-table-cell-row-hover {
874
+ // //background: #FBDED6;
875
+ // }
876
+ // }
877
+
878
+ // .#{$prefix}-table-cell {
879
+
880
+ // .#{$prefix}-table-row-indent {
881
+ // position: absolute;
882
+ // @for $i from 1 through 10 {
883
+ // &.indent-level-#{$i} {
884
+ // padding-left: $i * 25px;;
885
+ // }
886
+ // }
887
+ // }
888
+
889
+ // @for $i from 0 through 10 {
890
+ // &:has(.indent-level-#{$i}) {
891
+
892
+ // .#{$prefix}-table-row-expand-icon {
893
+ // position: absolute;
894
+ // //.ui-rc_content {
895
+ // //padding-left: $i * 10px;
896
+ // //}
897
+ // }
898
+
899
+ // .ui-rc_cell-content {
900
+ // padding-left: $i * 25px + 8px;
901
+ // }
902
+
903
+ // }
904
+ // }
905
+
906
+ // @for $i from 0 through 10 {
907
+ // &:has(.indent-level-#{$i}) {
908
+
909
+ // .#{$prefix}-table-row-expand-icon {
910
+ // position: absolute;
911
+ // left: $i * 25px + 8px !important;
912
+ // }
913
+
914
+ // .ui-rc_cell-content {
915
+ // padding-left: ($i + 1)* 25px + 8px;
916
+ // }
917
+
918
+ // }
919
+ // }
920
+ // }
921
+ // }
922
+
923
+
924
+ // .#{$prefix}-table-cell{
925
+
926
+ // &.#{$prefix}-table-cell-ellipsis {
927
+ // .ui-rc_cell-content {
928
+
929
+ // .ui-rc_content {
930
+ // text-overflow: ellipsis;
931
+ // text-decoration: none;
932
+ // transition: 0.3s;
933
+ // white-space: nowrap;
934
+ // overflow: hidden;
935
+ // line-height: 22px;
936
+ // }
937
+ // }
938
+ // }
939
+
940
+ // &.cell-editing {
941
+ // //padding: 0 !important;
942
+ // &:focus-visible {
943
+ // outline: none;
944
+ // }
945
+ // .ant-form-item ,
946
+ // .ant-row.ant-form-item-row,
947
+ // .ant-col.ant-form-item-control,
948
+ // .ant-form-item-control-input,
949
+ // .ant-form-item-control-input-content,
950
+ // .ant-input{
951
+ // height: 100% !important;
952
+ // max-height: unset !important;
953
+ // &:focus-visible {
954
+ // outline: none;
955
+ // }
956
+ // }
957
+ // textarea.ant-input {
958
+ // line-height: 1.8;
959
+ // }
960
+
961
+ // input.be-cell-editing, .ant-picker, .ui-rc-select-selector, .ui-rc-table-select-selector {
962
+ // padding-inline: 7px;
963
+ // }
964
+
965
+ // .#{$prefix}-checkbox-wrapper {
966
+ // .#{$prefix}-checkbox {
967
+ // background-color: red;
968
+ // }
969
+ // .#{$prefix}-checkbox-input {
970
+ // &:focus-visible {
971
+ // outline: none;
972
+ // }
973
+ // }
974
+ // }
975
+
976
+
977
+ // .ant-input, .ant-picker{
978
+ // border-radius: 0;
979
+ // }
980
+
981
+ // // color picker
982
+
983
+ // .ant-color-picker-trigger{
984
+ // height: 100%;
985
+ // border-radius: 0;
986
+ // .ant-color-picker-color-block {
987
+ // height: 100%;
988
+ // width: 100%;
989
+ // }
990
+
991
+ // }
992
+
993
+
994
+ // // ------------ select ---------------
995
+
996
+ // .#{$prefix}-table-select-single .#{$prefix}-table-select-selector,
997
+ // .#{$prefix}-select-single .#{$prefix}-select-selector {
998
+
999
+ // border-radius: 0;
1000
+
1001
+ // }
1002
+
1003
+ // .#{$prefix}-table-select-single:not(.#{$prefix}-table-select-customize-input) {
1004
+ // .#{$prefix}-table-select-selector {
1005
+ // .#{$prefix}-table-select-selection-search-input {
1006
+ // height: auto;
1007
+ // }
1008
+ // }
1009
+ // }
1010
+
1011
+ // // ------------ select ---------------
1012
+
1013
+
1014
+ // }
1015
+ // &.cell-editable {
1016
+
1017
+ // &:focus-visible {
1018
+ // outline: none;
1019
+ // }
1020
+ // .ui-rc_content {
1021
+ // //display: flex;
1022
+ // //justify-content: space-between;
1023
+ // &.select-cell {
1024
+ // padding-right: 18px;
1025
+ // position: relative;
1026
+ // //&::after {
1027
+ // // position: absolute;
1028
+ // // right: 0;
1029
+ // // content: '';
1030
+ // // display: inline-block;
1031
+ // // margin-left: 4px;
1032
+ // // vertical-align: middle;
1033
+ // // width: 0;
1034
+ // // height: 0;
1035
+ // // border-left: 5px solid transparent;
1036
+ // // border-right: 5px solid transparent;
1037
+ // // border-top: 5px solid black;
1038
+ // //}
1039
+ // }
1040
+ // }
1041
+ // .caret-down {
1042
+ // float: right;
1043
+ // position: absolute;
1044
+ // right: 0;
1045
+ // &::before {
1046
+ // content: '';
1047
+ // display: inline-block;
1048
+ // margin-left: 4px;
1049
+ // vertical-align: middle;
1050
+ // width: 0;
1051
+ // height: 0;
1052
+ // border-left: 5px solid transparent;
1053
+ // border-right: 5px solid transparent;
1054
+ // border-top: 5px solid #6f7777;
1055
+ // }
1056
+ // }
1057
+
1058
+ // }
1059
+ // .#{$prefix}-table-cell-content {
1060
+ // display: flex;
1061
+ // height: 100%;
1062
+ // }
1063
+
1064
+ // .ui-rc_cell-content,
1065
+ // .#{$prefix}-table-cell-content{
1066
+ // //width: 100%;
1067
+ // flex: 1;
1068
+ // }
1069
+ // .ui-rc_content {
1070
+ // //padding: 5px 8px;
1071
+ // }
1072
+ // .ui-rc_content:has(.ant-color-picker-trigger) {
1073
+ // padding: 1px 8px;
1074
+ // }
1075
+ // }
1076
+ // }
1077
+
1078
+ // }
1079
+
1080
+ // }
1081
+ // // ---------------- Table edit end---------------
1082
+
1083
+
1084
+ // // -------------- Checkbox ----------
1085
+
1086
+ // .#{$prefix}-checkbox-indeterminate {
1087
+ // &:hover {
1088
+ // .#{$prefix}-checkbox-inner {
1089
+ // border-color: $primary !important;;
1090
+ // }
1091
+ // }
1092
+
1093
+ // .#{$prefix}-checkbox-inner {
1094
+ // &:after {
1095
+ // background-color: $primary;
1096
+ // }
1097
+ // }
1098
+ // }
1099
+ // //.#{$prefix}-checkbox-input {
1100
+ // // &:focus-visible {
1101
+ // // outline: none;
1102
+ // // }
1103
+ // //}
1104
+
1105
+ // .#{$prefix}-checkbox .#{$prefix}-checkbox-input:focus-visible+.#{$prefix}-checkbox-inner {
1106
+ // outline: none;
1107
+ // }
1108
+
1109
+ // .#{$prefix}-checkbox {
1110
+ // &.#{$prefix}-checkbox-checked {
1111
+ // &:hover {
1112
+ // .#{$prefix}-checkbox-inner {
1113
+ // background-color: $primary;
1114
+ // border-color: $primary;
1115
+ // }
1116
+ // }
1117
+
1118
+ // .#{$prefix}-checkbox-inner {
1119
+ // background-color: $primary;
1120
+ // border-color: $primary;
1121
+ // }
1122
+ // }
1123
+ // }
1124
+
1125
+ // .#{$prefix}-checkbox:not(.#{$prefix}-checkbox-disabled):hover {
1126
+ // .#{$prefix}-checkbox-inner {
1127
+ // border-color: $primary;
1128
+ // }
1129
+ // }
1130
+
1131
+ // .#{$prefix}-checkbox-wrapper:not(.#{$prefix}-checkbox-wrapper-disabled):hover {
1132
+ // .#{$prefix}-checkbox-inner {
1133
+ // border-color: $primary;
1134
+ // }
1135
+
1136
+ // .#{$prefix}-checkbox-checked:not(.#{$prefix}-checkbox-disabled) {
1137
+ // .#{$prefix}-checkbox-inner {
1138
+ // background-color: $primary;
1139
+ // }
1140
+ // }
1141
+ // }
1142
+
1143
+
1144
+ // // -------------- radio ----------
1145
+
1146
+ // .ui-rc-radio-wrapper {
1147
+ // .ui-rc-radio-checked {
1148
+ // .ui-rc-radio-inner {
1149
+ // background-color: $primary;
1150
+ // border-color: $primary;
1151
+ // }
1152
+ // }
1153
+ // &:hover {
1154
+ // .ui-rc-radio-inner {
1155
+ // border-color: $primary;
1156
+ // }
1157
+ // }
1158
+ // }
1159
+
1160
+ // // ------------ Tree ---------------
1161
+
1162
+ // .#{$prefix}-tree {
1163
+ // .#{$prefix}-tree-checkbox-checked {
1164
+ // .#{$prefix}-tree-checkbox-inner {
1165
+ // background-color: $primary;
1166
+ // border-color: $primary;
1167
+ // }
1168
+ // }
1169
+
1170
+ // .#{$prefix}-tree-checkbox-wrapper-checked:not(.#{$prefix}-tree-checkbox-wrapper-disabled):hover,
1171
+ // .#{$prefix}-tree-checkbox-checked:not(.#{$prefix}-tree-checkbox-disabled):hover {
1172
+ // .#{$prefix}-tree-checkbox-inner {
1173
+ // background-color: $primary;
1174
+ // }
1175
+ // }
1176
+
1177
+ // .#{$prefix}-tree-checkbox-wrapper:not(.#{$prefix}-tree-checkbox-wrapper-disabled):hover,
1178
+ // .#{$prefix}-tree-checkbox:not(.#{$prefix}-tree-checkbox-disabled):hover {
1179
+ // .#{$prefix}-tree-checkbox-inner {
1180
+ // border-color: $primary;
1181
+ // }
1182
+ // }
1183
+ // }
1184
+
1185
+
1186
+ // // ------------ ant Tree ---------------
1187
+
1188
+ // .#{$antdPrefix}-tree {
1189
+ // .#{$antdPrefix}-tree-checkbox-checked {
1190
+ // .#{$antdPrefix}-tree-checkbox-inner {
1191
+ // background-color: $primary;
1192
+ // border-color: $primary;
1193
+ // }
1194
+ // }
1195
+
1196
+ // .#{$antdPrefix}-tree-checkbox-wrapper-checked:not(.#{$antdPrefix}-tree-checkbox-wrapper-disabled):hover,
1197
+ // .#{$antdPrefix}-tree-checkbox-checked:not(.#{$antdPrefix}-tree-checkbox-disabled):hover {
1198
+ // .#{$antdPrefix}-tree-checkbox-inner {
1199
+ // background-color: $primary;
1200
+ // }
1201
+ // }
1202
+
1203
+ // .#{$antdPrefix}-tree-checkbox-wrapper:not(.#{$antdPrefix}-tree-checkbox-wrapper-disabled):hover,
1204
+ // .#{$antdPrefix}-tree-checkbox:not(.#{$antdPrefix}-tree-checkbox-disabled):hover {
1205
+ // .#{$antdPrefix}-tree-checkbox-inner {
1206
+ // border-color: $primary;
1207
+ // }
1208
+ // }
1209
+ // }
1210
+
1211
+
1212
+ // // ------------ paging ---------------
1213
+
1214
+ // .#{$prefix}-table-wrapper .#{$prefix}-table-pagination.#{$prefix}-pagination {
1215
+ // margin: 0;
1216
+ // }
1217
+
1218
+ // .#{$prefix}-table-wrapper {
1219
+ // .#{$prefix}-table {
1220
+ // .#{$prefix}-pagination {
1221
+ // &::before {
1222
+ // content: "";
1223
+ // position: absolute;
1224
+ // border-left: 1px solid $tableBorderColor;
1225
+ // height: 55px;
1226
+ // bottom: 0;
1227
+ // left: 0;
1228
+ // }
1229
+
1230
+ // &::after {
1231
+ // content: "";
1232
+ // position: absolute;
1233
+ // border-left: 1px solid $tableBorderColor;
1234
+ // height: 55px;
1235
+ // bottom: 0;
1236
+ // visibility: visible;
1237
+ // right: 0;
1238
+ // }
1239
+
1240
+ // &.top-pagination {
1241
+ // border: none;
1242
+ // padding-top: 0;
1243
+ // padding-bottom: 0;
1244
+ // .#{$prefix}-pagination-total-text {
1245
+ // margin-left: auto;
1246
+ // }
1247
+ // }
1248
+ // border-bottom: 1px solid $tableBorderColor;
1249
+
1250
+ // }
1251
+ // }
1252
+ // }
1253
+
1254
+
1255
+ // .#{$prefix}-pagination {
1256
+
1257
+ // .#{$prefix}-pagination-total-text {
1258
+ // white-space: nowrap;
1259
+ // }
1260
+
1261
+ // .#{$prefix}-pagination-item-active {
1262
+ // border-color: $primary;
1263
+
1264
+ // &:hover {
1265
+ // border-color: $primary;
1266
+
1267
+ // a {
1268
+ // color: $primary;
1269
+ // }
1270
+ // }
1271
+
1272
+ // a {
1273
+ // color: $primary;
1274
+ // }
1275
+ // }
1276
+
1277
+ // .#{$prefix}-pagination-jump-prev, .#{$prefix}-pagination-jump-next {
1278
+ // .#{$prefix}-pagination-item-container {
1279
+ // .#{$prefix}-pagination-item-link-icon {
1280
+ // color: $primary;
1281
+ // }
1282
+ // }
1283
+ // }
1284
+ // }
1285
+
1286
+
1287
+
1288
+ // //.#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-content >table >tbody>tr>td >.#{$prefix}-table-expanded-row-fixed {
1289
+ // // border-inline-end: 1px solid $tableBorderColor;
1290
+ // //}
1291
+ // //
1292
+ // //.#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-content >table >tbody>tr>td >.#{$prefix}-table-expanded-row-fixed::after {
1293
+ // // //border-inline-end: 1px solid $tableBorderColor;
1294
+ // // border-inline-end: 0 solid $tableBorderColor;
1295
+ // //}
1296
+ // //
1297
+ // //
1298
+ // //.#{$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 {
1299
+ // // margin-top: 0;
1300
+ // // margin-bottom: 0;
1301
+ // // border-inline-end: 1px solid $tableBorderColor;
1302
+ // //}
1303
+ // //
1304
+ // //.#{$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 {
1305
+ // // border-inline-end: 0 solid $tableBorderColor;
1306
+ // //}
1307
+
1308
+
1309
+ // .#{$prefix}-table-wrapper {
1310
+ // .#{$prefix}-table {
1311
+ // &.#{$prefix}-table-bordered {
1312
+ // > .#{$prefix}-table-container {
1313
+ // > .#{$prefix}-table-content,
1314
+ // > .#{$prefix}-table-header,
1315
+ // > .#{$prefix}-table-body,
1316
+ // > .#{$prefix}-table-summary {
1317
+ // > table > tbody > tr {
1318
+ // > th,
1319
+ // > td {
1320
+ // > .#{$prefix}-table-expanded-row-fixed::after {
1321
+ // // Thêm CSS ở đây
1322
+ // }
1323
+ // }
1324
+ // }
1325
+ // }
1326
+ // }
1327
+ // }
1328
+ // }
1329
+ // }
1330
+
1331
+
1332
+ // .#{$prefix}-table-wrapper {
1333
+ // .#{$prefix}-table.#{$prefix}-table-small {
1334
+ // .#{$prefix}-table-title,
1335
+ // .#{$prefix}-table-footer,
1336
+ // .#{$prefix}-table-cell,
1337
+ // .#{$prefix}-table-thead > tr > th,
1338
+ // .#{$prefix}-table-tbody > tr > th,
1339
+ // .#{$prefix}-table-tbody > tr > td,
1340
+ // tfoot > tr > th,
1341
+ // tfoot > tr > td {
1342
+ // //padding: 8px 8px;
1343
+ // //font-size: 13px;
1344
+ // }
1345
+ // }
1346
+ // }
1347
+ // .#{$prefix}-table-wrapper {
1348
+ // .#{$prefix}-table.#{$prefix}-table-small {
1349
+ // .#{$prefix}-table-cell {
1350
+ // &:has(.ant-color-picker-trigger) {
1351
+ // padding: 1px 8px;
1352
+ // }
1353
+ // .ant-color-picker-trigger{
1354
+ // width: 100%;
1355
+ // min-height: 20px;
1356
+ // .ant-color-picker-clear {
1357
+ // height: 20px;
1358
+ // }
1359
+ // }
1360
+ // }
1361
+ // }
1362
+ // }
1363
+
1364
+
1365
+
1366
+ // //ui-rc-table-ping-right
1367
+
1368
+ // .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-content >table >thead>tr >.#{$prefix}-table-cell-fix-right-first::after,
1369
+ // .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-header >table >thead>tr >.#{$prefix}-table-cell-fix-right-first::after,
1370
+ // .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-body >table >thead>tr >.#{$prefix}-table-cell-fix-right-first::after,
1371
+ // .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-summary >table >thead>tr >.#{$prefix}-table-cell-fix-right-first::after,
1372
+ // .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-content >table >tbody>tr >.#{$prefix}-table-cell-fix-right-first::after,
1373
+ // .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-header >table >tbody>tr >.#{$prefix}-table-cell-fix-right-first::after,
1374
+ // .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-body >table >tbody>tr >.#{$prefix}-table-cell-fix-right-first::after,
1375
+ // .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-summary >table >tbody>tr >.#{$prefix}-table-cell-fix-right-first::after,
1376
+ // .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-content >table >tfoot>tr >.#{$prefix}-table-cell-fix-right-first::after,
1377
+ // .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-header >table >tfoot>tr >.#{$prefix}-table-cell-fix-right-first::after,
1378
+ // .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-body >table >tfoot>tr >.#{$prefix}-table-cell-fix-right-first::after,
1379
+ // .#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-summary >table >tfoot>tr >.#{$prefix}-table-cell-fix-right-first::after {
1380
+ // border-inline-end: 1px solid $tableBorderColor;
1381
+ // }
1382
+
1383
+
1384
+ // // toolbar
1385
+
1386
+ // .ui-rc-toolbar-bottom {
1387
+ // .be-toolbar-item {
1388
+ // .toolbar-dropdown-button {
1389
+ // .ant-btn.ant-btn-default.ant-btn-variant-outlined.ant-btn-compact-item.ant-btn-compact-first-item {
1390
+ // border-color: #28c76f;
1391
+ // }
1392
+ // .ant-btn.ant-btn-default.ant-btn-variant-outlined.ant-btn-compact-item.ant-btn-compact-last-item {
1393
+ // border-color: #28c76f;
1394
+ // .ant-btn-icon {
1395
+ // color: #28c76f;
1396
+ // }
1397
+ // }
1398
+ // }
1399
+
1400
+ // }
1401
+ // }
1402
+
1403
+
1404
+ // .react-resizable {
1405
+ // position: relative;
1406
+ // background-clip: padding-box;
1407
+ // }
1408
+
1409
+ // .rc-resizable-handle {
1410
+ // position: absolute;
1411
+ // //right: 10px;
1412
+ // right: 0px;
1413
+ // bottom: 0;
1414
+ // z-index: 1;
1415
+ // width: 5px;
1416
+ // height: 100%;
1417
+ // cursor: col-resize;
1418
+ // //transform: translateY(-50%);
1419
+ // &.none {
1420
+ // cursor: auto;
1421
+ // display: none;
1422
+ // }
1423
+ // }
1424
+
1425
+ // .rs-picker-popup {
1426
+ // z-index: 1660;
1427
+ // }
1428
+
1429
+ // .select__menu-portal {
1430
+ // z-index: 9999 !important;
1431
+ // }
1432
+
1433
+ // .rc-fullscreen {
1434
+ // background-color: #ffffff85;
1435
+ // }
1436
+ // .be-popup-container {
1437
+ // z-index: 1070 !important;
1438
+ // }