File size: 1,736 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 |
@import "@automattic/onboarding/styles/mixins";
@import "@wordpress/base-styles/breakpoints";
@import "@wordpress/base-styles/mixins";
$breakpoint-mobile: 782px; //Mobile size.
form {
margin-left: auto;
margin-right: auto;
align-items: center;
@include break-medium {
align-items: unset;
}
}
.layout:not(.is-grav-powered-client) {
.login {
display: flex;
flex-direction: column;
justify-content: center;
gap: 2rem; // Should match OneLoginLayout styles.
}
form {
max-width: 400px;
&.is-social-first {
display: flex;
flex-direction: column;
justify-content: center;
max-width: 758px;
margin: 0;
@media (min-width: $breakpoint-mobile) {
flex-direction: row;
}
.card.login__form,
.card.auth-form__social {
width: 100%;
max-width: var(--login-form-column-max-width);
margin: 0;
}
.card.login__form:not(:lang(en)):not(:lang(ko)):not(:lang(zh)),
.card.auth-form__social:not(:lang(en)):not(:lang(ko)):not(:lang(zh)) {
flex-shrink: 0;
}
.card.login__form {
display: flex;
flex-direction: column;
justify-content: center;
padding: 0 16px;
}
.login-form__validation-error-wrapper {
margin-bottom: 0;
}
}
}
}
.is-jetpack .login__form-account-tip {
margin-block-start: -8px;
font-size: 0.75rem;
}
.login__form-jetpack {
.card.login__form {
box-shadow: none;
padding: 16px 16px 24px;
clip-path: unset;
@include break-mobile {
padding: 16px 0 24px;
}
}
.login__form-jetpack-terms {
margin-top: 24px;
color: var(--studio-gray-50, #646970);
@include body-small;
line-height: 20px;
word-wrap: break-word;
a {
color: var(--studio-gray-50, #646970);
text-decoration: underline;
}
}
}
|