nexus-ai / static /dashboard.css
Jeetandar N Silwani
Initial Nexus AI release
7ee22ad
Raw History Blame Contribute Delete
6.35 kB
*{ margin:0; padding:0; box-sizing:border-box; font-family:Segoe UI; }
body{
background:#020617;
color:white;
overflow:hidden;
}
#particleCanvas{
position:fixed; inset:0; width:100vw; height:100vh;
pointer-events:none; z-index:1;
}
.bg{
position:fixed; inset:0;
background:
radial-gradient(circle at top left, rgba(0,255,120,0.05), transparent 30%),
radial-gradient(circle at bottom right, rgba(0,180,255,0.03), transparent 35%),
#020617;
z-index:0;
}
.dashboard{
display:flex;
height:100vh;
position:relative;
z-index:2;
}
/* MOBILE TOGGLE */
.mobile-toggle{
display:none;
position:fixed;
top:16px;
left:16px;
z-index:100;
width:44px;
height:44px;
border:none;
border-radius:14px;
background:rgba(255,255,255,0.06);
color:white;
font-size:20px;
cursor:pointer;
backdrop-filter:blur(12px);
border:1px solid rgba(255,255,255,0.06);
transition:0.2s;
}
.mobile-toggle:hover{
background:rgba(34,197,94,0.15);
}
.sidebar-overlay{
display:none;
}
.sidebar{
width:280px;
padding:30px;
background:rgba(255,255,255,0.04);
border-right:1px solid rgba(255,255,255,0.05);
backdrop-filter:blur(20px);
z-index:3;
display:flex;
flex-direction:column;
transition:transform 0.3s ease;
}
.logo{
font-size:56px;
font-weight:800;
color:#22c55e;
margin-bottom:40px;
}
.menu{
display:flex;
flex-direction:column;
gap:16px;
}
.menu-item{
text-decoration:none;
color:white;
padding:18px 22px;
border-radius:22px;
background:rgba(255,255,255,0.04);
transition:0.2s;
border:1px solid transparent;
}
.menu-item:hover{
background:rgba(34,197,94,0.14);
border-color:rgba(34,197,94,0.22);
transform:translateY(-2px);
}
.menu-item.active{
background:rgba(34,197,94,0.18);
border-color:rgba(34,197,94,0.3);
}
.main{
flex:1;
overflow-y:auto;
padding:40px;
position:relative;
z-index:3;
}
.header{
display:flex;
justify-content:space-between;
align-items:flex-start;
margin-bottom:40px;
}
.header h1{
font-size:72px;
margin-bottom:10px;
}
.header p{
color:rgba(255,255,255,0.65);
font-size:20px;
}
.online{
color:#22c55e;
font-weight:bold;
animation:pulse 2s ease-in-out infinite;
}
@keyframes pulse{
0%,100%{ opacity:1; }
50%{ opacity:0.6; }
}
.card-grid{
display:flex;
flex-direction:column;
gap:28px;
}
.mini-grid{
display:grid;
grid-template-columns:repeat(auto-fit, minmax(260px,1fr));
gap:24px;
}
.hero-card{
grid-column:span 2;
min-height:500px;
border-radius:36px;
background:rgba(255,255,255,0.04);
border:1px solid rgba(255,255,255,0.05);
padding:45px;
backdrop-filter:blur(20px);
overflow:hidden;
position:relative;
}
.hero-card::before{
content:'';
position:absolute;
top:-50%;
right:-50%;
width:100%;
height:100%;
background:radial-gradient(circle, rgba(34,197,94,0.04), transparent 60%);
pointer-events:none;
}
.hero-small{
color:#22c55e;
letter-spacing:6px;
margin-bottom:24px;
}
.hero-content{
display:flex;
justify-content:space-between;
align-items:center;
gap:60px;
flex-wrap:wrap;
}
.hero-text h2{
font-size:74px;
line-height:1.02;
margin-bottom:24px;
}
.hero-text p{
max-width:320px;
line-height:1.9;
color:rgba(255,255,255,0.68);
}
.hero-orb{
min-width:280px;
min-height:280px;
width:280px;
height:280px;
aspect-ratio:1/1;
border-radius:50%;
flex-shrink:0;
background:radial-gradient(circle at top, #4ade80, #14532d);
box-shadow:
0 0 60px rgba(0,255,120,0.18),
0 0 120px rgba(0,255,120,0.08);
animation:idleFloat 4s ease-in-out infinite;
}
@keyframes idleFloat{
0%{ transform:translateY(0px); }
50%{ transform:translateY(-10px); }
100%{ transform:translateY(0px); }
}
.launch-btn{
display:inline-block;
margin-top:30px;
padding:18px 36px;
border-radius:22px;
text-decoration:none;
background:#22c55e;
color:black;
font-weight:bold;
font-size:17px;
letter-spacing:0.5px;
transition:0.3s;
border:1px solid rgba(34,197,94,0.3);
}
.launch-btn:hover{
transform:translateY(-4px);
box-shadow:0 12px 40px rgba(34,197,94,0.35);
background:#16a34a;
}
.launch-btn:active{
transform:translateY(-1px);
}
.mini-card{
min-height:220px;
border-radius:30px;
background:rgba(255,255,255,0.04);
border:1px solid rgba(255,255,255,0.05);
padding:30px;
backdrop-filter:blur(20px);
transition:0.3s;
cursor:pointer;
}
.mini-card:hover{
background:rgba(34,197,94,0.08);
border-color:rgba(34,197,94,0.22);
transform:translateY(-4px);
box-shadow:0 12px 40px rgba(34,197,94,0.08);
}
.mini-card h3{
font-size:28px;
margin-bottom:18px;
}
.mini-card p{
color:rgba(255,255,255,0.68);
line-height:1.8;
}
@media(max-width:1200px){
.hero-card{
grid-column:span 1;
}
.hero-content{
flex-direction:column;
}
}
@media(max-width:900px){
.sidebar{
display:none;
position:fixed;
left:0;
top:0;
height:100vh;
z-index:50;
width:280px;
background:rgba(2,6,23,0.98);
backdrop-filter:blur(20px);
}
.sidebar.open{
display:flex !important;
}
.mobile-toggle{
display:flex;
align-items:center;
justify-content:center;
}
.sidebar-overlay{
display:none;
position:fixed;
inset:0;
background:rgba(0,0,0,0.6);
z-index:49;
backdrop-filter:blur(4px);
}
.sidebar-overlay.open{
display:block;
}
.header h1{
font-size:48px;
}
.hero-text h2{
font-size:54px;
}
.main{
padding:20px;
padding-top:60px;
}
}
/* THEMES */
body.dark{ background:#020617; }
body.emerald{ background:#021b12; }
body.emerald .logo{ color:#22c55e; }
body.emerald .launch-btn{ background:#22c55e; }
body.emerald .menu-item.active{ border-color:rgba(34,197,94,0.4); }
body.blue{ background:#07111f; }
body.blue .logo{ color:#3b82f6; }
body.blue .launch-btn{ background:#3b82f6; color:white; }
body.blue .menu-item.active{ border-color:rgba(59,130,246,0.4); }
body.purple{ background:#13071f; }
body.purple .logo{ color:#a855f7; }
body.purple .launch-btn{ background:#a855f7; color:white; }
body.purple .menu-item.active{ border-color:rgba(168,85,247,0.4); }
body.red{ background:#1f0707; }
body.red .logo{ color:#ef4444; }
body.red .launch-btn{ background:#ef4444; color:white; }
body.red .menu-item.active{ border-color:rgba(239,68,68,0.4); }