mirror of https://github.com/chillzhuang/Sword
36 lines
662 B
Plaintext
36 lines
662 B
Plaintext
@import '~antd/lib/style/themes/default.less';
|
|
|
|
.miniProgress {
|
|
position: relative;
|
|
width: 100%;
|
|
padding: 5px 0;
|
|
.progressWrap {
|
|
position: relative;
|
|
background-color: @background-color-base;
|
|
}
|
|
.progress {
|
|
width: 0;
|
|
height: 100%;
|
|
background-color: @primary-color;
|
|
border-radius: 1px 0 0 1px;
|
|
transition: all 0.4s cubic-bezier(0.08, 0.82, 0.17, 1) 0s;
|
|
}
|
|
.target {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
span {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 2px;
|
|
height: 4px;
|
|
border-radius: 100px;
|
|
}
|
|
span:last-child {
|
|
top: auto;
|
|
bottom: 0;
|
|
}
|
|
}
|
|
}
|