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;
line-height: @steps-small-icon-size;
text-align: center;
border-radius: @steps-small-icon-size;
font-size: @font-size-sm;
}
.@{steps-prefix-cls}-item-title {
font-size: @font-size-base;
2017-09-07 11:00:36 +08:00
line-height: @steps-small-icon-size;
2017-10-16 21:12:49 +08:00
padding-right: 12px;
2017-09-07 11:00:36 +08:00
&:after {
top: @steps-small-icon-size / 2;
}
}
.@{steps-prefix-cls}-item-description {
font-size: @font-size-base;
color: @text-color-secondary;
}
.@{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;
border-radius: 0;
border: 0;
background: none;
> .@{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;
}
}
}