mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-09 13:44:29 +08:00
style: add focus visible to input and textarea
This commit is contained in:
parent
dd53122e0d
commit
5adee78cb8
1 changed files with 6 additions and 0 deletions
|
|
@ -10,6 +10,9 @@ textarea {
|
|||
font-family: var(--font);
|
||||
caret-color: var(--main-color);
|
||||
line-height: 1.25em;
|
||||
&:focus-visible {
|
||||
box-shadow: 0 0 0 0.15em var(--text-color);
|
||||
}
|
||||
}
|
||||
|
||||
textarea {
|
||||
|
|
@ -53,6 +56,9 @@ input[type="range"] {
|
|||
cursor: grabbing;
|
||||
}
|
||||
}
|
||||
&:focus-visible {
|
||||
box-shadow: 0 0 0 0.15em var(--text-color);
|
||||
}
|
||||
}
|
||||
|
||||
input[type="color"] {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue