Spaces:
Running
Running
Download frontend/src/styles/JourneyPage.css from BrainForge/Cybersecurity-Panel: direct link, hf CLI and curl.
- Browser
- Download file 6.7 kB
-
https://huggingface.co/spaces/BrainForge/Cybersecurity-Panel/resolve/main/frontend/src/styles/JourneyPage.css
- Command line
-
hf download hf://spaces/BrainForge/Cybersecurity-Panel/frontend/src/styles/JourneyPage.css
-
curl -L -o JourneyPage.css https://huggingface.co/spaces/BrainForge/Cybersecurity-Panel/resolve/main/frontend/src/styles/JourneyPage.css
6.7 kB
| .journey-page-with-sidebar { | |
| display: flex; | |
| min-height: 100vh; | |
| background: var(--bg-primary, #f8fafc); | |
| color: var(--text-primary, #0f172a); | |
| } | |
| .journey-main { | |
| flex: 1; | |
| min-width: 0; | |
| display: flex; | |
| flex-direction: column; | |
| /* The shared Sidebar is position: fixed — offset the page content the same | |
| way Chat and Workspace do, or the sidebar overlaps the Journey page. */ | |
| margin-left: 300px; | |
| transition: margin-left 0.3s ease; | |
| } | |
| .journey-main.sidebar-collapsed { | |
| margin-left: 70px; | |
| } | |
| @media (max-width: 768px) { | |
| .journey-main, | |
| .journey-main.sidebar-collapsed { | |
| margin-left: 0; | |
| } | |
| } | |
| .journey-content { | |
| padding: 1.25rem 1.5rem 2.5rem; | |
| max-width: 56rem; | |
| margin: 0 auto; | |
| width: 100%; | |
| } | |
| .journey-hero { | |
| display: flex; | |
| gap: 0.9rem; | |
| align-items: flex-start; | |
| margin-bottom: 1.25rem; | |
| } | |
| .journey-hero h1 { | |
| margin: 0; | |
| font-size: 1.5rem; | |
| } | |
| .journey-hero p { | |
| margin: 0.25rem 0 0; | |
| color: var(--text-secondary, #64748b); | |
| } | |
| .journey-error { | |
| color: #dc2626; | |
| } | |
| .journey-progress-card { | |
| border: 1px solid var(--border-primary, #e2e8f0); | |
| border-radius: 14px; | |
| padding: 1rem 1.1rem; | |
| background: var(--bg-secondary, #fff); | |
| margin-bottom: 1.5rem; | |
| } | |
| .journey-progress-meta { | |
| display: flex; | |
| justify-content: space-between; | |
| gap: 1rem; | |
| margin-bottom: 0.65rem; | |
| font-size: 0.95rem; | |
| } | |
| .journey-progress-bar { | |
| height: 10px; | |
| border-radius: 999px; | |
| background: var(--bg-tertiary, #e2e8f0); | |
| overflow: hidden; | |
| } | |
| .journey-progress-bar--level { | |
| height: 6px; | |
| margin-top: 6px; | |
| opacity: 0.9; | |
| } | |
| .journey-progress-fill { | |
| height: 100%; | |
| background: var(--accent-primary, #0B7A8A); | |
| transition: width 0.25s ease; | |
| } | |
| .journey-progress-fill--level { | |
| background: var(--accent-secondary, #8B3DB8); | |
| } | |
| /* Self-assessments */ | |
| .journey-assessments { | |
| border: 1px solid var(--border-primary, #e2e8f0); | |
| border-radius: 14px; | |
| padding: 1rem 1.1rem; | |
| background: var(--bg-secondary, #fff); | |
| margin-bottom: 1.5rem; | |
| } | |
| .journey-assessments-head { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| gap: 0.75rem; | |
| } | |
| .journey-assessments-head h2 { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| margin: 0; | |
| font-size: 1.05rem; | |
| } | |
| .journey-assess-new { | |
| min-height: 40px; | |
| padding: 0.4rem 0.9rem; | |
| border: 1px solid var(--accent-primary, #0B7A8A); | |
| border-radius: 999px; | |
| background: transparent; | |
| color: var(--accent-primary, #0B7A8A); | |
| cursor: pointer; | |
| font-size: 0.85rem; | |
| } | |
| .journey-assess-new:hover { | |
| background: var(--accent-fill, var(--accent-primary, #0B7A8A)); | |
| color: var(--accent-on-accent, #fff); | |
| } | |
| .journey-trend { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.4rem; | |
| font-size: 0.9rem; | |
| margin: 0.6rem 0 0; | |
| } | |
| .journey-trend.up { color: #059669; } | |
| .journey-trend.down { color: #dc2626; } | |
| .journey-trend.flat { color: var(--text-secondary, #64748b); } | |
| .journey-assess-form { | |
| margin-top: 0.9rem; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 0.6rem; | |
| } | |
| .journey-assess-slider { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.75rem; | |
| font-size: 0.9rem; | |
| } | |
| .journey-assess-dim { | |
| width: 6.5rem; | |
| text-transform: capitalize; | |
| color: var(--text-secondary, #64748b); | |
| } | |
| .journey-assess-slider input[type='range'] { | |
| flex: 1; | |
| accent-color: var(--accent-primary, #0B7A8A); | |
| min-height: 24px; | |
| } | |
| .journey-assess-val { | |
| width: 2.5rem; | |
| text-align: right; | |
| font-variant-numeric: tabular-nums; | |
| } | |
| .journey-assess-form textarea { | |
| border: 1px solid var(--border-primary, #e2e8f0); | |
| border-radius: 10px; | |
| padding: 0.6rem 0.75rem; | |
| background: var(--bg-primary, #fff); | |
| color: var(--text-primary, #0f172a); | |
| resize: vertical; | |
| font: inherit; | |
| font-size: 0.9rem; | |
| } | |
| .journey-assess-save { | |
| align-self: flex-start; | |
| min-height: 44px; | |
| padding: 0.5rem 1.1rem; | |
| border: none; | |
| border-radius: 10px; | |
| background: var(--accent-primary, #0B7A8A); | |
| color: #fff; | |
| cursor: pointer; | |
| } | |
| .journey-assess-save:disabled { | |
| opacity: 0.6; | |
| cursor: default; | |
| } | |
| .journey-assess-empty { | |
| margin: 0.75rem 0 0; | |
| font-size: 0.9rem; | |
| color: var(--text-secondary, #64748b); | |
| } | |
| .journey-assess-list { | |
| list-style: none; | |
| margin: 0.75rem 0 0; | |
| padding: 0; | |
| } | |
| .journey-assess-list li { | |
| display: flex; | |
| gap: 0.9rem; | |
| align-items: baseline; | |
| padding: 0.45rem 0; | |
| border-top: 1px solid var(--border-primary, #e2e8f0); | |
| font-size: 0.9rem; | |
| } | |
| .journey-assess-date { | |
| width: 6.5rem; | |
| color: var(--text-secondary, #64748b); | |
| flex-shrink: 0; | |
| } | |
| .journey-assess-score { | |
| width: 3.2rem; | |
| font-weight: 600; | |
| flex-shrink: 0; | |
| } | |
| .journey-assess-notes { | |
| color: var(--text-secondary, #64748b); | |
| overflow-wrap: anywhere; | |
| } | |
| .journey-track-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); | |
| gap: 0.75rem; | |
| } | |
| .journey-track-card { | |
| text-align: left; | |
| border: 1px solid var(--border-primary, #DDD5C8); | |
| border-radius: 12px; | |
| padding: 0.9rem 1rem; | |
| background: var(--card-bg, #FFFFFF); | |
| box-shadow: var(--shadow-sm); | |
| cursor: pointer; | |
| min-height: 44px; | |
| color: var(--text-primary); | |
| } | |
| .journey-track-card.active { | |
| border-color: var(--accent-primary, #0B7A8A); | |
| box-shadow: inset 0 0 0 1px var(--accent-primary, #0B7A8A), var(--shadow-sm); | |
| } | |
| .journey-track-card strong { | |
| display: block; | |
| margin-bottom: 0.35rem; | |
| font-size: var(--font-section, 18px); | |
| color: var(--text-primary); | |
| } | |
| .journey-track-card span { | |
| font-size: var(--font-small, 13px); | |
| color: var(--text-secondary, #4A453E); | |
| } | |
| .journey-level { | |
| margin: 1.25rem 0; | |
| padding: 1rem; | |
| border-radius: 12px; | |
| border: 1px solid var(--border-muted, #E8E1D6); | |
| background: var(--bg-secondary, #F3EEE6); | |
| } | |
| .journey-level ul { | |
| list-style: none; | |
| padding: 0; | |
| margin: 0.75rem 0 0; | |
| } | |
| .journey-check { | |
| display: flex; | |
| gap: 0.75rem; | |
| align-items: flex-start; | |
| width: 100%; | |
| text-align: left; | |
| border: none; | |
| background: transparent; | |
| padding: 0.55rem 0; | |
| cursor: pointer; | |
| color: inherit; | |
| min-height: 44px; | |
| } | |
| .journey-check span { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 0.15rem; | |
| } | |
| .journey-check em { | |
| font-style: normal; | |
| font-size: 0.85rem; | |
| color: var(--text-secondary, #64748b); | |
| } | |
| .journey-check.done strong { | |
| text-decoration: line-through; | |
| opacity: 0.75; | |
| } | |
| @media (max-width: 768px) { | |
| .journey-content { | |
| padding: 1rem; | |
| } | |
| .journey-progress-meta { | |
| flex-direction: column; | |
| } | |
| } | |