Progress add prop success-percent

This commit is contained in:
梁灏 2018-06-27 17:15:18 +08:00
parent b40e2e96be
commit 9d6b35e49b
4 changed files with 33 additions and 37 deletions

View file

@ -34,6 +34,7 @@
background-color: #f3f3f3;
border-radius: 100px;
vertical-align: middle;
position: relative;
}
&-vertical &-inner {
height: 100%;
@ -52,10 +53,18 @@
&-bg {
border-radius: 100px;
background-color: @info-color;
background-color: @primary-color;
transition: all @transition-time linear;
position: relative;
}
&-success-bg{
border-radius: 100px;
background-color: @success-color;
transition: all @transition-time linear;
position: absolute;
top: 0;
left: 0;
}
&-text {
display: inline-block;