ant-design/components/steps/style/small.less
2017-09-07 11:00:36 +08:00

40 lines
977 B
Plaintext

.@{steps-prefix-cls}-small {
.@{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-base;
margin-right: 10px;
}
.@{steps-prefix-cls}-item-title {
font-size: @font-size-base;
line-height: @steps-small-icon-size;
&: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 {
font-size: @steps-icon-size;
top: -2.5px;
transform: none;
}
}
}