mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 19:50:05 +08:00
52 lines
1.2 KiB
Plaintext
52 lines
1.2 KiB
Plaintext
.@{steps-prefix-cls}-dot {
|
|
.@{steps-prefix-cls}-item {
|
|
&-tail {
|
|
width: 100%;
|
|
top: 1px;
|
|
margin: 0 0 0 @steps-desciption-max-width / 2;
|
|
padding: 0;
|
|
&:after {
|
|
height: 3px;
|
|
}
|
|
}
|
|
&-icon {
|
|
padding-right: 0;
|
|
width: @steps-dot-size;
|
|
height: @steps-dot-size;
|
|
line-height: @steps-dot-size;
|
|
border: 0;
|
|
margin-left: 58px;
|
|
background: transparent;
|
|
.@{steps-prefix-cls}-icon-dot {
|
|
float: left;
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 100px;
|
|
position: relative;
|
|
transition: all .3s;
|
|
/* expand hover area */
|
|
&:after {
|
|
content: "";
|
|
background: rgba(0, 0, 0, .001);
|
|
width: 60px;
|
|
height: 32px;
|
|
position: absolute;
|
|
top: -12px;
|
|
left: -26px;
|
|
}
|
|
}
|
|
&:hover .@{steps-prefix-cls}-icon-dot {
|
|
transform: scale(1.3);
|
|
}
|
|
}
|
|
&-process .@{steps-prefix-cls}-item-icon {
|
|
width: @steps-current-dot-size;
|
|
height: @steps-current-dot-size;
|
|
line-height: @steps-current-dot-size;
|
|
.@{steps-prefix-cls}-icon-dot {
|
|
top: -1px;
|
|
}
|
|
}
|
|
}
|
|
}
|