Newer
Older
.tfa-app-code {
code.qr {
display: none;
}
.qrcode img {
margin: auto;
width: 40%;
max-width: 50vw;
}
}
form.default {
.tfa-code-input {
text-align: center;
.tfa-code-wrapper {
display: inline-block;
font-size: 2em;
line-height: 2em;
margin: 0.5em 0;
}
input[type="number"] {
border: 0;
box-sizing: unset;
font-family: monospace;
height: 1em;
min-width: 0;
width: 1.5ex;
margin: 0;
padding: 0.5em 0.25em;
text-align: center;
vertical-align: top;
background-color: $activity-color-20;
color:$black;
outline: 0;
}
&:invalid {
box-shadow: none;
outline: 0;
}
&:nth-child(3) {
margin-right: 0.5em;
}
// Hide spinner elements
-moz-appearance: textfield;
&::-webkit-outer-spin-button,
&::-webkit-inner-spin-button {
/* display: none; <- Crashes Chrome on hover */
-webkit-appearance: none;
margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}
}
}
}