nexus-ai / static /settings.css
Jeetandar N Silwani
Initial Nexus AI release
7ee22ad
Raw
History Blame Contribute Delete
5.59 kB
*{ margin:0; padding:0; box-sizing:border-box; font-family:Segoe UI; }
body{
background:#020617;
color:white;
overflow-x:hidden;
}
.bg{
position:fixed; inset:0;
background:
radial-gradient(circle at top left, rgba(34,197,94,0.12), transparent 30%),
radial-gradient(circle at bottom right, rgba(59,130,246,0.08), transparent 30%);
z-index:-1;
}
.settings-layout{
display:flex;
min-height:100vh;
}
.sidebar{
width:260px;
background:rgba(255,255,255,0.04);
border-right:1px solid rgba(255,255,255,0.05);
padding:30px;
backdrop-filter:blur(20px);
display:flex;
flex-direction:column;
position:relative;
z-index:2;
}
.logo{
font-size:34px;
font-weight:bold;
color:#22c55e;
margin-bottom:40px;
}
.menu{
display:flex;
flex-direction:column;
gap:14px;
}
.menu-item{
display:block;
padding:16px;
border-radius:18px;
text-decoration:none;
color:white;
background:rgba(255,255,255,0.04);
transition:0.25s;
border:1px solid transparent;
}
.menu-item:hover{
background:rgba(34,197,94,0.15);
border-color:rgba(34,197,94,0.22);
}
.menu-item.active{
background:rgba(34,197,94,0.18);
border-color:rgba(34,197,94,0.3);
}
.main{
flex:1;
padding:50px;
overflow-y:auto;
max-height:100vh;
position:relative;
z-index:2;
}
.main h1{
font-size:58px;
margin-bottom:40px;
}
.card{
background:rgba(255,255,255,0.05);
border:1px solid rgba(255,255,255,0.06);
border-radius:28px;
padding:30px;
margin-bottom:30px;
backdrop-filter:blur(20px);
}
.card h2{
margin-bottom:20px;
font-size:28px;
}
.card p{
color:rgba(255,255,255,0.7);
line-height:1.8;
}
.card.danger{
border-color:rgba(255,0,0,0.2);
}
.card input,
.card select{
width:100%;
padding:14px 18px;
border-radius:14px;
border:1px solid rgba(255,255,255,0.08);
background:rgba(255,255,255,0.05);
color:white;
font-size:15px;
outline:none;
margin-bottom:12px;
transition:0.2s;
}
.card input:focus,
.card select:focus{
border-color:rgba(34,197,94,0.3);
}
.card input::placeholder{
color:rgba(255,255,255,0.35);
}
.card button{
padding:12px 24px;
border:none;
border-radius:14px;
cursor:pointer;
background:#22c55e;
color:black;
font-weight:600;
font-size:14px;
transition:0.25s;
}
.card button:hover{
transform:translateY(-2px);
box-shadow:0 6px 24px rgba(34,197,94,0.25);
}
.theme-grid{
display:flex;
gap:12px;
flex-wrap:wrap;
}
.theme-btn{
padding:14px 22px;
border:none;
border-radius:16px;
cursor:pointer;
font-size:14px;
font-weight:600;
transition:0.25s;
min-width:100px;
text-align:center;
}
.theme-btn:hover{
transform:translateY(-3px);
box-shadow:0 6px 20px rgba(0,0,0,0.3);
}
.memory-search{
margin-bottom:16px;
}
#memoryList{
display:flex;
flex-direction:column;
gap:10px;
margin-bottom:16px;
max-height:320px;
overflow-y:auto;
}
.memory-item{
padding:14px 18px;
border-radius:14px;
background:rgba(255,255,255,0.04);
border:1px solid rgba(255,255,255,0.04);
transition:0.2s;
}
.memory-item:hover{
background:rgba(34,197,94,0.06);
border-color:rgba(34,197,94,0.15);
}
.memory-add{
display:flex;
gap:10px;
flex-wrap:wrap;
}
.memory-add input{
flex:1;
min-width:140px;
}
.delete-btn{
margin-top:16px;
padding:16px 26px;
border:none;
border-radius:18px;
cursor:pointer;
background:#ef4444;
color:white;
font-weight:bold;
font-size:14px;
transition:0.25s;
}
.delete-btn:hover{
transform:translateY(-2px);
box-shadow:0 6px 24px rgba(239,68,68,0.3);
}
.logout-btn{
width:100%;
padding:14px;
margin-top:20px;
border-radius:16px;
background:rgba(255,255,255,0.05);
border:1px solid rgba(255,255,255,0.1);
color:white;
cursor:pointer;
font-size:15px;
transition:0.25s;
}
.logout-btn:hover{
background:rgba(239,68,68,0.12);
border-color:rgba(239,68,68,0.2);
color:#ef4444;
}
/* 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.open{
display:flex !important;
}
.sidebar-overlay{
display:none;
}
/* RESPONSIVE */
@media(max-width:900px){
.sidebar{
display:none;
position:fixed;
left:0;
top:0;
height:100vh;
z-index:50;
width:280px;
}
.mobile-toggle{
display:flex;
align-items:center;
justify-content:center;
}
.main{
padding:30px;
padding-top:72px;
}
.main h1{
font-size:42px;
}
.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;
}
}
/* =========================
THEMES
========================= */
body.dark{ background:#020617; color:white; }
body.emerald{ background:#021b12; color:white; }
body.emerald .logo{ color:#22c55e; }
body.blue{ background:#07111f; color:white; }
body.blue .logo{ color:#3b82f6; }
body.purple{ background:#13071f; color:white; }
body.purple .logo{ color:#a855f7; }
body.purple .menu-item.active{ border-color:rgba(168,85,247,0.4); background:rgba(168,85,247,0.12); }
body.red{ background:#1f0707; color:white; }
body.red .logo{ color:#ef4444; }
body.red .menu-item.active{ border-color:rgba(239,68,68,0.4); background:rgba(239,68,68,0.12); }