Files
Mimante/Mimante/wwwroot/css/modern-pages.css
Alberto Balbo f3262a0497 Log aste strutturato, limiti prodotto e UI statistiche
- Log per-asta ora strutturato con livelli, categorie e deduplicazione; motivi di blocco puntata tracciati in modo dettagliato e throttled
- Nuova visualizzazione log compatta e colorata nella UI
- Migliorate statistiche prodotto: aggiunta mediana prezzo, flag UseCustomLimits e editing limiti inline
- Impostazione priorità limiti nuove aste (globali vs personalizzati)
- Refactoring: rimossi limiti reset, UI statistiche rinnovata, ordinamenti e filtri avanzati
- Aggiornato schema DB (MedianFinalPrice, UseCustomLimits)
- Diagnostica periodica e log dettagliato su ticker/controlli
2026-02-16 23:10:04 +01:00

1484 lines
34 KiB
CSS

/* === MODERN PAGE STYLES (append to app-wpf.css) === */
/* ═══════════════════════════════════════════════════════════════════
TOOLBAR COMPATTA CON PULSANTI E CONTEGGI
═══════════════════════════════════════════════════════════════════ */
.toolbar-compact {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.5rem 0.75rem;
background: linear-gradient(135deg, rgba(20, 20, 30, 0.8) 0%, rgba(30, 30, 45, 0.8) 100%);
border-radius: var(--radius-md);
border: 1px solid rgba(255, 255, 255, 0.05);
margin-bottom: 0.5rem;
flex-wrap: wrap;
}
.btn-group-actions {
display: flex;
gap: 0.25rem;
}
.action-btn {
display: flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
border: none;
border-radius: var(--radius-sm);
font-size: 1rem;
cursor: pointer;
transition: all 0.2s ease;
}
.action-btn.success {
background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
color: white;
}
.action-btn.success:hover {
box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
transform: translateY(-1px);
}
.action-btn.warning {
background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
color: #1a1a1a;
}
.action-btn.warning:hover {
box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
transform: translateY(-1px);
}
.action-btn.secondary {
background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
color: white;
}
.action-btn.secondary:hover {
box-shadow: 0 0 10px rgba(107, 114, 128, 0.5);
transform: translateY(-1px);
}
/* Indicatori Stato */
.status-indicators {
display: flex;
align-items: center;
gap: 0.375rem;
padding: 0 0.5rem;
border-left: 1px solid rgba(255, 255, 255, 0.1);
border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.status-pill {
display: flex;
align-items: center;
gap: 0.25rem;
padding: 0.25rem 0.5rem;
border-radius: 12px;
font-size: 0.75rem;
font-weight: 600;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.08);
transition: all 0.15s ease;
}
.status-pill:hover {
background: rgba(255, 255, 255, 0.1);
}
.status-pill i {
font-size: 0.7rem;
}
.status-pill.total { color: #a5b4fc; border-color: rgba(99, 102, 241, 0.3); }
.status-pill.active { color: #4ade80; border-color: rgba(34, 197, 94, 0.3); }
.status-pill.paused { color: #fbbf24; border-color: rgba(251, 191, 36, 0.3); }
.status-pill.stopped { color: #9ca3af; border-color: rgba(156, 163, 175, 0.3); }
.status-pill.won { color: #fbbf24; border-color: rgba(251, 191, 36, 0.3); }
.status-pill.lost { color: #f87171; border-color: rgba(248, 113, 113, 0.3); }
/* Pulsanti Gestione */
.btn-group-manage {
display: flex;
align-items: center;
gap: 0.25rem;
margin-left: auto;
}
.manage-separator {
width: 1px;
height: 20px;
background: rgba(255, 255, 255, 0.15);
margin: 0 0.25rem;
}
.manage-btn {
display: flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
border: 1px solid transparent;
border-radius: var(--radius-sm);
font-size: 0.8rem;
cursor: pointer;
transition: all 0.15s ease;
background: transparent;
}
.manage-btn:disabled {
opacity: 0.3;
cursor: not-allowed;
}
.manage-btn.primary {
background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
color: white;
}
.manage-btn.primary:hover:not(:disabled) {
box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}
.manage-btn.danger {
background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
color: white;
}
.manage-btn.danger:hover:not(:disabled) {
box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}
.manage-btn.danger-fill {
background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
color: white;
}
.manage-btn.danger-fill:hover:not(:disabled) {
box-shadow: 0 0 10px rgba(220, 38, 38, 0.6);
}
.manage-btn.outline-success {
border-color: rgba(34, 197, 94, 0.4);
color: #4ade80;
}
.manage-btn.outline-success:hover:not(:disabled) {
background: rgba(34, 197, 94, 0.15);
}
.manage-btn.outline-warning {
border-color: rgba(245, 158, 11, 0.4);
color: #fbbf24;
}
.manage-btn.outline-warning:hover:not(:disabled) {
background: rgba(245, 158, 11, 0.15);
}
.manage-btn.outline-secondary {
border-color: rgba(156, 163, 175, 0.4);
color: #9ca3af;
}
.manage-btn.outline-secondary:hover:not(:disabled) {
background: rgba(156, 163, 175, 0.15);
}
.manage-btn.outline-gold {
border-color: rgba(251, 191, 36, 0.4);
color: #fbbf24;
}
.manage-btn.outline-gold:hover:not(:disabled) {
background: rgba(251, 191, 36, 0.15);
}
.manage-btn.outline-danger {
border-color: rgba(239, 68, 68, 0.4);
color: #f87171;
}
.manage-btn.outline-danger:hover:not(:disabled) {
background: rgba(239, 68, 68, 0.15);
}
/* ═══════════════════════════════════════════════════════════════════
LOG BOX - SCROLL FISSO
═══════════════════════════════════════════════════════════════════ */
.log-box {
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
font-size: 0.75rem;
line-height: 1.4;
padding: 0.5rem;
height: 100%; /* Usa altezza dal pannello */
overflow-y: auto; /* Scroll verticale */
overflow-x: hidden;
}
.log-box-compact {
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
font-size: 0.75rem;
line-height: 1.4;
padding: 0.5rem;
max-height: 100%; /* Non superare il contenitore */
overflow-y: auto; /* Scroll verticale */
overflow-x: hidden;
}
.log-entry {
padding: 0.25rem 0.5rem;
margin-bottom: 0.15rem;
border-radius: 4px;
word-wrap: break-word;
transition: background 0.1s ease;
}
.log-entry:hover {
background: rgba(255, 255, 255, 0.05);
}
.log-entry-error {
color: #f87171;
background: rgba(239, 68, 68, 0.1);
border-left: 3px solid #ef4444;
padding-left: 0.5rem;
}
.log-entry-warning {
color: #fbbf24;
background: rgba(245, 158, 11, 0.1);
border-left: 3px solid #f59e0b;
padding-left: 0.5rem;
}
.log-entry-success {
color: #4ade80;
background: rgba(34, 197, 94, 0.1);
border-left: 3px solid #22c55e;
padding-left: 0.5rem;
}
.log-entry-debug {
color: #60a5fa;
opacity: 0.7;
}
/* ═══════════════════════════════════════════════════════════════════
LAYOUT CON SPLITTER TRASCINABILI
═══════════════════════════════════════════════════════════════════ */
/* Container principale - occupa tutto lo spazio disponibile */
.auction-monitor-container {
display: flex;
flex-direction: column;
height: 100%;
width: 100%;
overflow: hidden;
box-sizing: border-box;
gap: 0; /* IMPORTANTE: nessun gap tra toolbar e content */
}
/* Area contenuto principale */
.main-content-area {
display: flex;
flex-direction: column;
flex: 1 1 auto; /* Cresce e si riduce */
min-height: 0; /* IMPORTANTE per flex */
overflow: hidden;
gap: 0; /* IMPORTANTE: nessun gap, gli splitter gestiscono lo spazio */
}
/* Riga superiore (Aste + Log) */
.top-row {
display: flex;
flex-direction: row;
flex: 1 1 auto; /* Cresce e si riduce - NON percentuale fissa */
min-height: 200px; /* Altezza minima */
overflow: hidden;
gap: 0; /* IMPORTANTE: nessun gap, gutter gestisce lo spazio */
}
/* Riga inferiore (Dettagli) */
.bottom-row {
display: flex;
flex-direction: column;
flex: 0 0 auto; /* NON cresce automaticamente */
height: 300px; /* Altezza iniziale fissa */
min-height: 150px; /* Altezza minima */
overflow: hidden;
gap: 0;
}
/* Pannello generico */
.panel {
display: flex;
flex-direction: column;
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius-md);
overflow: hidden;
box-sizing: border-box;
height: 100%; /* IMPORTANTE: altezza fissa dal contenitore */
position: relative; /* Per z-index */
}
/* IMPORTANTE: Previeni collasso dei bordi */
.panel::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
pointer-events: none;
z-index: -1;
}
/* Pannello Aste */
.panel-auctions {
flex: 1 1 auto; /* Cresce per riempire lo spazio */
min-width: 300px;
height: 100%; /* Usa tutta l'altezza del contenitore */
overflow: hidden;
}
/* Pannello Log */
.panel-log {
flex: 0 0 auto; /* NON cresce/riduce automaticamente */
width: 320px; /* Larghezza fissa iniziale */
min-width: 200px;
max-width: 500px;
height: 100%; /* Usa tutta l'altezza del contenitore */
overflow: hidden;
}
/* Pannello Dettagli */
.panel-details {
flex: 1 1 auto; /* Cresce per riempire */
min-height: 150px;
height: 100%; /* Usa tutta l'altezza del contenitore */
overflow: hidden; /* Il contenitore non scrolla */
}
/* Gutter/Splitter */
.gutter {
background: rgba(255, 255, 255, 0.03);
flex-shrink: 0; /* NON si riduce mai */
flex-grow: 0; /* NON cresce mai */
transition: background 0.15s ease;
z-index: 10; /* Sopra i pannelli */
}
.gutter:hover {
background: rgba(99, 102, 241, 0.25);
}
.gutter:active {
background: rgba(99, 102, 241, 0.4);
}
.gutter-vertical {
width: 6px;
cursor: col-resize;
min-width: 6px; /* Larghezza fissa */
max-width: 6px;
}
.gutter-horizontal {
height: 6px;
cursor: row-resize;
min-height: 6px; /* Altezza fissa */
max-height: 6px;
}
/* Header pannello */
.panel-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.4rem 0.6rem;
background: rgba(255, 255, 255, 0.03);
border-bottom: 1px solid var(--border-color);
font-size: 0.75rem;
font-weight: 600;
color: var(--text-secondary);
flex-shrink: 0;
}
.panel-header i {
margin-right: 0.4rem;
opacity: 0.7;
}
.panel-content {
flex: 1;
overflow-y: auto; /* Scroll verticale */
overflow-x: hidden;
min-height: 0; /* Importante per flex */
max-height: 100%; /* Non superare il pannello */
}
/* Contenuto dettagli */
.auction-details-content {
padding: 0.5rem;
height: 100%;
display: flex;
flex-direction: column;
overflow: hidden; /* Il contenitore non scrolla */
}
/* Tab content deve scrollare */
.tab-content {
flex: 1;
overflow: hidden;
min-height: 0;
display: flex; /* IMPORTANTE per i tab-pane */
flex-direction: column;
}
.tab-pane {
height: 100%;
overflow: hidden;
display: none; /* Bootstrap lo gestisce con show active */
}
.tab-pane.show.active {
display: flex; /* Quando attivo diventa flex */
flex-direction: column;
}
.tab-panel-content {
flex: 1; /* Riempie il tab-pane */
overflow-y: auto; /* Scroll per il contenuto dei tab */
overflow-x: hidden;
padding: 0.5rem;
min-height: 0; /* IMPORTANTE per flex */
}
.details-header {
font-size: 0.9rem;
font-weight: 600;
padding: 0.25rem 0 0.5rem 0;
border-bottom: 1px solid var(--border-color);
margin-bottom: 0.5rem;
}
/* Placeholder dettagli */
.details-placeholder {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
padding: 1rem;
color: var(--text-muted);
text-align: center;
}
.details-placeholder i {
font-size: 1.25rem;
margin-bottom: 0.375rem;
opacity: 0.5;
}
.details-placeholder p {
margin: 0;
font-size: 0.8rem;
}
/* Colonna Ping */
.col-ping {
width: 55px;
min-width: 55px;
text-align: center;
font-size: 0.7rem;
font-weight: 500;
}
/* Responsive */
@media (max-width: 992px) {
.top-row {
flex-direction: column;
}
.gutter-vertical {
display: none;
}
.panel-log {
flex: 0 0 150px;
max-width: none;
}
.toolbar-compact {
flex-direction: column;
align-items: stretch;
gap: 0.5rem;
}
.btn-group-actions,
.status-indicators,
.btn-group-manage {
justify-content: center;
}
.status-indicators {
border: none;
padding: 0.5rem 0;
border-top: 1px solid rgba(255, 255, 255, 0.1);
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-group-manage {
margin-left: 0;
flex-wrap: wrap;
}
}
/* ✅ NUOVO: Stili per selezione riga e colonna puntate */
.table-hover tbody tr {
cursor: pointer;
transition: all 0.2s ease;
}
.table-hover tbody tr.selected-row {
background-color: rgba(76, 175, 80, 0.15) !important;
border-left: 4px solid #4CAF50;
}
.table-hover tbody tr:hover:not(.selected-row) {
background-color: rgba(255, 255, 255, 0.05);
}
/* Colonna Puntate - testo grassetto e leggibile */
.bids-column {
font-weight: bold !important;
color: var(--text-primary) !important;
}
/* Larghezza colonna puntate leggermente maggiore */
.col-click {
min-width: 85px;
width: 85px;
white-space: nowrap;
}
/* 🔥 Header ordinabili */
.sortable-header {
cursor: pointer;
user-select: none;
transition: background-color 0.2s ease;
}
.sortable-header:hover {
background-color: rgba(13, 110, 253, 0.15);
}
/* 🎯 Evidenziazione riga utente corrente */
.my-bid-row {
background-color: rgba(40, 167, 69, 0.2) !important;
border-left: 3px solid #28a745;
font-weight: 500;
}
.my-bid-row:hover {
background-color: rgba(40, 167, 69, 0.3) !important;
}
.page-header {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 1.5rem;
padding-bottom: 1rem;
border-bottom: 1px solid var(--border-color);
}
.page-header-icon {
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
background: var(--gradient-primary);
border-radius: var(--radius-md);
font-size: 1.5rem;
color: white;
}
.page-header-text h1,
.page-header-text h2 {
margin: 0;
font-size: 1.5rem;
font-weight: 700;
color: var(--text-primary);
}
.page-header-text p {
margin: 0.25rem 0 0;
font-size: 0.875rem;
color: var(--text-muted);
}
/* Modern Accordion */
.accordion-modern .accordion-item {
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius-lg) !important;
margin-bottom: 0.75rem;
overflow: hidden;
}
.accordion-modern .accordion-button {
background: transparent;
color: var(--text-primary);
font-weight: 600;
padding: 1rem 1.25rem;
box-shadow: none !important;
}
.accordion-modern .accordion-button:not(.collapsed) {
background: rgba(99, 102, 241, 0.08);
color: var(--primary);
}
.accordion-modern .accordion-button::after {
filter: invert(1);
}
.accordion-modern .accordion-body {
padding: 1.25rem;
background: var(--bg-secondary);
}
/* Modern Form Controls Override */
.settings-container .form-control,
.settings-container .form-select {
background: var(--bg-secondary) !important;
border: 1px solid var(--border-color) !important;
border-radius: var(--radius-md) !important;
color: var(--text-primary) !important;
padding: 0.75rem 1rem !important;
}
.settings-container .form-control:focus,
.settings-container .form-select:focus {
border-color: var(--primary) !important;
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
}
/* Stats Grid */
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
margin-bottom: 1.5rem;
}
.stat-box {
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius-lg);
padding: 1.25rem;
transition: all 0.2s ease;
}
.stat-box:hover {
border-color: rgba(255, 255, 255, 0.12);
transform: translateY(-2px);
}
.stat-box-label {
font-size: 0.8125rem;
color: var(--text-muted);
margin-bottom: 0.5rem;
display: flex;
align-items: center;
gap: 0.5rem;
}
.stat-box-value {
font-size: 1.75rem;
font-weight: 700;
color: var(--text-primary);
}
.stat-box-value.success { color: var(--success); }
.stat-box-value.warning { color: var(--warning); }
.stat-box-value.danger { color: var(--danger); }
.stat-box-value.info { color: var(--info); }
/* Empty State */
.empty-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 4rem 2rem;
text-align: center;
}
.empty-state-icon {
font-size: 4rem;
color: var(--text-muted);
opacity: 0.5;
margin-bottom: 1.5rem;
}
.empty-state-title {
font-size: 1.25rem;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 0.5rem;
}
.empty-state-text {
color: var(--text-muted);
max-width: 400px;
}
/* Settings Container Override */
.settings-container {
max-width: 1000px;
}
.settings-container .accordion-item {
background: var(--bg-card) !important;
border: 1px solid var(--border-color) !important;
border-radius: var(--radius-lg) !important;
margin-bottom: 0.75rem;
}
.settings-container .accordion-button {
background: transparent !important;
color: var(--text-primary) !important;
font-weight: 600;
}
.settings-container .accordion-button:not(.collapsed) {
background: rgba(99, 102, 241, 0.08) !important;
}
.settings-container .accordion-body {
background: var(--bg-secondary) !important;
border-top: 1px solid var(--border-color) !important;
}
/* Alert modernization */
.settings-container .alert {
border-radius: var(--radius-md) !important;
border: 1px solid !important;
}
.settings-container .alert-success {
background: rgba(34, 197, 94, 0.1) !important;
border-color: rgba(34, 197, 94, 0.3) !important;
color: #4ade80 !important;
}
.settings-container .alert-warning {
background: rgba(245, 158, 11, 0.1) !important;
border-color: rgba(245, 158, 11, 0.3) !important;
color: #fbbf24 !important;
}
.settings-container .alert-danger {
background: rgba(239, 68, 68, 0.1) !important;
border-color: rgba(239, 68, 68, 0.3) !important;
color: #f87171 !important;
}
/* Button modernization */
.settings-container .btn-primary {
background: var(--gradient-primary) !important;
border: none !important;
border-radius: var(--radius-md) !important;
}
.settings-container .btn-danger {
background: var(--gradient-danger) !important;
border: none !important;
border-radius: var(--radius-md) !important;
}
.settings-container .btn-outline-secondary {
background: transparent !important;
border: 1px solid var(--border-color) !important;
color: var(--text-secondary) !important;
border-radius: var(--radius-md) !important;
transition: filter 0.2s ease, background-color 0.2s ease;
}
.settings-container .btn-outline-secondary:hover {
background: var(--bg-hover) !important;
color: var(--text-primary) !important;
}
/* 🎨 Stili hover moderni per pulsanti outline */
.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-success,
.btn-outline-danger,
.btn-outline-warning,
.btn-outline-info {
transition: filter 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.btn-outline-primary:hover:not(:disabled) {
filter: brightness(1.05);
box-shadow: 0 2px 6px rgba(13, 110, 253, 0.2);
}
.btn-outline-success:hover:not(:disabled) {
filter: brightness(1.05);
box-shadow: 0 2px 6px rgba(25, 135, 84, 0.2);
}
.btn-outline-danger:hover:not(:disabled) {
filter: brightness(1.05);
box-shadow: 0 2px 6px rgba(220, 53, 69, 0.2);
}
.btn-outline-warning:hover:not(:disabled) {
filter: brightness(1.05);
box-shadow: 0 2px 6px rgba(255, 193, 7, 0.2);
}
/* === AUCTION BROWSER STYLES === */
.browser-container {
max-width: 1400px;
margin: 0 auto;
}
.stats-mini {
display: flex;
align-items: center;
padding: 0.75rem 1rem;
background: var(--bg-secondary);
border-radius: var(--radius-md);
font-size: 0.9rem;
}
/* Auction Grid */
.auction-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 1rem;
}
@media (min-width: 768px) {
.auction-grid {
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
}
@media (min-width: 1200px) {
.auction-grid {
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
}
/* Auction Card */
.auction-card {
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius-lg);
overflow: hidden;
transition: all 0.2s ease;
display: flex;
flex-direction: column;
}
.auction-card:hover {
border-color: rgba(255, 255, 255, 0.15);
transform: translateY(-2px);
box-shadow: var(--shadow-md);
}
.auction-card.monitored {
border-color: rgba(34, 197, 94, 0.4);
background: linear-gradient(135deg, var(--bg-card) 0%, rgba(34, 197, 94, 0.05) 100%);
}
.auction-card.sold {
opacity: 0.6;
}
/* Auction Image */
.auction-image {
position: relative;
width: 100%;
aspect-ratio: 4/3;
background: var(--bg-secondary);
overflow: hidden;
}
.auction-image img {
width: 100%;
height: 100%;
object-fit: contain;
background: white;
}
.auction-image .placeholder-image {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
font-size: 3rem;
color: var(--text-muted);
opacity: 0.3;
}
.auction-badges {
position: absolute;
top: 0.5rem;
left: 0.5rem;
display: flex;
flex-wrap: wrap;
gap: 0.25rem;
}
.auction-badges .badge {
font-size: 0.7rem;
font-weight: 600;
padding: 0.25rem 0.5rem;
border-radius: var(--radius-sm);
}
.sold-overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.7);
display: flex;
align-items: center;
justify-content: center;
}
.sold-overlay span {
background: var(--danger);
color: white;
padding: 0.5rem 1rem;
border-radius: var(--radius-md);
font-weight: 700;
font-size: 0.9rem;
transform: rotate(-15deg);
}
.monitored-badge {
position: absolute;
top: 0.5rem;
right: 0.5rem;
width: 28px;
height: 28px;
background: var(--success);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 1rem;
box-shadow: var(--shadow-sm);
}
/* Auction Info */
.auction-info {
padding: 0.75rem;
flex: 1;
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.auction-name {
font-size: 0.85rem;
font-weight: 600;
color: var(--text-primary);
margin: 0;
line-height: 1.3;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
min-height: 2.2em;
}
.auction-price {
display: flex;
flex-direction: column;
margin-top: 0.25rem;
}
.auction-price .current-price {
font-size: 1.1rem;
font-weight: 700;
color: var(--success);
}
.auction-price .buynow-price {
font-size: 0.75rem;
}
.auction-bidder {
font-size: 0.8rem;
color: var(--text-muted);
display: flex;
align-items: center;
}
.auction-bidder span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 150px;
}
.auction-timer {
font-size: 0.85rem;
font-weight: 600;
color: var(--info);
display: flex;
align-items: center;
}
.auction-timer.urgent {
color: var(--danger);
animation: pulse 1s infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.6; }
}
/* Auction Actions */
.auction-actions {
padding: 0.5rem 0.75rem 0.75rem;
border-top: 1px solid var(--border-subtle);
}
.auction-actions .btn {
font-size: 0.8rem;
padding: 0.4rem 0.75rem;
border-radius: var(--radius-sm);
}
/* Spin animation for loading */
.spin {
animation: spin 1s linear infinite;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
/* === AUCTION MONITOR STATUS BADGES === */
/* Base badge styling for auction status - COMPACT */
.col-stato .badge {
font-size: 0.65rem;
font-weight: 600;
padding: 0.25rem 0.45rem;
border-radius: 4px;
display: inline-flex;
align-items: center;
gap: 0.25rem;
min-width: 65px;
justify-content: center;
text-transform: uppercase;
letter-spacing: 0.2px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
white-space: nowrap;
}
/* Icon inside badge - smaller */
.col-stato .badge i {
font-size: 0.7rem;
}
/* === USER-CONTROLLED STATES === */
/* Active - Monitoring enabled, bright green */
.col-stato .badge.status-active {
background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
color: white;
box-shadow: 0 0 8px rgba(34, 197, 94, 0.4), 0 1px 3px rgba(0, 0, 0, 0.2);
}
/* Paused by user - Orange */
.col-stato .badge.status-paused {
background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
color: #1a1a1a;
box-shadow: 0 0 6px rgba(245, 158, 11, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
}
/* Stopped by user - Gray */
.col-stato .badge.status-stopped {
background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
color: #e5e5e5;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
/* Attacking/Bidding - Electric blue with glow */
.col-stato .badge.status-attacking {
background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
color: white;
box-shadow: 0 0 12px rgba(59, 130, 246, 0.6), 0 1px 3px rgba(0, 0, 0, 0.2);
}
/* === AUCTION LIFECYCLE STATES === */
/* Won - Gold/Yellow celebration */
.col-stato .badge.status-won {
background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
color: #1a1a1a;
box-shadow: 0 0 12px rgba(251, 191, 36, 0.6), 0 1px 3px rgba(0, 0, 0, 0.2);
}
/* Lost - Red muted */
.col-stato .badge.status-lost {
background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
color: white;
box-shadow: 0 0 6px rgba(239, 68, 68, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
opacity: 0.85;
}
/* Closed - Dark gray */
.col-stato .badge.status-closed {
background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
color: #9ca3af;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
/* System Paused (night pause) - Purple/Indigo */
.col-stato .badge.status-system-paused {
background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
color: white;
box-shadow: 0 0 6px rgba(139, 92, 246, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
}
/* Pending/Waiting - Cyan */
.col-stato .badge.status-pending {
background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
color: white;
box-shadow: 0 0 6px rgba(6, 182, 212, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
}
/* Scheduled - Teal */
.col-stato .badge.status-scheduled {
background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
color: white;
box-shadow: 0 0 6px rgba(20, 184, 166, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
}
/* === ANIMATIONS === */
/* Active pulse - subtle */
.col-stato .badge.status-anim-active {
animation: statusPulseActive 2.5s ease-in-out infinite;
}
@keyframes statusPulseActive {
0%, 100% {
box-shadow: 0 0 8px rgba(34, 197, 94, 0.4), 0 1px 3px rgba(0, 0, 0, 0.2);
}
50% {
box-shadow: 0 0 14px rgba(34, 197, 94, 0.7), 0 1px 3px rgba(0, 0, 0, 0.2);
}
}
/* Paused blink */
.col-stato .badge.status-anim-paused {
animation: statusBlink 1.5s ease-in-out infinite;
}
@keyframes statusBlink {
0%, 100% { opacity: 1; }
50% { opacity: 0.65; }
}
/* Attacking - fast pulse */
.col-stato .badge.status-anim-attacking {
animation: statusAttacking 0.5s ease-in-out infinite;
}
@keyframes statusAttacking {
0%, 100% {
box-shadow: 0 0 12px rgba(59, 130, 246, 0.6), 0 1px 3px rgba(0, 0, 0, 0.2);
transform: scale(1);
}
50% {
box-shadow: 0 0 20px rgba(59, 130, 246, 0.9), 0 1px 3px rgba(0, 0, 0, 0.2);
transform: scale(1.02);
}
}
/* Won celebration */
.col-stato .badge.status-anim-won {
animation: statusWon 1s ease-in-out infinite;
}
@keyframes statusWon {
0%, 100% {
box-shadow: 0 0 12px rgba(251, 191, 36, 0.6), 0 1px 3px rgba(0, 0, 0, 0.2);
}
50% {
box-shadow: 0 0 20px rgba(251, 191, 36, 0.9), 0 1px 3px rgba(0, 0, 0, 0.2);
}
}
/* Legacy Bootstrap classes override for backward compatibility */
.col-stato .badge.bg-success {
background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
color: white !important;
}
.col-stato .badge.bg-warning {
background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
color: #1a1a1a !important;
}
.col-stato .badge.bg-secondary {
background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) !important;
color: #e5e5e5 !important;
}
/* ═══════════════════════════════════════════════════════════════════
BANNER STATISTICHE ASTE - RIMOSSO (sostituito da toolbar compatta)
═══════════════════════════════════════════════════════════════════ */
/* Legacy support - nascosto */
.auctions-stats-banner {
display: none;
}
/* ═══════════════════════════════════════════════════════════════════
TABELLA COMPATTA
═══════════════════════════════════════════════════════════════════ */
.table-compact {
font-size: 0.8rem;
}
.table-compact th {
padding: 0.4rem 0.5rem;
font-size: 0.7rem;
text-transform: uppercase;
letter-spacing: 0.3px;
white-space: nowrap;
}
.table-compact td {
padding: 0.35rem 0.5rem;
vertical-align: middle;
}
.table-compact .col-stato {
width: 80px;
}
.table-compact .col-azioni {
width: 90px;
}
/* Pulsanti extra small */
.btn-xs {
padding: 0.15rem 0.35rem;
font-size: 0.7rem;
line-height: 1.2;
}
.btn-xs i {
font-size: 0.75rem;
}
/* ═══════════════════════════════════════════════════════════════════
LOG ASTA STRUTTURATO - GRIGLIA A COLONNE COMPATTA
═══════════════════════════════════════════════════════════════════ */
.auction-log-grid {
display: flex;
flex-direction: column;
height: 100%;
font-family: 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
font-size: 0.72rem;
line-height: 1.2;
}
.alog-header {
display: flex;
gap: 0;
padding: 4px 6px;
background: rgba(255, 255, 255, 0.06);
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
font-weight: 600;
font-size: 0.68rem;
text-transform: uppercase;
letter-spacing: 0.5px;
color: rgba(255, 255, 255, 0.5);
position: sticky;
top: 0;
z-index: 1;
}
.alog-body {
flex: 1;
overflow-y: auto;
overflow-x: hidden;
}
.alog-row {
display: flex;
gap: 0;
padding: 1px 6px;
border-bottom: 1px solid rgba(255, 255, 255, 0.025);
align-items: baseline;
transition: background 0.1s;
}
.alog-row:hover {
background: rgba(255, 255, 255, 0.04);
}
/* Colonne */
.alog-col-time {
flex: 0 0 85px;
color: rgba(255, 255, 255, 0.35);
font-variant-numeric: tabular-nums;
padding-right: 6px;
}
.alog-col-level {
flex: 0 0 62px;
font-weight: 600;
font-size: 0.65rem;
padding-right: 4px;
white-space: nowrap;
}
.alog-col-level i {
font-size: 0.6rem;
margin-right: 2px;
}
.alog-col-cat {
flex: 0 0 65px;
color: rgba(255, 255, 255, 0.4);
font-size: 0.65rem;
padding-right: 6px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.alog-col-msg {
flex: 1;
min-width: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: rgba(255, 255, 255, 0.8);
}
/* Badge ripetizione */
.alog-repeat {
display: inline-block;
background: rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.5);
font-size: 0.6rem;
padding: 0 4px;
border-radius: 3px;
margin-left: 4px;
font-weight: 600;
}
/* === COLORI PER LIVELLO === */
/* Error */
.alog-error {
background: rgba(220, 53, 69, 0.08);
}
.alog-error .alog-col-level {
color: #ff4d5e;
}
.alog-error .alog-col-msg {
color: #ff7a85;
}
/* Warning */
.alog-warning {
background: rgba(255, 193, 7, 0.05);
}
.alog-warning .alog-col-level {
color: #ffc107;
}
.alog-warning .alog-col-msg {
color: rgba(255, 220, 130, 0.9);
}
/* Success */
.alog-success {
background: rgba(40, 167, 69, 0.08);
}
.alog-success .alog-col-level {
color: #4cff8e;
}
.alog-success .alog-col-msg {
color: #7dffb0;
}
/* Bid */
.alog-bid {
background: rgba(0, 123, 255, 0.08);
}
.alog-bid .alog-col-level {
color: #5eadff;
}
.alog-bid .alog-col-msg {
color: #8ec8ff;
}
/* Strategy */
.alog-strategy {
background: rgba(160, 80, 220, 0.08);
}
.alog-strategy .alog-col-level {
color: #c77dff;
}
.alog-strategy .alog-col-msg {
color: #dda0ff;
}
/* Timing */
.alog-timing .alog-col-level {
color: #17a2b8;
}
.alog-timing .alog-col-msg {
color: rgba(100, 200, 220, 0.85);
}
/* Debug */
.alog-debug {
opacity: 0.55;
}
.alog-debug .alog-col-level {
color: rgba(255, 255, 255, 0.3);
}
/* Info (default) */
.alog-info .alog-col-level {
color: rgba(255, 255, 255, 0.5);
}