index.less 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. @import "~antd/lib/style/themes/default.less";
  2. @import "../../utils/utils.less";
  3. .salesExtra {
  4. display: inline-block;
  5. margin-right: 24px;
  6. a {
  7. color: @text-color;
  8. margin-left: 24px;
  9. &:hover {
  10. color: @primary-color;
  11. }
  12. &.currentDate {
  13. color: @primary-color;
  14. }
  15. }
  16. }
  17. .salesCard {
  18. .salesBar {
  19. padding: 0 0 32px 32px;
  20. }
  21. .salesRank {
  22. padding: 0 32px 32px 72px;
  23. }
  24. :global {
  25. .ant-tabs-bar {
  26. padding-left: 16px;
  27. .ant-tabs-nav .ant-tabs-tab {
  28. padding-top: 16px;
  29. padding-bottom: 14px;
  30. line-height: 24px;
  31. }
  32. }
  33. .ant-tabs-extra-content {
  34. padding-right: 24px;
  35. line-height: 55px;
  36. }
  37. }
  38. }
  39. .salesCard {
  40. :global {
  41. .ant-card-head {
  42. position: relative;
  43. }
  44. }
  45. }
  46. .salesCardExtra {
  47. height: 68px;
  48. }
  49. .rankingList {
  50. margin: 25px 0 0;
  51. padding: 0;
  52. list-style: none;
  53. li {
  54. .clearfix();
  55. margin-top: 16px;
  56. span {
  57. color: @text-color;
  58. font-size: 14px;
  59. line-height: 22px;
  60. }
  61. span:first-child {
  62. background-color: @background-color-base;
  63. border-radius: 20px;
  64. display: inline-block;
  65. font-size: 12px;
  66. font-weight: 600;
  67. margin-right: 24px;
  68. height: 20px;
  69. line-height: 20px;
  70. width: 20px;
  71. text-align: center;
  72. }
  73. span.active {
  74. //background-color: @primary-color;
  75. background-color: #314659;
  76. color: #fff;
  77. }
  78. span:last-child {
  79. float: right;
  80. }
  81. }
  82. }
  83. .trendText {
  84. margin-left: 8px;
  85. color: @heading-color;
  86. }
  87. @media screen and (max-width: @screen-lg) {
  88. .salesExtra {
  89. display: none;
  90. }
  91. }
  92. @media screen and (max-width: @screen-sm) {
  93. .salesExtraWrap {
  94. display: none;
  95. }
  96. }