2019-08-21 19:15:45 +08:00
|
|
|
.@{steps-prefix-cls}-dot,
|
|
|
|
.@{steps-prefix-cls}-dot.@{steps-prefix-cls}-small {
|
2017-09-05 19:57:59 +08:00
|
|
|
.@{steps-prefix-cls}-item {
|
2017-10-31 14:04:07 +08:00
|
|
|
&-title {
|
|
|
|
line-height: @line-height-base;
|
|
|
|
}
|
2021-10-13 15:38:59 +08:00
|
|
|
|
2017-09-05 19:57:59 +08:00
|
|
|
&-tail {
|
2020-03-29 10:39:46 +08:00
|
|
|
top: @steps-dot-top;
|
2019-02-15 10:48:07 +08:00
|
|
|
width: 100%;
|
2020-12-25 14:31:44 +08:00
|
|
|
margin: 0 0 0 (@steps-description-max-width / 2);
|
2017-09-05 19:57:59 +08:00
|
|
|
padding: 0;
|
2020-01-02 19:10:16 +08:00
|
|
|
|
2019-02-15 10:48:07 +08:00
|
|
|
&::after {
|
2018-12-07 20:02:01 +08:00
|
|
|
width: ~'calc(100% - 20px)';
|
2019-02-15 10:48:07 +08:00
|
|
|
height: 3px;
|
2017-10-19 14:52:11 +08:00
|
|
|
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;
|
|
|
|
}
|
2021-10-13 15:38:59 +08:00
|
|
|
|
2017-09-05 19:57:59 +08:00
|
|
|
&-icon {
|
|
|
|
width: @steps-dot-size;
|
|
|
|
height: @steps-dot-size;
|
2017-09-27 22:32:49 +08:00
|
|
|
margin-left: 67px;
|
2019-02-15 10:48:07 +08:00
|
|
|
padding-right: 0;
|
|
|
|
line-height: @steps-dot-size;
|
2017-09-07 11:00:36 +08:00
|
|
|
background: transparent;
|
2019-02-15 10:48:07 +08:00
|
|
|
border: 0;
|
2020-01-02 19:10:16 +08:00
|
|
|
|
2017-09-05 19:57:59 +08:00
|
|
|
.@{steps-prefix-cls}-icon-dot {
|
2019-02-15 10:48:07 +08:00
|
|
|
position: relative;
|
2017-09-05 19:57:59 +08:00
|
|
|
float: left;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2017-09-07 11:00:36 +08:00
|
|
|
border-radius: 100px;
|
2018-12-07 20:02:01 +08:00
|
|
|
transition: all 0.3s;
|
2021-10-22 13:35:36 +08:00
|
|
|
|
2017-09-07 11:00:36 +08:00
|
|
|
/* expand hover area */
|
2019-02-15 10:48:07 +08:00
|
|
|
&::after {
|
2017-09-07 11:00:36 +08:00
|
|
|
position: absolute;
|
|
|
|
top: -12px;
|
|
|
|
left: -26px;
|
2019-02-15 10:48:07 +08:00
|
|
|
width: 60px;
|
|
|
|
height: 32px;
|
|
|
|
background: fade(@black, 0.1%);
|
|
|
|
content: '';
|
2017-09-07 11:00:36 +08:00
|
|
|
}
|
|
|
|
}
|
2017-09-05 19:57:59 +08:00
|
|
|
}
|
2021-10-13 15:38:59 +08:00
|
|
|
|
2020-10-27 23:58:38 +08:00
|
|
|
&-content {
|
2020-12-23 22:48:40 +08:00
|
|
|
width: @steps-description-max-width;
|
2020-10-27 23:58:38 +08:00
|
|
|
}
|
2017-09-07 11:00:36 +08:00
|
|
|
&-process .@{steps-prefix-cls}-item-icon {
|
2020-04-28 11:16:01 +08:00
|
|
|
position: relative;
|
|
|
|
top: -1px;
|
2017-09-05 19:57:59 +08:00
|
|
|
width: @steps-current-dot-size;
|
|
|
|
height: @steps-current-dot-size;
|
|
|
|
line-height: @steps-current-dot-size;
|
2020-12-03 20:37:46 +08:00
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
&-process .@{steps-prefix-cls}-icon {
|
|
|
|
&:first-child .@{steps-prefix-cls}-icon-dot {
|
|
|
|
left: 0;
|
|
|
|
}
|
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 {
|
2021-11-04 19:06:31 +08:00
|
|
|
margin-top: 13px;
|
2019-02-15 10:48:07 +08:00
|
|
|
margin-left: 0;
|
2020-03-29 10:39:46 +08:00
|
|
|
background: none;
|
2017-10-31 15:14:23 +08:00
|
|
|
}
|
2019-08-20 12:31:52 +08:00
|
|
|
// https://github.com/ant-design/ant-design/issues/18354
|
|
|
|
.@{steps-prefix-cls}-item > .@{steps-prefix-cls}-item-container > .@{steps-prefix-cls}-item-tail {
|
2021-11-04 19:06:31 +08:00
|
|
|
top: 6.5px;
|
2019-02-15 10:48:07 +08:00
|
|
|
left: -9px;
|
|
|
|
margin: 0;
|
2017-10-31 15:14:23 +08:00
|
|
|
padding: 22px 0 4px;
|
|
|
|
}
|
|
|
|
.@{steps-prefix-cls}-item:first-child .@{steps-prefix-cls}-icon-dot {
|
|
|
|
left: 0;
|
|
|
|
}
|
2020-10-27 23:58:38 +08:00
|
|
|
.@{steps-prefix-cls}-item-content {
|
|
|
|
width: inherit;
|
|
|
|
}
|
2020-12-03 20:37:46 +08:00
|
|
|
.@{steps-prefix-cls}-item-process
|
|
|
|
.@{steps-prefix-cls}-item-container
|
|
|
|
.@{steps-prefix-cls}-item-icon
|
|
|
|
.@{steps-prefix-cls}-icon-dot {
|
2021-11-04 19:06:31 +08:00
|
|
|
top: -1px;
|
|
|
|
left: -1px;
|
2017-10-31 15:14:23 +08:00
|
|
|
}
|
|
|
|
}
|