mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
style(experience): remove autofill style from input component (#6261)
This commit is contained in:
parent
f8f14c0ba7
commit
4bd9a4a1af
1 changed files with 12 additions and 0 deletions
|
@ -32,6 +32,18 @@
|
||||||
transition: opacity 0.2s ease-out;
|
transition: opacity 0.2s ease-out;
|
||||||
opacity: 0%;
|
opacity: 0%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:-webkit-autofill,
|
||||||
|
&:-webkit-autofill:hover,
|
||||||
|
&:-webkit-autofill:focus {
|
||||||
|
-webkit-text-fill-color: var(--color-type-primary);
|
||||||
|
/*
|
||||||
|
* Create an extremely long (about 11.57 days) transition for background-color
|
||||||
|
* This is a "hack" to prevent the browser from applying its default autofill background color
|
||||||
|
*/
|
||||||
|
transition: background-color 999999s ease-in-out 0s;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.suffix {
|
.suffix {
|
||||||
|
|
Loading…
Reference in a new issue