Analysis.less 1.8 KB
Newer Older
1 2 3 4 5
@import "~antd/lib/style/themes/default.less";
@import "../../utils/utils.less";

.iconGroup {
  i {
N
nikogu 已提交
6 7
    transition: color 0.32s;
    color: @text-color-secondary;
8 9
    cursor: pointer;
    margin-left: 16px;
N
nikogu 已提交
10 11 12
    &:hover {
      color: @text-color;
    }
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
  }
}
.rankingList {
  margin-top: 25px;
  li {
    .clearfix();
    margin-top: 16px;
    span {
      color: @text-color;
      font-size: 14px;
      line-height: 22px;
    }
    span:first-child {
      background-color: @background-color-base;
      border-radius: 20px;
      display: inline-block;
      font-size: 12px;
      font-weight: 600;
      margin-right: 24px;
      height: 20px;
      line-height: 20px;
      width: 20px;
      text-align: center;
    }
    span.active {
      background-color: @primary-color;
      color: #fff;
    }
    span:last-child {
      float: right;
    }
  }
}

.salesExtra {
  display: inline-block;
  margin-right: 24px;
  a {
    color: @text-color;
    margin-left: 24px;
    &:hover {
      color: @primary-color;
    }
  }
}

.salesCard {
  :global {
    .ant-tabs-content {
      padding: 0 24px 24px 24px;
    }
    .ant-tabs-bar {
      padding-left: 24px;
      .ant-tabs-nav .ant-tabs-tab {
        padding-top: 16px;
        padding-bottom: 14px;
        line-height: 24px;
      }
    }
    .ant-tabs-extra-content {
      padding-right: 24px;
      line-height: 55px;
    }
  }
}

@media screen and (max-width: @screen-lg) {
80 81 82
  .salesExtra {
    display: none;
  }
83 84 85 86 87 88 89 90 91
  .rankingList {
    li {
      span:first-child {
        margin-right: 8px;
      }
    }
  }
}

A
afc163 已提交
92 93 94
@media screen and (max-width: @screen-md) {
  .rankingTitle {
    margin-top: 16px;
95
  }
A
afc163 已提交
96 97 98
}

@media screen and (max-width: @screen-sm) {
99
  .salesExtraWrap {
A
afc163 已提交
100
    display: none;
101 102 103 104 105 106 107 108 109
  }
  .salesCard {
    :global {
      .ant-tabs-content {
        padding-top: 30px;
      }
    }
  }
}