index.less
1.94 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
@import '~@qx/ui/src/style/variable.less';
.qx-progress__horizontal {
width: 100%;
min-width: 128px;
max-width: 208px;
height: 32px;
.ant-progress-line {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
}
.ant-progress-show-info .ant-progress-outer {
margin-right: unset;
padding-right: unset;
}
.ant-progress-outer {
flex: 1;
}
.ant-progress-text {
width: 40px;
overflow: hidden;
color: @N9;
white-space: nowrap;
text-overflow: ellipsis;
}
.ant-progress-bg {
background-color: @B8;
}
}
.qx-progress__horizontal--look {
min-width: 146px;
max-width: 226px;
}
.qx-progress__annular {
.ant-progress-inner {
svg {
color: @B8;
}
}
.ant-progress-status-success
.ant-progress-inner:not(.ant-progress-circle-gradient)
.ant-progress-circle-path {
stroke: @B8;
}
.ant-progress-circle.ant-progress-status-success .ant-progress-text {
color: @N9;
}
.qx-pa--main .ant-progress-text {
display: block;
overflow: hidden;
white-space: nowrap;
text-align: center;
text-overflow: ellipsis;
}
.qx-pa--default {
.ant-progress-text {
width: 40px;
padding: 0 2px;
font-size: 12px;
}
}
.qx-pa--middle {
.ant-progress-text {
width: 64px;
margin-top: -5px;
margin-left: -16px;
padding: 0 4px;
font-size: 20px;
text-align: center;
scale: 0.5;
}
}
.qx-pa--small {
.ant-progress-text {
width: 48px;
margin-top: -4px;
margin-left: -12px;
padding: 0 4px;
font-size: 16px;
text-align: center;
scale: 0.5;
}
}
}
.qx-progress__horizontal,
.qx-progress__annular {
display: flex;
align-items: center;
}
.qx-progress__look {
margin-left: 4px;
color: @N7;
cursor: pointer;
&:hover {
color: @B8;
}
}
.qx-pa-tooltip,
.qx-ph-tooltip {
.ant-tooltip-inner {
color: @N9;
}
}