| 1 |
@import "../base/variables"; |
| 2 |
|
| 3 |
.hostinger-woocommerce-onboarding-page { |
| 4 |
|
| 5 |
#wpwrap, |
| 6 |
#wpcontent, |
| 7 |
#wpbody { |
| 8 |
height: 100%; |
| 9 |
} |
| 10 |
|
| 11 |
#wpbody-content { |
| 12 |
display: flex; |
| 13 |
height: 100%; |
| 14 |
flex-direction: column; |
| 15 |
padding-bottom: 0; |
| 16 |
} |
| 17 |
} |
| 18 |
|
| 19 |
.hostinger-woo-onboarding { |
| 20 |
position: relative; |
| 21 |
display: flex; |
| 22 |
align-items: center; |
| 23 |
justify-content: center; |
| 24 |
background: $white; |
| 25 |
font-feature-settings: 'clig' off, 'liga' off; |
| 26 |
flex: 1; |
| 27 |
|
| 28 |
&--is-loading { |
| 29 |
|
| 30 |
&:after { |
| 31 |
content: ''; |
| 32 |
position: absolute; |
| 33 |
left: 0; |
| 34 |
top: 0; |
| 35 |
right: 0; |
| 36 |
bottom: 0; |
| 37 |
width: 100%; |
| 38 |
height: 100%; |
| 39 |
background: rgba(255, 255, 255, 0.7); |
| 40 |
} |
| 41 |
} |
| 42 |
|
| 43 |
&__wrap { |
| 44 |
display: flex; |
| 45 |
gap: 30px; |
| 46 |
margin: 30px; |
| 47 |
|
| 48 |
@media (max-width: 1090px) { |
| 49 |
flex-direction: column; |
| 50 |
} |
| 51 |
} |
| 52 |
|
| 53 |
&__column { |
| 54 |
display: flex; |
| 55 |
align-items: center; |
| 56 |
justify-content: center; |
| 57 |
flex-direction: column; |
| 58 |
|
| 59 |
&--is-first { |
| 60 |
max-width: 540px; |
| 61 |
|
| 62 |
@media (max-width: 1090px) { |
| 63 |
order: 2; |
| 64 |
} |
| 65 |
} |
| 66 |
|
| 67 |
&--is-second { |
| 68 |
@media (max-width: 1090px) { |
| 69 |
order: 1; |
| 70 |
} |
| 71 |
} |
| 72 |
} |
| 73 |
|
| 74 |
&__image { |
| 75 |
@media (max-width: 1350px) { |
| 76 |
max-height: 300px; |
| 77 |
} |
| 78 |
|
| 79 |
@media (max-width: 550px) { |
| 80 |
max-height: 220px; |
| 81 |
} |
| 82 |
} |
| 83 |
|
| 84 |
&__welcome-heading { |
| 85 |
margin-bottom: 16px; |
| 86 |
margin-right: auto; |
| 87 |
|
| 88 |
h2 { |
| 89 |
color: $dark; |
| 90 |
font-feature-settings: 'clig' off, 'liga' off; |
| 91 |
font-size: 24px; |
| 92 |
font-style: normal; |
| 93 |
font-weight: 700; |
| 94 |
line-height: 32px; |
| 95 |
} |
| 96 |
} |
| 97 |
|
| 98 |
&__welcome-paragraph { |
| 99 |
margin-bottom: 32px; |
| 100 |
|
| 101 |
p { |
| 102 |
color: $dark; |
| 103 |
font-size: 14px; |
| 104 |
font-style: normal; |
| 105 |
font-weight: 400; |
| 106 |
line-height: 24px; |
| 107 |
} |
| 108 |
} |
| 109 |
|
| 110 |
&__radio-wrap { |
| 111 |
position: relative; |
| 112 |
margin-bottom: 24px; |
| 113 |
|
| 114 |
&:last-of-type { |
| 115 |
margin-bottom: 0; |
| 116 |
} |
| 117 |
|
| 118 |
input { |
| 119 |
position: absolute; |
| 120 |
opacity: 0; |
| 121 |
cursor: pointer; |
| 122 |
height: 0; |
| 123 |
width: 0; |
| 124 |
|
| 125 |
&:checked ~ .hostinger-woo-onboarding__radio-label { |
| 126 |
border: 2px solid #673DE6; |
| 127 |
} |
| 128 |
|
| 129 |
&:checked ~ .hostinger-woo-onboarding__radio-label:after { |
| 130 |
content: ''; |
| 131 |
position: absolute; |
| 132 |
left: 31px; |
| 133 |
right: 0; |
| 134 |
top: 36px; |
| 135 |
bottom: 0; |
| 136 |
width: 10px; |
| 137 |
height: 10px; |
| 138 |
border-radius: 20px; |
| 139 |
background: #673DE6; |
| 140 |
} |
| 141 |
} |
| 142 |
} |
| 143 |
|
| 144 |
&__radio-label { |
| 145 |
display: block; |
| 146 |
padding: 24px 24px 24px 64px; |
| 147 |
border: 2px solid $border-gray; |
| 148 |
border-radius: 8px; |
| 149 |
box-sizing: border-box; |
| 150 |
|
| 151 |
&:before { |
| 152 |
content: ''; |
| 153 |
position: absolute; |
| 154 |
left: 24px; |
| 155 |
right: 0; |
| 156 |
top: 29px; |
| 157 |
bottom: 0; |
| 158 |
width: 20px; |
| 159 |
height: 20px; |
| 160 |
border-radius: 20px; |
| 161 |
border: 2px solid #673DE6; |
| 162 |
} |
| 163 |
} |
| 164 |
|
| 165 |
&__radio-label-title { |
| 166 |
display: flex; |
| 167 |
align-items: center; |
| 168 |
color: $dark; |
| 169 |
font-size: 20px; |
| 170 |
font-style: normal; |
| 171 |
font-weight: 700; |
| 172 |
line-height: 32px; |
| 173 |
margin-bottom: 4px; |
| 174 |
|
| 175 |
@media (max-width: 550px) { |
| 176 |
flex-direction: column; |
| 177 |
align-items: flex-start; |
| 178 |
} |
| 179 |
} |
| 180 |
|
| 181 |
&__radio-label-description { |
| 182 |
color: $gray-dark; |
| 183 |
font-size: 14px; |
| 184 |
font-style: normal; |
| 185 |
font-weight: 400; |
| 186 |
line-height: 24px; |
| 187 |
} |
| 188 |
|
| 189 |
&__info-label { |
| 190 |
display: inline-flex; |
| 191 |
padding: 4px 8px; |
| 192 |
align-items: center; |
| 193 |
gap: 10px; |
| 194 |
border-radius: 4px; |
| 195 |
font-size: 12px; |
| 196 |
font-style: normal; |
| 197 |
font-weight: 700; |
| 198 |
line-height: 16px; |
| 199 |
text-transform: uppercase; |
| 200 |
margin-left: 8px; |
| 201 |
|
| 202 |
@media (max-width: 550px) { |
| 203 |
margin-left: 0; |
| 204 |
display: flex; |
| 205 |
} |
| 206 |
|
| 207 |
&--is-green { |
| 208 |
color: #008361; |
| 209 |
background: #DEF4F0; |
| 210 |
} |
| 211 |
} |
| 212 |
|
| 213 |
&__button-wrap { |
| 214 |
margin-top: 40px; |
| 215 |
display: flex; |
| 216 |
width: 100%; |
| 217 |
|
| 218 |
@media (max-width: 550px) { |
| 219 |
margin-top: 20px; |
| 220 |
flex-wrap: wrap; |
| 221 |
} |
| 222 |
|
| 223 |
.hsr-btn { |
| 224 |
display: inline-flex; |
| 225 |
align-items: center; |
| 226 |
justify-content: center; |
| 227 |
height: 46px; |
| 228 |
padding: 0px 32px; |
| 229 |
line-height: 48px; |
| 230 |
|
| 231 |
@media (max-width: 550px) { |
| 232 |
display: flex; |
| 233 |
width: 100%; |
| 234 |
margin-bottom: 16px; |
| 235 |
margin-right: 0; |
| 236 |
} |
| 237 |
|
| 238 |
&:first-of-type { |
| 239 |
margin-right: 16px; |
| 240 |
|
| 241 |
@media (max-width: 550px) { |
| 242 |
margin-right: 0; |
| 243 |
} |
| 244 |
} |
| 245 |
|
| 246 |
&:last-of-type { |
| 247 |
|
| 248 |
@media (max-width: 550px) { |
| 249 |
margin-bottom: 0px; |
| 250 |
} |
| 251 |
} |
| 252 |
|
| 253 |
&.hsr-primary-btn { |
| 254 |
border: 1px solid #673DE6; |
| 255 |
} |
| 256 |
|
| 257 |
svg { |
| 258 |
margin-right: 10px; |
| 259 |
} |
| 260 |
} |
| 261 |
} |
| 262 |
} |
| 263 |
|