Analysis.less 1.71 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 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
@import "~antd/lib/style/themes/default.less";
@import "../../utils/utils.less";

.iconGroup {
  i {
    cursor: pointer;
    margin-left: 16px;
  }
}
.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) {
75 76 77
  .salesExtra {
    display: none;
  }
78 79 80 81 82 83 84 85 86
  .rankingList {
    li {
      span:first-child {
        margin-right: 8px;
      }
    }
  }
}

afc163's avatar
afc163 committed
87 88 89
@media screen and (max-width: @screen-md) {
  .rankingTitle {
    margin-top: 16px;
90
  }
afc163's avatar
afc163 committed
91 92 93
}

@media screen and (max-width: @screen-sm) {
94
  .salesExtraWrap {
afc163's avatar
afc163 committed
95
    display: none;
96 97 98 99 100 101 102 103 104
  }
  .salesCard {
    :global {
      .ant-tabs-content {
        padding-top: 30px;
      }
    }
  }
}