Spaces:
Paused
Paused
File size: 3,467 Bytes
5eb4857 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 | .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;
}
.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-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-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: var(--bg-dark);
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);
}
|