rex-setup-wizard-manager
Version:
Setup wizard for any plugins
118 lines (101 loc) • 2.43 kB
CSS
:root {
--primary-color: #2baf2b;
--heading-color: #0e350e;
--secondary-color: #535963;
--banner-height: 812px;
--border-radius: 10px;
}
.setup-wizard__logo {
width:20px;
display:flex;
margin:0 auto;
}
.setup-wizard__pregress-bar {
width: 1138px;
text-align: center;
display: flex;
border: 2px solid #EBEFF5;
border-radius: 10px;
background: #fff;
overflow: hidden;
margin: 0rem 0.30rem 0rem .20rem;
height:54px;
}
.setup-wizard__pregress-step {
flex-grow: 1;
position: relative;
padding: 1px 0px 0px 40px;
background-color: transparent;
}
.setup-wizard__pregress-step:first-child {
padding: 0px 20px;
}
.setup-wizard__pregress-step:before {
content: "";
position: absolute;
z-index: 2;
top: 0px;
bottom: 0;
right: -18px;
margin: auto 0;
width: 40px;
height: 43px;
background: rgb(255 255 255);
transform: rotate(-43deg);
clip-path: polygon(100% 2%, 2% 100%, 100% 100%);
border-radius: 0 0 10px 0;
border-right: 2px solid #EBEFF5;
border-bottom: 2px solid #EBEFF5;
}
.setup-wizard__pregress-step p {
display: flex;
align-items: center;
font-size: 14px;
font-weight: 400;
gap: 9px;
}
.setup-wizard__pregress-step p span {
border: 1px solid var(--primary-color);
border-radius: 50%;
width: 24px;
height: 24px;
}
.step-not-visited .setup-wizard__pregress-step p {
color: rgba(83, 89, 99, 1);
}
.step-not-visited .setup-wizard__pregress-step p span {
border: 1px solid rgba(229, 232, 243, 1);
color: rgba(36, 34, 60, 0.2);
}
.step-active.setup-wizard__pregress-step {
background: var(--primary-color);
color: #ffffff;
}
.step-active.setup-wizard__pregress-step:before {
background: var(--primary-color);
border-right: none;
border-bottom: none;
}
.step-active.setup-wizard__pregress-step p {
font-weight: 600;
}
.step-active.setup-wizard__pregress-step p span {
border: 1px solid #ffffff;
}
.step-visited.setup-wizard__pregress-step {
background: #FFFFFF;
}
.step-visited.setup-wizard__pregress-step p {
font-weight: 600;
}
.step-visited.setup-wizard__pregress-step p span {
background: var(--primary-color);
display: flex;
align-items: center;
justify-content: center;
}
@media (max-width: 1023px) {
.setup-wizard__pregress-bar{
display: none ;
}
}