Initial commit for LaunchPad app

This commit is contained in:
2025-09-10 14:56:26 +03:00
commit 655e20a476
10 changed files with 433 additions and 0 deletions

27
static/styles.css Normal file
View File

@@ -0,0 +1,27 @@
:root { --gap: 12px; --pad: 16px; --accent: #2b6cb0; --danger: #c53030; }
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; background:#f7fafc; color:#1a202c; }
.topbar { display:flex; justify-content:space-between; align-items:center; padding: var(--pad); background:#fff; border-bottom:1px solid #e2e8f0; position:sticky; top:0; }
.topbar .brand { font-weight:700; }
.topbar nav a { margin-left: 10px; text-decoration:none; color:#2d3748; }
.container { max-width: 980px; margin: 24px auto; padding: 0 var(--pad); }
.flash { margin-bottom: var(--pad); }
.flash-item { padding: 10px; border-radius:6px; margin-bottom:8px; background:#e6fffa; }
.flash-item.success { background:#c6f6d5; }
.flash-item.info { background:#bee3f8; }
.flash-item.danger { background:#fed7d7; }
.header-row { display:flex; justify-content:space-between; align-items:center; margin-bottom: var(--pad); }
.btn { display:inline-block; padding:8px 12px; border-radius:6px; background:#edf2f7; color:#1a202c; text-decoration:none; border:1px solid #cbd5e0; }
.btn.primary { background:#3182ce; color:white; border-color:#2b6cb0; }
.btn.danger { background:#e53e3e; color:white; border-color:#c53030; }
.btn.small { padding:6px 8px; font-size: 0.9rem; }
.table { width:100%; border-collapse: collapse; background:#fff; border:1px solid #e2e8f0; }
.table th, .table td { padding:10px; border-bottom:1px solid #edf2f7; vertical-align: middle; }
.table thead th { background:#f1f5f9; text-align:left; }
.icon { width: 32px; height: 32px; border-radius: 6px; object-fit: cover; }
.form { display:grid; gap: var(--gap); max-width: 600px; }
.form label { display:grid; gap:6px; }
.form input[type=text], .form input[type=password], .form input[type=url], .form input[type=number] { padding:10px; border:1px solid #cbd5e0; border-radius:6px; background:#fff; }
.form .checkbox { display:flex; align-items:center; gap:10px; }
.form-actions { display:flex; gap:10px; margin-top: 8px; }
.actions { white-space: nowrap; }