index.less 518 Bytes
Newer Older
偏右's avatar
偏右 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
@import "~antd/lib/style/themes/default.less";
@import "../../utils/utils.less";

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

  & + & {
    margin-left: 16px;
  }
  .up,
  .down {
    margin-left: 4px;
    position: relative;
    top: 1px;
    i {
      font-size: 12px;
      transform: scale(0.83);
    }
  }
afc163's avatar
afc163 committed
22
  .up {
偏右's avatar
偏右 committed
23
    color: @red-6;
afc163's avatar
afc163 committed
24 25 26
  }
  .down {
    color: @green-6;
偏右's avatar
偏右 committed
27 28 29 30 31 32 33 34
    top: -1px;
  }

  &.trendItemGrey .up,
  &.trendItemGrey .down {
    color: @text-color;
  }
}