ant-design/components/steps/style/small.less

47 lines
1.2 KiB
Plaintext
Raw Normal View History

.@{steps-prefix-cls}-small {
2018-12-07 16:17:45 +08:00
&.@{steps-prefix-cls}-horizontal:not(.@{steps-prefix-cls}-label-vertical)
.@{steps-prefix-cls}-item {
2017-10-16 21:12:49 +08:00
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;
2017-09-07 11:00:36 +08:00
line-height: @steps-small-icon-size;
&::after {
2017-09-07 11:00:36 +08:00
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 {
2017-10-16 21:12:49 +08:00
font-size: @steps-small-icon-size;
line-height: @steps-small-icon-size;
transform: none;
}
}
}