2025-09-28 19:04:09 -03:00
|
|
|
/* src/features/legislativas/nacionales/PanelNacional.css */
|
2025-09-17 11:31:17 -03:00
|
|
|
.panel-nacional-container {
|
|
|
|
|
font-family: 'Roboto', sans-serif;
|
|
|
|
|
max-width: 1200px;
|
|
|
|
|
margin: auto;
|
|
|
|
|
border: 1px solid #e0e0e0;
|
|
|
|
|
border-radius: 8px;
|
2025-09-28 19:04:09 -03:00
|
|
|
position: relative;
|
2025-10-02 13:38:28 -03:00
|
|
|
padding: 10px;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.panel-header {
|
|
|
|
|
padding: 1rem 1.5rem;
|
|
|
|
|
border-bottom: 1px solid #e0e0e0;
|
2025-09-20 22:31:11 -03:00
|
|
|
position: relative;
|
|
|
|
|
z-index: 20;
|
|
|
|
|
background-color: white;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
|
|
|
|
|
2025-09-19 17:19:10 -03:00
|
|
|
/* Contenedor para alinear título y selector */
|
2025-09-17 11:31:17 -03:00
|
|
|
.header-top-row {
|
|
|
|
|
display: flex;
|
2025-10-01 10:03:01 -03:00
|
|
|
justify-content: flex-start; /* Alinea los items al inicio */
|
2025-09-17 11:31:17 -03:00
|
|
|
align-items: center;
|
2025-10-01 10:03:01 -03:00
|
|
|
gap: 2rem; /* Añade un espacio de separación de 2rem entre el selector y el breadcrumb */
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.categoria-selector {
|
|
|
|
|
min-width: 220px;
|
|
|
|
|
}
|
|
|
|
|
|
2025-09-20 22:31:11 -03:00
|
|
|
/* El contenedor principal del selector (la parte visible antes de hacer clic) */
|
|
|
|
|
.categoria-selector__control {
|
|
|
|
|
border-radius: 8px !important;
|
|
|
|
|
border: 1px solid #e0e0e0 !important;
|
|
|
|
|
box-shadow: none !important;
|
|
|
|
|
transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Estilo cuando el selector está enfocado (seleccionado) */
|
|
|
|
|
.categoria-selector__control--is-focused {
|
|
|
|
|
border-color: #007bff !important;
|
|
|
|
|
box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25) !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* El texto del valor seleccionado */
|
|
|
|
|
.categoria-selector__single-value {
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #333;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* El menú desplegable que contiene las opciones */
|
|
|
|
|
.categoria-selector__menu {
|
|
|
|
|
border-radius: 8px !important;
|
|
|
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
|
|
|
|
|
border: 1px solid #e0e0e0 !important;
|
|
|
|
|
margin-top: 4px !important;
|
|
|
|
|
/* Pequeño espacio entre el control y el menú */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Cada una de las opciones en la lista */
|
|
|
|
|
.categoria-selector__option {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: background-color 0.2s, color 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Estilo de una opción cuando pasas el mouse por encima (estado 'focused') */
|
|
|
|
|
.categoria-selector__option--is-focused {
|
|
|
|
|
background-color: #f0f8ff;
|
|
|
|
|
/* Un azul muy claro */
|
|
|
|
|
color: #333;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Estilo de la opción que está actualmente seleccionada */
|
|
|
|
|
.categoria-selector__option--is-selected {
|
|
|
|
|
background-color: #007bff;
|
|
|
|
|
color: white;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* La pequeña línea vertical que separa el contenido del indicador (la flecha) */
|
|
|
|
|
.categoria-selector__indicator-separator {
|
|
|
|
|
display: none;
|
|
|
|
|
/* La ocultamos para un look más limpio */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* El indicador (la flecha hacia abajo) */
|
|
|
|
|
.categoria-selector__indicator {
|
|
|
|
|
color: #a0a0a0;
|
|
|
|
|
transition: color 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.categoria-selector__indicator:hover {
|
|
|
|
|
color: #333;
|
|
|
|
|
}
|
|
|
|
|
|
2025-09-19 17:19:10 -03:00
|
|
|
/* --- ESTILOS MODERNOS PARA BREADCRUMBS --- */
|
|
|
|
|
|
|
|
|
|
.breadcrumbs-container {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2025-09-20 22:31:11 -03:00
|
|
|
gap: 0.5rem;
|
|
|
|
|
/* Espacio entre elementos */
|
|
|
|
|
font-size: 1rem;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
|
|
|
|
|
2025-09-20 22:31:11 -03:00
|
|
|
.breadcrumb-item,
|
|
|
|
|
.breadcrumb-item-actual {
|
2025-09-19 17:19:10 -03:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 0.4rem 0.8rem;
|
2025-09-20 22:31:11 -03:00
|
|
|
border-radius: 8px;
|
|
|
|
|
/* Bordes redondeados para efecto píldora */
|
2025-09-19 17:19:10 -03:00
|
|
|
transition: background-color 0.2s ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.breadcrumb-item {
|
|
|
|
|
background-color: #f0f0f0;
|
|
|
|
|
border: 1px solid #e0e0e0;
|
|
|
|
|
color: #333;
|
2025-09-17 11:31:17 -03:00
|
|
|
cursor: pointer;
|
2025-09-19 17:19:10 -03:00
|
|
|
font-weight: 500;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.breadcrumb-item:hover {
|
|
|
|
|
background-color: #e0e0e0;
|
|
|
|
|
border-color: #d1d1d1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.breadcrumb-item-actual {
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
color: #000;
|
2025-09-20 22:31:11 -03:00
|
|
|
font-weight: 700;
|
|
|
|
|
/* Más peso para el nivel actual */
|
2025-09-19 17:19:10 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.breadcrumb-icon {
|
|
|
|
|
margin-right: 0.4rem;
|
|
|
|
|
font-size: 1rem;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.breadcrumb-separator {
|
2025-09-20 22:31:11 -03:00
|
|
|
color: #a0a0a0;
|
|
|
|
|
/* Color sutil para el separador */
|
2025-09-19 17:19:10 -03:00
|
|
|
font-size: 1.2rem;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.panel-main-content {
|
|
|
|
|
display: flex;
|
|
|
|
|
height: 75vh;
|
|
|
|
|
min-height: 500px;
|
|
|
|
|
transition: all 0.5s ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mapa-column {
|
2025-09-20 22:31:11 -03:00
|
|
|
flex: 2;
|
2025-09-17 11:31:17 -03:00
|
|
|
position: relative;
|
|
|
|
|
transition: flex 0.5s ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.resultados-column {
|
2025-09-20 22:31:11 -03:00
|
|
|
flex: 1;
|
2025-09-17 11:31:17 -03:00
|
|
|
overflow-y: auto;
|
2025-10-02 13:38:28 -03:00
|
|
|
padding: 1.25rem; /* ANTES: 1.5rem */
|
2025-09-17 11:31:17 -03:00
|
|
|
transition: all 0.5s ease-in-out;
|
2025-09-20 22:31:11 -03:00
|
|
|
min-width: 320px;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
|
|
|
|
|
2025-10-02 13:38:28 -03:00
|
|
|
/* --- AJUSTES EN FILAS DE PARTIDOS --- */
|
2025-09-19 17:19:10 -03:00
|
|
|
.partido-fila {
|
2025-09-17 11:31:17 -03:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2025-10-02 13:38:28 -03:00
|
|
|
gap: 0.75rem; /* ANTES: 1rem */
|
|
|
|
|
padding: 0.75rem 0; /* ANTES: 1rem 0 */
|
2025-09-20 22:31:11 -03:00
|
|
|
border-bottom: 1px solid #f0f0f0;
|
|
|
|
|
border-left: 5px solid;
|
2025-10-01 10:03:01 -03:00
|
|
|
border-radius: 12px;
|
2025-09-19 17:19:10 -03:00
|
|
|
padding-left: 1rem;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.partido-logo {
|
|
|
|
|
flex-shrink: 0;
|
2025-10-03 13:26:20 -03:00
|
|
|
width: 65px;
|
|
|
|
|
height: 65px;
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
box-sizing: border-box;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.partido-logo img {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
2025-10-03 13:26:20 -03:00
|
|
|
border-radius: 12px;
|
2025-09-19 17:19:10 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.partido-main-content {
|
|
|
|
|
flex-grow: 1;
|
2025-09-20 22:31:11 -03:00
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: 1fr auto;
|
|
|
|
|
grid-template-rows: auto auto;
|
|
|
|
|
align-items: center;
|
2025-10-02 13:38:28 -03:00
|
|
|
gap: 0.25rem 0.75rem; /* ANTES: gap: 0.25rem 1rem */
|
2025-09-19 17:19:10 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.partido-top-row {
|
2025-09-20 22:31:11 -03:00
|
|
|
display: contents;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.partido-info-wrapper {
|
2025-09-19 17:19:10 -03:00
|
|
|
min-width: 0;
|
2025-10-01 10:03:01 -03:00
|
|
|
text-align: left;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.partido-nombre {
|
2025-10-01 10:03:01 -03:00
|
|
|
font-weight: 700;
|
2025-10-02 13:38:28 -03:00
|
|
|
font-size: 1rem; /* ANTES: 1.05rem */
|
2025-10-01 10:03:01 -03:00
|
|
|
color: #212529;
|
2025-09-19 17:19:10 -03:00
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
2025-10-01 10:03:01 -03:00
|
|
|
line-height: 1.2;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.candidato-nombre {
|
2025-10-02 13:38:28 -03:00
|
|
|
font-size: 0.75rem; /* ANTES: 0.8rem */
|
2025-10-01 10:03:01 -03:00
|
|
|
color: #6c757d;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
line-height: 1.1;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.partido-stats {
|
2025-09-19 17:19:10 -03:00
|
|
|
flex-shrink: 0;
|
2025-09-17 11:31:17 -03:00
|
|
|
text-align: right;
|
2025-09-20 22:31:11 -03:00
|
|
|
padding-left: 1rem;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.partido-porcentaje {
|
2025-10-02 13:38:28 -03:00
|
|
|
font-size: 1.35rem; /* ANTES: 1.5rem */
|
2025-09-17 11:31:17 -03:00
|
|
|
font-weight: 700;
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.partido-votos {
|
2025-10-02 13:38:28 -03:00
|
|
|
font-size: 0.9rem; /* ANTES: 1rem */
|
2025-09-17 11:31:17 -03:00
|
|
|
color: #666;
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
2025-09-19 17:19:10 -03:00
|
|
|
.partido-barra-background {
|
2025-10-02 13:38:28 -03:00
|
|
|
height: 12px; /* ANTES: 20px */
|
2025-09-19 17:19:10 -03:00
|
|
|
background-color: #f0f0f0;
|
|
|
|
|
border-radius: 4px;
|
2025-09-20 22:31:11 -03:00
|
|
|
grid-column: 1 / 3;
|
2025-09-19 17:19:10 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.partido-barra-foreground {
|
|
|
|
|
height: 100%;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
transition: width 0.5s ease-in-out;
|
|
|
|
|
}
|
2025-09-20 22:31:11 -03:00
|
|
|
|
2025-10-02 13:38:28 -03:00
|
|
|
/* --- AJUSTES EN CÍRCULOS DE ESTADÍSTICAS --- */
|
2025-09-17 11:31:17 -03:00
|
|
|
.panel-estado-recuento {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-around;
|
2025-10-02 13:38:28 -03:00
|
|
|
padding-bottom: 1rem; /* ANTES: 1.5rem */
|
|
|
|
|
margin-bottom: 1rem; /* ANTES: 1.5rem */
|
2025-09-19 17:19:10 -03:00
|
|
|
border-bottom: 1px solid #e0e0e0;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.estado-item {
|
2025-10-02 13:38:28 -03:00
|
|
|
width: 95px; /* ANTES: 100px */
|
2025-09-17 11:31:17 -03:00
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.estado-item span {
|
2025-09-19 17:19:10 -03:00
|
|
|
margin-top: 0.5rem;
|
2025-10-02 13:38:28 -03:00
|
|
|
font-size: 0.85rem; /* ANTES: 0.9rem */
|
2025-09-17 11:31:17 -03:00
|
|
|
color: #666;
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
2025-09-22 09:08:43 -03:00
|
|
|
/* --- MAPA Y ELEMENTOS ASOCIADOS --- */
|
2025-09-19 17:19:10 -03:00
|
|
|
.mapa-componente-container {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
2025-09-20 22:31:11 -03:00
|
|
|
|
2025-09-19 17:19:10 -03:00
|
|
|
.mapa-render-area {
|
2025-09-20 22:31:11 -03:00
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
2025-09-20 22:31:11 -03:00
|
|
|
|
2025-09-19 17:19:10 -03:00
|
|
|
.mapa-volver-btn {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 10px;
|
|
|
|
|
left: 10px;
|
|
|
|
|
z-index: 10;
|
|
|
|
|
padding: 8px 12px;
|
|
|
|
|
background-color: white;
|
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
2025-09-20 22:31:11 -03:00
|
|
|
|
2025-09-19 17:19:10 -03:00
|
|
|
.rsm-zoomable-group {
|
2025-09-20 22:31:11 -03:00
|
|
|
transition: transform 0.75s ease-in-out;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
2025-09-20 22:31:11 -03:00
|
|
|
|
2025-10-03 13:26:20 -03:00
|
|
|
/* Desactivar la transición durante el arrastre */
|
2025-09-22 09:08:43 -03:00
|
|
|
.rsm-zoomable-group.panning {
|
|
|
|
|
transition: none;
|
|
|
|
|
}
|
|
|
|
|
|
2025-09-17 11:31:17 -03:00
|
|
|
.panel-main-content.panel-collapsed .mapa-column {
|
2025-09-19 17:19:10 -03:00
|
|
|
flex: 1 1 100%;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
2025-09-20 22:31:11 -03:00
|
|
|
|
2025-09-17 11:31:17 -03:00
|
|
|
.panel-main-content.panel-collapsed .resultados-column {
|
|
|
|
|
flex-basis: 0;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
max-width: 0;
|
|
|
|
|
padding: 0;
|
2025-09-19 17:19:10 -03:00
|
|
|
overflow: hidden;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
2025-09-20 22:31:11 -03:00
|
|
|
|
2025-09-17 11:31:17 -03:00
|
|
|
.panel-toggle-btn {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 50%;
|
|
|
|
|
right: 10px;
|
|
|
|
|
transform: translateY(-50%);
|
|
|
|
|
z-index: 10;
|
|
|
|
|
width: 30px;
|
|
|
|
|
height: 50px;
|
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
|
background-color: white;
|
|
|
|
|
border-radius: 4px 0 0 4px;
|
|
|
|
|
cursor: pointer;
|
2025-09-20 22:31:11 -03:00
|
|
|
font-size: 1.3rem;
|
2025-09-17 11:31:17 -03:00
|
|
|
font-weight: bold;
|
|
|
|
|
color: #555;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
2025-09-20 22:31:11 -03:00
|
|
|
box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
|
2025-09-17 11:31:17 -03:00
|
|
|
transition: background-color 0.2s;
|
|
|
|
|
}
|
2025-09-20 22:31:11 -03:00
|
|
|
|
2025-09-17 11:31:17 -03:00
|
|
|
.panel-toggle-btn:hover {
|
|
|
|
|
background-color: #f0f0f0;
|
|
|
|
|
}
|
2025-09-20 22:31:11 -03:00
|
|
|
|
2025-09-17 11:31:17 -03:00
|
|
|
.rsm-geography {
|
2025-09-20 22:31:11 -03:00
|
|
|
stroke: #000000;
|
|
|
|
|
stroke-width: 0.25px;
|
|
|
|
|
outline: none;
|
|
|
|
|
transition: filter 0.2s ease-in-out;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
2025-09-20 22:31:11 -03:00
|
|
|
|
2025-09-17 11:31:17 -03:00
|
|
|
.rsm-geography:not(.selected):hover {
|
2025-10-01 10:03:01 -03:00
|
|
|
filter: brightness(1.25);
|
|
|
|
|
/* Mantenemos el brillo */
|
|
|
|
|
stroke: #ffffff;
|
|
|
|
|
/* Color del borde a blanco */
|
2025-09-20 22:31:11 -03:00
|
|
|
stroke-width: 0.25px;
|
2025-10-01 10:03:01 -03:00
|
|
|
paint-order: stroke;
|
|
|
|
|
/* Asegura que el borde se dibuje encima del relleno */
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
2025-09-20 22:31:11 -03:00
|
|
|
|
2025-09-17 11:31:17 -03:00
|
|
|
.rsm-geography.selected {
|
2025-09-20 22:31:11 -03:00
|
|
|
stroke: #000000;
|
|
|
|
|
stroke-width: 0.25px;
|
|
|
|
|
filter: none;
|
|
|
|
|
pointer-events: none;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
2025-09-20 22:31:11 -03:00
|
|
|
|
2025-09-17 11:31:17 -03:00
|
|
|
.rsm-geography-faded,
|
|
|
|
|
.rsm-geography-faded-municipality {
|
2025-09-20 22:31:11 -03:00
|
|
|
opacity: 0.5;
|
|
|
|
|
pointer-events: none;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
2025-09-20 22:31:11 -03:00
|
|
|
|
2025-09-19 17:19:10 -03:00
|
|
|
.caba-comuna-geography {
|
2025-09-20 22:31:11 -03:00
|
|
|
stroke: #000000;
|
|
|
|
|
stroke-width: 0.05px;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
2025-09-20 22:31:11 -03:00
|
|
|
|
2025-09-19 17:19:10 -03:00
|
|
|
.caba-comuna-geography:not(.selected):hover {
|
2025-09-20 22:31:11 -03:00
|
|
|
stroke: #000000;
|
|
|
|
|
stroke-width: 0.055px;
|
|
|
|
|
filter: brightness(1.25);
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
2025-09-20 22:31:11 -03:00
|
|
|
|
2025-09-17 11:31:17 -03:00
|
|
|
.transition-spinner {
|
2025-09-20 22:31:11 -03:00
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
background-color: rgba(255, 255, 255, 0.5);
|
|
|
|
|
z-index: 20;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
2025-09-20 22:31:11 -03:00
|
|
|
|
2025-09-17 11:31:17 -03:00
|
|
|
.transition-spinner::after {
|
2025-09-20 22:31:11 -03:00
|
|
|
content: '';
|
|
|
|
|
width: 50px;
|
|
|
|
|
height: 50px;
|
|
|
|
|
border: 5px solid rgba(0, 0, 0, 0.2);
|
|
|
|
|
border-top-color: #007bff;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
animation: spin 1s linear infinite;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
2025-09-20 22:31:11 -03:00
|
|
|
|
2025-09-17 11:31:17 -03:00
|
|
|
@keyframes spin {
|
2025-09-20 22:31:11 -03:00
|
|
|
to {
|
|
|
|
|
transform: rotate(360deg);
|
|
|
|
|
}
|
2025-09-19 17:19:10 -03:00
|
|
|
}
|
2025-09-20 22:31:11 -03:00
|
|
|
|
2025-09-19 17:19:10 -03:00
|
|
|
.caba-magnifier-container {
|
2025-09-20 22:31:11 -03:00
|
|
|
position: absolute;
|
|
|
|
|
height: auto;
|
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|
pointer-events: none;
|
2025-09-19 17:19:10 -03:00
|
|
|
}
|
2025-09-20 22:31:11 -03:00
|
|
|
|
2025-09-19 17:19:10 -03:00
|
|
|
.caba-lupa-svg {
|
2025-09-20 22:31:11 -03:00
|
|
|
width: 100%;
|
|
|
|
|
height: auto;
|
|
|
|
|
pointer-events: none;
|
2025-09-19 17:19:10 -03:00
|
|
|
}
|
2025-09-20 22:31:11 -03:00
|
|
|
|
2025-09-19 17:19:10 -03:00
|
|
|
.caba-lupa-interactive-area {
|
2025-09-20 22:31:11 -03:00
|
|
|
pointer-events: all;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.25));
|
|
|
|
|
transition: transform 0.2s ease-in-out;
|
2025-09-19 17:19:10 -03:00
|
|
|
}
|
2025-09-20 22:31:11 -03:00
|
|
|
|
2025-09-19 17:19:10 -03:00
|
|
|
.caba-lupa-interactive-area:hover {
|
2025-09-20 22:31:11 -03:00
|
|
|
filter: brightness(1.15);
|
|
|
|
|
stroke: #ffffff;
|
|
|
|
|
stroke-width: 0.25px;
|
2025-09-19 17:19:10 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.skeleton-fila div {
|
|
|
|
|
background: #f6f7f8;
|
|
|
|
|
background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
|
|
|
|
|
background-repeat: no-repeat;
|
2025-09-20 22:31:11 -03:00
|
|
|
background-size: 800px 104px;
|
2025-09-19 17:19:10 -03:00
|
|
|
animation: shimmer 1s linear infinite;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
2025-09-20 22:31:11 -03:00
|
|
|
.skeleton-logo {
|
|
|
|
|
width: 65px;
|
|
|
|
|
height: 65px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.skeleton-text {
|
|
|
|
|
height: 1em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.skeleton-bar {
|
|
|
|
|
height: 20px;
|
|
|
|
|
margin-top: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* --- ESTILOS PARA LOS BOTONES DE ZOOM DEL MAPA --- */
|
|
|
|
|
.zoom-controls-container {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 5px;
|
|
|
|
|
right: 10px;
|
|
|
|
|
z-index: 30;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 5px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.zoom-btn {
|
|
|
|
|
width: 40px;
|
|
|
|
|
height: 40px;
|
|
|
|
|
background-color: white;
|
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
font-size: 1.2rem;
|
|
|
|
|
transition: background-color 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.zoom-icon-wrapper {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.zoom-icon-wrapper svg {
|
|
|
|
|
width: 20px;
|
|
|
|
|
height: 20px;
|
|
|
|
|
color: #333;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.zoom-btn.disabled {
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.zoom-btn:hover {
|
|
|
|
|
background-color: #f0f0f0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* --- ESTILOS DE CURSOR PARA EL ARRASTRE DEL MAPA --- */
|
|
|
|
|
.map-locked .rsm-geography {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.map-pannable .rsm-geography {
|
|
|
|
|
cursor: grab;
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-03 13:26:20 -03:00
|
|
|
.header-bottom-row {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin-top: 1rem;
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
}
|
2025-09-22 09:08:43 -03:00
|
|
|
|
2025-10-03 13:26:20 -03:00
|
|
|
.municipio-search-container {
|
|
|
|
|
min-width: 280px; /* Ancho mínimo para el buscador en desktop */
|
|
|
|
|
}
|
2025-09-20 22:31:11 -03:00
|
|
|
|
2025-10-03 13:26:20 -03:00
|
|
|
/* --- MEDIA QUERY PARA RESPONSIVE (REFACTORIZADA) --- */
|
2025-09-20 22:31:11 -03:00
|
|
|
@media (max-width: 800px) {
|
|
|
|
|
|
2025-10-03 13:26:20 -03:00
|
|
|
.panel-nacional-container {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
padding: 0;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 0;
|
2025-09-20 22:31:11 -03:00
|
|
|
}
|
|
|
|
|
|
2025-10-03 13:26:20 -03:00
|
|
|
.panel-header {
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
padding: 1rem;
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.panel-main-content {
|
|
|
|
|
flex-grow: 1;
|
|
|
|
|
position: relative;
|
|
|
|
|
height: auto;
|
|
|
|
|
min-height: 0;
|
2025-09-20 22:31:11 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.panel-toggle-btn {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
2025-09-19 17:19:10 -03:00
|
|
|
|
2025-09-20 22:31:11 -03:00
|
|
|
.header-top-row {
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.categoria-selector {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mapa-column,
|
|
|
|
|
.resultados-column {
|
|
|
|
|
position: absolute;
|
2025-10-03 13:26:20 -03:00
|
|
|
top: 0;
|
2025-09-20 22:31:11 -03:00
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mapa-column {
|
|
|
|
|
z-index: 10;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.resultados-column {
|
|
|
|
|
padding: 1rem;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
z-index: 15;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.panel-main-content.mobile-view-mapa .resultados-column {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
visibility: hidden;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.panel-main-content.mobile-view-resultados .mapa-column {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
visibility: hidden;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.resultados-column {
|
|
|
|
|
padding: 1rem;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mapa-column .mapa-componente-container,
|
|
|
|
|
.mapa-column .mapa-render-area {
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.panel-partidos-container .partido-fila:last-child {
|
|
|
|
|
margin-bottom: 90px;
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-03 13:26:20 -03:00
|
|
|
.zoom-controls-container, .mapa-volver-btn {
|
|
|
|
|
top: 15px;
|
2025-09-20 22:31:11 -03:00
|
|
|
}
|
|
|
|
|
|
2025-10-03 13:26:20 -03:00
|
|
|
.header-bottom-row {
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: stretch; /* Para que ambos elementos ocupen el ancho completo */
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.municipio-search-container {
|
|
|
|
|
min-width: 100%; /* El buscador ocupa todo el ancho en móvil */
|
2025-09-20 22:31:11 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 900px) and (orientation: landscape) {
|
|
|
|
|
.panel-main-content {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
position: static;
|
|
|
|
|
height: 85vh;
|
|
|
|
|
min-height: 400px;
|
|
|
|
|
}
|
2025-10-03 13:26:20 -03:00
|
|
|
.mapa-column, .resultados-column {
|
2025-09-20 22:31:11 -03:00
|
|
|
position: static;
|
|
|
|
|
height: auto;
|
|
|
|
|
width: auto;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
visibility: visible;
|
|
|
|
|
pointer-events: auto;
|
|
|
|
|
flex: 3;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
}
|
|
|
|
|
.resultados-column {
|
|
|
|
|
flex: 2;
|
|
|
|
|
min-width: 300px;
|
|
|
|
|
}
|
2025-10-03 13:26:20 -03:00
|
|
|
.mobile-results-card-container { display: none; }
|
|
|
|
|
.panel-toggle-btn { display: flex; }
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-09-20 22:31:11 -03:00
|
|
|
|
2025-10-03 13:26:20 -03:00
|
|
|
/* --- ESTILOS PARA LA TARJETA DE RESULTADOS EN MÓVIL (ACTUALIZADOS) --- */
|
|
|
|
|
.mobile-results-card-container {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 10px;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
z-index: 40;
|
|
|
|
|
width: 95%;
|
|
|
|
|
max-width: 450px;
|
|
|
|
|
background-color: rgba(255, 255, 255, 0.95);
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
|
|
|
|
|
backdrop-filter: blur(8px);
|
|
|
|
|
-webkit-backdrop-filter: blur(8px);
|
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
|
|
|
transition: all 0.3s ease-in-out;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
2025-09-20 22:31:11 -03:00
|
|
|
|
2025-10-03 13:26:20 -03:00
|
|
|
.mobile-results-card-container.view-resultados .collapsible-section {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
.mobile-results-card-container.view-resultados .mobile-card-view-toggle {
|
|
|
|
|
border-top: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.collapsible-section {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mobile-results-header {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 12px 18px; /* REDUCIDO */
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mobile-results-header .header-info {
|
|
|
|
|
display: flex; /* AÑADIDO */
|
|
|
|
|
align-items: baseline; /* AÑADIDO */
|
|
|
|
|
gap: 12px; /* AÑADIDO */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mobile-results-header .header-info h4 {
|
|
|
|
|
margin: 0;
|
|
|
|
|
font-size: 1.2rem;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* SELECTOR ESPECÍFICO PARA EL TEXTO DE ACCIÓN */
|
|
|
|
|
.mobile-results-header .header-info .header-action-text {
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
color: #6c757d;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mobile-results-header .header-toggle-icon {
|
|
|
|
|
font-size: 1.5rem;
|
|
|
|
|
color: #007bff;
|
|
|
|
|
transition: transform 0.3s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mobile-results-content {
|
|
|
|
|
max-height: 0;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, padding 0.3s ease-in-out;
|
|
|
|
|
padding: 0 15px;
|
|
|
|
|
border-top: 1px solid transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mobile-results-card-container.expanded .mobile-results-content {
|
|
|
|
|
max-height: 500px;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
padding: 5px 15px 15px 15px;
|
|
|
|
|
border-top-color: #e0e0e0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mobile-result-row {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
padding: 8px 0;
|
|
|
|
|
border-bottom: 1px solid #f0f0f0;
|
|
|
|
|
border-left: 4px solid;
|
|
|
|
|
padding-left: 8px;
|
|
|
|
|
}
|
|
|
|
|
.mobile-result-row:last-child { border-bottom: none; }
|
|
|
|
|
|
|
|
|
|
.mobile-result-logo {
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
width: 40px;
|
|
|
|
|
height: 40px;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
box-sizing: border-box;
|
2025-09-20 22:31:11 -03:00
|
|
|
}
|
2025-10-03 13:26:20 -03:00
|
|
|
.mobile-result-logo img {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
}
|
|
|
|
|
.mobile-result-info { flex-grow: 1; min-width: 0; }
|
|
|
|
|
.mobile-result-party-name { display: block; font-weight: 600; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
|
|
|
.mobile-result-candidate-name { display: block; font-size: 0.75rem; color: #6c757d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
|
|
|
.mobile-result-stats { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
|
|
|
|
|
.mobile-result-stats strong { font-size: 0.95rem; font-weight: 700; }
|
|
|
|
|
.mobile-result-stats span { font-size: 0.7rem; color: #6c757d; }
|
|
|
|
|
.no-results-text { padding: 1rem; text-align: center; color: #6c757d; font-size: 0.9rem; }
|
|
|
|
|
|
|
|
|
|
.mobile-card-view-toggle {
|
|
|
|
|
display: flex;
|
|
|
|
|
padding: 5px;
|
|
|
|
|
background-color: rgba(230, 230, 230, 0.6);
|
|
|
|
|
border-top: 1px solid rgba(0, 0, 0, 0.08);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mobile-card-view-toggle .toggle-btn {
|
|
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
padding: 10px 15px; /* Aumentado para pantallas más grandes */
|
|
|
|
|
border: none;
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
border-radius: 25px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-size: 1rem; /* Mantenido para pantallas más grandes */
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #555;
|
|
|
|
|
transition: all 0.2s ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mobile-card-view-toggle .toggle-btn.active {
|
|
|
|
|
background-color: #007bff;
|
|
|
|
|
color: white;
|
|
|
|
|
box-shadow: 0 2px 5px rgba(0, 123, 255, 0.2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Ajustes para pantallas pequeñas como el iPhone SE */
|
|
|
|
|
@media (max-width: 380px) {
|
|
|
|
|
.mobile-results-header {
|
|
|
|
|
padding: 4px 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mobile-results-header .header-info h4 {
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
text-transform: uppercase; /* Se achica el título */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mobile-results-header .header-info .header-action-text {
|
|
|
|
|
font-size: 0.7rem; /* Se achica el texto de acción */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mobile-card-view-toggle .toggle-btn {
|
|
|
|
|
padding: 6px 10px; /* Se reduce el padding de los botones */
|
|
|
|
|
font-size: 0.8rem; /* Se achica la fuente de los botones */
|
2025-09-20 22:31:11 -03:00
|
|
|
}
|
|
|
|
|
}
|