inleft
2022-02-09 9bcb19959eeb9da9bde2561e7278f6d0a55eb151
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
@import "../index";
 
@trend-prefix-cls: ~"@{ant-pro-prefix}-trend";
 
.@{trend-prefix-cls} {
  display: inline-block;
  font-size: @font-size-base;
  line-height: 22px;
 
  .up,
  .down {
    margin-left: 4px;
    position: relative;
    top: 1px;
 
    i {
      font-size: 12px;
      transform: scale(0.83);
    }
  }
 
  .item-text {
    display: inline-block;
    margin-left: 8px;
    color: rgba(0,0,0,.85);
  }
 
  .up {
    color: @red-6;
  }
  .down {
    color: @green-6;
    top: -1px;
  }
 
  &.reverse-color .up {
    color: @green-6;
  }
  &.reverse-color .down {
    color: @red-6;
  }
}