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
43
44
| @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 {
| position: relative;
| top: 1px;
| margin-left: 4px;
|
| i {
| font-size: 12px;
| transform: scale(.83);
| }
| }
|
| .item-text {
| display: inline-block;
| margin-left: 8px;
| color: rgb(0 0 0 / 85%);
| }
|
| .up {
| color: @red-6;
| }
|
| .down {
| top: -1px;
| color: @green-6;
| }
|
| &.reverse-color .up {
| color: @green-6;
| }
|
| &.reverse-color .down {
| color: @red-6;
| }
| }
|
|