/
guselnikov
/
inst
Обзор
Документация
Войти
/
guselnikov
/
inst
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
admin/src/components/post-editor/PropertiesPanel.module.css
152 строки
3 KB
Viktor Guselnikov
first_commit
07 июл 2026, 11:54
07 июл 2026, 11:54
098126a
Код
Авторство
О чём код?
.panel { display: flex; flex-direction: column; gap: 10px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 10px; min-height: 0; overflow: auto; overscroll-behavior: contain; } .header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--border); } .title { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-secondary); } .layerType { font-size: 10px; color: var(--text-faint); font-family: var(--font-mono); } .empty { margin: 0; font-size: 12px; color: var(--text-muted); line-height: 1.4; } .layerPicker { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; } .layerPickBtn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px; border: 1px solid var(--border); border-radius: var(--radius-xs); background: var(--bg-muted); color: var(--text-secondary); font-size: 12px; cursor: pointer; text-align: left; transition: background var(--transition), border-color var(--transition); } .layerPickBtn:hover { background: var(--bg-hover); border-color: var(--border-hover); color: var(--text-primary); } .layerPickName { font-weight: 500; } .layerPickType { font-size: 10px; color: var(--text-faint); font-family: var(--font-mono); } .uploadBtn { width: 100%; min-height: 28px; padding: 4px 8px; border-radius: var(--radius-xs); border: 1px dashed var(--border-hover); background: var(--bg-muted); color: var(--text-secondary); font-size: 11px; font-weight: 500; cursor: pointer; transition: background var(--transition), border-color var(--transition); } .uploadBtn:hover:not(:disabled) { background: var(--bg-hover); border-color: var(--accent); color: var(--text-primary); } .uploadBtn:disabled { opacity: 0.6; cursor: wait; } .previewRow { display: flex; align-items: center; gap: 8px; } .previewThumb { width: 36px; height: 36px; object-fit: cover; border-radius: var(--radius-xs); border: 1px solid var(--border); background: var(--bg-muted); } .previewLabel { font-size: 11px; color: var(--text-muted); } .uploadError { margin: 0; font-size: 11px; color: var(--danger); } .textHint { margin: 0; font-size: 10px; color: var(--text-faint); } .fontHint { margin: -2px 0 0; font-size: 10px; color: var(--text-muted); line-height: 1.35; }