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

.iconGroup {
  i {
nikogu's avatar
nikogu committed
6 7
    transition: color 0.32s;
    color: @text-color-secondary;
8 9
    cursor: pointer;
    margin-left: 16px;
nikogu's avatar
nikogu committed
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
  }
}
.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 {
60 61 62 63 64 65
  .salesBar {
    padding: 0 0 24px 24px;
  }
  .salesRank {
    padding: 0 24px 24px 0;
  }
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
  :global {
    .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) {
83 84 85
  .salesExtra {
    display: none;
  }
86 87 88 89 90 91 92 93 94
  .rankingList {
    li {
      span:first-child {
        margin-right: 8px;
      }
    }
  }
}

afc163's avatar
afc163 committed
95 96 97
@media screen and (max-width: @screen-md) {
  .rankingTitle {
    margin-top: 16px;
98
  }
afc163's avatar
afc163 committed
99 100 101
}

@media screen and (max-width: @screen-sm) {
102
  .salesExtraWrap {
afc163's avatar
afc163 committed
103
    display: none;
104 105 106 107 108 109 110 111 112
  }
  .salesCard {
    :global {
      .ant-tabs-content {
        padding-top: 30px;
      }
    }
  }
}