index.less 1.14 KB
Newer Older
1
@import "~antd/lib/style/themes/default.less";
2 3 4 5 6 7 8

.textOverflow() {
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  white-space: nowrap;
}
9 10

.numberInfo {
niko's avatar
niko committed
11 12 13 14 15 16
  .suffix {
    color: @text-color;
    font-size: 16px;
    font-style: normal;
    margin-left: 4px;
  }
偏右's avatar
偏右 committed
17
  .numberInfoTitle {
afc163's avatar
afc163 committed
18 19
    color: @text-color;
    font-size: @font-size-lg;
20
    margin-bottom: 16px;
afc163's avatar
afc163 committed
21
    transition: all .3s;
22
  }
偏右's avatar
偏右 committed
23
  .numberInfoSubTitle {
24 25 26 27 28 29
    color: @text-color-secondary;
    font-size: @font-size-base;
    height: 22px;
    line-height: 22px;
    .textOverflow();
  }
偏右's avatar
偏右 committed
30 31
  .numberInfoValue {
    margin-top: 4px;
32 33 34 35 36 37 38 39 40 41 42 43
    font-size: 0;
    .textOverflow();
    & > span {
      color: @heading-color;
      display: inline-block;
      line-height: 32px;
      height: 32px;
      font-size: 24px;
      margin-right: 32px;
    }
    .subTotal {
      color: @text-color-secondary;
afc163's avatar
afc163 committed
44
      font-size: @font-size-lg;
45
      vertical-align: top;
afc163's avatar
afc163 committed
46
      margin-right: 0;
47 48 49
      i {
        font-size: 12px;
        transform: scale(0.82);
afc163's avatar
afc163 committed
50
        margin-left: 4px;
51 52 53 54 55
      }
    }
  }
}
.numberInfolight {
偏右's avatar
偏右 committed
56
  .numberInfoValue {
57 58 59 60 61
    & > span {
      color: @text-color;
    }
  }
}