1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-12 04:37:13 +01:00
metamask-extension/ui/components/app/step-progress-bar/index.scss
Alex Donesky f733857388
Onboarding V2 Cleanups (#12417)
* remove the onboarding V2 feature flags used for dev, some remain until we're ready to make the switch

* update route

* add setCompletedOnboarding dispatch to submission on privacy-settings view

* update privacy-settings test
2021-10-20 13:55:59 -05:00

127 lines
2.0 KiB
SCSS

.progressbar {
counter-reset: step;
display: flex;
justify-content: space-evenly;
width: 500px;
margin: 0 auto;
}
ul.two-steps {
margin: 0 auto;
}
.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;
right: 77px;
z-index: -1;
[dir='rtl'] & {
width: 100%;
height: 2px;
content: '';
position: absolute;
background-color: #d6d9dc;
right: 77px;
z-index: -1;
}
}
.progressbar li:first-child::after {
content: none;
[dir='rtl'] & {
content: none;
}
}
.progressbar li.active {
color: $primary-blue;
[dir='rtl'] & {
color: $primary-blue;
}
}
.progressbar li.active::before {
border-color: $primary-blue;
z-index: 1;
[dir='rtl'] & {
border-color: $primary-blue;
z-index: 1;
}
}
.progressbar li.active + li::after {
background-color: $primary-blue;
z-index: -1;
[dir='rtl'] & {
background-color: $primary-blue;
z-index: -1;
}
}
.progressbar li.complete::before {
background-color: $primary-blue;
color: $ui-white;
[dir='rtl'] & {
background-color: $primary-blue;
color: $ui-white;
}
}
.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;
}
}