feat: boton de mostrar/ocultar clave en todos los campos de contraseña

Componente reutilizable PasswordInput (icono de ojo) usado en login, registro,
restablecer clave, cambiar clave, crear usuario y la clave SMTP de
Configuracion, para que el usuario pueda verificar que la esta escribiendo
correctamente.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Milton Gonzalez
2026-09-09 09:00:06 -05:00
parent e02ea9ad93
commit 869094c622
13 changed files with 74 additions and 13 deletions
+9
View File
@@ -124,6 +124,15 @@ button { font-family: inherit; }
.search-input input { padding-left: 32px; }
.search-input svg { position: absolute; left: 9px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: rgb(var(--muted)); }
/* --- Password reveal toggle: input queda dentro para no romper el layout de .field --- */
.password-input { position: relative; width: 100%; }
.password-input input { padding-right: 34px; }
.password-input .password-toggle {
position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
width: 28px; height: 28px;
}
.password-input .password-toggle svg { width: 16px; height: 16px; }
.list-card { background: rgb(var(--surface)); border: 1px solid rgb(var(--line)); border-radius: var(--r-lg); overflow: hidden; }
table.list-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.list-table th {