2021-07-08 02:10:12 +02:00
|
|
|
.progressbar {
|
|
|
|
counter-reset: step;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-evenly;
|
2021-10-13 19:41:24 +02:00
|
|
|
width: 500px;
|
2021-10-20 20:55:59 +02:00
|
|
|
margin: 0 auto;
|
2021-10-13 19:41:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
ul.two-steps {
|
|
|
|
margin: 0 auto;
|
2021-07-08 02:10:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.progressbar li {
|
|
|
|
list-style-type: none;
|
|
|
|
width: 25%;
|
|
|
|
float: left;
|
|
|
|
font-size: 12px;
|
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
|
|
|
text-transform: uppercase;
|
|
|
|
color: #7d7d7d;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.progressbar li::before {
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
content: counter(step);
|
|
|
|
counter-increment: step;
|
|
|
|
line-height: 30px;
|
|
|
|
border: 2px solid #d6d9dc;
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
margin: 0 auto 10px auto;
|
|
|
|
border-radius: 50%;
|
|
|
|
background-color: white;
|
|
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.progressbar li::after {
|
|
|
|
width: 100%;
|
|
|
|
height: 2px;
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
background-color: #d6d9dc;
|
|
|
|
top: 15px;
|
2021-10-13 19:41:24 +02:00
|
|
|
right: 77px;
|
2021-07-08 02:10:12 +02:00
|
|
|
z-index: -1;
|
2021-10-13 19:41:24 +02:00
|
|
|
|
|
|
|
[dir='rtl'] & {
|
|
|
|
width: 100%;
|
|
|
|
height: 2px;
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
background-color: #d6d9dc;
|
|
|
|
right: 77px;
|
|
|
|
z-index: -1;
|
|
|
|
}
|
2021-07-08 02:10:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.progressbar li:first-child::after {
|
|
|
|
content: none;
|
2021-10-13 19:41:24 +02:00
|
|
|
|
|
|
|
[dir='rtl'] & {
|
|
|
|
content: none;
|
|
|
|
}
|
2021-07-08 02:10:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.progressbar li.active {
|
2022-01-06 18:35:49 +01:00
|
|
|
color: var(--primary-blue);
|
2021-10-13 19:41:24 +02:00
|
|
|
|
|
|
|
[dir='rtl'] & {
|
2022-01-06 18:35:49 +01:00
|
|
|
color: var(--primary-blue);
|
2021-10-13 19:41:24 +02:00
|
|
|
}
|
2021-07-08 02:10:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.progressbar li.active::before {
|
2022-01-06 18:35:49 +01:00
|
|
|
border-color: var(--primary-blue);
|
2021-07-08 02:10:12 +02:00
|
|
|
z-index: 1;
|
2021-10-13 19:41:24 +02:00
|
|
|
|
|
|
|
[dir='rtl'] & {
|
2022-01-06 18:35:49 +01:00
|
|
|
border-color: var(--primary-blue);
|
2021-10-13 19:41:24 +02:00
|
|
|
z-index: 1;
|
|
|
|
}
|
2021-07-08 02:10:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.progressbar li.active + li::after {
|
2022-01-06 18:35:49 +01:00
|
|
|
background-color: var(--primary-blue);
|
2021-07-08 02:10:12 +02:00
|
|
|
z-index: -1;
|
2021-10-13 19:41:24 +02:00
|
|
|
|
|
|
|
[dir='rtl'] & {
|
2022-01-06 18:35:49 +01:00
|
|
|
background-color: var(--primary-blue);
|
2021-10-13 19:41:24 +02:00
|
|
|
z-index: -1;
|
|
|
|
}
|
2021-07-08 02:10:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.progressbar li.complete::before {
|
2022-01-06 18:35:49 +01:00
|
|
|
background-color: var(--primary-blue);
|
|
|
|
color: var(--ui-white);
|
2021-10-13 19:41:24 +02:00
|
|
|
|
|
|
|
[dir='rtl'] & {
|
2022-01-06 18:35:49 +01:00
|
|
|
background-color: var(--primary-blue);
|
|
|
|
color: var(--ui-white);
|
2021-10-13 19:41:24 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.progressbar li.two-steps::after {
|
|
|
|
width: 180px;
|
|
|
|
height: 2px;
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
background-color: #d6d9dc;
|
|
|
|
top: 15px;
|
|
|
|
right: 75px;
|
|
|
|
z-index: -1;
|
|
|
|
|
|
|
|
[dir='rtl'] & {
|
|
|
|
width: 180px;
|
|
|
|
height: 2px;
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
background-color: #d6d9dc;
|
|
|
|
right: 75px;
|
|
|
|
z-index: -1;
|
|
|
|
}
|
2021-07-08 02:10:12 +02:00
|
|
|
}
|