/
guselnikov
/
inst
Обзор
Документация
Войти
/
guselnikov
/
inst
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
admin/src/pages/PostTemplatesPage.module.css
99 строк
1 KB
Viktor Guselnikov
first_commit
07 июл 2026, 11:54
07 июл 2026, 11:54
098126a
Код
Авторство
О чём код?
.toolbar { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 8px; } .thumbImage { width: 100%; height: 100%; object-fit: cover; display: block; } .thumbPlaceholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--bg-muted); color: var(--text-faint); } .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; } .card { padding: 0; overflow: hidden; } .cardPreview { display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: none; cursor: pointer; background: var(--bg-canvas); } .cardBody { padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 8px; } .cardHead { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; } .cardTitle { margin: 0; padding: 0; border: none; background: transparent; text-align: left; font-size: 15px; font-weight: 600; color: var(--text-primary); cursor: pointer; } .cardTitle:hover { color: var(--accent-hover); } .cardMeta { margin: 0; font-size: 12px; color: var(--text-muted); } .cardActions { display: flex; gap: 4px; } .emptyCard { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 24px; text-align: center; color: var(--text-secondary); } .emptyCard p { margin: 0; }