mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +08:00
41470e0c68
* clean css * move to horizontal
32 lines
706 B
Plaintext
32 lines
706 B
Plaintext
.@{steps-prefix-cls}-item-custom {
|
|
.@{steps-prefix-cls}-item-icon {
|
|
background: none;
|
|
border: 0;
|
|
height: auto;
|
|
> .@{steps-prefix-cls}-icon {
|
|
font-size: 24px;
|
|
line-height: @steps-icon-size;
|
|
top: 0;
|
|
left: 0.5px;
|
|
width: @steps-icon-size;
|
|
height: @steps-icon-size;
|
|
}
|
|
}
|
|
&.@{steps-prefix-cls}-item-process {
|
|
.@{steps-prefix-cls}-item-icon > .@{steps-prefix-cls}-icon {
|
|
color: @process-icon-color;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Only adjust horizontal customize icon width
|
|
.@{steps-prefix-cls} {
|
|
&:not(.@{steps-prefix-cls}-vertical) {
|
|
.@{steps-prefix-cls}-item-custom {
|
|
.@{steps-prefix-cls}-item-icon {
|
|
width: auto;
|
|
}
|
|
}
|
|
}
|
|
}
|