Spaces:
Paused
Paused
dushyantsingh0
fix: make loading screens theme-aware to resolve contrast issues in dark mode
4e35ae1 Download frontend/apps/internal/src/App.css from 3SCError404/miracle: direct link, hf CLI and curl.
- Browser
- Download file 3.6 kB
-
https://huggingface.co/spaces/3SCError404/miracle/resolve/main/frontend/apps/internal/src/App.css
- Command line
-
hf download hf://spaces/3SCError404/miracle/frontend/apps/internal/src/App.css
-
curl -L -o App.css https://huggingface.co/spaces/3SCError404/miracle/resolve/main/frontend/apps/internal/src/App.css
3.6 kB
| .admin-layout { | |
| display: flex; | |
| height: 100vh; | |
| background-color: var(--bg-dark); /* Slate-50 */ | |
| } | |
| .admin-main { | |
| flex: 1; | |
| display: flex; | |
| flex-direction: column; | |
| overflow: hidden; | |
| background-color: transparent; | |
| min-width: 0; | |
| transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| .admin-content { | |
| flex: 1; | |
| display: flex; | |
| flex-direction: column; | |
| overflow-y: auto; | |
| position: relative; | |
| background-color: transparent; | |
| } | |
| .login-wrapper, .nexus-loading-screen { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| height: 100vh; | |
| background-color: var(--bg-dark); | |
| } | |
| .nexus-loading-box { | |
| background: var(--bg-card); | |
| backdrop-filter: blur(20px); | |
| padding: 48px; | |
| border-radius: 24px; | |
| border: 1px solid var(--border-subtle); | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 24px; | |
| box-shadow: var(--shadow-xl); | |
| max-width: 400px; | |
| text-align: center; | |
| animation: nexus-fade-in 0.8s ease-out; | |
| } | |
| .nexus-loading-msg { | |
| font-size: 14px; | |
| font-weight: 800; | |
| color: var(--text3); | |
| text-transform: uppercase; | |
| letter-spacing: 0.1em; | |
| margin: 0; | |
| } | |
| .nexus-load.sidebarDocked { | |
| width: 48px; | |
| min-width: 48px; | |
| } | |
| .nexus-loading-bar { | |
| width: 240px; | |
| height: 4px; | |
| background: rgba(0,0,0,0.05); | |
| border-radius: 2px; | |
| overflow: hidden; | |
| } | |
| .nexus-loading-progress { | |
| width: 40%; | |
| height: 100%; | |
| background: var(--banner-gradient); | |
| border-radius: 2px; | |
| animation: nexus-loading-slide 2s infinite ease-in-out; | |
| } | |
| @keyframes nexus-loading-slide { | |
| 0% { transform: translateX(-100%); } | |
| 50% { transform: translateX(150%); } | |
| 100% { transform: translateX(-100%); } | |
| } | |
| @keyframes nexus-fade-in { | |
| from { opacity: 0; transform: translateY(20px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| /* Remove legacy header styles as we use TopBar component now */ | |
| .admin-header, .header-title, .header-subtitle, .header-right { | |
| display: none; | |
| } | |
| /* Security Gate / Unauthorized Access Styles */ | |
| .nexus-unauthorized-overlay { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| height: 100vh; | |
| background-color: #f8fafc; | |
| padding: 24px; | |
| } | |
| .nexus-unauthorized-box { | |
| background: var(--bg-card); | |
| backdrop-filter: blur(20px); | |
| padding: 48px; | |
| border-radius: 24px; | |
| border: 1px solid var(--border-subtle); | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 16px; | |
| box-shadow: var(--shadow-xl); | |
| max-width: 480px; | |
| text-align: center; | |
| animation: nexus-fade-in 0.8s ease-out; | |
| } | |
| .nexus-unauthorized-box h1 { | |
| font-size: 32px; | |
| font-weight: 800; | |
| margin: 12px 0 0; | |
| color: #0f172a; | |
| letter-spacing: -0.02em; | |
| } | |
| .nexus-unauthorized-box p { | |
| font-size: 16px; | |
| line-height: 1.6; | |
| color: var(--text3); | |
| margin-bottom: 24px; | |
| } | |
| .nexus-unauthorized-actions { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 12px; | |
| width: 100%; | |
| } | |
| .nexus-btn-primary { | |
| background: var(--banner-gradient); | |
| color: white; | |
| border: none; | |
| padding: 14px 24px; | |
| border-radius: 12px; | |
| font-weight: 700; | |
| font-size: 14px; | |
| cursor: pointer; | |
| transition: all 0.2s; | |
| box-shadow: 0 4px 15px rgba(0,0,0,0.2); | |
| } | |
| .nexus-btn-primary:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 8px 25px rgba(0,0,0,0.3); | |
| filter: brightness(1.1); | |
| } | |
| .nexus-btn-secondary { | |
| background: rgba(255,255,255,0.05); | |
| color: var(--text3); | |
| border: 1px solid var(--border-lo); | |
| padding: 14px 24px; | |
| border-radius: 12px; | |
| font-weight: 600; | |
| font-size: 14px; | |
| cursor: pointer; | |
| transition: all 0.2s; | |
| } | |
| .nexus-btn-secondary:hover { | |
| background: rgba(255,255,255,0.1); | |
| color: var(--text1); | |
| } | |