Files
test-mcp/style/analysis.css

242 lines
4.4 KiB
CSS

/* ==========================================================================
Project Master Analysis - Sabermetrics Style
========================================================================== */
.analysis-content {
padding: 24px;
max-width: 1400px;
margin: var(--topbar-h, 36px) auto 0;
}
/* AI Badge & Header */
.ai-badge {
background: #6366f1;
color: white;
padding: 2px 10px;
border-radius: 20px;
font-size: 11px;
font-weight: 800;
display: inline-block;
margin-bottom: 8px;
letter-spacing: 0.5px;
}
.analysis-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 24px;
}
/* Top Info Grid (AI Info & SOI Deep Dive) */
.top-info-grid {
display: grid;
grid-template-columns: 1fr 2fr;
gap: 16px;
margin-bottom: 24px;
}
.dl-model-info, .soi-deep-dive {
background: white;
border-radius: 12px;
border: 1px solid #eef2f6;
box-shadow: 0 4px 12px rgba(0,0,0,0.03);
padding: 20px;
}
.model-desc-vertical {
display: flex;
flex-direction: column;
gap: 12px;
}
.model-item-vertical {
display: flex;
align-items: center;
gap: 12px;
}
.model-tag {
background: #f1f5f9;
color: #475569;
padding: 2px 8px;
border-radius: 4px;
font-size: 10px;
font-weight: 700;
white-space: nowrap;
}
.soi-info-columns {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}
.soi-info-column h6 {
font-size: 12px;
font-weight: 800;
color: #1e5149;
margin: 0 0 8px 0;
}
.soi-info-column p {
font-size: 11.5px;
color: #64748b;
line-height: 1.6;
margin: 0;
}
/* Chart Grid Layout */
.analysis-charts-grid {
display: grid;
grid-template-columns: 1.2fr 2fr;
gap: 20px;
margin-bottom: 24px;
}
.chart-container-box {
background: white;
border-radius: 12px;
padding: 20px;
border: 1px solid #eef2f6;
height: 340px;
display: flex;
flex-direction: column;
}
.chart-container-box h5 {
margin: 0 0 15px 0;
font-size: 13px;
font-weight: 700;
color: #334155;
}
/* Data Table Customization */
.p-war-table-container {
margin-top: 24px;
}
.project-row {
cursor: pointer;
transition: background 0.2s ease;
}
.project-row:hover {
background: #f8fafc !important;
}
/* Accordion Detail Styles */
.detail-row {
display: none;
background: #fdfdfd;
}
.detail-row.active {
display: table-row;
}
.detail-container {
padding: 20px 24px;
border-bottom: 2px solid #f1f5f9;
}
.formula-explanation-card {
background: white;
border-radius: 12px;
padding: 24px;
border: 1px solid #e2e8f0;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.formula-header {
font-size: 13px;
font-weight: 700;
color: #6366f1;
margin-bottom: 15px;
}
/* Work Effort Bar Area */
.work-effort-section {
background: #f8fafc;
padding: 16px;
border-radius: 8px;
margin-bottom: 20px;
border: 1px solid #eef2f6;
}
.work-effort-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
}
.work-effort-bar-bg {
width: 100%;
height: 6px;
background: #e2e8f0;
border-radius: 3px;
overflow: hidden;
margin-bottom: 10px;
}
/* Formula Steps Grid */
.formula-steps-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}
.formula-step {
display: flex;
gap: 12px;
}
.step-num {
background: #1e5149;
color: white;
width: 20px;
height: 20px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 11px;
font-weight: 800;
flex-shrink: 0;
}
.step-title {
font-size: 12px;
font-weight: 700;
color: #334155;
margin-bottom: 4px;
}
.math-logic {
font-family: 'Consolas', monospace;
background: #f1f5f9;
padding: 4px 8px;
border-radius: 4px;
font-weight: 700;
color: #0f172a;
font-size: 12px;
display: inline-block;
}
.final-result-area {
margin-top: 20px;
padding-top: 15px;
border-top: 2px solid #1e5149;
display: flex;
justify-content: space-between;
align-items: center;
}
/* Utility Classes */
.highlight-var { color: #2563eb; }
.highlight-val { color: #059669; }
.highlight-penalty { color: #dc2626; }
.text-plus { color: #059669; font-weight: 700; }
.text-minus { color: #dc2626; font-weight: 700; }