index.less 544 Bytes
Newer Older
jim's avatar
jim committed
1
@import '~antd/lib/style/themes/default.less';
偏右's avatar
偏右 committed
2 3 4 5 6 7 8 9 10 11

.trendItem {
  display: inline-block;
  font-size: @font-size-base;
  line-height: 22px;

  .up,
  .down {
    position: relative;
    top: 1px;
12
    margin-left: 4px;
偏右's avatar
偏右 committed
13 14 15 16 17
    i {
      font-size: 12px;
      transform: scale(0.83);
    }
  }
afc163's avatar
afc163 committed
18
  .up {
偏右's avatar
偏右 committed
19
    color: @red-6;
afc163's avatar
afc163 committed
20 21
  }
  .down {
偏右's avatar
偏右 committed
22
    top: -1px;
23
    color: @green-6;
偏右's avatar
偏右 committed
24 25 26 27 28 29
  }

  &.trendItemGrey .up,
  &.trendItemGrey .down {
    color: @text-color;
  }
30 31 32 33 34 35 36

  &.reverseColor .up {
    color: @green-6;
  }
  &.reverseColor .down {
    color: @red-6;
  }
偏右's avatar
偏右 committed
37
}