2021-04-13 13:21:10 +08:00
|
|
|
.#{$ns}Steps {
|
2021-09-03 10:05:24 +08:00
|
|
|
display: flex;
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.#{$ns}StepsItem {
|
|
|
|
flex: 1;
|
|
|
|
overflow: hidden;
|
2022-07-26 17:17:43 +08:00
|
|
|
padding: 0 px2rem(8px);
|
2021-09-03 10:05:24 +08:00
|
|
|
height: auto;
|
|
|
|
line-height: px2rem(32px);
|
|
|
|
&-container {
|
2022-03-08 15:43:28 +08:00
|
|
|
position: relative;
|
2021-09-03 10:05:24 +08:00
|
|
|
&Icon {
|
|
|
|
vertical-align: top;
|
|
|
|
display: inline-block;
|
|
|
|
padding-right: px2rem(10px);
|
|
|
|
.#{$ns}StepsItem-icon {
|
|
|
|
display: inline-block;
|
|
|
|
width: px2rem(30px);
|
|
|
|
height: px2rem(30px);
|
|
|
|
line-height: px2rem(28px);
|
|
|
|
border-radius: 50%;
|
|
|
|
font-size: var(--Steps-icon-fontsize);
|
|
|
|
text-align: center;
|
2022-07-26 17:17:43 +08:00
|
|
|
.icon {
|
|
|
|
width: px2rem(9px);
|
|
|
|
height: px2rem(9px);
|
2022-10-19 10:38:52 +08:00
|
|
|
position: relative;
|
|
|
|
top: 0;
|
2022-07-26 17:17:43 +08:00
|
|
|
}
|
2021-09-03 10:05:24 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&Wrapper {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
.#{$ns}StepsItem-body {
|
|
|
|
.#{$ns}StepsItem-title {
|
|
|
|
font-size: var(--Steps-title-fontsize);
|
|
|
|
color: var(--Steps-title-color);
|
2022-07-26 17:17:43 +08:00
|
|
|
padding-right: px2rem(8px);
|
2021-09-03 10:05:24 +08:00
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
> span {
|
|
|
|
display: inline-block;
|
2021-04-13 13:21:10 +08:00
|
|
|
}
|
2021-09-03 10:05:24 +08:00
|
|
|
&:after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: px2rem(16px);
|
|
|
|
height: 1px;
|
|
|
|
left: 100%;
|
|
|
|
width: 9999px;
|
2021-11-03 21:09:20 +08:00
|
|
|
padding-right: px2rem(10px);
|
2021-09-03 10:05:24 +08:00
|
|
|
background-color: var(--Steps-line-bg);
|
2021-04-13 13:21:10 +08:00
|
|
|
}
|
2021-09-03 10:05:24 +08:00
|
|
|
}
|
|
|
|
.#{$ns}StepsItem-title.is-success {
|
|
|
|
&:after {
|
|
|
|
background-color: var(--Steps-line-success-bg);
|
2021-04-13 13:21:10 +08:00
|
|
|
}
|
2021-09-03 10:05:24 +08:00
|
|
|
}
|
2022-03-08 15:43:28 +08:00
|
|
|
.#{$ns}StepsItem-ellText {
|
|
|
|
max-width: px2rem(158px);
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2021-09-03 10:05:24 +08:00
|
|
|
.#{$ns}StepsItem-subTitle {
|
|
|
|
padding-left: px2rem(10px);
|
|
|
|
font-size: var(--Steps-sub-title-fontsize);
|
|
|
|
color: var(--Steps-sub-title-color);
|
|
|
|
}
|
|
|
|
.#{$ns}StepsItem-description {
|
|
|
|
max-width: px2rem(140px);
|
|
|
|
white-space: nowrap;
|
2022-03-08 15:43:28 +08:00
|
|
|
position: relative;
|
2022-07-26 17:17:43 +08:00
|
|
|
bottom: px2rem(20px);
|
|
|
|
>span {
|
|
|
|
color: var(--Steps-description-title-color);
|
|
|
|
font-size: var(--Steps-description-title-fontsize);
|
|
|
|
}
|
2021-09-03 10:05:24 +08:00
|
|
|
}
|
2021-04-13 13:21:10 +08:00
|
|
|
}
|
2021-09-03 10:05:24 +08:00
|
|
|
}
|
2021-04-13 13:21:10 +08:00
|
|
|
}
|
2021-09-03 10:05:24 +08:00
|
|
|
&:last-child {
|
|
|
|
flex: none;
|
|
|
|
.#{$ns}StepsItem-title {
|
|
|
|
&:after {
|
|
|
|
display: none;
|
2021-04-13 13:21:10 +08:00
|
|
|
}
|
2021-09-03 10:05:24 +08:00
|
|
|
}
|
2021-04-13 13:21:10 +08:00
|
|
|
}
|
2021-09-03 10:05:24 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&--vertical {
|
|
|
|
flex-direction: column;
|
|
|
|
.#{$ns}StepsItem {
|
|
|
|
padding: px2rem(5px) 0;
|
|
|
|
min-height: 75px;
|
2022-03-31 20:38:21 +08:00
|
|
|
overflow: hidden !important;
|
2021-09-03 10:05:24 +08:00
|
|
|
&-container {
|
2022-03-08 15:43:28 +08:00
|
|
|
&Icon:after {
|
2022-06-14 11:53:36 +08:00
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
2022-07-26 17:17:43 +08:00
|
|
|
top: px2rem(36px);
|
2022-06-14 11:53:36 +08:00
|
|
|
height: 9999px;
|
|
|
|
left: px2rem(11px);
|
|
|
|
width: 1px;
|
|
|
|
background-color: var(--Steps-line-bg);
|
2021-04-13 13:21:10 +08:00
|
|
|
}
|
2021-09-03 10:05:24 +08:00
|
|
|
&Wrapper > .#{$ns}StepsItem-body > .#{$ns}StepsItem-title {
|
|
|
|
&:after {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-04-13 13:21:10 +08:00
|
|
|
}
|
2022-03-08 15:43:28 +08:00
|
|
|
&Tail:after {
|
|
|
|
display: none !important;
|
|
|
|
}
|
2021-09-03 10:05:24 +08:00
|
|
|
}
|
|
|
|
&:last-child {
|
|
|
|
flex: none;
|
2022-03-08 15:43:28 +08:00
|
|
|
.#{$ns}StepsItem-containerIcon {
|
2021-09-03 10:05:24 +08:00
|
|
|
&:after {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-04-13 13:21:10 +08:00
|
|
|
}
|
2021-09-03 10:05:24 +08:00
|
|
|
}
|
2022-03-08 15:43:28 +08:00
|
|
|
&-ProgressDot {
|
2022-03-31 20:38:21 +08:00
|
|
|
margin-left: 10px;
|
2022-03-08 15:43:28 +08:00
|
|
|
.#{$ns}StepsItem {
|
|
|
|
&-container {
|
|
|
|
flex-direction: row;
|
|
|
|
&Tail {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
&Wrapper {
|
|
|
|
width: px2rem(400px);
|
|
|
|
}
|
|
|
|
&ProgressDot {
|
|
|
|
margin-left: 0px;
|
|
|
|
margin-top: px2rem(10px);
|
|
|
|
&:after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
display: inline-block;
|
2022-03-31 20:38:21 +08:00
|
|
|
top: px2rem(28px);
|
2022-03-08 15:43:28 +08:00
|
|
|
width: 1px;
|
|
|
|
left: 3px;
|
2022-03-31 20:38:21 +08:00
|
|
|
height: 9999px;
|
2022-03-08 15:43:28 +08:00
|
|
|
background-color: var(--Steps-line-bg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-06-14 11:53:36 +08:00
|
|
|
&-title > span {
|
2022-03-08 15:43:28 +08:00
|
|
|
display: inline-block !important;
|
|
|
|
}
|
|
|
|
&-vertical-ProgressDot {
|
|
|
|
right: px2rem(10px);
|
|
|
|
}
|
|
|
|
&-body {
|
|
|
|
text-align: left !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:last-child {
|
|
|
|
.#{$ns}StepsItem {
|
2022-06-14 11:53:36 +08:00
|
|
|
&-containerProgressDot:after {
|
|
|
|
display: none;
|
2022-03-08 15:43:28 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.is-finish {
|
|
|
|
.#{$ns}StepsItem-container {
|
|
|
|
&ProgressDot:after {
|
|
|
|
background: var(--Steps-status-success);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--Placement-vertical {
|
|
|
|
display: flex;
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
.#{$ns}StepsItem {
|
|
|
|
flex: 1;
|
2022-06-14 11:53:36 +08:00
|
|
|
padding: 0;
|
|
|
|
overflow: visible;
|
2022-03-08 15:43:28 +08:00
|
|
|
&-container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: flex-start;
|
|
|
|
&Tail:after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
display: inline-block;
|
|
|
|
top: 1rem;
|
|
|
|
height: 1px;
|
|
|
|
left: px2rem(130px);
|
|
|
|
width: calc(100% - 55px);
|
|
|
|
background-color: var(--Steps-line-bg);
|
|
|
|
}
|
2022-06-14 11:53:36 +08:00
|
|
|
&Icon {
|
2022-03-08 15:43:28 +08:00
|
|
|
margin-left: px2rem(90px);
|
|
|
|
}
|
|
|
|
&Wrapper {
|
|
|
|
width: px2rem(200px);
|
|
|
|
.#{$ns}StepsItem-body {
|
|
|
|
text-align: center;
|
|
|
|
.#{$ns}StepsItem-title {
|
|
|
|
padding: 0 px2rem(10px);
|
2022-07-26 20:52:13 +08:00
|
|
|
bottom: px2rem(9px);
|
2022-03-08 15:43:28 +08:00
|
|
|
width: 100%;
|
2022-06-14 11:53:36 +08:00
|
|
|
> span {
|
2022-03-08 15:43:28 +08:00
|
|
|
display: block;
|
|
|
|
position: relative;
|
2022-07-26 17:17:43 +08:00
|
|
|
left: px2rem(12px);
|
2022-03-08 15:43:28 +08:00
|
|
|
}
|
|
|
|
.#{$ns}StepsItem-subTitle {
|
|
|
|
word-break: break-all;
|
|
|
|
padding: 0 px2rem(10px);
|
|
|
|
position: relative;
|
|
|
|
left: px2rem(10px);
|
2022-07-26 20:52:13 +08:00
|
|
|
bottom: px2rem(12px);
|
2022-03-08 15:43:28 +08:00
|
|
|
}
|
|
|
|
}
|
2022-06-14 11:53:36 +08:00
|
|
|
.#{$ns}StepsItem-title:after {
|
2022-03-08 15:43:28 +08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.#{$ns}StepsItem-description {
|
|
|
|
min-width: px2rem(200px);
|
|
|
|
word-break: break-all;
|
2022-07-26 17:17:43 +08:00
|
|
|
padding: 0 px2rem(20px);
|
2022-07-26 20:52:13 +08:00
|
|
|
bottom: px2rem(44px);
|
2022-03-08 15:43:28 +08:00
|
|
|
}
|
|
|
|
.#{$ns}StepsItem-title.is-success {
|
|
|
|
&:after {
|
|
|
|
background-color: var(--Steps-line-success-bg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:last-child {
|
|
|
|
.#{$ns}StepsItem-container {
|
|
|
|
&Tail:after {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-06-14 11:53:36 +08:00
|
|
|
}
|
2022-03-08 15:43:28 +08:00
|
|
|
.is-finish {
|
|
|
|
.#{$ns}StepsItem {
|
2022-06-14 11:53:36 +08:00
|
|
|
&-containerTail:after {
|
2022-03-08 15:43:28 +08:00
|
|
|
background: var(--Steps-status-success);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--ProgressDot {
|
|
|
|
.#{$ns}StepsItem {
|
|
|
|
&-container {
|
|
|
|
&Tail:after {
|
|
|
|
left: px2rem(110px);
|
|
|
|
width: calc(100% - 20px);
|
|
|
|
}
|
|
|
|
&ProgressDot {
|
|
|
|
margin-top: px2rem(13px);
|
|
|
|
margin-bottom: px2rem(5px);
|
|
|
|
width: px2rem(8px);
|
|
|
|
height: px2rem(8px);
|
|
|
|
margin-left: px2rem(96px);
|
|
|
|
border: 1px solid var(--Steps-line-success-bg);
|
2022-06-14 11:53:36 +08:00
|
|
|
border-radius: 100%;
|
2022-03-08 15:43:28 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.is-finish {
|
|
|
|
.#{$ns}StepsItem-container {
|
|
|
|
&Tail:after {
|
|
|
|
background: var(--Steps-status-success);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.is-wait {
|
|
|
|
.#{$ns}StepsItem-container {
|
|
|
|
&ProgressDot {
|
|
|
|
background: var(--Steps-line-bg);
|
|
|
|
border: 1px solid var(--Steps-line-bg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.is-error {
|
|
|
|
.#{$ns}StepsItem-container {
|
|
|
|
&ProgressDot {
|
|
|
|
background: var(--Steps-status-error);
|
|
|
|
border: 1px solid var(--Steps-status-error);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.is-process {
|
|
|
|
.#{$ns}StepsItem-container {
|
|
|
|
&ProgressDot {
|
|
|
|
border: 1px solid var(--Steps-status-success);
|
|
|
|
background: var(--Steps-status-success);
|
|
|
|
}
|
|
|
|
}
|
2021-09-03 10:05:24 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.#{$ns}StepsItem.is-wait {
|
|
|
|
.#{$ns}StepsItem-icon {
|
|
|
|
background-color: var(--white);
|
|
|
|
color: var(--Steps-bg);
|
|
|
|
border: 1px solid var(--Steps-bg);
|
|
|
|
}
|
2022-07-26 17:17:43 +08:00
|
|
|
.#{$ns}StepsItem-title,
|
|
|
|
.#{$ns}StepsItem-subTitle,
|
|
|
|
.#{$ns}StepsItem-description {
|
|
|
|
color: var(--Steps-status-wait);
|
|
|
|
}
|
2021-09-03 10:05:24 +08:00
|
|
|
}
|
|
|
|
.#{$ns}StepsItem.is-error {
|
|
|
|
.#{$ns}StepsItem-icon {
|
2022-07-26 17:17:43 +08:00
|
|
|
background-color: var(--Steps-status-error);
|
2021-09-03 10:05:24 +08:00
|
|
|
color: var(--white);
|
|
|
|
border: 1px solid var(--Steps-status-error);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.#{$ns}StepsItem.is-finish,
|
|
|
|
.#{$ns}StepsItem.is-process {
|
|
|
|
.#{$ns}StepsItem-icon {
|
|
|
|
background-color: var(--Steps-status-success);
|
|
|
|
color: var(--white);
|
|
|
|
border: 1px solid var(--Steps-status-success);
|
2021-04-13 13:21:10 +08:00
|
|
|
}
|
2021-09-03 10:05:24 +08:00
|
|
|
}
|
|
|
|
}
|
2021-12-20 19:18:33 +08:00
|
|
|
|
|
|
|
.#{$ns}Steps-mobile.#{$ns}Steps--horizontal {
|
|
|
|
.#{$ns}StepsItem {
|
|
|
|
&-container {
|
|
|
|
&Wrapper {
|
|
|
|
.#{$ns}StepsItem-body {
|
|
|
|
.#{$ns}StepsItem-title {
|
|
|
|
&::after {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-06-14 11:53:36 +08:00
|
|
|
.#{$ns}StepsItem-body {
|
2021-12-20 19:18:33 +08:00
|
|
|
.#{$ns}StepsItem-title {
|
|
|
|
.#{$ns}StepsItem-subTitle {
|
|
|
|
padding-left: px2rem(5px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&Icon {
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: px2rem(15px);
|
|
|
|
height: 1px;
|
|
|
|
left: px2rem(40px);
|
|
|
|
width: 99999px;
|
|
|
|
background-color: var(--Steps-line-bg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&Icon.is-success {
|
|
|
|
&:after {
|
|
|
|
background-color: var(--Steps-line-success-bg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
.#{$ns}StepsItem-container {
|
|
|
|
&Icon {
|
|
|
|
&:after {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-06-14 11:53:36 +08:00
|
|
|
}
|