feat(админка): таблица клиентов v2
This commit is contained in:
@@ -29,3 +29,20 @@ body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.45 -apple-system
|
||||
.task-actions{display:flex;gap:6px;flex-shrink:0}
|
||||
.task button{font:inherit;padding:6px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer}
|
||||
.error{color:#b42318;border-color:#fda29b}
|
||||
|
||||
.toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:12px}
|
||||
.toolbar input{flex:1;min-width:180px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;font:inherit}
|
||||
.toolbar select,.toolbar button{font:inherit;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#fff}
|
||||
.toolbar button:disabled{opacity:.45}
|
||||
.table-wrap{overflow-x:auto;background:var(--card);border:1px solid var(--line);border-radius:12px}
|
||||
table{width:100%;border-collapse:collapse;min-width:820px}
|
||||
th,td{padding:9px 10px;text-align:left;white-space:nowrap;border-bottom:1px solid var(--line)}
|
||||
th{font-size:12px;color:var(--muted);background:#f9fafb;position:sticky;top:0}
|
||||
tr:last-child td{border-bottom:0}
|
||||
td.num,th.num{text-align:right;font-variant-numeric:tabular-nums}
|
||||
.row-client{display:flex;flex-direction:column;min-width:0}
|
||||
.row-client small{color:var(--muted);font-size:11px}
|
||||
.badge{padding:2px 8px;border-radius:999px;font-size:11px;background:#eef2f6;color:#475467}
|
||||
.s-active{background:#e7f6ec;color:#067647}.s-blocked,.s-exhausted{background:#fde8e7;color:#b42318}
|
||||
.s-trial{background:#fff4e5;color:#b54708}.s-deleted{background:#f2f4f7;color:#667085}
|
||||
.empty{text-align:center;color:var(--muted);padding:24px}
|
||||
|
||||
Reference in New Issue
Block a user