File size: 1,464 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
@import "@wordpress/base-styles/breakpoints";
@import "@wordpress/base-styles/mixins";
.clone-flow-step-progress {
display: flex;
justify-content: flex-start;
align-items: center;
&__step {
display: flex;
flex-direction: row;
align-items: center;
}
&__step-separator {
border: 1px solid var(--studio-gray-80);
width: 20px;
height: 0;
margin: 0 0.75rem;
@include break-medium {
width: 40px;
margin: 0 1.25rem;
}
}
&__step-circle {
width: 20px;
height: 20px;
display: flex;
border-radius: 50%;
justify-content: center;
align-content: center;
align-items: center;
font-size: 0.75rem;
}
&__step-name {
margin-left: 0.5rem;
white-space: nowrap;
}
&__step.step-current > &__step-circle {
background-color: var(--studio-gray-60);
border: 2px solid var(--studio-gray-60);
color: var(--studio-white);
}
&__step.step-next > &__step-circle {
border: 2px solid var(--studio-gray-60);
color: var(--studio-gray-80);
}
&__step.step-complete > &__step-circle {
background-color: var(--studio-jetpack-green-50);
border: 2px solid var(--studio-jetpack-green-50);
color: var(--studio-white);
}
&__step.step-next > &__step-name {
display: none;
@include break-medium {
display: flex;
}
}
&__step.step-complete > &__step-name,
&__step.step-complete > &__step-circle,
&__step.step-complete + &__step-separator {
display: none;
@include break-medium {
display: flex;
}
}
}
|