Analysis.less 2.48 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
  }
}
niko's avatar
niko committed
15

16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
.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 {
niko's avatar
niko committed
39 40
      //background-color: @primary-color;
      background-color: #314659;
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
      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 {
62
  .salesBar {
niko's avatar
niko committed
63
    padding: 0 0 32px 32px;
64 65
  }
  .salesRank {
niko's avatar
niko committed
66
    padding: 0 32px 32px 72px;
67
  }
68 69
  :global {
    .ant-tabs-bar {
niko's avatar
niko committed
70
      padding-left: 16px;
71 72 73 74 75 76 77 78 79 80 81 82 83
      .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;
    }
  }
}

niko's avatar
niko committed
84 85 86 87 88 89 90
.salesCard {
  :global {
    .ant-card-head {
      position: relative;
    }
  }
}
niko's avatar
niko committed
91

niko's avatar
niko committed
92
.salesCardExtra {
niko's avatar
niko committed
93
  height: 68px;
niko's avatar
niko committed
94
}
niko's avatar
niko committed
95

niko's avatar
niko committed
96 97 98 99 100 101 102 103 104 105 106
.salesTypeRadio {
  position: absolute;
  left: 24px;
  bottom: 15px;
}

.offlineCard {
  :global {
    .ant-tabs-bar {
      border-bottom: none;
    }
niko's avatar
niko committed
107 108 109 110 111 112 113 114 115 116 117 118
    .ant-tabs-nav-container-scrolling {
      padding-left: 40px;
      padding-right: 40px;
    }
    .ant-tabs-tab-prev-icon:before {
      position: relative;
      left: 6px;
    }
    .ant-tabs-tab-next-icon:before {
      position: relative;
      right: 6px;
    }
niko's avatar
niko committed
119 120 121
  }
}

122
@media screen and (max-width: @screen-lg) {
123 124 125
  .salesExtra {
    display: none;
  }
niko's avatar
niko committed
126

127 128 129 130 131 132 133 134 135
  .rankingList {
    li {
      span:first-child {
        margin-right: 8px;
      }
    }
  }
}

afc163's avatar
afc163 committed
136 137 138
@media screen and (max-width: @screen-md) {
  .rankingTitle {
    margin-top: 16px;
139
  }
niko's avatar
niko committed
140

afc163's avatar
afc163 committed
141 142
  .salesCard .salesBar {
    padding: 16px;
niko's avatar
niko committed
143
  }
afc163's avatar
afc163 committed
144 145 146
}

@media screen and (max-width: @screen-sm) {
147
  .salesExtraWrap {
afc163's avatar
afc163 committed
148
    display: none;
149
  }
niko's avatar
niko committed
150

151 152 153 154 155 156 157 158
  .salesCard {
    :global {
      .ant-tabs-content {
        padding-top: 30px;
      }
    }
  }
}