add more validations

This commit is contained in:
Laux Dev
2026-03-05 16:03:31 +08:00
parent dae12d74ee
commit b3f7427e95
17 changed files with 590 additions and 98 deletions

View File

@@ -19,13 +19,11 @@
line-height: normal;
caret-color: #575bc7;
}
.input:focus,
.input:active {
.input:focus {
border-radius: 6px;
border: 1px solid #959aff;
background: rgba(75, 79, 109, 0.25);
}
.input:active::placeholder,
.input:focus::placeholder {
color: #4b4f6d;
font-family: Inter;
@@ -54,6 +52,8 @@
pointer-events: none;
user-select: none;
}
.input:invalid {
.error,
.error:focus,
.error:hover {
border: 1px solid #b43939;
}