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

46 lines
1.1 KiB
Plaintext
Raw Normal View History

2018-03-09 10:52:31 +00:00
.@{steps-prefix-cls}-small {
2019-01-02 13:01:56 +00:00
&.@{steps-prefix-cls}-horizontal:not(.@{steps-prefix-cls}-label-vertical)
.@{steps-prefix-cls}-item {
2018-03-09 10:52:31 +00:00
margin-right: 12px;
&:last-child {
margin-right: 0;
}
}
.@{steps-prefix-cls}-item-icon {
width: @steps-small-icon-size;
height: @steps-small-icon-size;
2019-03-30 08:06:06 +00:00
font-size: @font-size-sm;
2018-03-09 10:52:31 +00:00
line-height: @steps-small-icon-size;
text-align: center;
border-radius: @steps-small-icon-size;
}
.@{steps-prefix-cls}-item-title {
2019-03-30 08:06:06 +00:00
padding-right: 12px;
2018-03-09 10:52:31 +00:00
font-size: @font-size-base;
line-height: @steps-small-icon-size;
2019-03-30 08:06:06 +00:00
&::after {
2020-12-27 06:50:32 +00:00
top: (@steps-small-icon-size / 2);
2018-03-09 10:52:31 +00:00
}
}
.@{steps-prefix-cls}-item-description {
color: @text-color-secondary;
2019-03-30 08:06:06 +00:00
font-size: @font-size-base;
2018-03-09 10:52:31 +00:00
}
.@{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;
2019-03-30 08:06:06 +00:00
border: 0;
border-radius: 0;
2018-03-09 10:52:31 +00:00
> .@{steps-prefix-cls}-icon {
font-size: @steps-small-icon-size;
line-height: @steps-small-icon-size;
transform: none;
}
}
}