Retrospring/app/assets/stylesheets/components/_totp-setup.scss

50 lines
751 B
SCSS
Raw Normal View History

2020-10-23 15:13:14 -07:00
%totp-input {
font-family: "Monaco", "Inconsolata", "Cascadia Code", "Consolas", monospace;
width: 86px;
}
.totp-setup {
&__card {
background: var(--primary);
padding: 10px;
border-radius: 5px;
2020-10-23 11:45:06 -07:00
min-width: 256px;
max-width: 256px;
width: 100%;
margin: 0 auto;
}
&__card-container {
min-width: 276px;
max-width: 276px;
width: 100%;
padding: 0;
}
&__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 11:45:06 -07:00
display: block;
color: var(--warning);
}
}
&__code-field {
2020-10-23 15:13:14 -07:00
@extend %totp-input;
}
2020-10-23 15:13:14 -07:00
}
#user_otp_attempt {
@extend %totp-input;
}