Spaces:
Paused
Paused
Download frontend/apps/internal/src/components/DashboardOverview.module.css from 3SCError404/nexus: direct link, hf CLI and curl.
- Browser
- Download file 10.5 kB
-
https://huggingface.co/spaces/3SCError404/nexus/resolve/main/frontend/apps/internal/src/components/DashboardOverview.module.css
- Command line
-
hf download hf://spaces/3SCError404/nexus/frontend/apps/internal/src/components/DashboardOverview.module.css
-
curl -L -o DashboardOverview.module.css https://huggingface.co/spaces/3SCError404/nexus/resolve/main/frontend/apps/internal/src/components/DashboardOverview.module.css
10.5 kB
| .container { | |
| padding: 32px 40px; | |
| background-color: transparent; | |
| min-height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 32px; | |
| animation: fadeIn 0.5s ease-out; | |
| } | |
| @media (max-width: 900px) { | |
| .container { | |
| padding: 24px 20px; | |
| } | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(10px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| /* 1. Mission Banner */ | |
| .missionBanner { | |
| background: rgba(124, 58, 237, 0.85); | |
| backdrop-filter: blur(24px); | |
| -webkit-backdrop-filter: blur(24px); | |
| border: 1px solid rgba(255, 255, 255, 0.2); | |
| border-radius: var(--radius-lg); | |
| padding: 48px; | |
| display: grid; | |
| grid-template-columns: 1fr 480px; | |
| gap: 60px; | |
| align-items: center; | |
| color: white; | |
| box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1); | |
| position: relative; | |
| overflow: hidden; | |
| transition: all 0.3s ease; | |
| } | |
| @media (max-width: 1400px) { | |
| .missionBanner { | |
| padding: 40px; | |
| } | |
| } | |
| @media (max-width: 1200px) { | |
| .missionBanner { | |
| grid-template-columns: 1fr; | |
| gap: 40px; | |
| padding: 40px 32px; | |
| } | |
| } | |
| .missionBanner::after { | |
| content: ''; | |
| position: absolute; | |
| top: -50%; | |
| right: -10%; | |
| width: 500px; | |
| height: 500px; | |
| background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%); | |
| pointer-events: none; | |
| } | |
| .bannerContent { | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .greetingHeader { | |
| display: flex; | |
| align-items: baseline; | |
| gap: 10px; | |
| margin-bottom: 24px; | |
| } | |
| .greetingText { | |
| font-size: 11px; | |
| font-weight: 700; | |
| text-transform: uppercase; | |
| letter-spacing: 0.12em; | |
| color: rgba(255, 255, 255, 0.7); | |
| } | |
| .userName { | |
| font-size: clamp(20px, 4vw, 24px); | |
| font-weight: 900; | |
| letter-spacing: -0.02em; | |
| color: white; | |
| text-transform: uppercase; | |
| } | |
| .globalRefresh { | |
| background: rgba(255, 255, 255, 0.15); | |
| border: 1px solid rgba(255, 255, 255, 0.2); | |
| color: white; | |
| cursor: pointer; | |
| padding: 4px 8px; | |
| border-radius: 6px; | |
| font-size: 14px; | |
| transition: all 0.2s; | |
| margin-left: 10px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .globalRefresh:hover { | |
| background: rgba(255, 255, 255, 0.25); | |
| transform: rotate(30deg); | |
| } | |
| .globalRefresh:active { | |
| transform: scale(0.95); | |
| } | |
| .aiSummary { | |
| background: rgba(255, 255, 255, 0.08); | |
| backdrop-filter: blur(12px); | |
| border: 1px solid rgba(255, 255, 255, 0.15); | |
| border-radius: var(--radius-md); | |
| padding: 24px; | |
| min-height: 180px; | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: flex-start; | |
| transition: all 0.3s ease; | |
| } | |
| @media (max-width: 1200px) { | |
| .aiSummary { | |
| min-height: auto; | |
| padding: 20px; | |
| } | |
| } | |
| .aiBadge { | |
| display: inline-block; | |
| font-size: 9px; | |
| font-weight: 900; | |
| background: rgba(255, 255, 255, 0.2); | |
| padding: 4px 8px; | |
| border-radius: 4px; | |
| margin-bottom: 12px; | |
| letter-spacing: 0.05em; | |
| width: fit-content; | |
| } | |
| .summaryText { | |
| font-size: 15px; | |
| line-height: 1.6; | |
| opacity: 0.95; | |
| font-weight: 400; | |
| } | |
| /* Banner Stats Container */ | |
| .bannerStats { | |
| display: grid; | |
| grid-template-columns: repeat(3, 1fr); | |
| gap: 16px; | |
| align-self: flex-end; | |
| transition: all 0.3s ease; | |
| } | |
| @media (max-width: 1200px) { | |
| .bannerStats { | |
| align-self: stretch; | |
| grid-template-columns: repeat(3, 1fr); | |
| width: 100%; | |
| } | |
| } | |
| @media (max-width: 800px) { | |
| .bannerStats { | |
| grid-template-columns: 1fr; | |
| gap: 12px; | |
| } | |
| } | |
| .frostedCard { | |
| background: rgba(255, 255, 255, 0.1); | |
| backdrop-filter: blur(12px); | |
| border: 1px solid rgba(255, 255, 255, 0.2); | |
| border-radius: var(--radius-md); | |
| padding: 24px 16px; | |
| text-align: center; | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: center; | |
| min-height: 160px; | |
| transition: all 0.2s; | |
| } | |
| @media (max-width: 1200px) { | |
| .frostedCard { | |
| min-height: 120px; | |
| } | |
| } | |
| .frostedCard:hover { | |
| transform: translateY(-4px); | |
| background: rgba(255, 255, 255, 0.15); | |
| } | |
| .fLabel { | |
| font-size: 10px; | |
| font-weight: 800; | |
| opacity: 0.7; | |
| margin-bottom: 12px; | |
| letter-spacing: 0.1em; | |
| text-transform: uppercase; | |
| } | |
| .fValue { | |
| font-size: 32px; | |
| font-weight: 900; | |
| margin-bottom: 4px; | |
| } | |
| .fSub { | |
| font-size: 10px; | |
| font-weight: 600; | |
| opacity: 0.6; | |
| text-transform: uppercase; | |
| } | |
| /* 2. Intelligence Grid */ | |
| .intelGrid { | |
| display: grid; | |
| grid-template-columns: repeat(3, 1fr); | |
| gap: 24px; | |
| align-items: stretch; | |
| } | |
| @media (max-width: 1100px) { | |
| .intelGrid { | |
| grid-template-columns: repeat(2, 1fr); | |
| } | |
| } | |
| @media (max-width: 900px) { | |
| .intelGrid { | |
| grid-template-columns: 1fr; | |
| } | |
| } | |
| .card { | |
| background: rgba(255, 255, 255, 0.75); | |
| backdrop-filter: blur(8px); | |
| -webkit-backdrop-filter: blur(8px); | |
| border: 1px solid rgba(255, 255, 255, 0.3); | |
| border-radius: var(--radius-lg); | |
| padding: 28px; | |
| box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05); | |
| display: flex; | |
| flex-direction: column; | |
| height: 560px; /* Fixed height for consistency as requested */ | |
| overflow: hidden; | |
| } | |
| .cardHeader { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| margin-bottom: 24px; | |
| padding-bottom: 12px; | |
| border-bottom: 1px solid var(--border-subtle); | |
| background: linear-gradient(to right, rgba(124, 58, 237, 0.03), transparent); | |
| } | |
| .cardTitle { | |
| font-size: 16px; | |
| font-weight: 700; | |
| color: var(--text-main); | |
| } | |
| .refreshBtn { | |
| background: none; | |
| border: none; | |
| cursor: pointer; | |
| font-size: 18px; | |
| color: var(--text-muted); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); | |
| padding: 4px; | |
| border-radius: 6px; | |
| } | |
| .clearBtn { | |
| background: rgba(99, 102, 241, 0.1); | |
| border: 1px solid rgba(99, 102, 241, 0.2); | |
| color: #6366F1; | |
| font-size: 10px; | |
| font-weight: 800; | |
| padding: 4px 12px; | |
| border-radius: 6px; | |
| cursor: pointer; | |
| transition: all 0.2s; | |
| } | |
| .clearBtn:hover { | |
| background: #6366F1; | |
| color: white; | |
| } | |
| @keyframes spin { | |
| from { transform: rotate(0deg); } | |
| to { transform: rotate(360deg); } | |
| } | |
| /* Rest of the styles... */ | |
| .actionList { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 16px; | |
| overflow-y: auto; | |
| max-height: 440px; | |
| padding-right: 8px; | |
| } | |
| /* Custom Scrollbar for Action List */ | |
| .actionList::-webkit-scrollbar { | |
| width: 5px; | |
| } | |
| .actionList::-webkit-scrollbar-track { | |
| background: transparent; | |
| } | |
| .actionList::-webkit-scrollbar-thumb { | |
| background: rgba(124, 58, 237, 0.2); | |
| border-radius: 10px; | |
| } | |
| .actionList::-webkit-scrollbar-thumb:hover { | |
| background: rgba(124, 58, 237, 0.4); | |
| } | |
| .actionItem { | |
| display: flex; | |
| gap: 16px; | |
| padding: 16px; | |
| border-radius: var(--radius-md); | |
| background: var(--bg-hover); | |
| transition: all 0.2s; | |
| cursor: pointer; | |
| border: 1px solid transparent; | |
| } | |
| .actionItem:hover { | |
| transform: translateX(4px); | |
| background: #fff; | |
| box-shadow: 0 4px 12px rgba(0,0,0,0.05); | |
| border-color: rgba(124, 58, 237, 0.2); | |
| } | |
| .actionIcon { width: 32px; height: 32px; background: white; border: 1px solid var(--border-subtle); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; } | |
| .actionContent { flex: 1; } | |
| .actionText { font-size: 13px; font-weight: 600; color: var(--text-main); margin-bottom: 2px; } | |
| .actionMeta { font-size: 11px; color: var(--text-muted); } | |
| /* Operations Stream */ | |
| .streamList { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 12px; | |
| max-height: 500px; | |
| overflow-y: auto; | |
| padding-right: 8px; | |
| } | |
| .streamItem { | |
| display: grid; | |
| grid-template-columns: 120px 1fr 140px; | |
| align-items: center; | |
| gap: 24px; | |
| padding: 16px 20px; | |
| background: var(--bg-hover); | |
| border: 1px solid var(--border-subtle); | |
| border-radius: var(--radius-md); | |
| transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| .streamItem:hover { | |
| background: white; | |
| border-color: var(--primary); | |
| transform: translateX(4px); | |
| box-shadow: 0 4px 12px rgba(0,0,0,0.05); | |
| } | |
| .streamMeta { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 4px; | |
| } | |
| .tID { | |
| font-family: var(--font-mono); | |
| font-size: 11px; | |
| font-weight: 700; | |
| color: var(--text-muted); | |
| } | |
| .tTag { | |
| padding: 2px 6px; | |
| border-radius: 4px; | |
| font-size: 9px; | |
| font-weight: 900; | |
| width: fit-content; | |
| } | |
| .streamContent { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 2px; | |
| } | |
| .tTitle { | |
| font-size: 14px; | |
| font-weight: 700; | |
| color: var(--text-main); | |
| } | |
| .tFooter { | |
| font-size: 11px; | |
| color: var(--text-muted); | |
| } | |
| .streamAction { | |
| display: flex; | |
| justify-content: flex-end; | |
| } | |
| .viewBtn { | |
| background: white; | |
| border: 1px solid var(--border-subtle); | |
| color: var(--text-main); | |
| font-size: 10px; | |
| font-weight: 800; | |
| padding: 8px 16px; | |
| border-radius: 8px; | |
| cursor: pointer; | |
| transition: all 0.2s; | |
| } | |
| .viewBtn:hover { | |
| background: var(--primary); | |
| color: white; | |
| border-color: var(--primary); | |
| } | |
| .emptyStream { | |
| text-align: center; | |
| padding: 60px 20px; | |
| color: var(--text-muted); | |
| } | |
| /* Skeletons */ | |
| .skeleton { | |
| background: linear-gradient( | |
| 90deg, | |
| rgba(255, 255, 255, 0.05) 25%, | |
| rgba(255, 255, 255, 0.1) 37%, | |
| rgba(255, 255, 255, 0.05) 63% | |
| ); | |
| background-size: 400% 100%; | |
| animation: shimmer 1.4s ease infinite; | |
| border-radius: 4px; | |
| } | |
| .skeletonDark { | |
| background: linear-gradient( | |
| 90deg, | |
| var(--bg-hover) 25%, | |
| var(--border-subtle) 37%, | |
| var(--bg-hover) 63% | |
| ); | |
| background-size: 400% 100%; | |
| animation: shimmer 1.4s ease infinite; | |
| } | |
| @keyframes shimmer { | |
| 0% { background-position: 100% 50%; } | |
| 100% { background-position: 0% 50%; } | |
| } | |
| .sText { height: 14px; width: 100%; margin: 8px 0; } | |
| .sTitle { height: 32px; width: 120px; margin-bottom: 12px; } | |
| .sValue { height: 40px; width: 60px; margin: 8px auto; } | |
| /* Grain Selector */ | |
| .grainSelector { | |
| display: flex; | |
| background: var(--bg-hover); | |
| padding: 2px; | |
| border-radius: 8px; | |
| border: 1px solid var(--border-subtle); | |
| } | |
| .grainBtn { | |
| background: none; | |
| border: none; | |
| padding: 4px 10px; | |
| border-radius: 6px; | |
| font-size: 10px; | |
| font-weight: 800; | |
| color: var(--text-muted); | |
| cursor: pointer; | |
| transition: all 0.2s; | |
| } | |
| .grainBtnActive { | |
| background: white ; | |
| color: #6366F1 ; | |
| box-shadow: 0 2px 4px rgba(0,0,0,0.05); | |
| } | |
| .refreshPulse { | |
| position: absolute; | |
| top: -2px; | |
| right: -2px; | |
| width: 8px; | |
| height: 8px; | |
| background: #10B981; | |
| border-radius: 50%; | |
| border: 2px solid white; | |
| animation: pulseSmall 2s infinite; | |
| } | |
| @keyframes pulseSmall { | |
| 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); } | |
| 70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); } | |
| 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } | |
| } | |