style.less 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. .mrms-ant-table-wrapper {
  2. border-radius: 4px !important;
  3. table {
  4. border-radius: 4px !important;
  5. }
  6. .mrms-ant-table-container {
  7. border-start-start-radius: 4px !important;
  8. border-start-end-radius: 4px !important;
  9. }
  10. .mrms-ant-table-row-indent+.mrms-ant-table-row-expand-icon {
  11. //margin-top: -2px !important;
  12. }
  13. }
  14. .mrms-ant-table .mrms-ant-table-header {
  15. border-radius: 4px !important;
  16. }
  17. .mrms-ant-pro-table .mrms-ant-pro-card .mrms-ant-pro-card-body {
  18. padding-inline: 0 !important;
  19. }
  20. .mrms-ant-table-thead > tr > th {
  21. padding: 8px 8px !important;
  22. background: #eef3fa !important;
  23. &::before {
  24. display: none !important;
  25. }
  26. }
  27. .mrms-ant-table-wrapper .mrms-ant-table-pagination.mrms-ant-pagination {
  28. padding-right: 16px;
  29. }
  30. .mrms-ant-table-wrapper .mrms-ant-table.mrms-ant-table-bordered>.mrms-ant-table-container>.mrms-ant-table-body>table>tbody>tr>td {
  31. //#dae2f2
  32. border-inline-end: 1px solid #dae2f2 !important;
  33. }
  34. .KCIMTable {
  35. .mrms-ant-table {
  36. .mrms-ant-space-align-center {
  37. gap: 0 !important;
  38. }
  39. .mrms-ant-table-thead {
  40. .mrms-ant-table-cell {
  41. border-bottom: none !important;
  42. padding: 8px 8px !important;
  43. //border-top:1px solid #dae2f2 !important ;
  44. background: rgb(238 243 250 / 100%) !important;
  45. //border-right: 1px solid #dae2f2 !important;
  46. a {
  47. color: #3376FE;
  48. }
  49. .mrms-ant-table-selection {
  50. .mrms-ant-table-selection-extra {
  51. top: 5px;
  52. }
  53. }
  54. &::before {
  55. display: none;
  56. }
  57. &:hover {
  58. background: rgb(238 243 250 / 100%) !important;
  59. }
  60. &:last-child {
  61. border-right: none;
  62. }
  63. }
  64. .mrms-ant-table-cell-fix-right {
  65. &:last-child {
  66. right: 0 !important;
  67. }
  68. }
  69. }
  70. .mrms-ant-table-tbody {
  71. &>tr {
  72. &.mrms-ant-table-measure-row {
  73. border: none !important;
  74. &>td {
  75. border-inline-end:none !important;
  76. }
  77. }
  78. &.mrms-ant-table-row {
  79. .mrms-ant-table-cell {
  80. font-size: 14px;
  81. font-family: SourceHanSansCN-Medium, SourceHanSansCN;
  82. justify-content: flex-start !important;
  83. color: #17181A;
  84. padding: 8px 8px !important;
  85. border-bottom: none !important;
  86. border-top: 1px solid rgb(218 226 242) !important;
  87. &.mrms-ant-table-cell-with-append {
  88. .mrms-ant-table-row-expand-icon {
  89. border-radius: 4px !important;
  90. border: 1px solid #DAE2F2 !important;
  91. &:hover {
  92. color: #3377ff;
  93. border: 1px solid #3377ff !important;
  94. }
  95. }
  96. }
  97. &>.mrms-ant-typography {
  98. line-height:unset;
  99. }
  100. &.mrms-ant-table-cell-with-append {
  101. .mrms-ant-table-row-expand-icon {
  102. }
  103. }
  104. // &:hover {
  105. // border-radius: 0 !important;
  106. // background: #FAFBFC !important;
  107. // }
  108. }
  109. }
  110. &.mrms-ant-table-row-selected {
  111. .mrms-ant-table-cell {
  112. border-radius: 0 !important;
  113. }
  114. &:hover {
  115. background: #bae0ff !important;
  116. }
  117. }
  118. &:last-child>td {
  119. border-bottom: none !important;
  120. }
  121. }
  122. }
  123. .mrms-ant-table-summary {
  124. &>tr>td {
  125. text-align: left !important;
  126. padding: 12px 8px !important;
  127. border-top: 1px solid #dae2f2 !important;
  128. }
  129. }
  130. &.mrms-ant-table-bordered {
  131. .mrms-ant-table-container {
  132. border-left: none !important;
  133. .mrms-ant-table-thead {
  134. &>tr {
  135. &>th {
  136. border-right: 1px solid #dae2f2 !important;
  137. border-bottom: 1px solid #dae2f2 !important;
  138. border-top: none !important;
  139. &.mrms-ant-table-cell-scrollbar {
  140. border: none !important;
  141. }
  142. &::after {
  143. border: none !important;
  144. }
  145. }
  146. &:last-child {
  147. &>th {
  148. border-top:none !important;
  149. }
  150. }
  151. }
  152. }
  153. .mrms-ant-table-tbody{
  154. tr > td {
  155. border-right: 1px solid #dae2f2 !important;
  156. &::after {
  157. border: none !important;
  158. }
  159. }
  160. }
  161. }
  162. }
  163. }
  164. .mrms-ant-pagination {
  165. padding: 7px 0;
  166. margin: 0 !important;
  167. border-top: 1px solid #dae2f2 !important;
  168. .mrms-ant-pagination-item-active {
  169. font-weight: 600;
  170. background-color: #37F !important;
  171. border-color: #37F !important;
  172. }
  173. }
  174. .mrms-ant-pagination .mrms-ant-pagination-item-active a {
  175. color: #fff !important;
  176. }
  177. }
  178. .mrms-ant-table-wrapper .mrms-ant-table-container table>thead>tr:first-child th:first-child {
  179. border-start-start-radius: 4px !important;
  180. }
  181. .mrms-ant-table-wrapper .mrms-ant-table-container table>thead>tr:first-child th:last-child {
  182. border-start-end-radius: 4px !important;
  183. }
  184. .mrms-ant-empty-normal {
  185. margin-block: 80px !important;
  186. color: rgb(0 0 0 / 25%);
  187. }