File size: 1,922 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 |
@import "@automattic/onboarding/styles/mixins";
@import "@wordpress/base-styles/breakpoints";
@import "@wordpress/base-styles/mixins";
.wp-login__container .is-social-first .login__form span.last-used-authentication-method {
margin-bottom: 5px;
font-size: 0.875rem;
font-weight: 600;
& + .social-buttons__button.magic-login-link > span.social-buttons__service-name {
max-width: 295px;
margin-right: -10px;
}
}
.auth-form__social.is-login {
margin-bottom: 0;
/**
* Social First Logins
*/
&.is-social-first {
padding: 0 0 0 1px;
.auth-form__social-buttons {
display: flex;
flex-direction: column;
.auth-form__social-buttons-container {
gap: 16px;
display: flex;
flex-direction: column;
width: 100%;
}
}
}
padding: 16px;
@include break-mobile {
padding: 24px 0;
}
}
.auth-form__social {
box-shadow: none;
.auth-form__social-buttons {
display: flex;
flex-direction: column;
}
.auth-form__social-buttons-container {
gap: 10px;
display: flex;
flex-direction: column;
}
/**
* Social First Logins
*/
&.is-social-first {
padding: 0 0 0 1px;
.auth-form__social-buttons {
display: flex;
flex-direction: column;
.auth-form__social-buttons-container {
gap: 16px;
display: flex;
flex-direction: column;
width: 100%;
}
}
}
/**
* Jetpack Login
*/
@at-root .is-jetpack-login & {
padding: 16px;
@include break-mobile {
padding: 24px;
}
}
/**
* Crowdsignal Login
*/
@at-root .crowdsignal & {
.auth-form__social-buttons .auth-form__social-buttons-container .social-buttons__button {
display: none;
&.google {
display: inline-flex;
@include break-medium {
margin-bottom: 40px;
}
}
}
}
/**
* Jetpack Cloud
*/
@at-root .jetpack-cloud & {
max-width: 375px;
width: 100%;
padding: 16px;
margin-bottom: 0;
@include break-mobile {
padding: 24px;
}
}
}
|