Files
front-Censo/src/app/styles/layout/ForgotPasswordPage.scss
T

200 lines
3.7 KiB
SCSS
Raw Normal View History

2025-11-04 13:15:59 -06:00
// =====================================
2025-11-26 16:18:13 -06:00
// Forgot Password / Update User Page
// Estilo igual al LOGIN (bordes azules,
// contenedor blanco, título amarillo)
2025-11-04 13:15:59 -06:00
// =====================================
.forgot-password-page {
display: flex;
justify-content: center;
2025-11-26 16:18:13 -06:00
align-items: center;
width: 100%;
2025-11-26 16:18:13 -06:00
min-height: 100vh;
2025-11-04 13:15:59 -06:00
padding: 2rem;
color: #222;
2025-11-26 16:18:13 -06:00
.forgot-form-container {
width: 100%;
max-width: 420px;
padding: 2rem 1.5rem;
border-radius: 14px;
display: flex;
flex-direction: column;
2025-11-04 13:15:59 -06:00
text-align: center;
2025-11-26 16:18:13 -06:00
h1 {
font-size: 3rem;
font-weight: 700;
margin-bottom: 1.5rem;
color: #bd8c01; // Amarillo tipo login
2025-11-04 13:15:59 -06:00
}
2025-11-26 16:18:13 -06:00
p {
2025-11-04 13:15:59 -06:00
font-size: 1rem;
2025-11-26 16:18:13 -06:00
color: #444;
margin-bottom: 1.5rem;
}
2025-11-04 13:15:59 -06:00
2025-11-26 16:18:13 -06:00
.forgot-form {
display: grid;
gap: 1rem;
label {
font-weight: 600;
color: #333;
text-align: left;
margin-bottom: 0.4rem;
display: block;
2025-11-04 13:15:59 -06:00
}
2025-11-26 16:18:13 -06:00
// === INPUTS Y SELECT (mismo estilo)
input[type="text"],
input[type="password"],
select {
width: 100%;
padding: 1.2rem 1.5rem;
border: 2px solid #003e79; // borde azul login
border-radius: 10px;
font-size: 1rem;
background: white;
appearance: none;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
&:focus {
outline: none;
border-color: #004aad;
box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.15);
}
2025-11-04 13:15:59 -06:00
}
2025-11-26 16:18:13 -06:00
button[type="submit"] {
width: 100%;
padding: 1.2rem;
font-size: 1rem;
font-weight: 700;
background-color: #004aad;
color: white;
border: none;
border-radius: 10px;
cursor: pointer;
transition: background 0.25s ease, transform 0.15s ease;
&:hover:not(:disabled) {
background-color: #003e79;
transform: translateY(-2px);
}
&:disabled {
background-color: #9fbce8;
cursor: not-allowed;
}
2025-11-04 13:15:59 -06:00
}
2025-11-26 16:18:13 -06:00
a {
text-align: center;
color: #004aad;
font-size: 0.9rem;
text-decoration: none;
2025-11-04 13:15:59 -06:00
2025-11-26 16:18:13 -06:00
&:hover {
text-decoration: underline;
}
2025-11-04 13:15:59 -06:00
}
}
}
}
// =====================================
2025-11-26 16:18:13 -06:00
// MODO OSCURO
2025-11-04 13:15:59 -06:00
// =====================================
[data-theme="dark"] .forgot-password-page {
background: #1e1e1e;
2025-11-26 16:18:13 -06:00
.forgot-form-container {
2025-11-04 13:15:59 -06:00
background: #2a2a2a;
2025-11-26 16:18:13 -06:00
box-shadow: none;
}
label {
color: #ddd;
}
// === INPUTS Y SELECT en modo oscuro ===
input[type="text"],
input[type="password"],
select {
background: #333;
border-color: #555;
color: #fff;
2025-11-04 13:15:59 -06:00
&:focus {
border-color: #4a90e2;
box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}
}
button[type="submit"] {
background-color: #4a90e2;
&:hover:not(:disabled) {
background-color: #357ab8;
}
}
a {
color: #82b1ff;
}
}
2025-11-04 13:24:07 -06:00
// =====================================
2025-11-26 16:18:13 -06:00
// RESPONSIVE
2025-11-04 13:24:07 -06:00
// =====================================
2025-11-26 16:18:13 -06:00
// Teléfonos
2025-11-04 14:01:00 -06:00
@media (max-width: 480px) {
.forgot-password-page {
2025-11-26 16:18:13 -06:00
padding: 1.2rem;
.forgot-form-container {
padding: 1.5rem;
}
2025-11-04 14:01:00 -06:00
h1 {
font-size: 1.6rem;
}
2025-11-26 16:18:13 -06:00
.forgot-form input {
font-size: 1rem;
padding: 0.75rem 0.9rem;
2025-11-04 14:01:00 -06:00
}
2025-11-26 16:18:13 -06:00
button {
padding: 0.9rem !important;
2025-11-04 14:01:00 -06:00
}
}
}
2025-11-26 16:18:13 -06:00
// Tablets
2025-11-04 13:24:07 -06:00
@media (min-width: 768px) and (max-width: 1024px) {
.forgot-password-page {
2025-11-26 16:18:13 -06:00
padding: 2.5rem;
.forgot-form-container {
max-width: 470px;
}
2025-11-04 13:24:07 -06:00
h1 {
2025-11-04 14:01:00 -06:00
font-size: 2.1rem;
2025-11-04 13:24:07 -06:00
}
p {
2025-11-26 16:18:13 -06:00
font-size: 1.1rem;
2025-11-04 13:24:07 -06:00
}
2025-11-26 16:18:13 -06:00
.forgot-form input {
font-size: 1.05rem;
2025-11-04 13:24:07 -06:00
}
}
}