mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-26 04:00:13 +08:00
2d2d9f60c4
* feat: support type nav style * fix: some style for review issue * fix: active hover style * chore: use navigation and upgrade rc-steps * feat: support disabled prop for Steps.Step * feat: support subTitle and improve code style * fix: navigation steps item style * test: update snap test case * fix: test steps snapshots and review style issue * fix: lint issue * fix: lint style issue of steps * fix: update steps demo for review issue * fix: steps nav style detail * fix: steps nav fix style detail * fix: Steps subtitle overflow style in firefox * docs: fix Steps new api doc
47 lines
1.2 KiB
Plaintext
47 lines
1.2 KiB
Plaintext
.@{steps-prefix-cls}-small .@{steps-prefix-cls}-item-container {
|
|
&.@{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;
|
|
}
|
|
}
|
|
}
|