mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 17:59:57 +08:00
c2f208e2d2
* feat: Steps with progress * test: update snapshot * fix: lint * Update package.json Co-authored-by: 偏右 <afc163@gmail.com> * refactor: remove progressIcon && rename percentage to percent * test: snapshot * fix: icon position offset * fix: position offset * fix: icon position offset * docs * fix: small line offset Co-authored-by: 偏右 <afc163@gmail.com>
22 lines
502 B
Plaintext
22 lines
502 B
Plaintext
@progress-prefix-cls: ~'@{ant-prefix}-progress';
|
|
|
|
.@{steps-prefix-cls}:not(.@{steps-prefix-cls}-dot):not(.@{steps-prefix-cls}-navigation) {
|
|
&:not(.@{steps-prefix-cls}-vertical) {
|
|
.@{steps-prefix-cls}-item {
|
|
padding-top: 4px;
|
|
}
|
|
}
|
|
.@{steps-prefix-cls}-item {
|
|
.@{steps-prefix-cls}-item-icon {
|
|
position: relative;
|
|
.@{progress-prefix-cls} {
|
|
position: absolute;
|
|
top: -4px;
|
|
right: -4px;
|
|
bottom: -4px;
|
|
left: -4px;
|
|
}
|
|
}
|
|
}
|
|
}
|