Files
front-Censo/src/app/reporte/reporte.css
T

247 lines
4.5 KiB
CSS
Raw Normal View History

2025-10-27 13:57:33 -06:00
.pestaña {
position: absolute;
top: 50%;
2025-10-31 20:26:32 -06:00
left: 62%;
2025-10-27 13:57:33 -06:00
transform: translate(-50%, -50%);
}
2025-10-31 20:26:32 -06:00
2025-11-01 21:01:51 -06:00
/* Contenedor principal del reporte */
.reporte-layout {
2025-10-27 13:57:33 -06:00
display: flex;
2025-11-01 21:01:51 -06:00
flex-wrap: wrap;
gap: 50px;
padding: 20px;
max-width: 1400px;
margin: 0 20px;
2025-10-27 13:57:33 -06:00
}
2025-11-01 21:01:51 -06:00
/* Panel izquierdo: contenedor + tabla */
.panel-izquierdo {
2025-10-27 13:57:33 -06:00
flex: 1;
2025-11-01 21:01:51 -06:00
min-width: 300px; /* evita que se colapse demasiado en móviles */
2025-10-27 13:57:33 -06:00
}
2025-11-01 21:01:51 -06:00
/* Panel derecho: filtro */
.panel-derecho {
width: 320px; /* ancho fijo razonable para filtros */
min-width: 280px;
2025-10-27 13:57:33 -06:00
}
2025-11-01 21:01:51 -06:00
.titulo-reporte {
font-weight: bold;
font-size: 24px;
2025-10-27 13:57:33 -06:00
text-align: center;
2025-11-01 21:01:51 -06:00
margin-bottom: 15px;
color: #0056b3;
2025-10-27 13:57:33 -06:00
}
.pestaña span:hover {
color: #b8870b; /* cambia de color al pasar el cursor */
}
2025-10-31 20:26:32 -06:00
.titulo-reporte {
font-weight: bold; /* negrita */
font-size: 24px; /* tamaño de texto */
2025-10-27 13:57:33 -06:00
font-family: Arial, sans-serif;
}
/*BUSCADOR*/
input[type="text"] {
2025-10-31 20:26:32 -06:00
width: 500px; /* más ancho, más largo */
padding: 7px; /* mantiene espacio cómodo dentro */
2025-10-27 13:57:33 -06:00
font-size: 18px;
border: 1px solid #ccc;
border-radius: 4px;
}
button {
padding: 8px 12px;
font-size: 16px;
border: none;
background-color: #007bff;
color: white;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background-color: #0056b3;
}
2025-10-31 20:26:32 -06:00
.contenedor {
2025-10-27 13:57:33 -06:00
margin-left: 80px;
}
2025-10-31 20:26:32 -06:00
.filtro-rec {
2025-10-27 13:57:33 -06:00
border: 2px solid #003366; /* Color del borde */
2025-10-31 20:26:32 -06:00
border-radius: 10px; /* Bordes redondeados */
padding: 10px; /* Espacio interno */
margin: 80px 550px; /* Separación del resto del contenido */
background-color: #f9f9f9;
2025-10-27 13:57:33 -06:00
position: relative;
2025-10-31 20:26:32 -06:00
left: 380px;
2025-10-27 13:57:33 -06:00
font-family: Arial, sans-serif;
top: -570px; /* sube 50px respecto a su posición original */
}
select:focus {
border-color: #003366;
box-shadow: 0 0 4px rgba(0, 51, 102, 0.3);
outline: none;
}
form[action="/buscar"] {
display: flex;
gap: 10px;
2025-11-01 21:01:51 -06:00
margin-bottom: 20px;
align-items: center;
flex-wrap: wrap;
2025-10-27 13:57:33 -06:00
}
form[action="/buscar"] input {
padding: 8px 12px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 16px;
2025-11-01 21:01:51 -06:00
flex: 1;
min-width: 200px;
2025-10-27 13:57:33 -06:00
}
form[action="/buscar"] button {
background-color: #0056b3;
color: white;
border: none;
padding: 8px 16px;
border-radius: 5px;
cursor: pointer;
2025-11-01 21:01:51 -06:00
font-size: 16px;
2025-10-27 13:57:33 -06:00
}
2025-11-01 21:01:51 -06:00
form[action="/buscar"] button:hover {
background-color: #0056b3;
2025-10-27 13:57:33 -06:00
}
2025-11-01 21:01:51 -06:00
/* Tabla de reporte */
.tabla-rec {
border: 2px solid #0056b3;
border-radius: 10px;
padding: 15px;
background-color: #f9f9f9;
min-height: 400px;
2025-10-27 13:57:33 -06:00
width: 100%;
2025-11-01 21:01:51 -06:00
box-sizing: border-box;
2025-10-27 13:57:33 -06:00
}
2025-11-01 21:01:51 -06:00
/* Filtro */
.filtro-rec {
border: 2px solid #0056b3;
border-radius: 10px;
padding: 15px;
background-color: #f9f9f9;
font-family: Arial, sans-serif;
width: 100%;
box-sizing: border-box;
2025-10-27 13:57:33 -06:00
}
2025-11-01 21:01:51 -06:00
.filtro-rec .titulo-rec {
font-weight: bold;
margin-top: 0;
margin-bottom: 10px;
color: #0056b3;
2025-10-27 13:57:33 -06:00
}
2025-11-01 21:01:51 -06:00
.filtro-rec label {
display: block;
margin-top: 12px;
font-weight: bold;
font-size: 14px;
2025-10-27 13:57:33 -06:00
}
2025-11-01 21:01:51 -06:00
.filtro-rec select {
width: 100%;
padding: 8px;
margin-top: 4px;
border: 1px solid #0056b3;
2025-10-27 13:57:33 -06:00
border-radius: 5px;
2025-11-01 21:01:51 -06:00
font-size: 14px;
2025-10-27 13:57:33 -06:00
}
2025-11-01 21:01:51 -06:00
/* Botones del filtro */
2025-10-27 13:57:33 -06:00
.botones-filtro {
display: flex;
justify-content: flex-end; /* botones a la derecha */
2025-10-31 20:26:32 -06:00
gap: 10px; /* espacio entre botones */
margin-top: 15px; /* separación del resto del formulario */
2025-10-27 13:57:33 -06:00
}
2025-11-01 21:01:51 -06:00
.botones-filtro .aplicar,
.botones-filtro .limpiar {
flex: 1;
padding: 8px;
2025-10-27 13:57:33 -06:00
border: none;
border-radius: 4px;
color: white;
font-size: 14px;
2025-11-01 21:01:51 -06:00
cursor: pointer;
2025-10-27 13:57:33 -06:00
}
2025-10-31 20:26:32 -06:00
.tabla-rec {
2025-10-27 13:57:33 -06:00
border: 2px solid #003366; /* Color del borde */
2025-10-31 20:26:32 -06:00
border-radius: 10px; /* Bordes redondeados */
padding: 10px; /* Espacio interno */
margin: 50px 700px 0 80px; /* superior, derecha, inferior, izquierda */
background-color: #f9f9f9;
2025-10-27 13:57:33 -06:00
font-family: Arial, sans-serif;
2025-10-31 20:26:32 -06:00
height: 400px;
2025-10-27 13:57:33 -06:00
}
2025-10-31 20:26:32 -06:00
.boton-descargar {
2025-10-27 13:57:33 -06:00
padding: 8px 12px;
}
2025-11-01 21:01:51 -06:00
.botones-filtro .aplicar {
background-color: #0056b3;
2025-10-27 13:57:33 -06:00
}
2025-11-01 21:01:51 -06:00
.botones-filtro .limpiar {
background-color: #ffb700;
color: #0056b3;
font-weight: bold;
2025-10-27 13:57:33 -06:00
}
2025-11-01 21:01:51 -06:00
/* Botón descargar */
.boton-descargar {
margin-top: 25px;
padding: 10px 20px;
2025-10-27 13:57:33 -06:00
font-size: 16px;
border: none;
2025-11-01 21:01:51 -06:00
background-color: #0056b3;
2025-10-27 13:57:33 -06:00
color: white;
border-radius: 4px;
cursor: pointer;
right: 30px;
margin-left: 700px;
2025-11-01 21:01:51 -06:00
width: 100%;
}
/* Responsive: en pantallas pequeñas (iPad portrait, etc.) */
@media (max-width: 768px) {
.reporte-layout {
flex-direction: column;
align-items: center;
}
.panel-derecho {
width: 100%;
max-width: 500px;
}
.panel-izquierdo {
width: 100%;
max-width: 500px;
}
.boton-descargar {
max-width: 500px;
}
2025-10-31 20:26:32 -06:00
}