2024-12-18 04:41:00 +08:00
|
|
|
:root {
|
|
|
|
--progress-bar-line-width: 1px;
|
|
|
|
--progress-bar-circle-size: 0.5rem;
|
|
|
|
--progress-bar-icon-size: 0.25rem;
|
|
|
|
}
|
2024-08-28 19:43:39 +08:00
|
|
|
|
|
|
|
.signup-progress-bar {
|
2024-12-18 04:41:00 +08:00
|
|
|
width: auto;
|
2024-08-28 19:43:39 +08:00
|
|
|
display: flex;
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin-bottom: 1.2em;
|
2024-12-18 04:41:00 +08:00
|
|
|
gap: 1rem;
|
|
|
|
.account-created &,
|
|
|
|
.activate-account & {
|
|
|
|
margin-inline: 0;
|
|
|
|
}
|
2024-08-28 19:43:39 +08:00
|
|
|
|
|
|
|
&__segment {
|
2024-12-18 04:41:00 +08:00
|
|
|
width: auto;
|
2024-08-28 19:43:39 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 0.5rem;
|
2024-10-25 20:34:59 +08:00
|
|
|
color: var(--primary-low-mid);
|
2024-08-28 19:43:39 +08:00
|
|
|
|
|
|
|
&:first-child .signup-progress-bar__circle {
|
|
|
|
transform: translateX(50%);
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
2024-12-18 04:41:00 +08:00
|
|
|
width: var(--progress-bar-circle-size);
|
2024-08-28 19:43:39 +08:00
|
|
|
.signup-progress-bar__circle {
|
|
|
|
transform: translateX(-50%);
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-25 20:34:59 +08:00
|
|
|
&__step {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2024-08-28 19:43:39 +08:00
|
|
|
&__circle {
|
|
|
|
flex-shrink: 0;
|
2024-12-18 04:41:00 +08:00
|
|
|
font-size: var(--progress-bar-icon-size);
|
2024-08-28 19:43:39 +08:00
|
|
|
color: var(--secondary);
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2024-12-18 04:41:00 +08:00
|
|
|
height: var(--progress-bar-circle-size);
|
|
|
|
width: var(--progress-bar-circle-size);
|
|
|
|
transform: none;
|
2024-08-28 19:43:39 +08:00
|
|
|
border-radius: 50%;
|
2024-12-18 04:41:00 +08:00
|
|
|
border: var(--progress-bar-line-width) solid var(--primary-low-mid);
|
2024-08-28 19:43:39 +08:00
|
|
|
background-color: var(--secondary);
|
|
|
|
|
2024-10-25 20:34:59 +08:00
|
|
|
.--active & {
|
2024-12-18 04:41:00 +08:00
|
|
|
background-color: var(--success);
|
2024-10-25 20:34:59 +08:00
|
|
|
border-color: var(--success);
|
2024-12-18 04:41:00 +08:00
|
|
|
box-shadow: 0 0 1px calc(var(--progress-bar-circle-size) / 2)
|
|
|
|
var(--success-low);
|
2024-10-25 20:34:59 +08:00
|
|
|
}
|
|
|
|
.--completed & {
|
2024-08-28 19:43:39 +08:00
|
|
|
background-color: var(--success);
|
2024-10-25 20:34:59 +08:00
|
|
|
border-color: var(--success);
|
2024-08-28 19:43:39 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|