index.less 1.33 KB
Newer Older
jim's avatar
jim committed
1
@import '~antd/lib/style/themes/default.less';
2

3
.numberInfo {
niko's avatar
niko committed
4
  .suffix {
5
    margin-left: 4px;
niko's avatar
niko committed
6 7 8 9
    color: @text-color;
    font-size: 16px;
    font-style: normal;
  }
偏右's avatar
偏右 committed
10
  .numberInfoTitle {
11
    margin-bottom: 16px;
afc163's avatar
afc163 committed
12 13
    color: @text-color;
    font-size: @font-size-lg;
jim's avatar
jim committed
14
    transition: all 0.3s;
15
  }
偏右's avatar
偏右 committed
16
  .numberInfoSubTitle {
17 18
    height: 22px;
    overflow: hidden;
19 20 21
    color: @text-color-secondary;
    font-size: @font-size-base;
    line-height: 22px;
22
    white-space: nowrap;
23 24
    text-overflow: ellipsis;
    word-break: break-all;
25
  }
偏右's avatar
偏右 committed
26 27
  .numberInfoValue {
    margin-top: 4px;
28
    overflow: hidden;
29 30
    font-size: 0;
    white-space: nowrap;
31 32
    text-overflow: ellipsis;
    word-break: break-all;
33 34 35 36
    & > span {
      display: inline-block;
      height: 32px;
      margin-right: 32px;
37 38 39
      color: @heading-color;
      font-size: 24px;
      line-height: 32px;
40 41
    }
    .subTotal {
42
      margin-right: 0;
43
      color: @text-color-secondary;
afc163's avatar
afc163 committed
44
      font-size: @font-size-lg;
45 46
      vertical-align: top;
      i {
47
        margin-left: 4px;
48 49 50
        font-size: 12px;
        transform: scale(0.82);
      }
ddcat1115's avatar
ddcat1115 committed
51 52 53 54 55 56 57 58
      :global {
        .anticon-caret-up {
          color: @red-6;
        }
        .anticon-caret-down {
          color: @green-6;
        }
      }
59 60 61 62
    }
  }
}
.numberInfolight {
偏右's avatar
偏右 committed
63
  .numberInfoValue {
64 65 66 67 68
    & > span {
      color: @text-color;
    }
  }
}