Feat Widgets 2030
This commit is contained in:
@@ -21,16 +21,17 @@
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
border-bottom: 1px solid #e0e0e0; /* Borde más claro */
|
||||
border-bottom: 1px solid #e0e0e0;
|
||||
padding-bottom: 10px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.ticker-header h3 {
|
||||
margin: 0;
|
||||
color: #212529; /* Color de título oscuro */
|
||||
color: #212529;
|
||||
font-size: 1.2em;
|
||||
font-weight: 700;
|
||||
padding-right: 15px; /* Espacio para que no se pegue al dropdown en escritorio */
|
||||
}
|
||||
|
||||
.ticker-stats {
|
||||
@@ -41,14 +42,14 @@
|
||||
}
|
||||
|
||||
.ticker-stats strong {
|
||||
color: #0073e6; /* Se usa el azul primario para destacar */
|
||||
color: #0073e6;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.ticker-results {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px; /* Espacio entre partidos */
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.ticker-party .party-info {
|
||||
@@ -71,7 +72,7 @@
|
||||
}
|
||||
|
||||
.party-bar-background {
|
||||
background-color: #e9ecef; /* Fondo de barra claro */
|
||||
background-color: #e9ecef;
|
||||
border-radius: 4px;
|
||||
height: 10px;
|
||||
overflow: hidden;
|
||||
@@ -81,18 +82,17 @@
|
||||
height: 100%;
|
||||
border-radius: 4px;
|
||||
transition: width 0.5s ease-in-out;
|
||||
/* El color de fondo se sigue aplicando desde el componente, esto es correcto */
|
||||
}
|
||||
|
||||
.ticker-results {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Aumentamos el tamaño mínimo */
|
||||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
||||
gap: 20px;
|
||||
}
|
||||
.ticker-party {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px; /* Espacio entre logo y detalles */
|
||||
gap: 10px;
|
||||
}
|
||||
.party-logo {
|
||||
flex-shrink: 0;
|
||||
@@ -108,5 +108,29 @@
|
||||
}
|
||||
.party-details {
|
||||
flex-grow: 1;
|
||||
min-width: 0; /* Previene que el flex item se desborde */
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
/* --- ESTILOS PARA RESPONSIVIDAD MÓVIL --- */
|
||||
@media (max-width: 600px) {
|
||||
.ticker-header {
|
||||
flex-direction: column;
|
||||
/* Centra los elementos hijos horizontalmente */
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.ticker-header h3 {
|
||||
font-size: 1.1em;
|
||||
padding-right: 0; /* Quitamos el padding en móvil */
|
||||
}
|
||||
|
||||
/* Esta regla asegura que el dropdown siga ocupando todo el ancho */
|
||||
.ticker-header > div {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.ticker-party .party-name {
|
||||
white-space: normal;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user