Feat Widgets

- Widget de Home
- Widget Cards por Provincias
- Widget Mapa por Categorias
This commit is contained in:
2025-10-01 10:03:01 -03:00
parent 3b0eee25e6
commit a985cbfd7c
45 changed files with 1786 additions and 953 deletions

View File

@@ -22,14 +22,9 @@
/* Contenedor para alinear título y selector */
.header-top-row {
display: flex;
justify-content: space-between;
justify-content: flex-start; /* Alinea los items al inicio */
align-items: center;
margin-bottom: 0.5rem;
}
.panel-header h1 {
font-size: 1.5rem;
margin: 0;
gap: 2rem; /* Añade un espacio de separación de 2rem entre el selector y el breadcrumb */
}
.categoria-selector {
@@ -188,6 +183,7 @@
padding: 1rem 0;
border-bottom: 1px solid #f0f0f0;
border-left: 5px solid;
border-radius: 12px;
padding-left: 1rem;
}
@@ -227,18 +223,25 @@
.partido-info-wrapper {
/* Ocupa el espacio disponible a la izquierda */
min-width: 0;
text-align: left;
}
.partido-nombre {
font-weight: 800;
font-weight: 700;
font-size: 1.05rem;
color: #212529;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
line-height: 1.2;
}
.candidato-nombre {
font-size: 0.85rem;
color: #666;
font-size: 0.8rem;
color: #6c757d;
text-transform: uppercase;
font-weight: 500;
line-height: 1.1;
}
.partido-stats {
@@ -381,10 +384,13 @@
}
.rsm-geography:not(.selected):hover {
filter: brightness(1.25); /* Mantenemos el brillo */
stroke: #ffffff; /* Color del borde a blanco */
filter: brightness(1.25);
/* Mantenemos el brillo */
stroke: #ffffff;
/* Color del borde a blanco */
stroke-width: 0.25px;
paint-order: stroke; /* Asegura que el borde se dibuje encima del relleno */
paint-order: stroke;
/* Asegura que el borde se dibuje encima del relleno */
}
.rsm-geography.selected {
@@ -492,8 +498,10 @@
/* --- NUEVOS ESTILOS PARA EL TOGGLE MÓVIL --- */
.mobile-view-toggle {
display: none;
position: absolute; /* <-- CAMBIO: De 'fixed' a 'absolute' */
bottom: 10px; /* <-- AJUSTE: Menos espacio desde abajo */
position: absolute;
/* <-- CAMBIO: De 'fixed' a 'absolute' */
bottom: 10px;
/* <-- AJUSTE: Menos espacio desde abajo */
left: 50%;
transform: translateX(-50%);
z-index: 100;
@@ -685,6 +693,14 @@
display: flex;
align-items: center;
gap: 1rem;
padding: 1rem 0;
border-bottom: 1px solid #f0f0f0;
border-left: 5px solid;
/* Grosor del borde */
border-radius: 12px;
/* Redondeamos las esquinas */
padding-left: 1rem;
/* Espacio a la izquierda */
}
.partido-logo {