2020-03-05 12:17:50 +08:00
|
|
|
.steps-vertical() {
|
2020-03-30 09:53:10 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-03-05 12:17:50 +08:00
|
|
|
.@{steps-prefix-cls}-item {
|
|
|
|
display: block;
|
2020-04-26 10:41:53 +08:00
|
|
|
flex: 1 0 auto;
|
2020-09-28 16:07:59 +08:00
|
|
|
padding-left: 0;
|
2020-03-05 12:17:50 +08:00
|
|
|
overflow: visible;
|
2020-09-28 16:07:59 +08:00
|
|
|
|
2020-03-05 12:17:50 +08:00
|
|
|
&-icon {
|
|
|
|
float: left;
|
2020-05-11 21:47:35 +08:00
|
|
|
margin-right: @steps-vertical-icon-width;
|
2020-03-05 12:17:50 +08:00
|
|
|
}
|
|
|
|
&-content {
|
|
|
|
display: block;
|
|
|
|
min-height: 48px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
&-title {
|
|
|
|
line-height: @steps-icon-size;
|
|
|
|
}
|
|
|
|
&-description {
|
|
|
|
padding-bottom: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> .@{steps-prefix-cls}-item
|
|
|
|
> .@{steps-prefix-cls}-item-container
|
|
|
|
> .@{steps-prefix-cls}-item-tail {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2020-05-11 21:47:35 +08:00
|
|
|
left: @steps-vertical-tail-width;
|
2020-03-05 12:17:50 +08:00
|
|
|
width: 1px;
|
|
|
|
height: 100%;
|
|
|
|
padding: @steps-icon-size + 6px 0 6px;
|
2020-03-08 15:12:21 +08:00
|
|
|
|
2020-03-05 12:17:50 +08:00
|
|
|
&::after {
|
|
|
|
width: 1px;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> .@{steps-prefix-cls}-item:not(:last-child)
|
|
|
|
> .@{steps-prefix-cls}-item-container
|
|
|
|
> .@{steps-prefix-cls}-item-tail {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
> .@{steps-prefix-cls}-item
|
|
|
|
> .@{steps-prefix-cls}-item-container
|
|
|
|
> .@{steps-prefix-cls}-item-content
|
|
|
|
> .@{steps-prefix-cls}-item-title {
|
|
|
|
&::after {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.@{steps-prefix-cls}-small .@{steps-prefix-cls}-item-container {
|
|
|
|
.@{steps-prefix-cls}-item-tail {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2020-05-11 21:47:35 +08:00
|
|
|
left: @steps-vertical-tail-width-sm;
|
2020-03-05 12:17:50 +08:00
|
|
|
padding: @steps-small-icon-size + 6px 0 6px;
|
|
|
|
}
|
|
|
|
.@{steps-prefix-cls}-item-title {
|
|
|
|
line-height: @steps-small-icon-size;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.@{steps-prefix-cls}-vertical {
|
|
|
|
.steps-vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: @screen-xs) {
|
|
|
|
.@{steps-prefix-cls}-horizontal.@{steps-prefix-cls}-label-horizontal {
|
|
|
|
.steps-vertical;
|
|
|
|
}
|
|
|
|
}
|