236 lines
6.8 KiB
CSS
236 lines
6.8 KiB
CSS
/* Evolver tab — dark theme matching Lotto.css patterns */
|
|
|
|
.lotto-evolver { display: flex; flex-direction: column; gap: 16px; }
|
|
.lotto-evolver-muted { color: #94a3b8; }
|
|
|
|
.lotto-evolver-intro {
|
|
display: flex; justify-content: space-between; align-items: center;
|
|
gap: 12px; flex-wrap: wrap;
|
|
}
|
|
.lotto-evolver-sub { margin: 0; color: #94a3b8; font-size: 0.9rem; flex: 1; }
|
|
.lotto-evolver-refresh {
|
|
padding: 6px 12px;
|
|
background: rgba(255,255,255,0.06);
|
|
border: 1px solid rgba(255,255,255,0.1);
|
|
border-radius: 6px;
|
|
color: #cbd5e1;
|
|
cursor: pointer;
|
|
font-size: 0.85rem;
|
|
}
|
|
.lotto-evolver-refresh:hover { background: rgba(255,255,255,0.1); }
|
|
|
|
/* Generic card */
|
|
.evolver-card {
|
|
background: rgba(255,255,255,0.04);
|
|
border: 1px solid rgba(255,255,255,0.08);
|
|
border-radius: 12px;
|
|
padding: 18px 20px;
|
|
color: #e2e8f0;
|
|
}
|
|
.evolver-card h2 {
|
|
margin: 0 0 12px;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
color: #f1f5f9;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
.evolver-card .badge {
|
|
background: rgba(52,211,153,0.15);
|
|
color: #34d399;
|
|
padding: 2px 10px;
|
|
border-radius: 4px;
|
|
font-size: 0.7rem;
|
|
font-weight: 500;
|
|
}
|
|
.evolver-card.empty .muted, .evolver-card .muted { color: #64748b; }
|
|
|
|
.lotto-evolver-empty h3 { margin: 0 0 6px; color: #f1f5f9; }
|
|
.lotto-evolver-empty p { color: #94a3b8; margin: 0 0 12px; }
|
|
|
|
/* WinnerCard */
|
|
.winner-card .winner-meta {
|
|
display: flex; gap: 16px; flex-wrap: wrap;
|
|
color: #94a3b8; font-size: 0.85rem; margin-bottom: 14px;
|
|
}
|
|
.winner-card .winner-meta strong { color: #f1f5f9; font-weight: 600; }
|
|
.winner-card .winner-chart { background: rgba(0,0,0,0.15); border-radius: 8px; padding: 8px; }
|
|
|
|
/* TrialsGrid */
|
|
.trials-grid .grid {
|
|
display: grid; grid-template-columns: repeat(6, 1fr);
|
|
gap: 8px; height: 140px; align-items: end;
|
|
}
|
|
.trial-cell {
|
|
border: 1px solid rgba(255,255,255,0.06);
|
|
background: rgba(255,255,255,0.03);
|
|
border-radius: 6px;
|
|
padding: 8px 4px;
|
|
display: flex; flex-direction: column;
|
|
align-items: center; justify-content: end;
|
|
cursor: pointer;
|
|
height: 100%;
|
|
color: #cbd5e1;
|
|
transition: background 0.15s;
|
|
}
|
|
.trial-cell:hover { background: rgba(255,255,255,0.06); }
|
|
.trial-cell.winner { background: rgba(52,211,153,0.12); border-color: rgba(52,211,153,0.3); }
|
|
.trial-cell .bar {
|
|
width: 80%;
|
|
background: #475569;
|
|
border-radius: 3px 3px 0 0;
|
|
min-height: 4px;
|
|
}
|
|
.trial-cell.winner .bar { background: #34d399; }
|
|
.trial-cell .label { font-size: 0.85rem; margin-top: 6px; color: #e2e8f0; }
|
|
.trial-cell .max-correct { font-size: 0.7rem; color: #94a3b8; }
|
|
.trial-detail {
|
|
margin-top: 14px; padding: 12px;
|
|
background: rgba(0,0,0,0.15);
|
|
border-radius: 6px;
|
|
color: #cbd5e1;
|
|
font-size: 0.85rem;
|
|
}
|
|
.trial-detail h3 { margin: 0 0 8px; font-size: 0.9rem; color: #f1f5f9; }
|
|
.trial-detail ul { margin: 8px 0 0; padding-left: 18px; }
|
|
.trial-detail li { margin-bottom: 4px; }
|
|
|
|
/* BaseDiff */
|
|
.base-diff .diff-grid {
|
|
display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
|
|
}
|
|
.metric-card {
|
|
padding: 12px 8px;
|
|
background: rgba(255,255,255,0.03);
|
|
border: 1px solid rgba(255,255,255,0.06);
|
|
border-radius: 8px;
|
|
text-align: center;
|
|
color: #cbd5e1;
|
|
}
|
|
.metric-card .metric-name {
|
|
color: #94a3b8;
|
|
font-size: 0.7rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
.metric-card .metric-values { margin: 6px 0; font-size: 0.8rem; }
|
|
.metric-card .metric-values strong { color: #f1f5f9; }
|
|
.metric-card .metric-diff { font-weight: 600; font-size: 0.8rem; }
|
|
.metric-card.up .metric-diff, .metric-card.up-big .metric-diff { color: #34d399; }
|
|
.metric-card.down .metric-diff, .metric-card.down-big .metric-diff { color: #f87171; }
|
|
.metric-card.eq .metric-diff { color: #64748b; }
|
|
|
|
/* BaseHistory chart container */
|
|
.base-history { background: rgba(255,255,255,0.04); }
|
|
|
|
/* ActivityCard — scrollable */
|
|
.activity-card .activity-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
max-height: 420px;
|
|
overflow-y: auto;
|
|
overscroll-behavior: contain;
|
|
}
|
|
.activity-card .activity-list::-webkit-scrollbar { width: 6px; }
|
|
.activity-card .activity-list::-webkit-scrollbar-thumb {
|
|
background: rgba(255,255,255,0.15); border-radius: 3px;
|
|
}
|
|
.activity-item {
|
|
display: grid;
|
|
grid-template-columns: 24px 1fr auto;
|
|
gap: 10px;
|
|
padding: 10px 4px;
|
|
border-bottom: 1px solid rgba(255,255,255,0.05);
|
|
color: #cbd5e1;
|
|
font-size: 0.85rem;
|
|
}
|
|
.activity-item:last-child { border-bottom: none; }
|
|
.activity-item .icon { font-size: 1rem; text-align: center; }
|
|
.activity-item .body .line { color: #e2e8f0; }
|
|
.activity-item .body strong { color: #f1f5f9; }
|
|
.activity-item .ts {
|
|
color: #64748b;
|
|
font-size: 0.75rem;
|
|
white-space: nowrap;
|
|
align-self: center;
|
|
}
|
|
.activity-item .status.ok { color: #34d399; }
|
|
.activity-item .status.err { color: #f87171; }
|
|
.activity-item .status.pending { color: #fbbf24; }
|
|
.activity-item .detail { color: #94a3b8; font-size: 0.78rem; margin-top: 2px; }
|
|
|
|
/* EvolverActions */
|
|
.actions-card .action-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
|
|
.actions-card button {
|
|
padding: 8px 14px;
|
|
background: rgba(52,211,153,0.15);
|
|
color: #34d399;
|
|
border: 1px solid rgba(52,211,153,0.3);
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 0.85rem;
|
|
}
|
|
.actions-card button:hover:not(:disabled) { background: rgba(52,211,153,0.25); }
|
|
.actions-card button:disabled { opacity: 0.5; cursor: wait; }
|
|
.action-output {
|
|
background: rgba(0,0,0,0.3);
|
|
color: #94a3b8;
|
|
padding: 12px;
|
|
border-radius: 6px;
|
|
margin-top: 12px;
|
|
max-height: 200px;
|
|
overflow: auto;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
/* Backtest — TrackRecordCard */
|
|
.backtest-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 0.85rem;
|
|
margin-bottom: 10px;
|
|
}
|
|
.backtest-table th {
|
|
text-align: left;
|
|
color: #94a3b8;
|
|
font-weight: 500;
|
|
padding: 6px 8px;
|
|
border-bottom: 1px solid rgba(255,255,255,0.08);
|
|
}
|
|
.backtest-table td {
|
|
padding: 6px 8px;
|
|
color: #cbd5e1;
|
|
border-bottom: 1px solid rgba(255,255,255,0.04);
|
|
}
|
|
.backtest-table tr:last-child td { border-bottom: none; }
|
|
|
|
/* Backtest — shared note */
|
|
.backtest-note {
|
|
margin: 8px 0 0;
|
|
color: #64748b;
|
|
font-size: 0.8rem;
|
|
line-height: 1.4;
|
|
}
|
|
.backtest-note strong { color: #cbd5e1; }
|
|
|
|
/* Backtest — section divider */
|
|
.backtest-section-header {
|
|
margin: 8px 0 4px;
|
|
color: #94a3b8;
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.03em;
|
|
border-top: 1px solid rgba(255,255,255,0.06);
|
|
padding-top: 14px;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.trials-grid .grid { grid-template-columns: repeat(3, 1fr); height: auto; }
|
|
.base-diff .diff-grid { grid-template-columns: repeat(3, 1fr); }
|
|
.lotto-evolver-intro { flex-direction: column; align-items: stretch; }
|
|
.activity-card .activity-list { max-height: 360px; }
|
|
}
|