Feat Prototipos Widgets y Fix Worker Telegramas

This commit is contained in:
2025-08-25 10:25:54 -03:00
parent 8192185bc5
commit 4a6318c18a
42 changed files with 1635 additions and 1092 deletions

View File

@@ -1,44 +1,49 @@
/* src/components/TickerWidget.css */
.ticker-container {
background-color: #2a2a2e;
/* Se cambia a un fondo claro con borde y sombra sutil */
background-color: #ffffff;
border: 1px solid #e0e0e0;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
padding: 15px 20px;
border-radius: 8px;
max-width: 800px;
margin: 20px auto;
font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
color: #e0e0e0;
font-family: "Public Sans", system-ui, Avenir, Helvetica, Arial, sans-serif;
color: #333333; /* Color de texto por defecto */
}
.ticker-container.loading, .ticker-container.error {
text-align: center;
padding: 30px;
font-style: italic;
color: #999;
color: #757575; /* Color de texto atenuado */
}
.ticker-header {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #444;
border-bottom: 1px solid #e0e0e0; /* Borde más claro */
padding-bottom: 10px;
margin-bottom: 15px;
}
.ticker-header h3 {
margin: 0;
color: white;
font-size: 1.4em;
color: #212529; /* Color de título oscuro */
font-size: 1.2em;
font-weight: 700;
}
.ticker-stats {
display: flex;
gap: 20px;
font-size: 0.9em;
color: #555;
}
.ticker-stats strong {
color: #a7c7e7;
color: #0073e6; /* Se usa el azul primario para destacar */
font-size: 1.1em;
}
@@ -64,19 +69,19 @@
}
.ticker-party .party-percent {
font-weight: bold;
font-weight: 700;
}
.party-bar-background {
background-color: #444;
background-color: #e9ecef; /* Fondo de barra claro */
border-radius: 4px;
height: 10px;
overflow: hidden;
}
.party-bar-foreground {
background-color: #646cff;
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 */
}