/
guselnikov
/
inst
Обзор
Документация
Войти
/
guselnikov
/
inst
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
admin/src/components/post-editor/LayerPanel.module.css
139 строк
2 KB
Viktor Guselnikov
first_commit
07 июл 2026, 11:54
07 июл 2026, 11:54
098126a
Код
Авторство
О чём код?
.panel { display: flex; flex-direction: column; gap: 12px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; flex-shrink: 0; } .header { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .count { font-size: 11px; font-family: var(--font-mono); color: var(--text-muted); } .emptyHint { margin: 0; font-size: 12px; color: var(--text-muted); line-height: 1.45; } .title { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); } .list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; overflow: auto; } .row { display: flex; align-items: center; gap: 4px; border-radius: var(--radius-sm); border: 1px solid transparent; } .rowSelected { background: var(--accent-soft); border-color: rgba(201, 169, 98, 0.25); } .rowDragging { opacity: 0.55; } .rowMain { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 6px; border: none; background: transparent; color: var(--text-primary); cursor: pointer; text-align: left; } .grip { color: var(--text-faint); flex-shrink: 0; } .rowName { font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rowType { margin-left: auto; font-size: 11px; color: var(--text-faint); flex-shrink: 0; } .rowActions { display: flex; align-items: center; gap: 2px; padding-right: 4px; } .iconBtn { 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; transition: background var(--transition), color var(--transition); } .iconBtn:hover:not(:disabled) { background: var(--bg-hover); color: var(--text-secondary); } .iconBtn:disabled { opacity: 0.35; cursor: not-allowed; } .lockBadge { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; color: var(--text-faint); }