Spaces:
Paused
Paused
dushyantsingh0
feat: enhance SLA Mission Control with overdue tracking and proactive filtering
86e1868 Download frontend/apps/internal/src/components/EscalationCentre.module.css from 3SCError404/nexus: direct link, hf CLI and curl.
- Browser
- Download file 9.63 kB
-
https://huggingface.co/spaces/3SCError404/nexus/resolve/main/frontend/apps/internal/src/components/EscalationCentre.module.css
- Command line
-
hf download hf://spaces/3SCError404/nexus/frontend/apps/internal/src/components/EscalationCentre.module.css
-
curl -L -o EscalationCentre.module.css https://huggingface.co/spaces/3SCError404/nexus/resolve/main/frontend/apps/internal/src/components/EscalationCentre.module.css
9.63 kB
| .container { | |
| padding: 40px; | |
| background-color: var(--bg-dark); | |
| min-height: calc(100vh - 120px); | |
| display: flex; | |
| flex-direction: column; | |
| gap: 32px; | |
| color: var(--text-main); | |
| } | |
| /* 1. Mission Header */ | |
| .missionHeader { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: flex-end; | |
| border-bottom: 1px solid var(--border-subtle); | |
| padding-bottom: 24px; | |
| } | |
| .hubTitle h1 { | |
| font-size: 36px; | |
| font-weight: 900; | |
| letter-spacing: -0.02em; | |
| margin: 8px 0 0; | |
| } | |
| .badgeLine { | |
| font-size: 10px; | |
| font-weight: 900; | |
| letter-spacing: 0.1em; | |
| color: var(--text-muted); | |
| } | |
| .critical { color: var(--red); } | |
| .nominal { color: var(--green); } | |
| .complianceGauge { | |
| width: 300px; | |
| } | |
| .gaugeInfo { | |
| display: flex; | |
| justify-content: space-between; | |
| margin-bottom: 8px; | |
| } | |
| .gaugeInfo label { | |
| font-size: 9px; | |
| font-weight: 900; | |
| color: var(--text-muted); | |
| letter-spacing: 0.05em; | |
| } | |
| .gaugeValue { | |
| font-size: 14px; | |
| font-weight: 900; | |
| color: var(--text-main); | |
| } | |
| .gaugeBar { | |
| height: 6px; | |
| background: var(--bg-hover); | |
| border-radius: 3px; | |
| overflow: hidden; | |
| } | |
| .gaugeFill { | |
| height: 100%; | |
| border-radius: 3px; | |
| } | |
| /* 2. Analytics Grid */ | |
| .analyticsGrid { | |
| display: grid; | |
| grid-template-columns: repeat(3, 1fr); | |
| gap: 24px; | |
| } | |
| .analyticsCard { | |
| background: white; | |
| border: 1px solid var(--border-subtle); | |
| border-radius: 20px; | |
| padding: 24px; | |
| position: relative; | |
| overflow: hidden; | |
| box-shadow: 0 4px 20px rgba(0,0,0,0.02); | |
| } | |
| .cardGlow { | |
| position: absolute; | |
| top: -40px; | |
| right: -40px; | |
| width: 100px; | |
| height: 100px; | |
| filter: blur(40px); | |
| opacity: 0.1; | |
| pointer-events: none; | |
| } | |
| .activeAlert { | |
| border-color: var(--red); | |
| box-shadow: 0 0 20px rgba(239, 68, 68, 0.1); | |
| animation: pulseAlert 2s infinite; | |
| } | |
| @keyframes pulseAlert { | |
| 0% { box-shadow: 0 0 10px rgba(239, 68, 68, 0.05); } | |
| 50% { box-shadow: 0 0 25px rgba(239, 68, 68, 0.15); } | |
| 100% { box-shadow: 0 0 10px rgba(239, 68, 68, 0.05); } | |
| } | |
| .cardLabel { | |
| font-size: 10px; | |
| font-weight: 900; | |
| color: var(--text-muted); | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| margin-bottom: 12px; | |
| } | |
| .cardValue { | |
| font-size: 32px; | |
| font-weight: 900; | |
| color: var(--text-main); | |
| margin-bottom: 8px; | |
| } | |
| .cardTrend { | |
| font-size: 11px; | |
| font-weight: 800; | |
| color: var(--green); | |
| } | |
| .cardTrend span { | |
| font-weight: 900; | |
| } | |
| /* 3. Main Mission Grid */ | |
| .missionGrid { | |
| display: grid; | |
| grid-template-columns: 1fr 380px; | |
| gap: 32px; | |
| align-items: start; | |
| } | |
| .missionBoard { | |
| background: white; | |
| border: 1px solid var(--border-subtle); | |
| border-radius: 24px; | |
| overflow: hidden; | |
| box-shadow: 0 10px 40px rgba(0,0,0,0.03); | |
| } | |
| .boardHeader { | |
| padding: 24px 32px; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| border-bottom: 1px solid var(--border-subtle); | |
| background: #fcfcfd; | |
| } | |
| .boardTitle { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| color: var(--accent); | |
| } | |
| .boardTitle h3 { | |
| font-size: 14px; | |
| font-weight: 900; | |
| letter-spacing: 0.05em; | |
| margin: 0; | |
| color: var(--text-main); | |
| } | |
| .boardFilters { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| .boardFilters select { | |
| padding: 6px 12px; | |
| border-radius: 8px; | |
| border: 1px solid var(--border-subtle); | |
| font-size: 11px; | |
| font-weight: 800; | |
| outline: none; | |
| background: white; | |
| color: var(--text1); | |
| } | |
| .tableWrapper { | |
| overflow-x: auto; | |
| } | |
| .missionTable { | |
| width: 100%; | |
| border-collapse: collapse; | |
| } | |
| .missionTable th { | |
| text-align: left; | |
| padding: 16px 32px; | |
| font-size: 9px; | |
| font-weight: 950; | |
| color: var(--text-muted); | |
| text-transform: uppercase; | |
| letter-spacing: 0.1em; | |
| border-bottom: 1px solid var(--border-subtle); | |
| background: #fafafa; | |
| } | |
| .missionTable td { | |
| padding: 20px 32px; | |
| border-bottom: 1px solid var(--bg-hover); | |
| font-size: 13px; | |
| } | |
| .assetCell { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 4px; | |
| } | |
| .assetId { | |
| font-size: 10px; | |
| font-weight: 900; | |
| color: var(--accent); | |
| letter-spacing: 0.05em; | |
| } | |
| .assetTitle { | |
| font-weight: 750; | |
| color: var(--text-main); | |
| } | |
| .priorityBadge { | |
| font-size: 9px; | |
| font-weight: 900; | |
| padding: 2px 8px; | |
| border-radius: 4px; | |
| background: var(--bg-hover); | |
| } | |
| .priorityBadge[data-priority="P0"] { background: #fee2e2; color: #dc2626; } | |
| .priorityBadge[data-priority="P1"] { background: #ffedd5; color: #d97706; } | |
| .priorityBadge[data-priority="P2"] { background: #dcfce7; color: #16a34a; } | |
| .deltaTimer { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| font-weight: 800; | |
| font-size: 12px; | |
| } | |
| .riskIndicator { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| font-weight: 900; | |
| font-size: 12px; | |
| } | |
| .riskIndicator .riskDot { | |
| width: 8px; | |
| height: 8px; | |
| border-radius: 50%; | |
| box-shadow: 0 0 8px currentColor; | |
| } | |
| .statusBadge { | |
| font-size: 10px; | |
| font-weight: 800; | |
| color: var(--text-muted); | |
| text-transform: uppercase; | |
| } | |
| .overdueCell { | |
| font-weight: 900; | |
| font-size: 14px; | |
| } | |
| .breachedRow { | |
| background: #fffafa; | |
| } | |
| .emptyTable { | |
| text-align: center; | |
| padding: 60px ; | |
| color: var(--text-muted); | |
| font-style: italic; | |
| } | |
| .tablePagination { | |
| padding: 16px 32px; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| gap: 20px; | |
| background: #fafafa; | |
| border-top: 1px solid var(--border-subtle); | |
| } | |
| .tablePagination button { | |
| background: white; | |
| border: 1px solid var(--border-subtle); | |
| padding: 6px; | |
| border-radius: 6px; | |
| cursor: pointer; | |
| display: flex; | |
| } | |
| .tablePagination span { | |
| font-size: 11px; | |
| font-weight: 900; | |
| color: var(--text-muted); | |
| } | |
| /* 4. Controls Column */ | |
| .controlColumn { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 32px; | |
| } | |
| .rulesCard { | |
| background: white; | |
| border: 1px solid var(--border-subtle); | |
| border-radius: 20px; | |
| padding: 24px; | |
| box-shadow: 0 10px 40px rgba(0,0,0,0.02); | |
| } | |
| .rulesHeader { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: flex-start; | |
| margin-bottom: 24px; | |
| } | |
| .headerTitle h3 { margin: 0; font-size: 15px; font-weight: 900; } | |
| .headerTitle span { font-size: 10px; font-weight: 800; color: var(--text-muted); display: block; margin-top: 4px; } | |
| .addBtn { | |
| background: var(--accent); | |
| color: white; | |
| border: none; | |
| padding: 8px 16px; | |
| border-radius: 10px; | |
| font-size: 10px; | |
| font-weight: 900; | |
| cursor: pointer; | |
| box-shadow: 0 4px 12px var(--accent-glow); | |
| } | |
| .rulesList { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 16px; | |
| } | |
| .topologyCard { | |
| border: 1px solid var(--bg-hover); | |
| border-radius: 12px; | |
| padding: 16px; | |
| transition: all 0.2s; | |
| } | |
| .topologyCard:hover { border-color: var(--border-hi); } | |
| .topRow { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; } | |
| .priorityPill { | |
| font-size: 8px; | |
| font-weight: 950; | |
| padding: 2px 6px; | |
| border-radius: 4px; | |
| background: var(--bg-dark); | |
| } | |
| .priorityPill[data-priority="P0"] { color: var(--red); } | |
| .priorityPill[data-priority="P1"] { color: var(--amber); } | |
| .logicFlow { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 6px; | |
| position: relative; | |
| padding-left: 12px; | |
| } | |
| .logicFlow::before { | |
| content: ''; | |
| position: absolute; | |
| left: 0; | |
| top: 8px; | |
| bottom: 8px; | |
| width: 2px; | |
| background: var(--bg-hover); | |
| } | |
| .logicBlock { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| .logicOp { | |
| font-size: 9px; | |
| font-weight: 950; | |
| color: var(--accent); | |
| min-width: 32px; | |
| } | |
| .logicDetail { | |
| font-size: 11px; | |
| font-weight: 750; | |
| color: var(--text-main); | |
| } | |
| .topologyActions { | |
| display: flex; | |
| gap: 12px; | |
| margin-top: 16px; | |
| padding-top: 12px; | |
| border-top: 1px dashed var(--bg-hover); | |
| } | |
| .topologyActions button { | |
| background: none; | |
| border: none; | |
| font-size: 10px; | |
| font-weight: 800; | |
| color: var(--text-muted); | |
| cursor: pointer; | |
| padding: 0; | |
| } | |
| .topologyActions button:hover { color: var(--text-main); } | |
| .textRed:hover { color: var(--red) ; } | |
| /* 5. Telemetry Card */ | |
| .telemetryCard { | |
| background: #0f172a; | |
| border-radius: 20px; | |
| padding: 24px; | |
| color: white; | |
| } | |
| .telemetryCard .cardHeader { | |
| font-size: 10px; | |
| font-weight: 900; | |
| color: rgba(255,255,255,0.4); | |
| letter-spacing: 0.1em; | |
| margin-bottom: 20px; | |
| } | |
| .auditList { display: flex; flex-direction: column; gap: 16px; } | |
| .auditItem { | |
| padding-left: 12px; | |
| border-left: 1px solid rgba(255,255,255,0.1); | |
| } | |
| .auditMeta { font-size: 9px; font-weight: 900; color: rgba(255,255,255,0.4); margin-bottom: 4px; } | |
| .auditBody { font-size: 11px; line-height: 1.4; color: rgba(255,255,255,0.8); } | |
| .auditBody strong { color: white; font-weight: 900; } | |
| /* Switch Toggle UI */ | |
| .switch { | |
| position: relative; | |
| display: inline-block; | |
| width: 32px; | |
| height: 18px; | |
| } | |
| .switch input { opacity: 0; width: 0; height: 0; } | |
| .slider { | |
| position: absolute; | |
| cursor: pointer; | |
| top: 0; left: 0; right: 0; bottom: 0; | |
| background-color: #e2e8f0; | |
| transition: .4s; | |
| border-radius: 18px; | |
| } | |
| .slider:before { | |
| position: absolute; | |
| content: ""; | |
| height: 14px; width: 14px; | |
| left: 2px; bottom: 2px; | |
| background-color: white; | |
| transition: .4s; | |
| border-radius: 50%; | |
| } | |
| input:checked + .slider { background-color: var(--accent); } | |
| input:checked + .slider:before { transform: translateX(14px); } | |
| .loadingContainer { | |
| flex: 1; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 20px; | |
| color: var(--text-muted); | |
| font-weight: 800; | |
| font-size: 14px; | |
| } | |
| .loadingPulse { | |
| width: 48px; | |
| height: 48px; | |
| border: 4px solid var(--accent); | |
| border-radius: 50%; | |
| border-top-color: transparent; | |
| animation: spin 1s linear infinite; | |
| } | |
| @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } | |