2015-06-14 19:50:23 +08:00
|
|
|
@prefixProgressClass: ant-progress;
|
2015-07-29 22:20:05 +08:00
|
|
|
@statusNormal: #3FC7FA;
|
|
|
|
@statusException: #FE8C6A;
|
|
|
|
@statusSuccess: #85D262;
|
2015-06-14 19:50:23 +08:00
|
|
|
|
|
|
|
.@{prefixProgressClass} {
|
2015-06-15 16:16:51 +08:00
|
|
|
&-line-wrap {
|
2015-07-29 22:20:05 +08:00
|
|
|
width: 100%;
|
2015-06-15 16:16:51 +08:00
|
|
|
font-size: 12px;
|
2015-07-29 22:20:05 +08:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
&-line-outer {
|
|
|
|
margin-right: 45px;
|
2015-06-15 16:16:51 +08:00
|
|
|
}
|
2015-06-14 19:50:23 +08:00
|
|
|
&-line-inner {
|
|
|
|
display: inline-block;
|
2015-07-29 22:20:05 +08:00
|
|
|
width: 100%;
|
|
|
|
background-color: #E9E9E9;
|
|
|
|
border-radius: 100px;
|
|
|
|
margin-right: 45px;
|
|
|
|
}
|
|
|
|
&-line-bg {
|
|
|
|
border-radius: 100px;
|
|
|
|
background-color: @statusNormal;
|
2015-06-14 19:50:23 +08:00
|
|
|
}
|
|
|
|
&-line-text {
|
2015-07-29 22:20:05 +08:00
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
width: 35px;
|
|
|
|
text-align: left;
|
2015-06-14 19:50:23 +08:00
|
|
|
font-size: 1em;
|
|
|
|
margin-left: 10px;
|
|
|
|
|
|
|
|
.anticon {
|
2015-07-09 18:17:15 +08:00
|
|
|
font-size: 12px;
|
2015-06-14 19:50:23 +08:00
|
|
|
}
|
|
|
|
}
|
2015-07-29 22:20:05 +08:00
|
|
|
&-line-wrap.status-exception {
|
|
|
|
.@{prefixProgressClass}-line-bg {
|
|
|
|
background-color: @statusException;
|
|
|
|
}
|
|
|
|
.@{prefixProgressClass}-line-text {
|
|
|
|
color: @statusException;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&-line-wrap.status-success {
|
|
|
|
.@{prefixProgressClass}-line-bg {
|
|
|
|
background-color: @statusSuccess;
|
|
|
|
}
|
|
|
|
.@{prefixProgressClass}-line-text {
|
|
|
|
color: @statusSuccess;
|
|
|
|
}
|
|
|
|
}
|
2015-06-14 20:07:21 +08:00
|
|
|
|
2015-06-14 23:04:43 +08:00
|
|
|
|
2015-06-14 20:07:21 +08:00
|
|
|
&-circle-inner {
|
|
|
|
position: relative;
|
2015-06-14 23:04:43 +08:00
|
|
|
line-height: 1;
|
2015-06-14 20:07:21 +08:00
|
|
|
}
|
|
|
|
&-circle-text {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
2015-06-14 23:04:43 +08:00
|
|
|
line-height: 1;
|
2015-06-15 17:30:24 +08:00
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
2015-06-14 23:04:43 +08:00
|
|
|
left: 0;
|
2015-06-14 20:07:21 +08:00
|
|
|
|
|
|
|
.anticon {
|
2015-06-15 16:16:51 +08:00
|
|
|
font-size: 14/12em;
|
2015-06-14 20:07:21 +08:00
|
|
|
}
|
|
|
|
}
|
2015-06-15 11:00:27 +08:00
|
|
|
}
|