wg_index/wg/assets/styles.css
2025-12-27 05:02:10 +03:00

207 lines
4.8 KiB
CSS
Executable file

:root{
--bg:#0b1020;
--card:#111a33;
--card2:#0f1730;
--text:#e7ecff;
--muted:#aab4da;
--line:#243055;
--shadow: 0 16px 40px rgba(0,0,0,.35);
--radius: 18px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
margin:0;
font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
background: radial-gradient(1200px 800px at 20% 20%, #18224a 0%, var(--bg) 55%, #070b17 100%);
color:var(--text);
}
a{color:inherit}
.link{color:var(--muted); text-decoration:none}
.link:hover{color:var(--text); text-decoration:underline}
.center{
min-height:100%;
display:grid;
place-items:center;
padding:24px;
}
.container{max-width:1100px; margin:0 auto; padding:24px}
.card{
width:min(920px, 100%);
background: linear-gradient(180deg, var(--card), var(--card2));
border: 1px solid rgba(255,255,255,.06);
border-radius: var(--radius);
box-shadow: var(--shadow);
padding: 22px;
}
.hero{width:min(720px, 100%); padding:32px}
.auth{width:min(520px, 100%)}
.topline{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:10px;
}
.title{margin:0 0 10px 0; font-size:32px; letter-spacing:.2px}
.muted{color:var(--muted)}
.actions{
display:grid;
grid-template-columns:1fr 1fr;
gap:14px;
margin-top:18px;
}
@media (max-width:640px){
.actions{grid-template-columns:1fr}
}
.form{display:grid; gap:12px; margin-top:10px}
.field{display:grid; gap:6px}
.label{color:var(--muted); font-size:14px}
input{
width:100%;
padding:12px 12px;
border-radius:12px;
border:1px solid rgba(255,255,255,.10);
background: rgba(0,0,0,.18);
color:var(--text);
outline:none;
}
input:focus{border-color: rgba(255,255,255,.25)}
.check{display:flex; gap:10px; align-items:center; color:var(--muted); font-size:14px}
.msg{min-height:22px; color:var(--muted)}
.btn{
appearance:none;
border:1px solid rgba(255,255,255,.12);
background: rgba(255,255,255,.06);
color:var(--text);
border-radius: 14px;
padding: 12px 14px;
cursor:pointer;
text-decoration:none;
display:inline-flex;
align-items:center;
justify-content:center;
gap:10px;
user-select:none;
}
.btn:hover{border-color: rgba(255,255,255,.22)}
.btn:active{transform: translateY(1px)}
.btn-primary{
background: linear-gradient(180deg, rgba(120,140,255,.28), rgba(90,110,255,.16));
border-color: rgba(120,140,255,.40);
}
.btn-ghost{background: rgba(255,255,255,.04)}
.btn-xl{padding:18px 16px; font-size:18px; border-radius:16px}
.btn-lg{padding:14px 14px; font-size:16px}
.btn-sm{padding:10px 12px; font-size:14px; border-radius:12px}
.header{
position:sticky;
top:0;
z-index:5;
backdrop-filter: blur(10px);
background: rgba(6,10,22,.55);
border-bottom:1px solid rgba(255,255,255,.06);
}
.header-inner{
max-width:1100px;
margin:0 auto;
padding:14px 24px;
display:flex;
align-items:center;
justify-content:space-between;
gap:16px;
}
.brand{font-weight:700; letter-spacing:.3px}
.header-right{display:flex; align-items:center; gap:14px}
.userbox{display:grid; gap:2px}
.userlabel{font-size:12px; color:var(--muted)}
.username{font-weight:600}
.table-head{
display:flex;
align-items:flex-end;
justify-content:space-between;
gap:12px;
margin-bottom:12px;
}
.table-controls{display:flex; align-items:center; gap:10px}
.input{min-width:240px}
@media (max-width:760px){
.table-head{flex-direction:column; align-items:stretch}
.table-controls{justify-content:space-between}
.input{min-width:0; flex:1}
}
.table-wrap{
overflow:auto;
border:1px solid rgba(255,255,255,.06);
border-radius:14px;
}
.table{
width:100%;
border-collapse:collapse;
min-width:980px;
}
th,td{
padding:12px 12px;
border-bottom:1px solid rgba(255,255,255,.06);
vertical-align:top;
font-size:14px;
}
th{
position:sticky;
top:0;
background: rgba(12,18,38,.9);
text-align:left;
color:var(--muted);
font-weight:600;
}
tr:hover td{background: rgba(255,255,255,.03)}
.badge{
display:inline-flex;
padding:6px 10px;
border-radius:999px;
border:1px solid rgba(255,255,255,.12);
color:var(--muted);
background: rgba(255,255,255,.04);
}
.pre{
margin:10px 0 0;
padding:12px;
border-radius:12px;
background: rgba(0,0,0,.18);
border:1px solid rgba(255,255,255,.08);
overflow:auto;
}
.callout{
margin-top:14px;
padding:14px;
border-radius:14px;
border:1px solid rgba(255,255,255,.10);
background: rgba(255,255,255,.04);
}
.callout-title{font-weight:600; color:var(--text)}
.errorbox{
margin-top:12px;
padding:12px;
border-radius:14px;
border:1px solid rgba(255,80,80,.35);
background: rgba(255,80,80,.08);
color: var(--text);
}
.hidden{display:none}