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

201 lines
3.6 KiB
SCSS
Raw Normal View History

2025-11-04 13:15:59 -06:00
// =====================================
2025-11-04 14:01:00 -06:00
// Forgot Password Page Styles (Responsive)
2025-11-04 13:15:59 -06:00
// =====================================
.forgot-password-page {
2025-11-04 14:01:00 -06:00
width: 90%;
2025-11-04 13:15:59 -06:00
max-width: 520px;
2025-11-04 14:01:00 -06:00
margin: 10rem auto;
2025-11-04 13:15:59 -06:00
padding: 2rem;
background: #ffffff;
border-radius: 1rem;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
color: #222;
transition: background 0.3s ease, color 0.3s ease;
h1 {
2025-11-04 14:01:00 -06:00
font-size: 2rem;
2025-11-04 13:15:59 -06:00
font-weight: 600;
2025-11-04 14:01:00 -06:00
margin-bottom: 1rem;
2025-11-04 13:15:59 -06:00
text-align: center;
color: #1a73e8;
}
p {
font-size: 1rem;
line-height: 1.5;
margin-bottom: 1.5rem;
text-align: center;
color: #555;
}
.forgot-form {
display: grid;
gap: 1rem;
label {
font-weight: 500;
color: #222;
}
2025-11-04 16:52:27 -06:00
input[type="text"],
input[type="password"] {
2025-11-04 14:01:00 -06:00
padding: 1rem 0.8rem;
2025-11-04 13:15:59 -06:00
border: 1px solid #ccc;
border-radius: 8px;
font-size: 1rem;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
&:focus {
border-color: #1a73e8;
box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
outline: none;
}
}
button[type="submit"] {
background-color: #1a73e8;
color: #fff;
font-weight: 600;
2025-11-04 14:01:00 -06:00
padding: 1rem;
2025-11-04 13:15:59 -06:00
border-radius: 8px;
border: none;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s ease;
&:hover:not(:disabled) {
background-color: #155fc0;
transform: translateY(-2px);
}
&:disabled {
background-color: #b3d0ff;
cursor: not-allowed;
}
}
a {
display: inline-block;
font-size: 0.9rem;
color: #1a73e8;
text-decoration: none;
text-align: center;
&:hover {
text-decoration: underline;
}
}
}
}
// =====================================
2025-11-04 14:01:00 -06:00
// Modo oscuro
2025-11-04 13:15:59 -06:00
// =====================================
[data-theme="dark"] .forgot-password-page {
background: #1e1e1e;
color: #eee;
2025-11-04 16:52:27 -06:00
input[type="text"],
input[type="password"] {
2025-11-04 13:15:59 -06:00
background: #2a2a2a;
border-color: #444;
color: #f3f3f3;
&: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-04 14:01:00 -06:00
// Responsividad
2025-11-04 13:24:07 -06:00
// =====================================
2025-11-04 14:01:00 -06:00
// --- Teléfonos pequeños ---
@media (max-width: 480px) {
.forgot-password-page {
margin: 15rem auto;
padding: 1.5rem;
width: 92%;
2025-11-04 16:52:27 -06:00
box-shadow: none;
2025-11-04 14:01:00 -06:00
h1 {
font-size: 1.6rem;
}
p {
font-size: 0.95rem;
margin-bottom: 1.2rem;
}
.forgot-form {
2025-11-04 16:52:27 -06:00
input[type="text"],
input[type="password"] {
2025-11-04 14:01:00 -06:00
font-size: 0.95rem;
padding: 0.9rem;
}
button[type="submit"] {
font-size: 0.95rem;
padding: 0.9rem;
}
}
}
}
// --- Tablets (iPad y similares) ---
2025-11-04 13:24:07 -06:00
@media (min-width: 768px) and (max-width: 1024px) {
.forgot-password-page {
margin: 8rem auto;
2025-11-04 14:01:00 -06:00
padding: 3rem 2.5rem;
2025-11-04 13:24:07 -06:00
max-width: 600px;
font-size: 1.05rem;
h1 {
2025-11-04 14:01:00 -06:00
font-size: 2.1rem;
2025-11-04 13:24:07 -06:00
}
p {
font-size: 1.05rem;
margin-bottom: 2rem;
}
.forgot-form {
gap: 1.2rem;
2025-11-04 16:52:27 -06:00
input[type="text"],
input[type="password"] {
2025-11-04 13:24:07 -06:00
font-size: 1.05rem;
2025-11-04 14:01:00 -06:00
padding: 1rem;
2025-11-04 13:24:07 -06:00
}
button[type="submit"] {
2025-11-04 14:01:00 -06:00
padding: 1.2rem;
2025-11-04 13:24:07 -06:00
}
}
}
}
2025-11-04 14:01:00 -06:00
// --- Escritorio grande ---
@media (min-width: 1280px) {
.forgot-password-page {
margin: 12rem auto;
padding: 3rem;
max-width: 520px;
}
}