Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
@import "@wordpress/base-styles/breakpoints";
@import "@wordpress/base-styles/variables";
@import "@wordpress/base-styles/mixins";
.qr-code-login {
display: flex;
flex-direction: column;
clear: left;
gap: 16px 48px;
&:not(.is-error) {
margin-bottom: 48px;
}
@include break-small {
flex-direction: row-reverse;
}
.qr-code-login__instructions {
text-align: left;
line-height: 1.6;
.qr-code-login__steps {
margin: 16px 0 0 16px;
}
a {
font-weight: 500;
}
p {
margin-bottom: 0;
}
}
.qr-code-login__token {
width: 300px;
height: 300px;
flex: 0 0 300px;
margin: 0 auto 20px;
max-width: 100%;
max-height: calc(100vw - 48px);
svg {
max-width: 100%;
max-height: calc(100vw - 48px);
}
canvas {
max-width: 100%;
max-height: calc(100vw - 48px);
}
@include break-small {
margin: 0;
}
}
::after {
flex: 0 0 0;
}
}
.qr-code-login__token-error {
width: 100%;
margin-bottom: 0;
}
.qr-code-login__placeholder {
width: 100%;
height: 100%;
position: relative;
background-color: var(--color-neutral-0);
margin-bottom: 8px;
@include placeholder( --color-neutral-0 );
:nth-child(2) {
left: auto;
right: 0;
}
:nth-child(3) {
top: auto;
bottom: 0;
}
}
.qr-code-login__help-text.is-placeholder {
@include placeholder( --color-neutral-0 );
}
.qr-code-login__corner-box {
position: absolute;
border: 5px solid var(--color-neutral-0);
outline: 5px solid #fff;
background-color: var(--color-neutral-0);
width: 16px;
height: 16px;
top: 0;
left: 0;
}
.qr-code-login-jetpack {
display: flex;
flex-direction: column;
gap: 24px;
padding: 0 16px;
@include break-small {
padding: 0;
}
&:not(.is-error) {
margin-bottom: 48px;
}
.qr-code-login-jetpack__instructions {
.qr-code-login-jetpack__heading {
margin-bottom: 16px;
font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 32px;
font-weight: 500;
text-align: initial;
}
.qr-code-login-jetpack__steps {
margin: 0;
padding-inline-start: 20px;
font-size: 15px;
line-height: 24px;
.qr-code-login-jetpack__step {
text-align: start;
}
}
a {
color: var(--studio-jetpack-green-60, #007117);
}
}
.qr-code-login-jetpack__token {
width: 300px;
height: 300px;
max-width: 100%;
max-height: calc(100vw - 48px);
border: 1px solid var(--color-neutral-10);
border-radius: 4px;
padding: 16px;
svg {
max-width: 100%;
max-height: calc(100vw - 48px);
}
canvas {
max-width: 100%;
max-height: calc(100vw - 48px);
}
}
.qr-code-login-jetpack__notice {
text-align: initial;
color: var(--studio-jetpack-grey-50, #646970 );
@include body-medium;
}
}