Reviewed-on: #1 Co-authored-by: localhorst <localhorst@mosad.xyz> Co-committed-by: localhorst <localhorst@mosad.xyz>
996 lines
19 KiB
CSS
996 lines
19 KiB
CSS
/* ==========================================================================
|
|
LiXX Cell Pack Matcher - Styles
|
|
========================================================================== */
|
|
|
|
:root {
|
|
--bg-primary: #0f1419;
|
|
--bg-secondary: #1a1f2e;
|
|
--bg-tertiary: #242b3d;
|
|
--text-primary: #e7e9ea;
|
|
--text-secondary: #8b98a5;
|
|
--text-muted: #6e7681;
|
|
--accent: #3b82f6;
|
|
--accent-hover: #2563eb;
|
|
--accent-light: rgba(59, 130, 246, 0.15);
|
|
--success: #22c55e;
|
|
--warning: #f59e0b;
|
|
--danger: #ef4444;
|
|
--border-color: #2f3336;
|
|
--cell-low: #ef4444;
|
|
--cell-mid: #22c55e;
|
|
--cell-high: #3b82f6;
|
|
--space-xs: 0.25rem;
|
|
--space-sm: 0.5rem;
|
|
--space-md: 1rem;
|
|
--space-lg: 1.5rem;
|
|
--space-xl: 2rem;
|
|
--space-2xl: 3rem;
|
|
--font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
--font-mono: ui-monospace, 'SF Mono', 'Cascadia Code', Consolas, monospace;
|
|
--radius-sm: 4px;
|
|
--radius-md: 8px;
|
|
--radius-lg: 12px;
|
|
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
|
|
--shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
|
|
--shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
|
|
--transition-fast: 150ms ease;
|
|
--transition-normal: 250ms ease;
|
|
}
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
:root {
|
|
--bg-primary: #ffffff;
|
|
--bg-secondary: #f8fafc;
|
|
--bg-tertiary: #f1f5f9;
|
|
--text-primary: #1e293b;
|
|
--text-secondary: #64748b;
|
|
--text-muted: #94a3b8;
|
|
--border-color: #e2e8f0;
|
|
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
--shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
|
|
--shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
|
|
}
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
font-size: 16px;
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: var(--font-sans);
|
|
font-size: 1rem;
|
|
line-height: 1.6;
|
|
color: var(--text-primary);
|
|
background-color: var(--bg-primary);
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
:focus-visible {
|
|
outline: 2px solid var(--accent);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
padding: var(--space-lg);
|
|
}
|
|
|
|
header {
|
|
text-align: center;
|
|
margin-bottom: var(--space-2xl);
|
|
}
|
|
|
|
.logo {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: var(--space-md);
|
|
color: var(--accent);
|
|
}
|
|
|
|
.logo h1 {
|
|
margin: 0;
|
|
font-size: 1.75rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.subtitle {
|
|
margin: var(--space-sm) 0 0;
|
|
color: var(--text-secondary);
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.card {
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-lg);
|
|
padding: var(--space-xl);
|
|
margin-bottom: var(--space-lg);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.card h2 {
|
|
margin: 0 0 var(--space-lg);
|
|
font-size: 1.25rem;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.card h3 {
|
|
margin: var(--space-lg) 0 var(--space-md);
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-xs);
|
|
}
|
|
|
|
label {
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
input[type="text"],
|
|
input[type="number"],
|
|
select {
|
|
padding: var(--space-sm) var(--space-md);
|
|
font-size: 1rem;
|
|
font-family: inherit;
|
|
color: var(--text-primary);
|
|
background: var(--bg-tertiary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-md);
|
|
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
|
|
}
|
|
|
|
input[type="text"]:hover,
|
|
input[type="number"]:hover,
|
|
select:hover {
|
|
border-color: var(--text-muted);
|
|
}
|
|
|
|
input[type="text"]:focus,
|
|
input[type="number"]:focus,
|
|
select:focus {
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 0 3px var(--accent-light);
|
|
outline: none;
|
|
}
|
|
|
|
input[type="range"] {
|
|
width: 100%;
|
|
height: 6px;
|
|
background: var(--bg-tertiary);
|
|
border-radius: 3px;
|
|
cursor: pointer;
|
|
accent-color: var(--accent);
|
|
}
|
|
|
|
small {
|
|
font-size: 0.75rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
output {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.875rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: var(--space-sm);
|
|
padding: var(--space-sm) var(--space-md);
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
font-family: inherit;
|
|
text-decoration: none;
|
|
border: 1px solid transparent;
|
|
border-radius: var(--radius-md);
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.btn-primary {
|
|
color: white;
|
|
background: var(--accent);
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.btn-primary:hover:not(:disabled) {
|
|
background: var(--accent-hover);
|
|
border-color: var(--accent-hover);
|
|
}
|
|
|
|
.btn-secondary {
|
|
color: var(--text-primary);
|
|
background: var(--bg-tertiary);
|
|
border-color: var(--border-color);
|
|
}
|
|
|
|
.btn-secondary:hover:not(:disabled) {
|
|
background: var(--bg-primary);
|
|
border-color: var(--text-muted);
|
|
}
|
|
|
|
.btn-ghost {
|
|
color: var(--text-secondary);
|
|
background: transparent;
|
|
}
|
|
|
|
.btn-ghost:hover:not(:disabled) {
|
|
color: var(--text-primary);
|
|
background: var(--bg-tertiary);
|
|
}
|
|
|
|
.btn-danger {
|
|
color: var(--danger);
|
|
}
|
|
|
|
.btn-danger:hover:not(:disabled) {
|
|
background: rgba(239, 68, 68, 0.1);
|
|
}
|
|
|
|
.btn-large {
|
|
padding: var(--space-md) var(--space-xl);
|
|
font-size: 1rem;
|
|
width: 100%;
|
|
}
|
|
|
|
.btn-icon {
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
.button-group {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.config-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
|
gap: var(--space-lg);
|
|
}
|
|
|
|
.config-badge {
|
|
display: inline-block;
|
|
padding: var(--space-sm) var(--space-md);
|
|
font-size: 1.25rem;
|
|
font-weight: 700;
|
|
font-family: var(--font-mono);
|
|
color: var(--accent);
|
|
background: var(--accent-light);
|
|
border-radius: var(--radius-md);
|
|
}
|
|
|
|
.cell-input-header {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: var(--space-md);
|
|
margin-bottom: var(--space-lg);
|
|
}
|
|
|
|
.cell-input-header p {
|
|
margin: 0;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.cell-table-wrapper {
|
|
overflow-x: auto;
|
|
margin: 0 calc(-1 * var(--space-xl));
|
|
padding: 0 var(--space-xl);
|
|
}
|
|
|
|
.cell-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.cell-table th,
|
|
.cell-table td {
|
|
padding: var(--space-sm) var(--space-md);
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.cell-table th {
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
background: var(--bg-tertiary);
|
|
position: sticky;
|
|
top: 0;
|
|
}
|
|
|
|
.cell-table tbody tr:hover {
|
|
background: var(--bg-tertiary);
|
|
}
|
|
|
|
.cell-table input {
|
|
width: 100%;
|
|
min-width: 60px;
|
|
}
|
|
|
|
.cell-table .cell-label-input {
|
|
min-width: 80px;
|
|
}
|
|
|
|
.cell-table .btn-remove {
|
|
padding: var(--space-xs) var(--space-sm);
|
|
color: var(--danger);
|
|
background: transparent;
|
|
border: none;
|
|
cursor: pointer;
|
|
opacity: 0.7;
|
|
transition: opacity var(--transition-fast);
|
|
}
|
|
|
|
.cell-table .btn-remove:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.cell-stats {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--space-lg);
|
|
margin-top: var(--space-lg);
|
|
padding-top: var(--space-md);
|
|
border-top: 1px solid var(--border-color);
|
|
font-size: 0.875rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.cell-stats strong {
|
|
color: var(--text-primary);
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
.settings-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: var(--space-lg);
|
|
margin-bottom: var(--space-xl);
|
|
}
|
|
|
|
.progress-container {
|
|
margin-bottom: var(--space-lg);
|
|
}
|
|
|
|
.progress-bar {
|
|
height: 8px;
|
|
background: var(--bg-tertiary);
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
margin-bottom: var(--space-md);
|
|
}
|
|
|
|
.progress-fill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, var(--accent), var(--success));
|
|
border-radius: 4px;
|
|
transition: width var(--transition-normal);
|
|
}
|
|
|
|
.progress-stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
|
gap: var(--space-md);
|
|
margin-bottom: var(--space-lg);
|
|
}
|
|
|
|
.stat-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: var(--space-md);
|
|
background: var(--bg-tertiary);
|
|
border-radius: var(--radius-md);
|
|
text-align: center;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 0.7rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: var(--text-muted);
|
|
margin-bottom: var(--space-xs);
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
font-family: var(--font-mono);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.stat-highlight {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.live-preview {
|
|
margin-top: var(--space-lg);
|
|
padding: var(--space-md);
|
|
background: var(--bg-tertiary);
|
|
border-radius: var(--radius-md);
|
|
border: 1px dashed var(--border-color);
|
|
}
|
|
|
|
.live-preview h3 {
|
|
margin: 0 0 var(--space-sm);
|
|
font-size: 0.8rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.live-preview-content {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--space-sm);
|
|
font-family: var(--font-mono);
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.live-preview-group {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-xs);
|
|
padding: var(--space-xs) var(--space-sm);
|
|
background: var(--bg-secondary);
|
|
border-radius: var(--radius-sm);
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
.live-preview-group .group-label {
|
|
color: var(--text-muted);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.live-preview-group .group-cells {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.live-preview-group .group-cap {
|
|
color: var(--accent);
|
|
margin-left: var(--space-xs);
|
|
}
|
|
|
|
.warning-banner {
|
|
display: flex;
|
|
gap: var(--space-md);
|
|
padding: var(--space-lg);
|
|
background: rgba(245, 158, 11, 0.1);
|
|
border: 1px solid var(--warning);
|
|
border-radius: var(--radius-md);
|
|
margin-bottom: var(--space-xl);
|
|
}
|
|
|
|
.warning-icon {
|
|
font-size: 1.5rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.warning-content {
|
|
font-size: 0.875rem;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.warning-content strong {
|
|
display: block;
|
|
margin-bottom: var(--space-sm);
|
|
color: var(--warning);
|
|
}
|
|
|
|
.warning-content ul {
|
|
margin: 0;
|
|
padding-left: var(--space-lg);
|
|
}
|
|
|
|
.warning-content li {
|
|
margin-bottom: var(--space-xs);
|
|
}
|
|
|
|
.warning-content a {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.results-summary {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
|
gap: var(--space-md);
|
|
margin-bottom: var(--space-xl);
|
|
}
|
|
|
|
.result-metric {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: var(--space-lg);
|
|
background: var(--bg-tertiary);
|
|
border-radius: var(--radius-md);
|
|
text-align: center;
|
|
cursor: help;
|
|
}
|
|
|
|
.metric-value {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
font-family: var(--font-mono);
|
|
color: var(--accent);
|
|
}
|
|
|
|
.metric-label {
|
|
font-size: 0.75rem;
|
|
color: var(--text-secondary);
|
|
margin-top: var(--space-xs);
|
|
}
|
|
|
|
/* --------------------------------------------------------------------------
|
|
Metric Tooltips
|
|
-------------------------------------------------------------------------- */
|
|
.metric-tooltip {
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
position: absolute;
|
|
bottom: 100%;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
margin-bottom: 12px;
|
|
padding: var(--space-md);
|
|
width: 280px;
|
|
background: var(--bg-primary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-md);
|
|
font-size: 0.8rem;
|
|
text-align: left;
|
|
z-index: 100;
|
|
box-shadow: var(--shadow-lg);
|
|
transition: opacity var(--transition-fast), visibility var(--transition-fast);
|
|
}
|
|
|
|
.metric-tooltip::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
border: 8px solid transparent;
|
|
border-top-color: var(--border-color);
|
|
}
|
|
|
|
.result-metric:hover .metric-tooltip,
|
|
.result-metric:focus .metric-tooltip,
|
|
.result-metric:active .metric-tooltip {
|
|
visibility: visible;
|
|
opacity: 1;
|
|
}
|
|
|
|
.metric-tooltip strong {
|
|
display: block;
|
|
margin-bottom: var(--space-sm);
|
|
color: var(--accent);
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.metric-tooltip p {
|
|
margin: 0 0 var(--space-sm);
|
|
color: var(--text-secondary);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.tooltip-scale {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
margin: var(--space-sm) 0;
|
|
padding: var(--space-sm);
|
|
background: var(--bg-tertiary);
|
|
border-radius: var(--radius-sm);
|
|
font-family: var(--font-mono);
|
|
font-size: 0.7rem;
|
|
}
|
|
|
|
.scale-good {
|
|
color: var(--success);
|
|
}
|
|
|
|
.scale-ok {
|
|
color: var(--warning);
|
|
}
|
|
|
|
.scale-bad {
|
|
color: var(--danger);
|
|
}
|
|
|
|
.tooltip-hint {
|
|
margin-top: var(--space-sm);
|
|
padding-top: var(--space-sm);
|
|
border-top: 1px solid var(--border-color);
|
|
font-style: italic;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.pack-visualization {
|
|
margin-bottom: var(--space-xl);
|
|
}
|
|
|
|
.pack-grid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-sm);
|
|
padding: var(--space-lg);
|
|
background: var(--bg-tertiary);
|
|
border-radius: var(--radius-md);
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.pack-row {
|
|
display: flex;
|
|
gap: var(--space-sm);
|
|
align-items: center;
|
|
}
|
|
|
|
.pack-row-label {
|
|
min-width: 30px;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
text-align: right;
|
|
}
|
|
|
|
.pack-cells {
|
|
display: flex;
|
|
gap: var(--space-xs);
|
|
}
|
|
|
|
.pack-cell {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 70px;
|
|
padding: var(--space-sm);
|
|
background: var(--cell-mid);
|
|
border-radius: var(--radius-sm);
|
|
font-size: 0.7rem;
|
|
color: white;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
transition: transform var(--transition-fast);
|
|
}
|
|
|
|
.pack-cell:hover {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.pack-cell .cell-label {
|
|
font-weight: 600;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.pack-cell .cell-capacity {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.pack-cell .cell-ir {
|
|
opacity: 0.7;
|
|
font-size: 0.65rem;
|
|
}
|
|
|
|
/* Pack cell tooltips */
|
|
.pack-cell .tooltip {
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
position: absolute;
|
|
bottom: 100%;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
margin-bottom: 8px;
|
|
padding: var(--space-sm) var(--space-md);
|
|
background: var(--bg-primary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-sm);
|
|
font-size: 0.75rem;
|
|
white-space: nowrap;
|
|
z-index: 100;
|
|
box-shadow: var(--shadow-md);
|
|
transition: opacity var(--transition-fast), visibility var(--transition-fast);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.pack-cell .tooltip::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
border: 6px solid transparent;
|
|
border-top-color: var(--border-color);
|
|
}
|
|
|
|
.pack-cell:hover .tooltip,
|
|
.pack-cell:focus .tooltip {
|
|
visibility: visible;
|
|
opacity: 1;
|
|
}
|
|
|
|
.tooltip-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.tooltip-label {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.tooltip-value {
|
|
color: var(--text-primary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.pack-legend {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: var(--space-lg);
|
|
margin-top: var(--space-md);
|
|
font-size: 0.75rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.legend-color {
|
|
display: inline-block;
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 2px;
|
|
margin-right: var(--space-xs);
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.results-table-wrapper {
|
|
overflow-x: auto;
|
|
margin-bottom: var(--space-xl);
|
|
}
|
|
|
|
.results-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.results-table th,
|
|
.results-table td {
|
|
padding: var(--space-sm) var(--space-md);
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.results-table th {
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
background: var(--bg-tertiary);
|
|
}
|
|
|
|
.results-table td {
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
.results-table .deviation-good {
|
|
color: var(--success);
|
|
}
|
|
|
|
.results-table .deviation-warning {
|
|
color: var(--warning);
|
|
}
|
|
|
|
.results-table .deviation-bad {
|
|
color: var(--danger);
|
|
}
|
|
|
|
.excluded-cells {
|
|
padding: var(--space-lg);
|
|
background: var(--bg-tertiary);
|
|
border-radius: var(--radius-md);
|
|
margin-bottom: var(--space-xl);
|
|
}
|
|
|
|
.excluded-cells h3 {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.excluded-cells p {
|
|
margin: 0;
|
|
font-family: var(--font-mono);
|
|
font-size: 0.875rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.export-buttons {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--space-sm);
|
|
justify-content: center;
|
|
}
|
|
|
|
footer {
|
|
text-align: center;
|
|
padding: var(--space-xl) 0;
|
|
font-size: 0.875rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
footer a {
|
|
color: var(--text-secondary);
|
|
text-decoration: none;
|
|
}
|
|
|
|
footer a:hover {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.disclaimer {
|
|
margin-top: var(--space-sm);
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
dialog {
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
max-width: 400px;
|
|
width: 90%;
|
|
padding: var(--space-xl);
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-lg);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
dialog::backdrop {
|
|
background: rgba(0, 0, 0, 0.7);
|
|
}
|
|
|
|
dialog h2 {
|
|
margin: 0 0 var(--space-lg);
|
|
}
|
|
|
|
.shortcuts-list {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr;
|
|
gap: var(--space-sm) var(--space-lg);
|
|
margin-bottom: var(--space-xl);
|
|
}
|
|
|
|
.shortcuts-list dt {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.shortcuts-list dd {
|
|
margin: 0;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
kbd {
|
|
display: inline-block;
|
|
padding: 2px 6px;
|
|
font-size: 0.75rem;
|
|
font-family: var(--font-mono);
|
|
background: var(--bg-tertiary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.container {
|
|
padding: var(--space-md);
|
|
}
|
|
|
|
.card {
|
|
padding: var(--space-lg);
|
|
}
|
|
|
|
.logo h1 {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.config-grid,
|
|
.settings-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.cell-input-header {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.button-group {
|
|
width: 100%;
|
|
}
|
|
|
|
.button-group .btn {
|
|
flex: 1;
|
|
}
|
|
|
|
.results-summary {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.pack-cell {
|
|
min-width: 55px;
|
|
padding: var(--space-xs);
|
|
}
|
|
|
|
.metric-tooltip {
|
|
width: 240px;
|
|
left: 0;
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.metric-tooltip::after {
|
|
left: 20%;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
}
|
|
|
|
@media print {
|
|
body {
|
|
background: white;
|
|
color: black;
|
|
}
|
|
|
|
.card {
|
|
border: 1px solid #ccc;
|
|
box-shadow: none;
|
|
break-inside: avoid;
|
|
}
|
|
|
|
.btn,
|
|
#progress-section,
|
|
.export-buttons {
|
|
display: none;
|
|
}
|
|
|
|
.warning-banner {
|
|
border: 2px solid #f59e0b;
|
|
}
|
|
} |