Blame view

ant-design-vue-jeecg/src/components/Trend/index.less 602 Bytes
肖超群 authored
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@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;
肖超群 authored
25
    color: rgba(0, 0, 0, .85);
肖超群 authored
26
27
28
29
30
  }

  .up {
    color: @red-6;
  }
肖超群 authored
31
肖超群 authored
32
33
34
35
36
37
38
39
  .down {
    color: @green-6;
    top: -1px;
  }

  &.reverse-color .up {
    color: @green-6;
  }
肖超群 authored
40
肖超群 authored
41
42
43
44
  &.reverse-color .down {
    color: @red-6;
  }
}