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