mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-30 14:29:33 +08:00
dda45e4796
* feat: support narrow theme mode * chore: rename narrow to compact * chore: height part * chore: preview compact mode * chore: to make site corrected * chore: preview site * docs: 📖 document compact theme usage * docs: tweak theme doc * docs: 📖 Add description about double css bundle size * chore: preview * chore: for preview * chore: adjust pagination * chore: compact mode done! * chore: remove useless todo * chore: fix review bug * chore: fix review bug * chore: fix card margin * chore: fix review bug * chore: fix review bug * chore: improve i18n and transition * Update site/theme/static/common.less Co-Authored-By: 偏右 <afc163@gmail.com> * chore: fix button size and description padding * chore: update snapshots * chore: add compact css bundlesize limit * chore: compact dist support Co-authored-by: afc163 <afc163@gmail.com>
48 lines
1.2 KiB
Plaintext
48 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;
|
|
margin: @steps-small-icon-margin;
|
|
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;
|
|
}
|
|
.@{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;
|
|
}
|
|
}
|
|
}
|