input: restore validate on tab key, select whole value on focus, adjust color hints

This commit is contained in:
jean-emmanuel 2018-12-31 15:39:12 +01:00
parent 214a95e816
commit 3831631f0a
3 changed files with 18 additions and 5 deletions

View file

@ -24,7 +24,7 @@
display: flex;
flex: 1 1 100%;
background:transparent;
color:var(--color-text-fade);
color:var(--color-text);
overflow: hidden;
text-align:center;
padding:1rem;
@ -55,7 +55,11 @@
-webkit-user-select: text;
user-select: text;
&:focus {
color:var(--color-text-fade);
}
&:focus::selection {
color:var(--color-custom);
background: transparent;
}
}
canvas {