mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 11:40:04 +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
47 lines
1.2 KiB
Plaintext
47 lines
1.2 KiB
Plaintext
.@{steps-prefix-cls}-small {
|
|
&.@{steps-prefix-cls}-horizontal:not(.@{steps-prefix-cls}-label-vertical)
|
|
.@{steps-prefix-cls}-item {
|
|
margin-right: 12px;
|
|
&:last-child {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
.@{steps-prefix-cls}-item-icon {
|
|
width: @steps-small-icon-size;
|
|
height: @steps-small-icon-size;
|
|
font-size: @font-size-sm;
|
|
line-height: @steps-small-icon-size;
|
|
text-align: center;
|
|
border-radius: @steps-small-icon-size;
|
|
}
|
|
.@{steps-prefix-cls}-item-title {
|
|
padding-right: 12px;
|
|
font-size: @font-size-base;
|
|
line-height: @steps-small-icon-size;
|
|
&::after {
|
|
top: @steps-small-icon-size / 2;
|
|
}
|
|
}
|
|
.@{steps-prefix-cls}-item-description {
|
|
color: @text-color-secondary;
|
|
font-size: @font-size-base;
|
|
}
|
|
.@{steps-prefix-cls}-item-tail {
|
|
top: 8px;
|
|
padding: 0 8px;
|
|
}
|
|
.@{steps-prefix-cls}-item-custom .@{steps-prefix-cls}-item-icon {
|
|
width: inherit;
|
|
height: inherit;
|
|
line-height: inherit;
|
|
background: none;
|
|
border: 0;
|
|
border-radius: 0;
|
|
> .@{steps-prefix-cls}-icon {
|
|
font-size: @steps-small-icon-size;
|
|
line-height: @steps-small-icon-size;
|
|
transform: none;
|
|
}
|
|
}
|
|
}
|