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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user