Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
@import "@automattic/onboarding/styles/mixins";
@import "@wordpress/base-styles/breakpoints";
@import "@wordpress/base-styles/mixins";
@import "@automattic/calypso-color-schemes";
@import "@automattic/typography/styles/variables";
@media (max-height: 450px) {
.magic-login__handle-link,
.magic-login__check-email,
.magic-login__link-expired {
img {
margin-top: -45px;
max-height: 180px;
}
.empty-content__title {
font-size: 90%;
}
.empty-content__line {
margin-bottom: 2.8rem;
}
}
}
.layout.is-jetpack-login:not(.woo) {
&, .empty-content__title {
font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.empty-content__title {
color: var(--studio-black);
font-size: 2rem;
font-weight: 500;
line-height: 40px;
margin-bottom: 1rem;
}
.magic-login {
.magic-login__form-form {
box-shadow: none;
}
.magic-login__form-header {
font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.magic-login__successfully-jetpack {
padding: 0 24px 0 24px;
}
&__loading-spinner--jetpack {
color: var(--studio-jetpack-green-40, #069e08 );
height: 48px;
left: 50%;
margin-top: 40px;
transform: translateX(-50%);
width: 48px;
}
}
.magic-login__link-expired {
padding-inline: 1rem;
padding-top: 0;
margin: 0 auto;
}
.empty-content__action.is-primary {
background-color: var(--studio-jetpack-green-60);
border-color: var(--studio-jetpack-green-60);
}
}
.magic-login__successfully-jetpack-actions {
color: var(--studio-jetpack-grey-50, #646970 );
font-size: 14px;
font-weight: 400;
line-height: 20px;
word-wrap: break-word;
text-align: center;
margin-top: 45px;
margin-bottom: 45px;
.magic-login__resend-button {
font-size: 100%;
color: var(--studio-jetpack-green-60, #007117 );
&:hover {
color: var(--studio-jetpack-green-60, #007117 );
}
}
.magic-login__log-in-link {
color: var(--studio-jetpack-green-60, #007117 );
}
> p {
margin-bottom: 4px;
}
}
.layout.is-wpcom-magic-login {
.magic-login__form-header-icon {
text-align: center;
img {
border-radius: 4px;
}
}
.magic-login .magic-login__form-header {
margin-bottom: 0;
/* stylelint-disable-next-line declaration-property-unit-allowed-list */
line-height: 120%;
@include break-mobile {
font-size: $font-title-large;
}
}
.logged-out-form {
.form-label {
font-weight: 400;
}
}
.magic-login__form-action {
margin-top: 16px;
}
}
.magic-login__link-expired {
max-width: 450px;
text-align: start;
.empty-content__line {
font-size: $font-body;
margin-bottom: 2.8rem;
font-weight: 400;
color: var(--studio-gray-100)
}
.empty-content__action {
width: 100%;
margin: 0 0 1rem;
border-radius: 4px;
font-size: 15px;
font-weight: 500;
line-height: 20px;
padding: 0.75rem 1.5rem;
}
}
.layout:not(.is-grav-powered-client) .magic-login__handle-link,
.layout:not(.is-grav-powered-client) .magic-login__link-expired {
.empty-content__title {
font-family: $brand-serif;
font-size: rem(42px);
line-height: 1.2;
margin-bottom: 15px;
}
.button.is-primary:not([disabled]) {
background-color: #007cba;
border-color: #007cba;
}
}
.magic-login__handle-link.jetpack {
.jetpack-logo {
margin: 35px 0;
}
}
.magic-login__request-link {
max-width: 400px;
}
.magic-login__form {
margin-bottom: 0;
padding-top: 4px;
.magic-login__form-text {
text-align: center;
strong {
font-weight: 700;
display: flex;
flex-direction: column;
}
}
p {
margin-bottom: 0;
}
.logged-out-form {
border-radius: 0;
box-shadow: 0 0 0 1px var(--color-border-subtle);
margin: 0 auto;
max-width: 400px;
p {
margin-bottom: 20px;
}
}
.magic-login__form-header-notice {
margin-top: 16px;
}
}
.grav-powered-magic-login__form-header {
font-size: $font-title-small;
margin-bottom: 24px;
margin-top: 16px;
text-align: center;
body.is-section-signup & {
color: var(--color-text-inverted);
}
}
.magic-login__form-action {
margin-top: 20px;
button {
width: 100%;
}
.form-button:last-child {
margin-right: 0;
}
}
.magic-login__footer {
margin: 4px 0 48px 0;
text-align: center;
a {
border-bottom: 1px solid #c8d7e1;
color: var(--studio-gray-90);
display: block;
font-size: $font-body-small;
font-weight: 600;
text-align: center;
text-decoration: underline;
&:hover {
color: var(--color-primary);
}
&:last-of-type {
border-bottom: none;
}
body.is-section-signup & {
color: var(--color-text-inverted);
}
}
.gridicon {
vertical-align: text-bottom;
}
p {
font-size: $font-body-small;
// Matches magic link email
a {
display: inline;
padding: 0;
line-height: 20px;
padding-left: 4px;
}
}
}
.magic-login__check-email-image {
display: block;
height: 132px;
margin: 0 auto 1.5em;
}
.magic-login__check-email-image.jetpack {
height: 240px;
}
.magic-login:not(.is-grav-powered-client) {
.magic-login__form-header {
@include onboarding-heading-text-mobile;
@include break-mobile {
@include onboarding-heading-text;
}
}
.logged-out-form {
.form-label {
color: var(--studio-gray-60);
}
}
.card {
background: transparent;
box-shadow: none;
}
.magic-login__form-action .button.is-primary:not([disabled]) {
background-color: #3858e9;
border-color: #3858e9;
color: var(--studio-white);
}
}
.is-section-login .app-promo.magic-link-app-promo {
margin-top: 3em;
box-shadow: 0 0 0 1px var(--color-border-subtle) inset;
border-radius: 16px; /* stylelint-disable-line scales/radii */
font-weight: 400;
letter-spacing: -0.4px;
.app-promo__title {
margin: 16px 0;
}
.app-promo__icon {
width: auto;
}
@include break-mobile {
.app-promo__icon {
height: 40px;
width: auto;
}
}
.card-heading {
font-family: $brand-serif;
}
.app-promo__qr-code {
display: flex;
margin: 0;
.app-promo__qr-code-canvas {
flex: 0 0 100px;
order: 1;
}
.get-apps__card-text {
padding: 0 20px 0 0;
}
}
}
.magic-login__tos {
font-size: $font-body-extra-small;
margin: 20px 0 20px;
text-align: left;
a {
@include break-mobile {
white-space: pre;
}
}
}
/* stylelint-disable scales/font-weights */
.grav-powered-magic-login {
max-width: 480px;
font-size: 14px;
line-height: 1.5;
&.grav-powered-magic-login--has-sub-header {
.grav-powered-magic-login__form-header {
margin-bottom: 3px;
}
}
&.grav-powered-magic-login--wp-job-manager {
max-width: 560px;
font-size: 16px;
a,
.grav-powered-magic-login__content a,
.grav-powered-magic-login__footer button {
color: #2404eb;
}
.magic-login__form-action button[type="submit"].components-button.is-primary {
min-height: unset;
margin-top: 0;
border-radius: 2px;
&.is-busy {
background-image: linear-gradient(-45deg, #2404eb 33%, darken(#2404eb, 10%) 33%, darken(#2404eb, 10%) 70%, #2404eb 70%);
}
&,
&:disabled {
background-color: #2404eb;
}
&:hover:not(&:disabled),
&:focus {
background-color: darken(#2404eb, 10%);
}
}
.grav-powered-magic-login__content {
padding-left: 30px;
padding-right: 30px;
border-radius: 2px;
.calypso-notice__icon-wrapper {
display: flex;
}
.calypso-notice__content {
padding: 13px 13px 13px 0;
}
}
.grav-powered-magic-login__header,
.grav-powered-magic-login__form-header {
font-size: 24px;
margin: 32px 0 24px;
}
.grav-powered-magic-login__sub-header {
margin-bottom: 52px;
}
.grav-powered-magic-login__tos {
margin: 32px 0 20px;
text-align: center;
font-size: 13px;
}
.grav-powered-magic-login__divider {
background-color: #e7e9ea;
width: 80px;
margin: 20px 0;
&.grav-powered-magic-login__divider--email-form {
margin-left: auto;
margin-right: auto;
}
}
.grav-powered-magic-login__footer {
align-items: start;
gap: 16px;
font-size: 15px;
color: #949494;
margin-top: 0;
&.grav-powered-magic-login__footer--email-form {
font-size: 16px;
align-items: center;
}
}
}
button[type="submit"].form-button.is-primary,
.magic-login__form-action button[type="submit"].components-button.is-primary {
width: 100%;
min-height: 50px;
margin-top: 24px;
border-radius: 4px;
&.is-busy {
background-image: linear-gradient(-50deg, #1d4fc4 33%, darken(#1d4fc4, 10%) 33%, darken(#1d4fc4, 10%) 70%, #1d4fc4 70%);
}
&:disabled {
opacity: 0.3;
color: #fff;
cursor: not-allowed;
}
}
.grav-powered-magic-login__content,
.grav-powered-magic-login__gravatar-info,
input[type="text"].form-text-input,
button {
font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.grav-powered-magic-login__content {
background-color: #fff;
color: #101517;
/* stylelint-disable-next-line scales/radii */
border-radius: 8px;
padding: 20px;
.calypso-notice__icon-wrapper {
display: none;
}
.calypso-notice__content {
padding: 10px 0 0;
}
a {
color: #1d4fc4;
text-decoration: underline;
}
}
.grav-powered-magic-login__header,
.grav-powered-magic-login__form-header {
font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 32px;
font-weight: 900;
line-height: 1.2;
text-align: left;
margin: 24px 0;
}
.grav-powered-magic-login__sub-header,
p.grav-powered-magic-login__form-sub-header {
margin-bottom: 24px;
}
.grav-powered-magic-login__sub-header {
word-break: break-word;
strong {
font-weight: 700;
}
}
p.grav-powered-magic-login__form-sub-header {
font-size: 13px;
color: #50575e;
}
.grav-powered-magic-login__account-info {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.grav-powered-magic-login__masked-email-address {
margin-right: 10px;
word-break: break-word;
strong {
font-weight: 700;
}
}
.logged-out-form {
max-width: 100%;
padding: 0;
box-shadow: none;
}
.magic-login__email-fields {
margin-bottom: 0;
}
// Hide the label, but keep it for accessibility
.form-label {
position: absolute;
clip: rect(0 0 0 0);
}
input[type="text"].form-text-input {
padding: 14px 16px;
border-color: #9ea4a8;
line-height: 1.5;
&::placeholder {
color: #9ea4a8;
}
}
.grav-powered-magic-login__tos {
margin-bottom: 24px;
color: rgba(#00101c, 0.6);
}
.magic-login__form-action {
margin-top: 0;
}
.grav-powered-magic-login__feature-items {
display: flex;
flex-direction: column;
gap: 24px;
margin: 40px 0;
}
.grav-powered-magic-login__feature-item {
display: flex;
align-items: center;
font-size: 13px;
}
.grav-powered-magic-login__feature-icon {
margin-right: 10px;
}
.grav-powered-magic-login__feature-header {
font-weight: 700;
}
.grav-powered-magic-login__feature-sub-header {
color: #50575e;
margin-bottom: 0;
}
.grav-powered-magic-login__verification-code-form {
display: flex;
flex-direction: column;
margin-top: 24px;
}
.grav-powered-magic-login__account-options {
display: flex;
flex-direction: column;
gap: 20px;
margin: 40px 0 24px;
}
.grav-powered-magic-login__account-option {
display: flex;
align-items: center;
padding: 20px;
border: 1px solid #f0f0f0;
border-radius: 4px;
gap: 20px;
cursor: pointer;
&::before {
content: "";
display: inline-block;
min-width: 19px;
min-height: 20px;
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMCAyMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3QgeD0iMC41IiB5PSIxIiB3aWR0aD0iMTkiIGhlaWdodD0iMTkiIHJ4PSI5LjUiIGZpbGw9IndoaXRlIi8+CjxyZWN0IHg9IjAuNSIgeT0iMSIgd2lkdGg9IjE5IiBoZWlnaHQ9IjE5IiByeD0iOS41IiBzdHJva2U9IiM5NDk0OTQiLz4KPC9zdmc+Cg==);
background-size: cover;
}
&:disabled {
opacity: 0.5;
}
&.grav-powered-magic-login__account-option--selected {
background: #f0f0f0;
&::before {
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMCAyMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3QgeT0iMC41IiB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHJ4PSIxMCIgZmlsbD0iIzM4NThFOSIvPgo8cmVjdCB4PSI2IiB5PSI2LjUiIHdpZHRoPSI4IiBoZWlnaHQ9IjgiIHJ4PSI0IiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K);
}
}
}
.grav-powered-magic-login__footer {
display: flex;
flex-direction: column;
flex-wrap: wrap;
align-items: center;
font-size: 16px;
line-height: 1;
margin-top: 24px;
gap: 24px;
button {
color: #1d4fc4;
font-size: inherit;
text-align: left;
cursor: pointer;
text-decoration: underline;
}
}
.grav-powered-magic-login__show-magic-login {
margin-top: 16px;
}
.grav-powered-magic-login__gravatar-info {
margin-top: 32px;
padding: 0 30px;
}
.grav-powered-magic-login__gravatar-info-heading {
display: flex;
align-items: center;
font-size: 14px;
color: rgba(#00101c, 0.8);
margin-bottom: 20px;
img {
margin-right: 8px;
}
}
.grav-powered-magic-login__gravatar-info-items {
display: flex;
flex-direction: column;
gap: 10px;
font-size: 13px;
color: #646970;
}
.gridicons-checkmark {
margin-right: 8px;
transform: translateY(4px);
}
@include break-small {
&.grav-powered-magic-login--wp-job-manager {
.grav-powered-magic-login__content {
padding-left: 56px;
padding-right: 56px;
}
.grav-powered-magic-login__header,
.grav-powered-magic-login__form-header {
font-size: 40px;
margin-top: 48px;
}
.grav-powered-magic-login__sub-header {
margin-bottom: 80px;
strong {
display: block;
}
}
.grav-powered-magic-login__tos {
margin-top: 44px;
}
.grav-powered-magic-login__footer {
flex-direction: column;
}
}
.grav-powered-magic-login__content {
padding: 40px 56px;
}
.grav-powered-magic-login__header,
.grav-powered-magic-login__form-header {
font-size: 40px;
}
.grav-powered-magic-login__form-header,
p.grav-powered-magic-login__form-sub-header {
margin-bottom: 40px;
}
.grav-powered-magic-login__footer {
flex-direction: row;
justify-content: space-between;
gap: 0;
&.grav-powered-magic-login__footer--vertical {
flex-direction: column;
align-items: start;
gap: 16px;
}
}
.grav-powered-magic-login__show-magic-login {
margin-top: 0;
}
.grav-powered-magic-login__gravatar-info {
margin-top: 40px;
padding: unset;
}
}
}
.grav-powered-magic-link {
display: flex;
flex-direction: column;
align-items: center;
&.grav-powered-magic-link--wp-job-manager .button.is-primary {
background-color: #2404eb;
}
.button.is-primary {
height: 42px;
font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
background-color: #1d4fc4;
font-size: 16px;
font-weight: 600;
color: #fff;
border: none;
}
}
/* stylelint-enable scales/font-weights */
.magic-login__a4a-logo {
display: block;
margin: 0 auto;
}
.card.magic-login__verify-code-form {
--magic-login-error-color: #cc1818;
padding: 0;
box-shadow: none;
border: none;
}
.magic-login__verify-code-field-container {
display: flex;
gap: 16px;
justify-content: space-between;
margin-top: 45px;
margin-bottom: 32px;
.form-text-input.magic-login__verify-code-character-field {
max-width: 61px;
height: 64px;
text-align: center;
padding: 0;
border: 1px solid var(--color-neutral-5, #dcdcdc);
border-radius: 4px;
@include heading-2x-large;
&:first-child {
margin-inline-start: 0;
}
&:last-child {
margin-inline-end: 0;
}
&:focus {
border: 2px solid var(--studio-jetpack-green-50, #008710);
box-shadow: none;
}
}
}
.magic-login__verify-code-form--error {
.magic-login__verify-code-field-container {
margin-bottom: 12px;
.form-text-input.magic-login__verify-code-character-field {
border-color: var(--magic-login-error-color);
background-color: color-mix(in srgb, var(--magic-login-error-color) 5%, var(--studio-white, #fff) 95%);
}
}
.magic-login__verify-code-error-message {
@include body-large;
color: var(--magic-login-error-color);
margin-bottom: 32px;
}
}