AutoSense-Demo / assets /style.css
Bmoussaouali
Deploy AutoSense anomaly detection app
5a3b83f
Raw History Blame Contribute Delete
2.41 kB
/* assets/style.css */
.bg-glow {
position: fixed;
top: -10%; left: -10%;
width: 50%; height: 50%;
background: radial-gradient(circle, rgba(29, 158, 117, 0.12) 0%, transparent 70%);
filter: blur(150px);
z-index: -1;
pointer-events: none;
}
.sidebar-container {
position: fixed;
top: 0; left: 0; bottom: 0;
width: 18rem;
background: rgba(8, 9, 12, 0.95);
backdrop-filter: blur(30px);
border-right: 1px solid rgba(29, 158, 117, 0.15);
padding: 3rem 1.5rem;
z-index: 1000;
}
.content-container {
margin-left: 18rem;
padding: 3rem 5rem;
min-height: 100vh;
}
.nav-link-custom {
color: rgba(255, 255, 255, 0.65) !important;
border-radius: 10px !important;
transition: 0.2s ease;
}
.nav-link-custom:hover {
color: #fff !important;
background: rgba(255, 255, 255, 0.04) !important;
}
.nav-pills .nav-link.active {
background: rgba(29, 158, 117, 0.18) !important;
color: #2fe0a5 !important;
border: 1px solid rgba(29, 158, 117, 0.35);
}
.modern-card {
background: rgba(255, 255, 255, 0.02) !important;
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.08) !important;
border-radius: 20px !important;
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.modern-card:hover {
border: 1px solid rgba(29, 158, 117, 0.35) !important;
}
.stat-card {
background: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(255, 255, 255, 0.07);
border-radius: 16px;
padding: 1.5rem;
height: 100%;
}
.prediction-value {
font-size: 4.5rem;
font-weight: 800;
background: linear-gradient(135deg, #1d9e75 0%, #2fe0a5 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
filter: drop-shadow(0 0 20px rgba(29, 158, 117, 0.4));
line-height: 1;
}
.status-normal {
color: #2fe0a5;
text-shadow: 0 0 20px rgba(47, 224, 165, 0.4);
}
.status-anomaly {
color: #e24b4a;
text-shadow: 0 0 20px rgba(226, 75, 74, 0.4);
}
.sensor-slider .rc-slider-track {
background-color: #1d9e75 !important;
}
.sensor-slider .rc-slider-handle {
border-color: #1d9e75 !important;
}
/* Mobile fallback */
@media (max-width: 900px) {
.sidebar-container { position: relative; width: 100%; height: auto; }
.content-container { margin-left: 0; padding: 2rem 1.5rem; }
}