/
guselnikov
/
inst
Обзор
Документация
Войти
/
guselnikov
/
inst
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
admin/src/components/post-editor/SlideStrip.module.css
120 строк
2 KB
Viktor Guselnikov
first_commit
07 июл 2026, 11:54
07 июл 2026, 11:54
098126a
Код
Авторство
О чём код?
.strip { display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); } .header { display: flex; align-items: center; justify-content: space-between; } .title { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); } .count { font-size: 11px; color: var(--text-muted); font-family: var(--font-mono); } .list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; } .item { display: flex; align-items: center; gap: 6px; padding: 4px; border-radius: var(--radius-sm); border: 1px solid transparent; } .itemActive { background: var(--accent-soft); border-color: rgba(201, 169, 98, 0.25); } .dragHandle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: none; border-radius: var(--radius-xs); background: transparent; color: var(--text-faint); cursor: grab; } .slideBtn { flex: 1; height: 32px; border: none; border-radius: var(--radius-xs); background: var(--bg-muted); color: var(--text-secondary); font-size: 13px; font-weight: 600; cursor: pointer; } .itemActive .slideBtn { background: var(--bg-elevated); color: var(--text-primary); } .removeBtn { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: none; border-radius: var(--radius-xs); background: transparent; color: var(--text-muted); cursor: pointer; } .removeBtn:hover { background: var(--danger-soft); color: var(--danger); } .addBtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px; border: 1px dashed var(--border-hover); border-radius: var(--radius-sm); background: transparent; color: var(--text-muted); font-size: 12px; font-weight: 500; cursor: pointer; } .addBtn:hover { border-color: var(--accent); color: var(--text-primary); }