update error step icon

This commit is contained in:
afc163 2016-04-06 17:50:04 +08:00
parent 93adb528ed
commit 0220ab5522
3 changed files with 9 additions and 5 deletions

View File

@ -1,6 +1,6 @@
---
order: 6
title: 发生错误
title: 步骤运行错误
---
使用 Steps 的 `status` 属性来指定当前步骤的状态。

View File

@ -55,7 +55,7 @@
"rc-rate": "~1.1.0",
"rc-select": "~6.0.1",
"rc-slider": "~3.5.1",
"rc-steps": "~1.5.0",
"rc-steps": "~1.5.2",
"rc-switch": "~1.3.2",
"rc-table": "~4.0.0-beta.3",
"rc-tabs": "~5.8.0",

View File

@ -89,9 +89,9 @@
&.@{steps-prefix-cls}-status-error {
.@{steps-prefix-cls}-head-inner {
border-color: @error-icon-color;
background-color: @error-icon-color;
background-color: #fff;
> .@{steps-prefix-cls}-icon {
color: #fff;
color: @error-icon-color;
}
}
.@{steps-prefix-cls}-title {
@ -157,12 +157,16 @@
> .@{steps-prefix-cls}-icon {
line-height: 1;
top: -1px;
top: -1.5px;
color: @primary-color;
position: relative;
&.anticon {
font-size: 12px;
&-cross,
&-check {
font-weight: bold;
}
}
}
}