ant-design/components/steps/style/custom-icon.less
zombieJ 41470e0c68
clean css (#14797)
* clean css

* move to horizontal
2019-02-12 22:41:41 +08:00

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;
}
}
}
}