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

.trend {
  font-size: 0;
  height: 22px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
niko's avatar
niko committed
10 11 12 13 14 15 16 17
}

.trendItem {
  display: inline-block;
  color: @text-color;
  font-size: @font-size-base;
  line-height: 22px;
  height: 22px;
afc163's avatar
afc163 committed
18 19 20
  & + & {
    margin-left: 16px;
  }
niko's avatar
niko committed
21 22 23 24 25 26 27
  .content {
    display: block;
  }
  .miniContent {
    display: none;
  }
  .title {
niko's avatar
niko committed
28
    margin-right: 8px;
niko's avatar
niko committed
29 30
  }
  .value {
afc163's avatar
afc163 committed
31
    color: @heading-color;
niko's avatar
niko committed
32 33
  }
  .up, .down {
afc163's avatar
afc163 committed
34 35
    color: @green-6;
    margin-left: 4px;
niko's avatar
niko committed
36 37 38 39 40
    position: relative;
    top: 1px;
    i {
      font-size: 12px;
      transform: scale(0.83);
41 42
    }
  }
niko's avatar
niko committed
43
  .down {
afc163's avatar
afc163 committed
44
    color: @red-6;
niko's avatar
niko committed
45
    top: -1px;
46 47 48
  }
}

niko's avatar
niko committed
49 50 51 52
.trendItem:last-child {
  margin-right: 0;
}

53 54 55
.trendgray {
  .trend();
  .trendItem {
afc163's avatar
afc163 committed
56
    color: @text-color;
57 58
  }
}