Files
fusion/packages/dashboard/app/components/command-center/MissionControlPanel.css
gsxdsm 5c0c162a2b FN-6609: fix command center CSS token hygiene
Command Center styles now rely on canonical muted text and shadow tokens.

- Replace deprecated --text-secondary usages in command center styles with --text-muted.
- Remove the raw rgba fallback from the date range popover shadow token.
- Document the command-center styling token requirements with FNXC comments.

Files changed:
 .../app/components/command-center/CommandCenter.css   | 13 +++++++++----
 .../app/components/command-center/DateRangePicker.css |  8 ++++++--
 .../components/command-center/MissionControlPanel.css | 11 ++++++++---
 .../app/components/command-center/areas/areas.css     | 19 ++++++++++++-------
 .../app/components/command-center/charts/charts.css   | 11 ++++++++---
 5 files changed, 43 insertions(+), 19 deletions(-)

Fusion-Task-Id: FN-6609
Fusion-Task-Lineage: 8a02f4a3-a881-4db6-893e-363b74cbfba8
2026-06-17 18:54:24 -07:00

104 lines
2.0 KiB
CSS

/*
FNXC:CommandCenterStyling 2026-06-17-18:46:
Mission-control muted labels and inactive badges use --text-muted so the live panel follows the canonical command-center text-token contract.
*/
/*
* Mission-Control live panel (U6b). Component-local styles.
* Animation durations use --duration-* tokens only (never --transition-*).
*/
.cc-mission-control {
display: flex;
flex-direction: column;
gap: var(--space-4, 16px);
}
.cc-mc-columns {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space-4, 16px);
}
.cc-mc-section {
display: flex;
flex-direction: column;
gap: var(--space-2, 8px);
min-width: 0;
}
.cc-mc-muted {
color: var(--text-muted);
font-size: 0.85rem;
margin: 0;
}
.cc-mc-list {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: var(--space-1, 4px);
}
.cc-mc-session,
.cc-mc-node {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-2, 8px);
padding: var(--space-2, 8px);
border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
border-radius: var(--radius-sm, 6px);
background: var(--surface-1, rgba(255, 255, 255, 0.02));
min-width: 0;
}
.cc-mc-node.inactive {
opacity: 0.55;
}
.cc-mc-session-purpose,
.cc-mc-node-label {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
min-width: 0;
}
.cc-mc-session-meta,
.cc-mc-node-meta {
display: flex;
align-items: center;
gap: var(--space-2, 8px);
flex-shrink: 0;
}
.cc-mc-badge {
font-size: 0.7rem;
text-transform: uppercase;
letter-spacing: 0.03em;
padding: 2px 6px;
border-radius: var(--radius-sm, 6px);
background: var(--surface-2, rgba(59, 130, 246, 0.15));
color: var(--text-primary, #ddd);
}
.cc-mc-badge.inactive {
background: var(--surface-2, rgba(255, 255, 255, 0.06));
color: var(--text-muted);
}
.cc-mc-task,
.cc-mc-node-count {
font-size: 0.75rem;
color: var(--text-muted);
}
@media (max-width: 768px), (max-height: 480px) {
.cc-mc-columns {
grid-template-columns: 1fr;
}
}