1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-04 23:14:56 +01:00
metamask-extension/ui/components/app/step-progress-bar/index.scss
Alex Donesky 0ca0f1784e
Add recovery-phrase views for new onboarding flow (#11434)
* add recovery-phrase views for new onboarding flow

* black => ui-black

* minor syntax improvement
2021-07-07 19:10:12 -05:00

67 lines
1.1 KiB
SCSS

.progressbar {
counter-reset: step;
display: flex;
justify-content: space-evenly;
}
.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: 62%;
z-index: -1;
}
.progressbar li:first-child::after {
content: none;
}
.progressbar li.active {
color: $primary-blue;
}
.progressbar li.active::before {
border-color: $primary-blue;
z-index: 1;
}
.progressbar li.active + li::after {
background-color: $primary-blue;
z-index: -1;
}
.progressbar li.complete::before {
background-color: $primary-blue;
color: $ui-white;
}