fixed login page again

This commit is contained in:
2026-03-01 03:47:27 -05:00
parent 6f8f490edb
commit a899df96c8
3 changed files with 23 additions and 21 deletions

View File

@@ -170,39 +170,41 @@ body {
.form-group label {
position: absolute;
top: 1rem;
top: 1.125rem;
left: 1.25rem;
font-size: 0.875rem;
color: var(--fg3);
font-weight: 500;
pointer-events: none;
transition: all 0.25s ease;
background: var(--bg1);
padding: 0 0.375rem;
z-index: 2;
font-weight: 500;
}
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
top: -0.5rem;
left: 0.75rem;
font-size: 0.75rem;
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label {
top: -0.625rem;
left: 0.875rem;
font-size: 0.7rem;
color: var(--orange);
font-weight: 600;
}
.form-group input {
padding: 1.5rem 1.25rem 1rem;
padding: 1.625rem 1.25rem 1rem 1.25rem;
background: var(--bg0);
border: 2px solid var(--bg3);
border-radius: 12px;
font-size: 1rem;
color: var(--fg1);
transition: all 0.3s;
width: 100%;
}
.form-group input:focus {
border-color: var(--orange);
box-shadow: 0 0 0 4px rgba(214, 93, 14, 0.15);
box-shadow: 0 0 0 4px rgba(214, 93, 14, 0.2);
outline: none;
}