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

33 lines
838 B
Plaintext
Raw Normal View History

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