ant-design-vue/components/steps/style/custom-icon.less

32 lines
706 B
Plaintext
Raw Normal View History

2018-03-09 18:52:31 +08:00
.@{steps-prefix-cls}-item-custom {
.@{steps-prefix-cls}-item-icon {
2019-03-30 16:06:06 +08:00
height: auto;
2018-03-09 18:52:31 +08:00
background: none;
border: 0;
> .@{steps-prefix-cls}-icon {
top: 0;
left: 0.5px;
width: @steps-icon-size;
height: @steps-icon-size;
2019-03-30 16:06:06 +08:00
font-size: 24px;
line-height: @steps-icon-size;
2018-03-09 18:52:31 +08:00
}
}
&.@{steps-prefix-cls}-item-process {
.@{steps-prefix-cls}-item-icon > .@{steps-prefix-cls}-icon {
color: @process-icon-color;
}
}
}
2019-03-30 16:06:06 +08:00
// 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;
}
}
}
}