index.less 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. .table {
  2. table {
  3. width: 100%;
  4. text-align: left;
  5. border-collapse: separate;
  6. border-spacing: 0;
  7. }
  8. th {
  9. height: 38px;
  10. padding: 0 16px;
  11. font-weight: normal;
  12. }
  13. td {
  14. padding: 16px;
  15. background: #fff;
  16. border-bottom: 1px solid #eef1f2;
  17. &:first-child {
  18. border-radius: 5px 0 0 5px;
  19. }
  20. &:last-child {
  21. border-radius: 0 5px 5px 0;
  22. }
  23. }
  24. tbody {
  25. color: #656872;
  26. }
  27. tbody tr {
  28. border-radius: 5px;
  29. &.canClick {
  30. cursor: pointer;
  31. }
  32. }
  33. tbody tr:hover {
  34. position: relative;
  35. z-index: 1;
  36. box-shadow: 0 0 2px rgba(0, 0, 0, 0.08), 0 3px 10px rgba(0, 0, 0, 0.08);
  37. td {
  38. border-bottom: 1px solid transparent;
  39. }
  40. }
  41. }
  42. .sorter {
  43. cursor: pointer;
  44. span {
  45. margin-left: 10px;
  46. color: #c4c4c4;
  47. }
  48. &:hover {
  49. color: #000;
  50. span {
  51. color: #000;
  52. }
  53. }
  54. }
  55. .sortered {
  56. font-weight: 600;
  57. span {
  58. color: #4d5262;
  59. }
  60. &:hover {
  61. span {
  62. color: #000;
  63. }
  64. }
  65. }
  66. .fangxing {
  67. position: relative;
  68. display: inline-block;
  69. box-sizing: border-box;
  70. width: 16px;
  71. height: 16px;
  72. margin-right: 8px;
  73. border: 1px solid #c4c4c4;
  74. .circle {
  75. position: absolute;
  76. top: 3px;
  77. left: 3px;
  78. display: inline-block;
  79. width: 8px;
  80. height: 8px;
  81. background: #f0da21;
  82. border-radius: 100%;
  83. }
  84. }
  85. .filter {
  86. display: flex;
  87. align-items: center;
  88. cursor: pointer;
  89. }
  90. .filterTitlePic {
  91. margin-right: 8px;
  92. color: #c4c4c4;
  93. }
  94. .filterList {
  95. margin: -12px -16px;
  96. }
  97. .filterItem {
  98. display: flex;
  99. align-items: center;
  100. min-width: 150px;
  101. height: 45px;
  102. padding: 0 20px;
  103. color: #000;
  104. border-bottom: 1px solid #f6f6f6;
  105. cursor: pointer;
  106. &Value {
  107. margin-left: 10px;
  108. }
  109. &:hover {
  110. background: #f0da21;
  111. }
  112. &:first-child {
  113. border-radius: 10px 10px 0 0;
  114. }
  115. &:last-child {
  116. border-bottom: none;
  117. border-radius: 0 0 10px 10px;
  118. }
  119. }
  120. .page {
  121. display: flex;
  122. justify-content: flex-end;
  123. margin-top: 15px;
  124. & > div {
  125. padding: 2px 0px;
  126. background: #fff;
  127. border-radius: 4px;
  128. }
  129. :global {
  130. .ant-pagination-item {
  131. min-width: 28px;
  132. height: 28px;
  133. line-height: 28px;
  134. border: none;
  135. a:hover {
  136. color: #4d5262;
  137. background: #f0f0f0;
  138. outline: 4px solid #f0f0f0;
  139. }
  140. &-active {
  141. background: #f0da21;
  142. border-radius: 16px;
  143. a {
  144. color: #000;
  145. &:hover {
  146. color: #000;
  147. background: #f0da21;
  148. border-radius: 16px;
  149. outline: none;
  150. }
  151. }
  152. }
  153. }
  154. .ant-pagination-prev,
  155. .ant-pagination-next {
  156. padding: 0 15px;
  157. transition: none;
  158. &:hover {
  159. background: #f0f0f0;
  160. outline: 4px solid #f0f0f0;
  161. }
  162. a {
  163. color: #656872;
  164. }
  165. }
  166. .ant-pagination-disabled,
  167. .ant-pagination-disabled:hover,
  168. .ant-pagination-disabled:focus-visible {
  169. &:hover {
  170. background: transparent;
  171. outline: none;
  172. }
  173. a {
  174. color: #ddd;
  175. }
  176. }
  177. }
  178. }