File size: 2,236 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 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | @import "@wordpress/base-styles/breakpoints";
@import "@wordpress/base-styles/mixins";
@import "@wordpress/base-styles/variables";
@media (max-width: 660px) {
.hosting-dashboard-layout__header-title {
// A4A hides a part of LayoutHeader since it displays a different header for mobile
display: none;
}
}
.a4a-layout__banner {
margin-inline: 0;
max-height: 100%;
margin-block: 24px;
&:not( .a4a-layout__banner--full-width ) > * {
@include breakpoint-deprecated( ">660px" ) {
max-width: 1500px;
margin-inline: auto !important;
}
}
@include breakpoint-deprecated( ">660px" ) {
margin-block-start: 0;
}
}
.a4a-layout__stepper {
display: flex;
justify-content: flex-start;
align-items: center;
margin-block: 16px 32px;
}
.a4a-layout__stepper-step {
display: flex;
flex-direction: row;
align-items: center;
.a4a-layout__stepper-step-circle {
width: 20px;
height: 20px;
display: flex;
border-radius: 50%;
justify-content: center;
align-content: center;
align-items: center;
@include body-small;
}
.a4a-layout__stepper-step-name {
margin-left: 0.5rem;
white-space: nowrap;
}
.hosting-dashboard-layout__viewport {
margin-inline-start: 0;
}
&.is-current > .a4a-layout__stepper-step-circle {
background-color: var(--color-neutral-60);
border: 2px solid var(--color-neutral-60);
color: var(--color-text-inverted);
}
&.is-next > .a4a-layout__stepper-step-circle {
border: 2px solid var(--color-neutral-60);
color: var(--color-neutral-80);
}
&.is-complete > .a4a-layout__stepper-step-circle {
background-color: var(--color-primary-50);
border: 2px solid var(--color-primary-50);
color: var(--color-text-inverted);
}
&.is-next > .a4a-layout__stepper-step-name {
display: none;
@include break-medium {
display: flex;
}
}
&.is-complete > .a4a-layout__stepper-step-name,
&.is-complete > .a4a-layout__stepper-step-circle,
&.is-complete + .a4a-layout__stepper-step-separator {
display: none;
@include break-medium {
display: flex;
}
}
}
.a4a-layout__stepper-step-separator {
border: 1px solid var(--color-neutral-80);
width: 20px;
height: 0;
margin: 0 0.75rem;
@include break-medium {
width: 40px;
margin: 0 1.25rem;
}
}
|