mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-21 15:56:24 +08:00
changed autofill input styling
This commit is contained in:
parent
a0d5392884
commit
127e51fa65
|
@ -78,6 +78,23 @@ input[type="number"] {
|
|||
-moz-appearance: textfield;
|
||||
}
|
||||
|
||||
/* Change Autocomplete styles in Chrome*/
|
||||
input:-webkit-autofill,
|
||||
input:-webkit-autofill:hover,
|
||||
input:-webkit-autofill:focus,
|
||||
textarea:-webkit-autofill,
|
||||
textarea:-webkit-autofill:hover,
|
||||
textarea:-webkit-autofill:focus,
|
||||
select:-webkit-autofill,
|
||||
select:-webkit-autofill:hover,
|
||||
select:-webkit-autofill:focus {
|
||||
border: none;
|
||||
outline: 2px solid var(--main-color);
|
||||
font-family: inherit;
|
||||
-webkit-text-fill-color: var(--text-color);
|
||||
-webkit-box-shadow: 0 0 0 1000000px var(--sub-alt-color) inset;
|
||||
}
|
||||
|
||||
.select2-dropdown {
|
||||
background-color: var(--bg-color);
|
||||
color: var(--text-color);
|
||||
|
|
Loading…
Reference in a new issue