/
guselnikov
/
inst
Обзор
Документация
Войти
/
guselnikov
/
inst
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
admin/src/components/auto-post/DraftGroupsPanel.module.css
124 строки
2 KB
Viktor Guselnikov
first_commit
07 июл 2026, 11:54
07 июл 2026, 11:54
098126a
Код
Авторство
О чём код?
.panel { display: flex; flex-direction: column; gap: 6px; } .header { padding: 0 10px 12px; } .title { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); } .list { display: flex; flex-direction: column; gap: 2px; } .item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: none; border-radius: var(--radius-sm); background: transparent; color: var(--text-secondary); font-size: 13px; font-weight: 500; cursor: pointer; text-align: left; transition: background var(--transition), color var(--transition); } .item:hover { background: var(--bg-hover); color: var(--text-primary); } .itemActive { background: var(--accent-soft); color: var(--accent); } .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; } .name { flex: 1; } .count { font-size: 11px; color: var(--text-faint); font-family: var(--font-mono); } .deleteBtn { width: 26px; height: 26px; border: none; border-radius: var(--radius-full); background: transparent; color: var(--text-faint); cursor: pointer; opacity: 0; transition: opacity var(--transition), color var(--transition), background var(--transition); } .item:hover .deleteBtn, .item:focus-within .deleteBtn { opacity: 1; } .deleteBtn:hover { color: var(--danger); background: var(--danger-soft); } .newRow { display: flex; gap: 6px; margin-top: 12px; padding: 0 4px; } .newRow input { flex: 1; padding: 9px 12px; border: none; border-radius: var(--radius-sm); background: var(--bg-muted); box-shadow: var(--shadow-inset); color: var(--text-primary); font-size: 13px; } .newRow input:focus { outline: none; box-shadow: var(--shadow-inset), 0 0 0 1px var(--border-focus); } .newRow input::placeholder { color: var(--text-faint); }