Merge branch 'Sarabia' of https://github.com/jls846/front-censo into Lino
This commit is contained in:
+128
-31
@@ -3,22 +3,36 @@
|
||||
top: 50%;
|
||||
left: 62%;
|
||||
transform: translate(-50%, -50%);
|
||||
|
||||
display: flex;
|
||||
justify-content: space-around; /* espacio igual entre los tres textos */
|
||||
align-items: center;
|
||||
width: 45%; /* controla el ancho total del bloque central */
|
||||
font-size: 18px;
|
||||
color: #003366;
|
||||
font-weight: bold;
|
||||
z-index: 5; /* por encima del logo */
|
||||
}
|
||||
|
||||
.pestaña span {
|
||||
/* Contenedor principal del reporte */
|
||||
.reporte-layout {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 50px;
|
||||
padding: 20px;
|
||||
max-width: 1400px;
|
||||
margin: 0 20px;
|
||||
}
|
||||
|
||||
/* Panel izquierdo: contenedor + tabla */
|
||||
.panel-izquierdo {
|
||||
flex: 1;
|
||||
min-width: 300px; /* evita que se colapse demasiado en móviles */
|
||||
}
|
||||
|
||||
/* Panel derecho: filtro */
|
||||
.panel-derecho {
|
||||
width: 320px; /* ancho fijo razonable para filtros */
|
||||
min-width: 280px;
|
||||
}
|
||||
|
||||
.titulo-reporte {
|
||||
font-weight: bold;
|
||||
font-size: 24px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
transition: color 0.3s;
|
||||
margin-bottom: 15px;
|
||||
color: #0056b3;
|
||||
}
|
||||
|
||||
.pestaña span:hover {
|
||||
@@ -76,29 +90,83 @@ select:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* Botón de buscar */
|
||||
form[action="/buscar"] {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
margin: 20px 0;
|
||||
margin-bottom: 20px;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
form[action="/buscar"] input {
|
||||
padding: 8px 12px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 5px;
|
||||
width: 300px;
|
||||
font-size: 16px;
|
||||
flex: 1;
|
||||
min-width: 200px;
|
||||
}
|
||||
|
||||
form[action="/buscar"] button {
|
||||
background-color: #003366;
|
||||
background-color: #0056b3;
|
||||
color: white;
|
||||
border: none;
|
||||
padding: 8px 16px;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
form[action="/buscar"] button:hover {
|
||||
background-color: #0056b3;
|
||||
}
|
||||
|
||||
/* Tabla de reporte */
|
||||
.tabla-rec {
|
||||
border: 2px solid #0056b3;
|
||||
border-radius: 10px;
|
||||
padding: 15px;
|
||||
background-color: #f9f9f9;
|
||||
min-height: 400px;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
||||
|
||||
.filtro-rec .titulo-rec {
|
||||
font-weight: bold;
|
||||
margin-top: 0;
|
||||
margin-bottom: 10px;
|
||||
color: #0056b3;
|
||||
}
|
||||
|
||||
.filtro-rec label {
|
||||
display: block;
|
||||
margin-top: 12px;
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.filtro-rec select {
|
||||
width: 100%;
|
||||
padding: 8px;
|
||||
margin-top: 4px;
|
||||
border: 1px solid #0056b3;
|
||||
border-radius: 5px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
/* Botones del filtro */
|
||||
.botones-filtro {
|
||||
display: flex;
|
||||
justify-content: flex-end; /* botones a la derecha */
|
||||
@@ -106,24 +174,15 @@ form[action="/buscar"] button {
|
||||
margin-top: 15px; /* separación del resto del formulario */
|
||||
}
|
||||
|
||||
.aplicar {
|
||||
background-color: #003366;
|
||||
color: white;
|
||||
.botones-filtro .aplicar,
|
||||
.botones-filtro .limpiar {
|
||||
flex: 1;
|
||||
padding: 8px;
|
||||
border: none;
|
||||
padding: 8px 16px;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.limpiar {
|
||||
background-color: #b8870b;
|
||||
color: white;
|
||||
border: none;
|
||||
padding: 8px 16px;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.tabla-rec {
|
||||
@@ -138,12 +197,50 @@ form[action="/buscar"] button {
|
||||
|
||||
.boton-descargar {
|
||||
padding: 8px 12px;
|
||||
}
|
||||
.botones-filtro .aplicar {
|
||||
background-color: #0056b3;
|
||||
}
|
||||
|
||||
.botones-filtro .limpiar {
|
||||
background-color: #ffb700;
|
||||
color: #0056b3;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Botón descargar */
|
||||
.boton-descargar {
|
||||
margin-top: 25px;
|
||||
padding: 10px 20px;
|
||||
font-size: 16px;
|
||||
border: none;
|
||||
background-color: #003366;
|
||||
background-color: #0056b3;
|
||||
color: white;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
right: 30px;
|
||||
margin-left: 700px;
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user