From e66c5e21f8fcb04e96abd7d5678d2fad74f1347a Mon Sep 17 00:00:00 2001 From: "christian.julian" Date: Sun, 15 Jun 2025 18:57:02 -0600 Subject: [PATCH] fix: arreglar --- css/inicio.css | 106 ---------------------------------------------- views/inicio.html | 61 +++++++++++++++++++------- 2 files changed, 45 insertions(+), 122 deletions(-) diff --git a/css/inicio.css b/css/inicio.css index dc70c87..69046f3 100644 --- a/css/inicio.css +++ b/css/inicio.css @@ -324,12 +324,6 @@ main .title { font-weight: 600; margin-bottom: 10px; } - -main .subtitle { - font-size: 22px; - margin-top: 20px; -} - main .breadcrumbs { display: flex; grid-gap: 6px; @@ -587,103 +581,3 @@ main .btn-send:hover { } -/* Transición base para todos */ -select, -input[type="date"], -button { - transition: all 0.3s ease; -} - -/* Selects e inputs de fecha */ -select#id_rango_edad, -select#id_genero, -select#id_examen, -input[type="date"] { - width: 100%; - padding: 8px 12px; - border: 1px solid #ccc; - border-radius: 6px; - font-size: 14px; - background-color: #fff; - color: #333; - font-family: inherit; - box-shadow: 0 0 0 0 rgba(53, 36, 91, 0); /* Inicial */ -} - -select#id_rango_edad:focus, -select#id_genero:focus, -select#id_examen:focus, -input[type="date"]:focus { - border-color: #35245b; - outline: none; - box-shadow: 0 0 8px 2px rgba(53, 36, 91, 0.2); -} - -/* Botones */ -button#buscar, -button#limpiar, -button#limpiar2 { - padding: 8px 20px; - font-size: 14px; - border: 1px solid #35245b; - border-radius: 6px; - background-color: #fff; - color: #35245b; - cursor: pointer; - font-family: inherit; - margin-top: 10px; - margin-right: 10px; - position: relative; - overflow: hidden; -} - -button#buscar:hover, -button#limpiar:hover, -button#limpiar2:hover { - background-color: #35245b; - color: white; - transform: translateY(-2px); - box-shadow: 0 4px 12px rgba(53, 36, 91, 0.2); -} - -/* Efecto de "pulse" al hacer clic */ -button#buscar:active, -button#limpiar:active, -button#limpiar2:active { - transform: scale(0.98); - box-shadow: 0 2px 6px rgba(53, 36, 91, 0.15); -} - -.fechas-wrapper { - display: flex; - flex-wrap: wrap; - gap: 20px; - margin: 10px 0 20px; -} - -.fecha-item { - flex: 1; - min-width: 220px; -} - -.fecha-item label { - display: block; - margin-bottom: 5px; - font-weight: 500; -} - -.fecha-item input[type="date"] { - width: 100%; - padding: 8px 12px; - border: 1px solid #ccc; - border-radius: 6px; - font-size: 14px; - font-family: inherit; - transition: border-color 0.3s ease, box-shadow 0.3s ease; -} - -.fecha-item input[type="date"]:focus { - border-color: #35245b; - box-shadow: 0 0 8px 2px rgba(53, 36, 91, 0.2); - outline: none; -} diff --git a/views/inicio.html b/views/inicio.html index 657d747..dc94357 100644 --- a/views/inicio.html +++ b/views/inicio.html @@ -39,7 +39,33 @@
- + +

Dashboard

+
-

Filtros

+
+ +
- + @@ -77,7 +106,7 @@
- + -
-
- - -
-
+

Fecha

+

Ingresa una fecha de inicio:

+
+ +

Ingresa una fecha de final:

+ +

+
+

Resultado de registros en el rango de fecha ingresado

+ +