pagination.less 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. html[data-theme='dark'] {
  2. .@{ventSpace}-pagination {
  3. &.mini {
  4. .@{ventSpace}-pagination-prev,
  5. .@{ventSpace}-pagination-next,
  6. .@{ventSpace}-pagination-item {
  7. background-color: rgb(255 255 255 / 4%) !important;
  8. a {
  9. color: #8b949e !important;
  10. }
  11. }
  12. .@{ventSpace}-select-arrow {
  13. color: @text-color-secondary !important;
  14. }
  15. .@{ventSpace}-pagination-item-active {
  16. background-color: @primary-color !important;
  17. border: none;
  18. border-radius: none !important;
  19. a {
  20. color: @white !important;
  21. }
  22. }
  23. }
  24. }
  25. }
  26. .@{ventSpace}-pagination {
  27. margin-right: 20px !important;
  28. margin-top: 5px !important;
  29. display: flex;
  30. align-items: center;
  31. &.mini {
  32. .@{ventSpace}-pagination-prev,
  33. .@{ventSpace}-pagination-next {
  34. font-size: 12px;
  35. color: @text-color-base;
  36. border: 1px solid;
  37. }
  38. .@{ventSpace}-pagination-prev:hover,
  39. .@{ventSpace}-pagination-next:hover,
  40. .@{ventSpace}-pagination-item:focus,
  41. .@{ventSpace}-pagination-item:hover {
  42. a {
  43. color: @primary-color;
  44. }
  45. }
  46. .@{ventSpace}-pagination-prev,
  47. .@{ventSpace}-pagination-next,
  48. .@{ventSpace}-pagination-item {
  49. margin: 0 4px !important;
  50. //update-begin---author:scott ---date:2022-09-30 for:【美化】Table分页页面默认背景色丑,去掉-----------
  51. //background-color: #f4f4f5 !important;
  52. //update-end---author:scott ---date::2022-09-30 for:【美化】Table分页页面默认背景色丑,去掉------------
  53. border: none;
  54. border-radius: none !important;
  55. a {
  56. margin-top: 1px;
  57. color: #ffffff;
  58. }
  59. &:last-child {
  60. margin-right: 0 !important;
  61. }
  62. }
  63. .@{ventSpace}-pagination-item-active {
  64. background-color: @primary-color !important;
  65. border: none;
  66. border-radius: none !important;
  67. a {
  68. color: @white !important;
  69. }
  70. }
  71. .@{ventSpace}-pagination-options {
  72. margin-left: 12px;
  73. .@{ventSpace}-select-selector{
  74. // height: 25px !important;
  75. }
  76. }
  77. .@{ventSpace}-pagination-options-quick-jumper input {
  78. height: 22px;
  79. margin: 0 6px;
  80. line-height: 22px;
  81. text-align: center;
  82. }
  83. .@{ventSpace}-select-arrow {
  84. color: @border-color-shallow-dark;
  85. }
  86. }
  87. &-disabled {
  88. display: none !important;
  89. }
  90. }