Spaces:
Paused
Paused
File size: 3,598 Bytes
5eb4857 aa4265f 5eb4857 3e3b4ae 5eb4857 f6474c5 5eb4857 1bd441c 5eb4857 4e35ae1 5eb4857 4e35ae1 5eb4857 4e35ae1 5eb4857 95c794b 5eb4857 e9dcc0c 5eb4857 fb5bde6 e9dcc0c fb5bde6 4e35ae1 fb5bde6 4e35ae1 fb5bde6 4e35ae1 fb5bde6 e9dcc0c fb5bde6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 | .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);
}
|