File size: 3,478 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 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 |
@import "@wordpress/base-styles/breakpoints";
@import "@wordpress/base-styles/mixins";
.step-wrapper__header {
display: flex;
justify-content: space-between;
align-items: center;
.formatted-header {
flex-grow: 1;
text-wrap: pretty;
}
@include breakpoint-deprecated( "<660px" ) {
flex-wrap: wrap;
}
}
.step-wrapper__skip-hr {
background: var(--color-primary-light);
max-width: 270px;
margin-bottom: 50px;
margin-top: -20px;
@include breakpoint-deprecated( "<660px" ) {
margin: 30px auto;
}
}
.step-wrapper__skip-heading {
color: var(--color-text-inverted);
}
.is-large-skip-layout .step-wrapper__buttons {
margin-bottom: 34px;
@include breakpoint-deprecated( "<660px" ) {
margin-bottom: 14px;
}
}
.step-wrapper__header-button {
@include breakpoint-deprecated( "<660px" ) {
flex-basis: 100%;
}
}
.step-wrapper__navigation.action-buttons {
display: flex;
align-items: center;
font-size: 0.875rem;
&:empty {
display: none;
}
@mixin unstick {
position: absolute;
top: 9px;
left: 56px;
right: 16px;
padding: 0;
border: none;
margin: 0;
background-color: transparent;
}
&.no-sticky {
@include unstick;
height: 36px;
}
&:not(.is-sticky) {
@include break-small {
@include unstick;
}
}
.step-wrapper__navigation-link {
font-size: 0.875rem;
font-weight: 500;
&.button.is-primary {
border-radius: 4px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
.signup__step.is-courses & {
color: #101517;
background-color: #fff;
border-color: transparent;
}
}
&.has-underline {
text-decoration: underline;
}
&.has-skip-heading {
transform: translateY(-3px);
// override unessecary super specificity added by another class
padding-top: 0 !important;
}
}
.step-wrapper__navigation-link.forward,
.step-wrapper__skip-wrapper {
margin-left: auto;
}
}
.step-wrapper__header-image {
margin-top: 64px;
display: none;
@include break-small {
display: block;
}
}
.layout:not(.dops) .step-wrapper {
max-width: 960px;
margin: 0 auto;
// Some steps (like plans) need a larger
// width column.
&.is-wide-layout {
max-width: 1040px;
}
// Some steps (like 2023 plans) need a larger width column
&.is-extra-wide-layout {
max-width: 1480px;
}
// Some steps (like courses) have their width limitation
&.is-full-layout {
max-width: unset;
}
// Some steps (intent gathering) use a horizontal layout
&.is-horizontal-layout {
align-items: flex-start;
justify-content: space-between;
max-width: 1024px;
padding: 0 20px;
margin-top: 28px;
@include break-small {
display: flex;
margin-top: 25vh;
}
.step-wrapper__header {
display: block;
margin-top: 0;
@include break-small {
padding-right: 20px;
}
}
}
// Skip button
.step-wrapper__buttons {
text-align: center;
margin-bottom: 20px;
}
.step-wrapper__header {
margin-top: 48px;
margin-bottom: 40px;
@include breakpoint-deprecated( "<660px" ) {
margin-top: 24px;
}
}
// On small screens remove the margin from the
// bottom of the cards.
@include breakpoint-deprecated( "<660px" ) {
.card {
margin-bottom: 0;
}
&.has-navigation {
padding-bottom: 60px;
}
}
}
.step-wrapper {
.help-center-step-button {
font-weight: 500;
margin-left: auto;
&__button {
font-size: rem(14px);
color: var( --studio-wordpress-blue );
text-decoration: underline;
&:hover {
text-decoration: none;
}
}
}
}
|