/
mainframe
/
Intellectuality_task_manager
Обзор
Документация
Войти
/
mainframe
/
Intellectuality_task_manager
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
frontend/styles.css
318 строк
4 KB
Ivan
initial commit
14 апр 2026, 17:18
14 апр 2026, 17:18
d3c4609
Код
Авторство
О чём код?
:root { --bg: #f6f7fb; --card: #ffffff; --text: #1f2937; --muted: #6b7280; --border: #e5e7eb; --primary: #2563eb; --danger: #dc2626; --success: #059669; --warning: #d97706; --shadow: 0 10px 25px rgba(15, 23, 42, 0.07); --radius: 16px; } * { box-sizing: border-box; } body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--text); background: var(--bg); } .container { max-width: 1360px; margin: 0 auto; padding: 24px; } .page-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 24px; } .page-header h1 { margin: 0 0 8px; } .subtitle { margin: 0; color: var(--muted); } .grid { display: grid; gap: 20px; } .two-columns { grid-template-columns: 1fr 1fr; } .compact-gap { gap: 12px; } .card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 20px; } label { display: block; margin-bottom: 14px; font-size: 14px; font-weight: 600; } input, textarea, select, button { width: 100%; margin-top: 8px; border-radius: 12px; border: 1px solid var(--border); padding: 12px 14px; font-size: 14px; font-family: inherit; } textarea { resize: vertical; } button { cursor: pointer; border: none; background: var(--primary); color: white; font-weight: 700; transition: 0.2s ease; } button:hover { opacity: 0.92; } button:disabled { opacity: 0.65; cursor: not-allowed; } .secondary-btn { background: #111827; } .ghost-btn { background: #eef2ff; color: #1f2937; border: 1px solid #dbe3ff; } .form-actions, .llm-actions { display: grid; gap: 10px; } .divider { height: 1px; background: var(--border); margin: 18px 0; } .suggestion-box, .summary-box { margin-top: 14px; padding: 14px; background: #f8fafc; border: 1px solid var(--border); border-radius: 12px; line-height: 1.5; } .hidden { display: none !important; } .status-bar { margin-bottom: 18px; padding: 12px 14px; border-radius: 12px; font-weight: 700; } .status-bar.success { background: #ecfdf5; color: var(--success); border: 1px solid #a7f3d0; } .status-bar.error { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; } .list-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; } .count-badge { background: #111827; color: white; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; } .task-list { display: grid; gap: 14px; } .task-card { border: 1px solid var(--border); border-radius: 16px; padding: 16px; background: #fff; } .task-card.subtask { margin-left: 28px; border-left: 5px solid #c7d2fe; } .task-card-header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; } .task-card h3 { margin: 0 0 6px; font-size: 18px; } .task-meta, .task-description, .task-badges, .task-actions { margin-top: 12px; } .task-meta { color: var(--muted); font-size: 13px; display: grid; gap: 4px; } .task-description { white-space: pre-wrap; color: #374151; } .badges-row { display: flex; flex-wrap: wrap; gap: 8px; } .pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 700; } .pill.priority-low { background: #ecfeff; color: #0f766e; } .pill.priority-medium { background: #eff6ff; color: #1d4ed8; } .pill.priority-high { background: #fff7ed; color: #c2410c; } .pill.status-pending { background: #f3f4f6; color: #374151; } .pill.status-in_progress { background: #eff6ff; color: #1d4ed8; } .pill.status-done { background: #ecfdf5; color: #047857; } .pill.category { background: #f5f3ff; color: #6d28d9; } .pill.subtask { background: #eef2ff; color: #4338ca; } .task-actions { display: flex; gap: 10px; } .task-actions button { width: auto; min-width: 130px; } .task-actions .delete-btn { background: var(--danger); } .small-note { margin-top: 8px; font-size: 13px; color: var(--muted); } @media (max-width: 900px) { .two-columns { grid-template-columns: 1fr; } .page-header { flex-direction: column; } .task-card.subtask { margin-left: 0; } }