/
guselnikov
/
inst
Обзор
Документация
Войти
/
guselnikov
/
inst
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
admin/src/pages/AutoPostPage.module.css
257 строк
4 KB
Viktor Guselnikov
first_commit
07 июл 2026, 11:54
07 июл 2026, 11:54
098126a
Код
Авторство
О чём код?
.composerLayout { display: grid; grid-template-columns: 200px minmax(0, 1fr) 280px; gap: 20px; align-items: start; } .sidebar { padding: 4px 0; } .editor { display: flex; flex-direction: column; gap: 24px; padding: 28px; background: var(--bg-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-surface); border: 1px solid var(--border); } .previewCol { position: sticky; top: 24px; } .section { display: flex; flex-direction: column; gap: 10px; } .sectionLabel { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); } .aspectRow { display: flex; gap: 2px; padding: 3px; background: var(--bg-muted); border-radius: var(--radius-sm); border: 1px solid var(--border); width: fit-content; } .aspectBtn { padding: 8px 14px; border: none; border-radius: calc(var(--radius-sm) - 2px); background: transparent; color: var(--text-muted); font-size: 13px; font-weight: 500; cursor: pointer; transition: background var(--transition), color var(--transition); } .aspectBtn:hover { color: var(--text-secondary); } .aspectBtnActive { background: var(--bg-elevated); color: var(--text-primary); box-shadow: var(--shadow-xs); } .dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 132px; padding: 28px; border-radius: var(--radius-md); background: var(--bg-muted); color: var(--text-muted); cursor: pointer; border: 1px dashed var(--border-hover); transition: background var(--transition), border-color var(--transition); } .dropzone:hover, .dropzoneActive { background: var(--bg-elevated); border-color: rgba(201, 169, 98, 0.35); } .dropzone input { display: none; } .dropzoneIcon { color: var(--text-faint); transition: color var(--transition); } .dropzone:hover .dropzoneIcon, .dropzoneActive .dropzoneIcon { color: var(--accent); } .dropzoneTitle { font-size: 14px; font-weight: 600; color: var(--text-secondary); letter-spacing: -0.01em; } .dropzoneHint { font-size: 12px; color: var(--text-faint); } .editBanner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--accent-soft); font-size: 13px; font-weight: 500; color: var(--accent); } .actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; } .queueList { display: flex; flex-direction: column; gap: 10px; } .postCard { padding: 20px 22px; background: var(--bg-surface); border-radius: var(--radius-md); box-shadow: var(--shadow-surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; transition: border-color var(--transition), box-shadow var(--transition); } .postCard:hover { border-color: var(--border-hover); box-shadow: var(--shadow-sm); } .postCardHeader { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; } .postMeta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; font-size: 12px; color: var(--text-faint); font-family: var(--font-mono); } .thumbs { display: flex; gap: 6px; flex-wrap: wrap; } .thumb { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius-xs); background: var(--bg-muted); } .captionPreview { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-secondary); } .postActions { display: flex; gap: 6px; flex-wrap: wrap; } .empty { padding: 64px 24px; text-align: center; color: var(--text-faint); font-size: 14px; background: var(--bg-surface); border-radius: var(--radius-lg); } .calendarWrap { padding: 28px; background: var(--bg-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-surface); border: 1px solid var(--border); } @media (max-width: 1100px) { .composerLayout { grid-template-columns: 1fr; } .previewCol { order: -1; position: static; } } @media (max-width: 640px) { .title { font-size: 22px; } .tabs { width: 100%; overflow-x: auto; } .editor { padding: 20px; } }