ant-design-blazor/components/steps/style/vertical.less

74 lines
1.6 KiB
Plaintext
Raw Normal View History

2020-11-15 17:03:30 +08:00
.@{steps-prefix-cls}-vertical {
2020-03-30 09:53:10 +08:00
display: flex;
flex-direction: column;
2020-11-15 17:03:30 +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;
overflow: visible;
2020-09-28 16:07:59 +08:00
2020-11-15 17:03:30 +08:00
.@{steps-prefix-cls}-item-icon {
float: left;
2020-05-11 21:47:35 +08:00
margin-right: @steps-vertical-icon-width;
}
2020-11-15 17:03:30 +08:00
.@{steps-prefix-cls}-item-content {
display: block;
min-height: 48px;
overflow: hidden;
}
2020-11-15 17:03:30 +08:00
.@{steps-prefix-cls}-item-title {
line-height: @steps-icon-size;
}
2020-11-15 17:03:30 +08:00
.@{steps-prefix-cls}-item-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;
width: 1px;
height: 100%;
padding: @steps-icon-size + 6px 0 6px;
&::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;
padding: @steps-small-icon-size + 6px 0 6px;
}
.@{steps-prefix-cls}-item-title {
line-height: @steps-small-icon-size;
}
}
}