mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
68 lines
1.3 KiB
Plaintext
68 lines
1.3 KiB
Plaintext
.steps-vertical() {
|
|
display: block;
|
|
.@{steps-prefix-cls}-item {
|
|
display: block;
|
|
overflow: visible;
|
|
&-icon {
|
|
float: left;
|
|
margin-right: 16px;
|
|
}
|
|
&-content {
|
|
min-height: 48px;
|
|
overflow: hidden;
|
|
display: block;
|
|
}
|
|
&-title {
|
|
line-height: @steps-icon-size;
|
|
}
|
|
&-description {
|
|
padding-bottom: 12px;
|
|
}
|
|
}
|
|
|
|
> .@{steps-prefix-cls}-item > .@{steps-prefix-cls}-item-tail {
|
|
position: absolute;
|
|
left: 16px;
|
|
top: 0;
|
|
height: 100%;
|
|
width: 1px;
|
|
padding: 36px 0 4px;
|
|
&:after {
|
|
height: 100%;
|
|
width: 1px;
|
|
}
|
|
}
|
|
|
|
> .@{steps-prefix-cls}-item:not(:last-child) > .@{steps-prefix-cls}-item-tail {
|
|
display: block;
|
|
}
|
|
|
|
> .@{steps-prefix-cls}-item > .@{steps-prefix-cls}-item-content > .@{steps-prefix-cls}-item-title {
|
|
&:after {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
&.@{steps-prefix-cls}-small {
|
|
.@{steps-prefix-cls}-item-tail {
|
|
position: absolute;
|
|
left: 12px;
|
|
top: 0;
|
|
padding: 28px 0 4px;
|
|
}
|
|
.@{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;
|
|
}
|
|
}
|