2017-09-25 11:25:57 +08:00
|
|
|
.steps-vertical() {
|
2020-03-29 10:39:46 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2017-09-05 19:57:59 +08:00
|
|
|
.@{steps-prefix-cls}-item {
|
|
|
|
display: block;
|
2020-04-24 18:12:09 +08:00
|
|
|
flex: 1 0 auto;
|
2017-09-05 19:57:59 +08:00
|
|
|
overflow: visible;
|
|
|
|
&-icon {
|
|
|
|
float: left;
|
2020-05-05 13:55:05 +08:00
|
|
|
margin-right: @steps-vertical-icon-width;
|
2017-09-05 19:57:59 +08:00
|
|
|
}
|
|
|
|
&-content {
|
2019-02-15 10:48:07 +08:00
|
|
|
display: block;
|
2017-09-05 19:57:59 +08:00
|
|
|
min-height: 48px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
&-title {
|
|
|
|
line-height: @steps-icon-size;
|
|
|
|
}
|
|
|
|
&-description {
|
|
|
|
padding-bottom: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-14 11:18:36 +08:00
|
|
|
> .@{steps-prefix-cls}-item
|
|
|
|
> .@{steps-prefix-cls}-item-container
|
|
|
|
> .@{steps-prefix-cls}-item-tail {
|
2017-09-05 19:57:59 +08:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2020-05-05 13:55:05 +08:00
|
|
|
left: @steps-vertical-tail-width;
|
2017-09-05 19:57:59 +08:00
|
|
|
width: 1px;
|
2019-02-15 10:48:07 +08:00
|
|
|
height: 100%;
|
2017-11-06 21:28:51 +08:00
|
|
|
padding: @steps-icon-size + 6px 0 6px;
|
2020-01-02 19:10:16 +08:00
|
|
|
|
2019-02-15 10:48:07 +08:00
|
|
|
&::after {
|
2017-09-05 19:57:59 +08:00
|
|
|
width: 1px;
|
2019-02-15 10:48:07 +08:00
|
|
|
height: 100%;
|
2017-09-05 19:57:59 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-14 11:18:36 +08:00
|
|
|
> .@{steps-prefix-cls}-item:not(:last-child)
|
|
|
|
> .@{steps-prefix-cls}-item-container
|
|
|
|
> .@{steps-prefix-cls}-item-tail {
|
2017-09-25 11:25:57 +08:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2018-12-07 16:17:45 +08:00
|
|
|
> .@{steps-prefix-cls}-item
|
2019-08-14 11:18:36 +08:00
|
|
|
> .@{steps-prefix-cls}-item-container
|
2018-12-07 16:17:45 +08:00
|
|
|
> .@{steps-prefix-cls}-item-content
|
|
|
|
> .@{steps-prefix-cls}-item-title {
|
2019-02-15 10:48:07 +08:00
|
|
|
&::after {
|
2017-09-05 19:57:59 +08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-14 11:18:36 +08:00
|
|
|
&.@{steps-prefix-cls}-small .@{steps-prefix-cls}-item-container {
|
2017-09-05 19:57:59 +08:00
|
|
|
.@{steps-prefix-cls}-item-tail {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2020-05-05 13:55:05 +08:00
|
|
|
left: @steps-vertical-tail-width-sm;
|
2017-11-06 21:28:51 +08:00
|
|
|
padding: @steps-small-icon-size + 6px 0 6px;
|
2017-09-05 19:57:59 +08:00
|
|
|
}
|
|
|
|
.@{steps-prefix-cls}-item-title {
|
|
|
|
line-height: @steps-small-icon-size;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-09-25 11:25:57 +08:00
|
|
|
|
|
|
|
.@{steps-prefix-cls}-vertical {
|
|
|
|
.steps-vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: @screen-xs) {
|
|
|
|
.@{steps-prefix-cls}-horizontal.@{steps-prefix-cls}-label-horizontal {
|
|
|
|
.steps-vertical;
|
|
|
|
}
|
|
|
|
}
|