ant-design/style/components/progress.less

50 lines
694 B
Plaintext
Raw Normal View History

2015-06-14 19:50:23 +08:00
@prefixProgressClass: ant-progress;
.@{prefixProgressClass} {
2015-06-15 11:00:27 +08:00
&-line-wrap,
&-circle-wrap {
display: inline-block;
}
2015-06-15 16:16:51 +08:00
&-line-wrap {
font-size: 12px;
}
2015-06-14 19:50:23 +08:00
&-line-inner {
display: inline-block;
svg {
vertical-align: middle;
}
}
&-line-text {
display: inline-block;
font-size: 1em;
margin-left: 10px;
line-height: 1;
.anticon {
2015-06-15 16:16:51 +08:00
font-size: 1.2em;
2015-06-14 19:50:23 +08:00
}
}
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 16:16:51 +08:00
top: 38%;
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
}