2017-09-05 19:57:59 +08:00
|
|
|
.@{steps-prefix-cls}-dot {
|
|
|
|
.@{steps-prefix-cls}-item {
|
2017-10-31 14:04:07 +08:00
|
|
|
&-title {
|
|
|
|
line-height: @line-height-base;
|
|
|
|
}
|
2017-09-05 19:57:59 +08:00
|
|
|
&-tail {
|
|
|
|
width: 100%;
|
2017-10-19 14:52:11 +08:00
|
|
|
top: 2px;
|
2017-09-05 19:57:59 +08:00
|
|
|
margin: 0 0 0 @steps-desciption-max-width / 2;
|
|
|
|
padding: 0;
|
|
|
|
&:after {
|
|
|
|
height: 3px;
|
2017-10-19 14:52:11 +08:00
|
|
|
width: ~"calc(100% - 20px)";
|
|
|
|
margin-left: 12px;
|
2017-09-05 19:57:59 +08:00
|
|
|
}
|
|
|
|
}
|
2017-10-19 14:52:11 +08:00
|
|
|
&:first-child .@{steps-prefix-cls}-icon-dot {
|
|
|
|
left: 2px;
|
|
|
|
}
|
2017-09-05 19:57:59 +08:00
|
|
|
&-icon {
|
|
|
|
padding-right: 0;
|
|
|
|
width: @steps-dot-size;
|
|
|
|
height: @steps-dot-size;
|
|
|
|
line-height: @steps-dot-size;
|
|
|
|
border: 0;
|
2017-09-27 22:32:49 +08:00
|
|
|
margin-left: 67px;
|
2017-09-07 11:00:36 +08:00
|
|
|
background: transparent;
|
2017-09-05 19:57:59 +08:00
|
|
|
.@{steps-prefix-cls}-icon-dot {
|
|
|
|
float: left;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2017-09-07 11:00:36 +08:00
|
|
|
border-radius: 100px;
|
|
|
|
position: relative;
|
|
|
|
transition: all .3s;
|
|
|
|
/* expand hover area */
|
|
|
|
&:after {
|
|
|
|
content: "";
|
2018-12-04 13:11:31 +08:00
|
|
|
background: fade(@black, 0.1%);
|
2017-09-07 11:00:36 +08:00
|
|
|
width: 60px;
|
|
|
|
height: 32px;
|
|
|
|
position: absolute;
|
|
|
|
top: -12px;
|
|
|
|
left: -26px;
|
|
|
|
}
|
|
|
|
}
|
2017-09-05 19:57:59 +08:00
|
|
|
}
|
2018-07-24 10:57:45 +08:00
|
|
|
&-content {
|
|
|
|
width: @steps-desciption-max-width;
|
|
|
|
}
|
2017-09-07 11:00:36 +08:00
|
|
|
&-process .@{steps-prefix-cls}-item-icon {
|
2017-09-05 19:57:59 +08:00
|
|
|
width: @steps-current-dot-size;
|
|
|
|
height: @steps-current-dot-size;
|
|
|
|
line-height: @steps-current-dot-size;
|
|
|
|
.@{steps-prefix-cls}-icon-dot {
|
2017-09-07 11:00:36 +08:00
|
|
|
top: -1px;
|
2017-09-05 19:57:59 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-10-31 15:14:23 +08:00
|
|
|
|
|
|
|
.@{steps-prefix-cls}-vertical.@{steps-prefix-cls}-dot {
|
|
|
|
.@{steps-prefix-cls}-item-icon {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
.@{steps-prefix-cls}-item-tail {
|
|
|
|
margin: 0;
|
|
|
|
left: -9px;
|
|
|
|
top: 2px;
|
|
|
|
padding: 22px 0 4px;
|
|
|
|
}
|
|
|
|
.@{steps-prefix-cls}-item:first-child .@{steps-prefix-cls}-icon-dot {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
.@{steps-prefix-cls}-item-process .@{steps-prefix-cls}-icon-dot {
|
|
|
|
left: -2px;
|
|
|
|
}
|
|
|
|
}
|