mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-26 04:00:13 +08:00
6936599aef
* rename .stylelintrc to .stylelintrc.json for explicit file type * add new npm script lint-fix:style * fix pseudo-element with double colon * function name should be lower except ignored functions * support stylelint declaration-block-no-ignored-properties rule * support sorted CSS properties order for readability and consistency * autofix order of all styles by lint-fix:style script * remove double slash comments after selector * replace .stylelintignore with ignoreFiles in .stylelintrc.json
32 lines
706 B
Plaintext
32 lines
706 B
Plaintext
.@{steps-prefix-cls}-item-custom {
|
|
.@{steps-prefix-cls}-item-icon {
|
|
height: auto;
|
|
background: none;
|
|
border: 0;
|
|
> .@{steps-prefix-cls}-icon {
|
|
top: 0;
|
|
left: 0.5px;
|
|
width: @steps-icon-size;
|
|
height: @steps-icon-size;
|
|
font-size: 24px;
|
|
line-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;
|
|
}
|
|
}
|
|
}
|
|
}
|