2020-10-24 00:13:14 +02:00
|
|
|
%totp-input {
|
|
|
|
font-family: "Monaco", "Inconsolata", "Cascadia Code", "Consolas", monospace;
|
|
|
|
width: 86px;
|
|
|
|
}
|
|
|
|
|
2020-10-18 19:48:12 +02:00
|
|
|
.totp-setup {
|
|
|
|
&__card {
|
|
|
|
background: var(--primary);
|
|
|
|
padding: 10px;
|
|
|
|
border-radius: 5px;
|
2020-10-23 20:45:06 +02:00
|
|
|
|
|
|
|
min-width: 256px;
|
|
|
|
max-width: 256px;
|
|
|
|
width: 100%;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__card-container {
|
|
|
|
min-width: 276px;
|
|
|
|
max-width: 276px;
|
|
|
|
width: 100%;
|
|
|
|
padding: 0;
|
2020-10-18 19:48:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__qr {
|
|
|
|
background: white;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__text {
|
|
|
|
background: #000;
|
|
|
|
color: #fff;
|
|
|
|
margin: 10px 0 0 0;
|
|
|
|
padding: 5px;
|
|
|
|
border-radius: 5px;
|
|
|
|
|
|
|
|
code {
|
2020-10-23 20:45:06 +02:00
|
|
|
display: block;
|
2020-10-18 19:48:12 +02:00
|
|
|
color: var(--warning);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__code-field {
|
2020-10-24 00:13:14 +02:00
|
|
|
@extend %totp-input;
|
2020-10-18 19:48:12 +02:00
|
|
|
}
|
2020-10-24 00:13:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#user_otp_attempt {
|
|
|
|
@extend %totp-input;
|
2020-10-18 19:48:12 +02:00
|
|
|
}
|