fix(console, login): console - ensure permission is available, login - i18n fixes, input borders, lgn-touched script to add class on blur (#3760)

* permission restriction, member, login i18n input borders, secondary text

* add touched js
This commit is contained in:
Max Peintner
2022-06-07 11:25:56 +02:00
committed by GitHub
parent c1f59c7950
commit 233d80502d
30 changed files with 333 additions and 71 deletions

View File

@@ -0,0 +1,13 @@
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");
});
}
}