mirror of
https://github.com/zitadel/zitadel.git
synced 2025-04-27 18:20:51 +00:00

* permission restriction, member, login i18n input borders, secondary text * add touched js
14 lines
353 B
JavaScript
14 lines
353 B
JavaScript
let inputs = document.getElementsByTagName("input");
|
|
|
|
if (inputs && inputs.length) {
|
|
for (let input of inputs) {
|
|
input.addEventListener("focus", () => {
|
|
input.classList.add("lgn-focused");
|
|
});
|
|
input.addEventListener("blur", () => {
|
|
input.classList.add("lgn-touched");
|
|
input.classList.remove("lgn-focused");
|
|
});
|
|
}
|
|
}
|