Retrospring/app/javascript/styles/components/_totp-setup.scss

76 lines
1.1 KiB
SCSS
Raw Normal View History

2020-10-23 15:13:14 -07:00
%totp-input {
font-family: "Monaco", "Inconsolata", "Cascadia Code", "Consolas", monospace;
2020-11-15 01:20:55 -08:00
width: 100px;
2020-10-23 15:13:14 -07:00
}
.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-11-15 01:20:55 -08:00
&__recovery {
&-container {
max-width: 455px;
}
&-icon {
font-size: .75in;
}
&-title {
text-align: left;
}
&-codes {
display: grid;
grid-template-columns: 1fr 1fr;
padding: 0;
li {
list-style-type: none;
font-size: 16px;
text-align: center;
}
}
}
2020-10-23 15:13:14 -07:00
}
#user_otp_attempt {
@extend %totp-input;
}