inleft
2022-02-09 9bcb19959eeb9da9bde2561e7278f6d0a55eb151
commit | author | age
9bcb19 1 @import "../index";
I 2
3 @numberInfo-prefix-cls: ~"@{ant-pro-prefix}-number-info";
4
5 .@{numberInfo-prefix-cls} {
6
7   .ant-pro-number-info-subtitle {
8     color: @text-color-secondary;
9     font-size: @font-size-base;
10     height: 22px;
11     line-height: 22px;
12     overflow: hidden;
13     text-overflow: ellipsis;
14     word-break: break-all;
15     white-space: nowrap;
16   }
17
18   .number-info-value {
19     margin-top: 4px;
20     font-size: 0;
21     overflow: hidden;
22     text-overflow: ellipsis;
23     word-break: break-all;
24     white-space: nowrap;
25
26     & > span {
27       color: @heading-color;
28       display: inline-block;
29       line-height: 32px;
30       height: 32px;
31       font-size: 24px;
32       margin-right: 32px;
33     }
34
35     .sub-total {
36       color: @text-color-secondary;
37       font-size: @font-size-lg;
38       vertical-align: top;
39       margin-right: 0;
40       i {
41         font-size: 12px;
42         transform: scale(0.82);
43         margin-left: 4px;
44       }
45       :global {
46         .anticon-caret-up {
47           color: @red-6;
48         }
49         .anticon-caret-down {
50           color: @green-6;
51         }
52       }
53     }
54   }
55 }