Spaces:
Paused
Paused
Download frontend/apps/internal/src/components/SideNav.module.css from 3SCError404/nexus: direct link, hf CLI and curl.
- Browser
- Download file 4.22 kB
-
https://huggingface.co/spaces/3SCError404/nexus/resolve/main/frontend/apps/internal/src/components/SideNav.module.css
- Command line
-
hf download hf://spaces/3SCError404/nexus/frontend/apps/internal/src/components/SideNav.module.css
-
curl -L -o SideNav.module.css https://huggingface.co/spaces/3SCError404/nexus/resolve/main/frontend/apps/internal/src/components/SideNav.module.css
4.22 kB
| .nav { | |
| width: 280px; | |
| background-color: var(--bg-card); | |
| border-right: 1px solid var(--border-subtle); | |
| display: flex; | |
| flex-direction: column; | |
| height: 100vh; | |
| position: sticky; | |
| top: 0; | |
| z-index: 100; | |
| } | |
| .header { | |
| padding: 32px 20px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 20px; | |
| } | |
| .logoGroup { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| } | |
| .logoIcon { | |
| width: 38px; | |
| height: 38px; | |
| background: linear-gradient(135deg, var(--neural-accent-indigo), var(--neural-accent-violet)); | |
| color: white; | |
| border-radius: 10px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-weight: 900; | |
| font-size: 20px; | |
| box-shadow: 0 4px 12px rgba(109, 40, 217, 0.3); | |
| } | |
| .logoTextWrapper { | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .logoText { | |
| font-size: 16px; | |
| font-weight: 800; | |
| color: var(--text-main); | |
| letter-spacing: -0.02em; | |
| display: flex; | |
| align-items: baseline; | |
| gap: 6px; | |
| } | |
| .poweredBy { | |
| font-size: 8px; | |
| color: var(--error); | |
| font-weight: 900; | |
| } | |
| .logoSubtext { | |
| font-size: 10px; | |
| font-weight: 700; | |
| color: #64748b; | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| margin-top: -2px; | |
| } | |
| /* Workspace Selector */ | |
| .workspaceSelector { | |
| position: relative; | |
| width: 100%; | |
| } | |
| .select { | |
| width: 100%; | |
| appearance: none; | |
| background: white; | |
| border: 1px solid var(--border-subtle); | |
| border-radius: 8px; | |
| padding: 10px 32px 10px 12px; | |
| font-size: 12px; | |
| font-weight: 800; | |
| color: var(--text-main); | |
| cursor: pointer; | |
| transition: all 0.2s; | |
| box-shadow: 0 2px 4px rgba(0,0,0,0.02); | |
| } | |
| .select:hover { | |
| border-color: var(--primary); | |
| background: var(--bg-hover); | |
| } | |
| .selectArrow { | |
| position: absolute; | |
| right: 12px; | |
| top: 50%; | |
| transform: translateY(-50%); | |
| font-size: 8px; | |
| color: var(--text-muted); | |
| pointer-events: none; | |
| } | |
| .menu { | |
| flex: 1; | |
| padding: 0 12px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 4px; | |
| } | |
| .item { | |
| width: 100%; | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| padding: 12px 16px; | |
| border-radius: var(--radius-md); | |
| color: var(--text-muted); | |
| font-size: 14px; | |
| font-weight: 600; | |
| transition: all 0.2s; | |
| position: relative; | |
| background: none; | |
| border: none; | |
| } | |
| .item:hover { | |
| background-color: var(--bg-hover); | |
| color: var(--text-main); | |
| } | |
| .item.active { | |
| background-color: rgba(168, 85, 247, 0.08); | |
| color: var(--neural-accent-violet); | |
| } | |
| .icon { | |
| font-size: 16px; | |
| width: 20px; | |
| display: flex; | |
| justify-content: center; | |
| } | |
| .label { | |
| flex: 1; | |
| text-align: left; | |
| } | |
| .badge { | |
| font-size: 10px; | |
| font-weight: 800; | |
| background-color: #cbd5e1; | |
| color: #475569; | |
| padding: 2px 8px; | |
| border-radius: 12px; | |
| } | |
| .active .badge { | |
| background-color: var(--neural-accent-violet); | |
| color: white; | |
| } | |
| .footer { | |
| padding: 20px; | |
| border-top: 1px solid var(--border-subtle); | |
| } | |
| .profile { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| padding: 10px; | |
| border-radius: 12px; | |
| background-color: var(--bg-hover); | |
| } | |
| .avatar { | |
| width: 36px; | |
| height: 36px; | |
| border-radius: 8px; | |
| background: linear-gradient(135deg, var(--neural-accent-indigo), var(--neural-accent-violet)); | |
| color: white; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 13px; | |
| font-weight: 700; | |
| box-shadow: 0 4px 12px rgba(109, 40, 217, 0.2); | |
| } | |
| .info { | |
| flex: 1; | |
| overflow: hidden; | |
| } | |
| .name { | |
| font-size: 13px; | |
| font-weight: 700; | |
| color: var(--text-main); | |
| margin: 0; | |
| } | |
| .roleBadge { | |
| display: flex; | |
| align-items: center; | |
| gap: 6px; | |
| font-size: 10px; | |
| font-weight: 800; | |
| color: var(--text-muted); | |
| margin-top: 2px; | |
| } | |
| .roleDot { | |
| width: 6px; | |
| height: 6px; | |
| border-radius: 50%; | |
| background-color: var(--success); | |
| } | |
| .settingsBtn { | |
| background: none; | |
| border: none; | |
| cursor: pointer; | |
| padding: 6px; | |
| border-radius: 6px; | |
| color: var(--text-muted); | |
| font-size: 14px; | |
| transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .settingsBtn:hover { | |
| background-color: rgba(0, 0, 0, 0.05); | |
| color: var(--primary); | |
| transform: rotate(90deg); | |
| } | |
| /* For dark mode consistency if vars shift */ | |
| [data-theme='dark'] .settingsBtn:hover { | |
| background-color: rgba(255, 255, 255, 0.1); | |
| } | |