88 lines
3.2 KiB
CSS
88 lines
3.2 KiB
CSS
:root {
|
|
--bg-color: #0f0f13;
|
|
--card-bg: #1a1a20;
|
|
--accent: #7b2cbf;
|
|
--accent-glow: #9d4edd;
|
|
--text-main: #e0e0e0;
|
|
--success: #06d6a0;
|
|
--danger: #ef476f;
|
|
}
|
|
body {
|
|
background: var(--bg-color);
|
|
color: var(--text-main);
|
|
font-family: 'Segoe UI', system-ui, sans-serif;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 40px;
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
}
|
|
.container { width: 100%; max-width: 900px; }
|
|
|
|
/* Login */
|
|
#loginPanel {
|
|
max-width: 400px;
|
|
margin: 100px auto;
|
|
background: var(--card-bg);
|
|
padding: 40px;
|
|
border-radius: 12px;
|
|
text-align: center;
|
|
box-shadow: 0 0 30px rgba(123, 44, 191, 0.2);
|
|
border: 1px solid rgba(123, 44, 191, 0.3);
|
|
}
|
|
input {
|
|
width: 100%;
|
|
padding: 12px;
|
|
margin: 15px 0;
|
|
background: rgba(0,0,0,0.3);
|
|
border: 1px solid #333;
|
|
color: white;
|
|
border-radius: 6px;
|
|
}
|
|
button {
|
|
width: 100%;
|
|
padding: 12px;
|
|
background: var(--accent);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
transition: 0.2s;
|
|
}
|
|
button:hover { background: var(--accent-glow); transform: scale(1.02); }
|
|
|
|
/* Dashboard */
|
|
#dashboard { display: none; width: 100%; animation: fadeIn 0.5s ease; }
|
|
@keyframes fadeIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
|
|
|
|
.header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
|
|
.stat-card {
|
|
background: var(--card-bg);
|
|
padding: 20px;
|
|
border-radius: 10px;
|
|
display: inline-block;
|
|
width: 30%;
|
|
margin-right: 2%;
|
|
text-align: center;
|
|
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
|
|
}
|
|
.stat-value { font-size: 2rem; font-weight: bold; color: var(--accent-glow); }
|
|
|
|
table { width: 100%; border-collapse: collapse; margin-top: 20px; background: var(--card-bg); border-radius: 10px; overflow: hidden; }
|
|
th, td { padding: 15px; text-align: left; border-bottom: 1px solid #333; }
|
|
th { background: rgba(123, 44, 191, 0.2); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }
|
|
tr:hover { background: rgba(255,255,255,0.02); }
|
|
.badge { padding: 4px 8px; border-radius: 12px; font-size: 0.75rem; font-weight: bold; }
|
|
.bg-relay { background: rgba(6, 214, 160, 0.2); color: var(--success); }
|
|
.bg-host { background: rgba(255, 209, 102, 0.2); color: #ffd166; }
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*, *::before, *::after {
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
}
|