Spaces:
3SCError404
/
Paused

nexus / frontend /apps /internal /src /App.css
dushyantsingh0
backend stabilization
3e3b4ae
Raw History Blame Contribute Delete
3.56 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;
}
.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: transparent;
}
.nexus-loading-box {
background: var(--bg-glass);
backdrop-filter: blur(20px);
padding: 48px;
border-radius: 24px;
border: 1px solid var(--border-hi);
display: flex;
flex-direction: column;
align-items: center;
gap: 24px;
box-shadow: 0 40px 100px rgba(0,0,0,0.3);
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(255,255,255,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: transparent;
padding: 24px;
}
.nexus-unauthorized-box {
background: var(--bg-glass);
backdrop-filter: blur(20px);
padding: 48px;
border-radius: 24px;
border: 1px solid var(--border-hi);
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
box-shadow: 0 40px 100px rgba(0,0,0,0.3);
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: var(--text1);
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);
}