helva-robot/face/var/www/html/control/control.css

122 lines
2.9 KiB
CSS

:root{
--bg:#06070b;
--card:#0f1422;
--text:#e8f0ff;
--muted:#a8b6d8;
--border: rgba(255,255,255,.10);
--accent: rgba(120,220,255,1);
--shadow: 0 12px 40px rgba(0,0,0,.55);
--r: 18px;
}
html,body{ height:100%; margin:0; background:var(--bg); color:var(--text);
font-family:system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; }
.page{ max-width: 880px; margin:0 auto; padding: 18px; }
.top{ display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex-wrap:wrap; }
h1{ margin:0; font-size:22px; }
h2{ margin:0 0 12px 0; font-size:16px; }
.card{
background: rgba(255,255,255,.04);
border: 1px solid var(--border);
border-radius: var(--r);
padding: 14px;
margin-top: 14px;
box-shadow: var(--shadow);
}
.row{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.pill{
font-size: 12px;
color: var(--muted);
border:1px solid var(--border);
border-radius: 999px;
padding: 8px 10px;
background: rgba(255,255,255,.03);
}
.grid{
display:grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 10px;
}
.emobtn{
border:1px solid var(--border);
background: rgba(255,255,255,.05);
border-radius: 14px;
padding: 12px;
color: var(--text);
cursor:pointer;
display:flex;
align-items:center;
gap:10px;
justify-content:flex-start;
}
.emobtn.active{ outline: 2px solid rgba(120,220,255,.55); }
.icon{
width:34px; height:34px;
border-radius: 10px;
display:grid; place-items:center;
background: rgba(120,220,255,.12);
border: 1px solid rgba(120,220,255,.25);
color: var(--accent);
font-size: 18px;
}
.controls{ display:grid; gap: 12px; }
.toggle{ display:flex; gap:10px; align-items:center; color:var(--text); }
.toggle input{ transform: scale(1.2); }
.slider{ display:grid; grid-template-columns: 110px 1fr 60px; gap:10px; align-items:center; }
.slider output{ text-align:right; color: var(--muted); }
.lookpad{
width:min(520px, 92vw);
aspect-ratio: 1 / 1;
margin-top: 10px;
border-radius: 20px;
border:1px solid var(--border);
background: rgba(0,0,0,.35);
position:relative;
overflow:hidden;
touch-action: none;
}
.cross::before, .cross::after{
content:"";
position:absolute;
left:50%; top:0; bottom:0;
width:1px;
background: rgba(255,255,255,.08);
}
.cross::after{
left:0; right:0; top:50%; bottom:auto;
height:1px; width:auto;
}
.dot{
width:18px; height:18px;
border-radius: 99px;
background: rgba(120,220,255,.95);
box-shadow: 0 0 0 6px rgba(120,220,255,.18);
position:absolute;
left:50%; top:50%;
transform: translate(-50%,-50%);
}
.btn{
border:1px solid var(--border);
background: rgba(255,255,255,.06);
color: var(--text);
border-radius: 14px;
padding: 10px 12px;
cursor:pointer;
}
.btn:active{ transform: translateY(1px); }
.muted{ margin: 0; color: var(--muted); font-size: 13px; }
.foot{ margin-top: 18px; display:flex; justify-content:space-between; }
.link{ color: rgba(120,220,255,.95); text-decoration:none; }