| | |
| | |
| | |
| |
|
| | :root { |
| | --bg-primary: #ffffff; |
| | --bg-secondary: #f9fafb; |
| | --bg-tertiary: #f3f4f6; |
| | --text-primary: #111827; |
| | --text-secondary: #6b7280; |
| | --text-muted: #9ca3af; |
| | --border-color: #e5e7eb; |
| | --accent-blue: #3b82f6; |
| | --accent-green: #10b981; |
| | --accent-amber: #f59e0b; |
| | --accent-red: #ef4444; |
| | --slider-track: #d1d5db; |
| | --slider-thumb: #3b82f6; |
| | } |
| |
|
| | @media (prefers-color-scheme: dark) { |
| | :root { |
| | --bg-primary: #111827; |
| | --bg-secondary: #1f2937; |
| | --bg-tertiary: #374151; |
| | --text-primary: #f9fafb; |
| | --text-secondary: #9ca3af; |
| | --text-muted: #6b7280; |
| | --border-color: #374151; |
| | --slider-track: #4b5563; |
| | --slider-thumb: #60a5fa; |
| | } |
| | } |
| |
|
| | |
| | |
| | |
| |
|
| | .main { |
| | width: 100%; |
| | height: 600px; |
| | overflow: hidden; |
| | background: var(--bg-primary); |
| | color: var(--text-primary); |
| | display: flex; |
| | flex-direction: column; |
| | } |
| |
|
| | |
| | |
| | |
| |
|
| | .header { |
| | height: 40px; |
| | display: flex; |
| | align-items: center; |
| | justify-content: space-between; |
| | padding: 0 10px; |
| | border-bottom: 1px solid var(--border-color); |
| | flex-shrink: 0; |
| | } |
| |
|
| | .header-title { |
| | font-size: 14px; |
| | font-weight: 600; |
| | margin: 0; |
| | white-space: nowrap; |
| | } |
| |
|
| | .header-controls { |
| | display: flex; |
| | align-items: center; |
| | gap: 6px; |
| | } |
| |
|
| | .template-select { |
| | font-size: 12px; |
| | padding: 4px 8px; |
| | border: 1px solid var(--border-color); |
| | border-radius: 4px; |
| | background: var(--bg-secondary); |
| | color: var(--text-primary); |
| | cursor: pointer; |
| | } |
| |
|
| | .reset-button { |
| | font-size: 12px; |
| | padding: 4px 10px; |
| | border: 1px solid var(--border-color); |
| | border-radius: 4px; |
| | background: var(--bg-secondary); |
| | color: var(--text-primary); |
| | cursor: pointer; |
| | } |
| |
|
| | .reset-button:hover { |
| | background: var(--bg-tertiary); |
| | } |
| |
|
| | |
| | |
| | |
| |
|
| | .parameters-section { |
| | padding: 8px 10px; |
| | border-bottom: 1px solid var(--border-color); |
| | flex-shrink: 0; |
| | } |
| |
|
| | .section-title { |
| | font-size: 11px; |
| | font-weight: 600; |
| | text-transform: uppercase; |
| | letter-spacing: 0.05em; |
| | color: var(--text-secondary); |
| | margin: 0 0 4px 0; |
| | } |
| |
|
| | .slider-row { |
| | display: flex; |
| | align-items: center; |
| | height: 24px; |
| | gap: 8px; |
| | } |
| |
|
| | .slider-label { |
| | width: 90px; |
| | font-size: 12px; |
| | color: var(--text-primary); |
| | flex-shrink: 0; |
| | } |
| |
|
| | .slider-input { |
| | flex: 1; |
| | height: 4px; |
| | -webkit-appearance: none; |
| | appearance: none; |
| | background: var(--slider-track); |
| | border-radius: 2px; |
| | cursor: pointer; |
| | } |
| |
|
| | .slider-input::-webkit-slider-thumb { |
| | -webkit-appearance: none; |
| | appearance: none; |
| | width: 14px; |
| | height: 14px; |
| | border-radius: 50%; |
| | background: var(--slider-thumb); |
| | cursor: pointer; |
| | } |
| |
|
| | .slider-input::-moz-range-thumb { |
| | width: 14px; |
| | height: 14px; |
| | border-radius: 50%; |
| | background: var(--slider-thumb); |
| | cursor: pointer; |
| | border: none; |
| | } |
| |
|
| | .slider-value { |
| | width: 45px; |
| | font-size: 12px; |
| | font-weight: 500; |
| | color: var(--text-primary); |
| | text-align: right; |
| | flex-shrink: 0; |
| | } |
| |
|
| | |
| | |
| | |
| |
|
| | .chart-section { |
| | padding: 8px 10px; |
| | border-bottom: 1px solid var(--border-color); |
| | flex: 2; |
| | display: flex; |
| | flex-direction: column; |
| | min-height: 0; |
| | } |
| |
|
| | .chart-container { |
| | flex: 1; |
| | position: relative; |
| | min-height: 0; |
| | } |
| |
|
| | .chart-container canvas { |
| | width: 100% !important; |
| | height: 100% !important; |
| | } |
| |
|
| | .chart-legend { |
| | display: flex; |
| | gap: 16px; |
| | justify-content: center; |
| | font-size: 11px; |
| | color: var(--text-secondary); |
| | padding-top: 4px; |
| | } |
| |
|
| | .legend-item { |
| | display: flex; |
| | align-items: center; |
| | gap: 4px; |
| | } |
| |
|
| | .legend-yours { |
| | color: var(--accent-blue); |
| | } |
| |
|
| | .legend-template { |
| | color: var(--text-muted); |
| | } |
| |
|
| | |
| | |
| | |
| |
|
| | .metrics-section { |
| | flex: 1; |
| | padding: 6px 10px; |
| | display: flex; |
| | flex-direction: column; |
| | min-height: 0; |
| | } |
| |
|
| | .metrics-comparison { |
| | display: flex; |
| | gap: 16px; |
| | flex: 1; |
| | } |
| |
|
| | .metrics-column { |
| | flex: 1; |
| | display: flex; |
| | flex-direction: column; |
| | } |
| |
|
| | .metrics-column h3 { |
| | font-size: 11px; |
| | font-weight: 600; |
| | text-transform: uppercase; |
| | letter-spacing: 0.05em; |
| | color: var(--text-secondary); |
| | margin: 0 0 4px 0; |
| | } |
| |
|
| | .metrics-grid { |
| | display: grid; |
| | grid-template-columns: repeat(3, 1fr); |
| | grid-auto-rows: 1fr; |
| | gap: 6px; |
| | flex: 1; |
| | min-height: 0; |
| | } |
| |
|
| | .metrics-column.template .metrics-grid { |
| | grid-template-columns: repeat(2, 1fr); |
| | } |
| |
|
| | .metric-card { |
| | background: var(--bg-secondary); |
| | border-radius: 6px; |
| | padding: 4px 8px; |
| | min-height: 0; |
| | display: flex; |
| | flex-direction: column; |
| | justify-content: center; |
| | text-align: center; |
| | } |
| |
|
| | .metric-value { |
| | font-size: 16px; |
| | font-weight: 600; |
| | color: var(--text-primary); |
| | } |
| |
|
| | .metric-card--positive .metric-value { |
| | color: var(--accent-green); |
| | } |
| |
|
| | .metric-card--negative .metric-value { |
| | color: var(--accent-red); |
| | } |
| |
|
| | .metric-label { |
| | font-size: 10px; |
| | color: var(--text-secondary); |
| | margin-top: 2px; |
| | } |
| |
|
| | .metrics-summary { |
| | margin-top: 6px; |
| | padding-top: 6px; |
| | border-top: 1px solid var(--border-color); |
| | font-size: 11px; |
| | color: var(--text-secondary); |
| | display: flex; |
| | justify-content: space-between; |
| | flex-shrink: 0; |
| | } |
| |
|
| | .summary-item { |
| | display: flex; |
| | gap: 4px; |
| | } |
| |
|
| | .summary-value { |
| | font-weight: 600; |
| | color: var(--text-primary); |
| | } |
| |
|
| | .summary-value.positive { |
| | color: var(--accent-green); |
| | } |
| |
|
| | .summary-value.negative { |
| | color: var(--accent-red); |
| | } |
| |
|
| | |
| | |
| | |
| |
|
| | .loading { |
| | display: flex; |
| | align-items: center; |
| | justify-content: center; |
| | height: 100%; |
| | color: var(--text-secondary); |
| | font-size: 14px; |
| | } |
| |
|