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-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;
|
|
|
|
|
/* Necesario para que z-index funcione */
|
|
|
|
|
z-index: 20;
|
|
|
|
|
/* Un número alto para ponerlo al frente */
|
|
|
|
|
background-color: white;
|
|
|
|
|
/* Asegura que no sea transparente */
|
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;
|
|
|
|
|
/* Coincide con el radio de los otros elementos */
|
|
|
|
|
border: 1px solid #e0e0e0 !important;
|
|
|
|
|
box-shadow: none !important;
|
|
|
|
|
/* Quitamos la sombra por defecto */
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
|
2025-09-19 17:19:10 -03:00
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Columna del mapa */
|
|
|
|
|
.mapa-column {
|
2025-09-20 22:31:11 -03:00
|
|
|
flex: 2;
|
|
|
|
|
/* Por defecto, ocupa 2/3 del espacio */
|
2025-09-17 11:31:17 -03:00
|
|
|
position: relative;
|
|
|
|
|
transition: flex 0.5s ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Columna de resultados */
|
|
|
|
|
.resultados-column {
|
2025-09-20 22:31:11 -03:00
|
|
|
flex: 1;
|
|
|
|
|
/* Por defecto, ocupa 1/3 */
|
2025-09-17 11:31:17 -03:00
|
|
|
overflow-y: auto;
|
|
|
|
|
padding: 1.5rem;
|
|
|
|
|
transition: all 0.5s ease-in-out;
|
2025-09-20 22:31:11 -03:00
|
|
|
min-width: 320px;
|
|
|
|
|
/* Un ancho mínimo para que no se comprima demasiado */
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
|
|
|
|
|
2025-09-19 17:19:10 -03:00
|
|
|
/* --- NUEVO LAYOUT PARA TARJETAS DE PARTIDO --- */
|
|
|
|
|
.partido-fila {
|
2025-09-17 11:31:17 -03:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2025-09-19 17:19:10 -03:00
|
|
|
gap: 1rem;
|
|
|
|
|
padding: 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-09-19 17:19:10 -03:00
|
|
|
width: 75px;
|
|
|
|
|
height: 75px;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.partido-logo img {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
object-fit: contain;
|
2025-09-19 17:19:10 -03:00
|
|
|
border-radius: 10%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.partido-main-content {
|
|
|
|
|
flex-grow: 1;
|
2025-09-20 22:31:11 -03:00
|
|
|
display: grid;
|
|
|
|
|
/* CAMBIO: De flex a grid */
|
|
|
|
|
grid-template-columns: 1fr auto;
|
|
|
|
|
/* Columna 1 (nombre) flexible, Columna 2 (stats) se ajusta al contenido */
|
|
|
|
|
grid-template-rows: auto auto;
|
|
|
|
|
/* Dos filas: una para la info, otra para la barra */
|
|
|
|
|
align-items: center;
|
|
|
|
|
/* Alinea verticalmente el contenido de ambas filas */
|
|
|
|
|
gap: 0.25rem 1rem;
|
|
|
|
|
/* Espacio entre filas y columnas (0.25rem vertical, 1rem horizontal) */
|
2025-09-19 17:19:10 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.partido-top-row {
|
2025-09-20 22:31:11 -03:00
|
|
|
/* Hacemos que este contenedor sea "invisible" para el grid,
|
|
|
|
|
promoviendo a sus hijos (info y stats) a la cuadrícula principal. */
|
|
|
|
|
display: contents;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.partido-info-wrapper {
|
2025-09-19 17:19:10 -03:00
|
|
|
/* Ocupa el espacio disponible a la izquierda */
|
|
|
|
|
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;
|
|
|
|
|
font-size: 1.05rem;
|
|
|
|
|
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-01 10:03:01 -03:00
|
|
|
font-size: 0.8rem;
|
|
|
|
|
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;
|
|
|
|
|
/* Ya no necesita ser un contenedor flex, el grid lo posiciona */
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.partido-porcentaje {
|
2025-09-19 17:19:10 -03:00
|
|
|
font-size: 1.5rem;
|
2025-09-17 11:31:17 -03:00
|
|
|
font-weight: 700;
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.partido-votos {
|
2025-09-19 17:19:10 -03:00
|
|
|
font-size: 1rem;
|
2025-09-17 11:31:17 -03:00
|
|
|
color: #666;
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
2025-09-19 17:19:10 -03:00
|
|
|
.partido-barra-background {
|
|
|
|
|
height: 20px;
|
|
|
|
|
background-color: #f0f0f0;
|
|
|
|
|
border-radius: 4px;
|
2025-09-20 22:31:11 -03:00
|
|
|
grid-column: 1 / 3;
|
|
|
|
|
/* Le indicamos que ocupe ambas columnas (de la línea 1 a la 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-09-19 17:19:10 -03:00
|
|
|
/* ------------------------------------------- */
|
|
|
|
|
|
2025-09-17 11:31:17 -03:00
|
|
|
.panel-estado-recuento {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-around;
|
2025-09-19 17:19:10 -03:00
|
|
|
padding-bottom: 1.5rem;
|
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
|
border-bottom: 1px solid #e0e0e0;
|
2025-09-17 11:31:17 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.estado-item {
|
2025-09-19 17:19:10 -03:00
|
|
|
width: 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;
|
|
|
|
|
font-size: 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-09-22 09:08:43 -03:00
|
|
|
/* AÑADIDO: Desactivar la transición durante el arrastre */
|
|
|
|
|
.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;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* --- NUEVOS ESTILOS PARA EL TOGGLE MÓVIL --- */
|
|
|
|
|
.mobile-view-toggle {
|
|
|
|
|
display: none;
|
2025-10-01 10:03:01 -03:00
|
|
|
position: absolute;
|
|
|
|
|
/* <-- CAMBIO: De 'fixed' a 'absolute' */
|
|
|
|
|
bottom: 10px;
|
|
|
|
|
/* <-- AJUSTE: Menos espacio desde abajo */
|
2025-09-20 22:31:11 -03:00
|
|
|
left: 50%;
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
z-index: 100;
|
|
|
|
|
background-color: rgba(255, 255, 255, 0.9);
|
|
|
|
|
border-radius: 30px;
|
|
|
|
|
padding: 5px;
|
|
|
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
|
|
|
gap: 5px;
|
|
|
|
|
backdrop-filter: blur(5px);
|
|
|
|
|
-webkit-backdrop-filter: blur(5px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mobile-view-toggle .toggle-btn {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
padding: 10px 20px;
|
|
|
|
|
border: none;
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
border-radius: 25px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #555;
|
|
|
|
|
transition: all 0.2s ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mobile-view-toggle .toggle-btn.active {
|
|
|
|
|
background-color: #007bff;
|
|
|
|
|
color: white;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* --- ESTILOS PARA LOS BOTONES DE ZOOM DEL MAPA --- */
|
|
|
|
|
.zoom-controls-container {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 5px;
|
|
|
|
|
right: 10px;
|
|
|
|
|
z-index: 30;
|
|
|
|
|
/* Debe ser MAYOR que el z-index del header (20) */
|
|
|
|
|
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 {
|
|
|
|
|
/* Contenedor del icono */
|
|
|
|
|
display: flex;
|
|
|
|
|
/* Necesario para que el SVG interno se alinee */
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.zoom-icon-wrapper svg {
|
|
|
|
|
/* Apunta directamente al SVG del icono */
|
|
|
|
|
width: 20px;
|
|
|
|
|
height: 20px;
|
|
|
|
|
color: #333;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.zoom-btn.disabled {
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
/* Lo hace semitransparente */
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
/* Muestra el cursor de "no permitido" */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.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-09-22 09:08:43 -03:00
|
|
|
/* El cursor 'grabbing' se aplica automáticamente por el navegador durante el arrastre */
|
|
|
|
|
|
2025-09-20 22:31:11 -03:00
|
|
|
|
|
|
|
|
/* --- MEDIA QUERY PARA RESPONSIVE (ENFOQUE FINAL CON CAPAS) --- */
|
|
|
|
|
@media (max-width: 800px) {
|
|
|
|
|
|
|
|
|
|
/* --- CONFIGURACIÓN GENERAL --- */
|
|
|
|
|
html,
|
|
|
|
|
body {
|
|
|
|
|
width: 100%;
|
|
|
|
|
overflow-x: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Controles de vista y header (sin cambios) */
|
|
|
|
|
.mobile-view-toggle {
|
|
|
|
|
display: flex;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.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%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* --- NUEVO LAYOUT DE CAPAS SUPERPUESTAS --- */
|
|
|
|
|
|
|
|
|
|
/* 1. El contenedor principal ahora es un ancla de posicionamiento */
|
|
|
|
|
.panel-main-content {
|
|
|
|
|
position: relative;
|
|
|
|
|
/* Clave para que los hijos se posicionen dentro de él */
|
|
|
|
|
height: calc(100vh - 200px);
|
|
|
|
|
/* Le damos una altura fija y predecible */
|
|
|
|
|
min-height: 450px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 2. Ambas columnas son capas que ocupan el 100% del espacio del padre */
|
|
|
|
|
.mapa-column,
|
|
|
|
|
.resultados-column {
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Le damos un estilo específico a la columna del mapa para subirla */
|
|
|
|
|
.mapa-column {
|
|
|
|
|
top: -50px;
|
|
|
|
|
left: -10px;
|
|
|
|
|
z-index: 10;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Hacemos que la columna de resultados pueda tener su propio scroll... */
|
|
|
|
|
.resultados-column {
|
|
|
|
|
top: 0;
|
|
|
|
|
/* Aseguramos que los resultados se queden en su sitio */
|
|
|
|
|
padding: 1rem;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
z-index: 15;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 3. Lógica de visibilidad: controlamos qué capa está "arriba" */
|
|
|
|
|
.panel-main-content.mobile-view-mapa .resultados-column {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
visibility: hidden;
|
|
|
|
|
/* Esta es la propiedad clave que ya tenías, pero es importante verificarla */
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
/* Asegura que la capa oculta no bloquee el mapa */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.panel-main-content.mobile-view-resultados .mapa-column {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
visibility: hidden;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Hacemos que la columna de resultados pueda tener su propio scroll si el contenido es largo */
|
|
|
|
|
.resultados-column {
|
|
|
|
|
padding: 1rem;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 4. Estilos de los resultados (ya estaban bien, se mantienen) */
|
|
|
|
|
.partido-fila {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 1rem;
|
2025-10-01 10:03:01 -03:00
|
|
|
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 */
|
2025-09-20 22:31:11 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.partido-logo {
|
|
|
|
|
width: 60px;
|
|
|
|
|
height: 60px;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.partido-main-content {
|
|
|
|
|
flex-grow: 1;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.partido-top-row {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.partido-info-wrapper {
|
|
|
|
|
min-width: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.partido-nombre {
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.partido-stats {
|
|
|
|
|
text-align: right;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
padding-left: 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* --- AJUSTE DE TAMAÑO DEL CONTENEDOR INTERNO DEL MAPA --- */
|
|
|
|
|
.mapa-column .mapa-componente-container,
|
|
|
|
|
.mapa-column .mapa-render-area {
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Margen de seguridad para el último elemento de la lista de resultados */
|
|
|
|
|
.panel-partidos-container .partido-fila:last-child {
|
|
|
|
|
margin-bottom: 90px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.zoom-controls-container {
|
|
|
|
|
top: 55px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mapa-volver-btn {
|
|
|
|
|
top: 55px;
|
|
|
|
|
left: 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* --- MEDIA QUERY ADICIONAL PARA MÓVIL EN HORIZONTAL --- */
|
|
|
|
|
/* Se activa cuando la pantalla es ancha pero no muy alta, como un teléfono en landscape */
|
|
|
|
|
@media (max-width: 900px) and (orientation: landscape) {
|
|
|
|
|
|
|
|
|
|
/* Layout flexible de dos columnas */
|
|
|
|
|
.panel-main-content {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
position: static;
|
|
|
|
|
height: 85vh;
|
|
|
|
|
min-height: 400px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mapa-column,
|
|
|
|
|
.resultados-column {
|
|
|
|
|
position: static;
|
|
|
|
|
/* Desactivamos el posicionamiento absoluto */
|
|
|
|
|
height: auto;
|
|
|
|
|
width: auto;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
visibility: visible;
|
|
|
|
|
pointer-events: auto;
|
|
|
|
|
flex: 3;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
/* Permitimos que la columna de resultados tenga su propio scroll */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.resultados-column {
|
|
|
|
|
flex: 2;
|
|
|
|
|
min-width: 300px;
|
|
|
|
|
/* Un mínimo para que no se comprima */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 3. Ocultamos los botones de cambio de vista móvil, ya que ambas se ven */
|
|
|
|
|
.mobile-view-toggle {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 4. Mostramos de nuevo el botón lateral para colapsar el panel de resultados */
|
|
|
|
|
.panel-toggle-btn {
|
|
|
|
|
display: flex;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|