mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
🐛 fix progress gradient
This commit is contained in:
parent
a223f6d798
commit
2eb3d22ccc
@ -46,7 +46,12 @@
|
||||
|
||||
&-circle-path {
|
||||
animation: ~'@{ant-prefix}-progress-appear' 0.3s;
|
||||
stroke: @progress-default-color;
|
||||
}
|
||||
|
||||
&-inner:not(.@{ant-prefix}-progress-circle-gradient) {
|
||||
.@{ant-prefix}-progress-circle-path {
|
||||
stroke: @progress-default-color;
|
||||
}
|
||||
}
|
||||
|
||||
&-success-bg,
|
||||
@ -102,6 +107,9 @@
|
||||
.@{progress-prefix-cls}-text {
|
||||
color: @error-color;
|
||||
}
|
||||
}
|
||||
|
||||
&-status-exception &-inner:not(.@{progress-prefix-cls}-circle-gradient) {
|
||||
.@{progress-prefix-cls}-circle-path {
|
||||
stroke: @error-color;
|
||||
}
|
||||
@ -114,6 +122,9 @@
|
||||
.@{progress-prefix-cls}-text {
|
||||
color: @success-color;
|
||||
}
|
||||
}
|
||||
|
||||
&-status-success &-inner:not(.@{progress-prefix-cls}-circle-gradient) {
|
||||
.@{progress-prefix-cls}-circle-path {
|
||||
stroke: @success-color;
|
||||
}
|
||||
@ -153,12 +164,6 @@
|
||||
color: @success-color;
|
||||
}
|
||||
}
|
||||
|
||||
&-circle-gradient {
|
||||
.@{progress-prefix-cls}-circle-path {
|
||||
stroke: url(#gradient);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes ~"@{ant-prefix}-progress-active" {
|
||||
|
Loading…
Reference in New Issue
Block a user