771 lines
59 KiB
HTML
771 lines
59 KiB
HTML
<!doctype html>
|
||
<html lang="de">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<title>Projekte</title>
|
||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z'/%3E%3Cpath d='m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65'/%3E%3Cpath d='m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65'/%3E%3C/svg%3E">
|
||
<style>
|
||
:root {
|
||
--bg: #f5f6fa; --surface: #ffffff; --surface-2: #f0f2f7; --surface-3: #e7eaf1;
|
||
--text: #151823; --muted: #6b7183; --border: #e3e6ee; --border-strong: #cfd4df;
|
||
--accent: #6366f1; --accent-2: #8b5cf6; --accent-soft: #eef0ff; --accent-text: #4338ca;
|
||
--green: #16a34a; --green-soft: #dcfce7; --yellow: #d97706; --yellow-soft: #fef3c7;
|
||
--red: #dc2626; --red-soft: #fee2e2; --blue: #2563eb; --blue-soft: #dbeafe;
|
||
--violet: #7c3aed; --violet-soft: #ede9fe; --cyan: #0e7490; --cyan-soft: #e0f7fa;
|
||
--shadow: 0 1px 2px rgba(16,24,40,.05), 0 1px 3px rgba(16,24,40,.06);
|
||
--shadow-lg: 0 12px 32px rgba(16,24,40,.14);
|
||
--radius: 12px;
|
||
color-scheme: light;
|
||
}
|
||
:root[data-theme="dark"] {
|
||
--bg: #0e1016; --surface: #171a23; --surface-2: #1e222d; --surface-3: #272c39;
|
||
--text: #e8eaf1; --muted: #9097a8; --border: #2a2f3c; --border-strong: #3a4050;
|
||
--accent: #818cf8; --accent-2: #a78bfa; --accent-soft: #252a4a; --accent-text: #c7d2fe;
|
||
--green: #4ade80; --green-soft: #14321f; --yellow: #fbbf24; --yellow-soft: #3a2c0c;
|
||
--red: #f87171; --red-soft: #3b1717; --blue: #60a5fa; --blue-soft: #172a4a;
|
||
--violet: #a78bfa; --violet-soft: #2a1f47; --cyan: #67e8f9; --cyan-soft: #0f2e35;
|
||
--shadow: 0 1px 2px rgba(0,0,0,.3); --shadow-lg: 0 16px 40px rgba(0,0,0,.5);
|
||
color-scheme: dark;
|
||
}
|
||
* { box-sizing: border-box; }
|
||
html, body { margin: 0; }
|
||
body { font-family: "Segoe UI Variable", "Segoe UI", -apple-system, Roboto, sans-serif; background: var(--bg); color: var(--text); font-size: 14px; }
|
||
button, input, select, textarea { font-family: inherit; color: inherit; }
|
||
|
||
.i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; vertical-align: -3px; }
|
||
.i.sm { width: 13px; height: 13px; vertical-align: -2px; }
|
||
.i.lg { width: 20px; height: 20px; }
|
||
.i.xl { width: 26px; height: 26px; }
|
||
|
||
/* ── top bar ─────────────────────────────────────────────────────────── */
|
||
header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
|
||
.topbar { display: flex; align-items: center; gap: 14px; padding: 12px 22px; flex-wrap: wrap; }
|
||
.brand { display: flex; align-items: center; gap: 10px; }
|
||
.brand .logo { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 4px 12px rgba(99,102,241,.35); }
|
||
.brand h1 { font-size: 17px; margin: 0; letter-spacing: -.01em; }
|
||
.brand .count { color: var(--muted); font-size: 12px; }
|
||
.rootpick { position: relative; }
|
||
#rootBtn { display: flex; align-items: center; gap: 5px; border: none; background: none; padding: 2px 6px; margin: -2px -6px; border-radius: 7px; cursor: pointer; max-width: 260px; }
|
||
#rootBtn h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||
#rootBtn:hover, #rootBtn[aria-expanded="true"] { background: var(--surface-2); }
|
||
#rootBtn .i { color: var(--muted); }
|
||
.rootmenu { position: absolute; top: calc(100% + 6px); left: -6px; min-width: 280px; max-width: 420px; max-height: 70vh; overflow: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 5px; z-index: 30; }
|
||
.rootmenu button { display: flex; align-items: center; gap: 9px; width: 100%; text-align: left; border: none; background: none; padding: 7px 9px; border-radius: 7px; cursor: pointer; font-size: 13px; }
|
||
.rootmenu button:hover, .rootmenu button:focus-visible { background: var(--surface-2); outline: none; }
|
||
.rootmenu button .rn { font-weight: 600; }
|
||
.rootmenu button .rp { display: block; color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 330px; }
|
||
.rootmenu button .chk { width: 16px; color: var(--accent-text); }
|
||
.rootmenu button[aria-selected="true"] { background: var(--accent-soft); }
|
||
.rootmenu .rmrow { display: flex; align-items: stretch; gap: 2px; }
|
||
.rootmenu .rmrow [data-root] { flex: 1; min-width: 0; }
|
||
.rootmenu .rmbox { width: 34px; flex: 0 0 auto; justify-content: center; padding: 0; color: var(--muted); }
|
||
.rootmenu .rmbox[aria-checked="true"] { color: var(--accent-text); }
|
||
.rootmenu .rmbox .i { width: 16px; height: 16px; }
|
||
.rtag { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 0 5px; margin-left: 6px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
|
||
.card .sub .rtag { margin-left: 0; }
|
||
.rootmenu .sep { height: 1px; background: var(--border); margin: 5px 2px; }
|
||
.seg { display: flex; gap: 2px; background: var(--surface-2); padding: 3px; border-radius: 10px; border: 1px solid var(--border); }
|
||
.seg button { border: none; background: none; padding: 6px 12px; border-radius: 7px; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; display: flex; align-items: center; gap: 6px; }
|
||
.seg button:hover { color: var(--text); }
|
||
.seg button.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
|
||
.searchbox { margin-left: auto; position: relative; }
|
||
.searchbox .i { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); }
|
||
#search { padding: 8px 12px 8px 32px; border: 1px solid var(--border); border-radius: 9px; font-size: 13px; width: 240px; background: var(--surface); outline: none; }
|
||
#search:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
|
||
.seg.theme button { padding: 6px 10px; }
|
||
@media (max-width: 1300px) { .seg.theme button span { display: none; } }
|
||
.iconbtn { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; display: grid; place-items: center; color: var(--muted); }
|
||
.iconbtn:hover { color: var(--text); border-color: var(--border-strong); }
|
||
|
||
.btn { padding: 7px 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
|
||
.btn:hover { border-color: var(--accent); color: var(--accent-text); }
|
||
.btn:disabled { opacity: .5; cursor: default; }
|
||
.btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
|
||
.btn.primary:hover { filter: brightness(1.08); color: #fff; }
|
||
.btn.danger { background: var(--red); color: #fff; border-color: var(--red); }
|
||
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted); padding: 5px 7px; }
|
||
.btn.ghost:hover { background: var(--surface-2); color: var(--text); }
|
||
|
||
/* ── KPI cards ──────────────────────────────────────────────────────── */
|
||
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 12px; padding: 16px 22px 4px; align-items: stretch; }
|
||
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); cursor: default; }
|
||
.kpi.click { cursor: pointer; }
|
||
.kpi.click:hover { border-color: var(--accent); }
|
||
.kpi .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto; }
|
||
.kpi .val { font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
|
||
.kpi .lbl { font-size: 12px; color: var(--muted); }
|
||
.kpi.c-accent .ico { background: var(--accent-soft); color: var(--accent); }
|
||
.kpi.c-red .ico { background: var(--red-soft); color: var(--red); }
|
||
.kpi.c-blue .ico { background: var(--blue-soft); color: var(--blue); }
|
||
.kpi.c-yellow .ico { background: var(--yellow-soft); color: var(--yellow); }
|
||
.scanbox { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 190px; }
|
||
.progress { height: 5px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
|
||
.progress > div { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .3s; }
|
||
.scanbox .sub { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
|
||
|
||
/* ── toolbar ─────────────────────────────────────────────────────────── */
|
||
.toolbar { display: flex; align-items: center; gap: 8px; padding: 12px 22px 0; flex-wrap: wrap; }
|
||
.toolbar .sel { display: flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 9px; padding: 0 4px 0 10px; color: var(--muted); }
|
||
.toolbar select { border: none; background: transparent; padding: 7px 4px; font-size: 13px; outline: none; color: var(--text); cursor: pointer; }
|
||
.toolbar select option { background: var(--surface); }
|
||
.chipfilters { display: flex; gap: 6px; flex-wrap: wrap; }
|
||
.fchip { border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 5px 11px; font-size: 12px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; color: var(--muted); }
|
||
.fchip:hover { color: var(--text); }
|
||
.fchip.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-text); }
|
||
.fchip .n { font-size: 11px; opacity: .8; }
|
||
|
||
main { padding: 14px 22px 40px; }
|
||
.view { display: none; }
|
||
.view.active { display: block; }
|
||
|
||
/* ── shared bits ─────────────────────────────────────────────────────── */
|
||
.avatar { position: relative; width: 38px; height: 38px; border-radius: 10px; flex: 0 0 auto; overflow: hidden; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; background: var(--c); }
|
||
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--surface); }
|
||
.avatar.lg { width: 52px; height: 52px; border-radius: 13px; font-size: 18px; }
|
||
.git { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; }
|
||
.git.green { color: var(--green); } .git.yellow { color: var(--yellow); } .git.red { color: var(--red); }
|
||
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
|
||
.chip { font-size: 11px; padding: 2px 8px; border-radius: 999px; border: 1px solid transparent; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-weight: 500; }
|
||
.chip.tech { background: var(--cyan-soft); color: var(--cyan); }
|
||
.chip.neutral { background: var(--surface-2); color: var(--muted); border-color: var(--border); }
|
||
.chip.warn { background: var(--yellow-soft); color: var(--yellow); }
|
||
.chip.bad { background: var(--red-soft); color: var(--red); }
|
||
.chip.ok { background: var(--green-soft); color: var(--green); }
|
||
.chip.tag { background: var(--accent-soft); color: var(--accent-text); }
|
||
/* itch.io published */
|
||
.chip.pub { background: #fa5c5c22; color: #e0454a; text-decoration: none; cursor: pointer; }
|
||
.chip.pub:hover { background: #fa5c5c3a; }
|
||
.tbadge.pub, .ri.pub { color: #e0454a; text-decoration: none; }
|
||
.st { font-size: 11px; padding: 2px 9px 2px 7px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
|
||
.st.idea { background: var(--surface-2); color: var(--muted); }
|
||
.st.active { background: var(--green-soft); color: var(--green); }
|
||
.st.paused { background: var(--yellow-soft); color: var(--yellow); }
|
||
.st.done { background: var(--blue-soft); color: var(--blue); }
|
||
.st.archived { background: var(--violet-soft); color: var(--violet); }
|
||
.prio { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: var(--muted); }
|
||
.prio.high { color: var(--red); }
|
||
.empty { color: var(--muted); font-size: 13px; padding: 24px; text-align: center; }
|
||
|
||
/* ── board ───────────────────────────────────────────────────────────── */
|
||
#board.active { display: grid; grid-template-columns: repeat(5, minmax(260px, 1fr)); gap: 14px; overflow-x: auto; align-items: start; }
|
||
.column { background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 10px; min-height: 140px; transition: background .15s, border-color .15s; }
|
||
.column.drag-over { border-color: var(--accent); background: var(--accent-soft); }
|
||
.column h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 2px 4px 10px; display: flex; align-items: center; gap: 7px; }
|
||
.column h2 .n { margin-left: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 0 8px; font-size: 11px; color: var(--text); }
|
||
.column h2 .bar { width: 4px; height: 14px; border-radius: 3px; background: var(--c); }
|
||
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 11px; padding: 11px 12px; margin-bottom: 8px; cursor: grab; box-shadow: var(--shadow); transition: border-color .12s, transform .12s, box-shadow .12s; }
|
||
.card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-1px); }
|
||
.card.dragging { opacity: .45; }
|
||
.card .head { display: flex; gap: 10px; align-items: center; }
|
||
.card .name { font-weight: 650; font-size: 14px; word-break: break-word; line-height: 1.25; }
|
||
.card .sub { font-size: 11px; color: var(--muted); display: flex; gap: 8px; align-items: center; margin-top: 2px; }
|
||
.card .row2 { display: flex; justify-content: space-between; align-items: center; margin-top: 9px; gap: 6px; }
|
||
.card .commit { font-size: 11px; color: var(--muted); margin-top: 7px; display: flex; gap: 5px; align-items: flex-start; }
|
||
.card .commit span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||
.card .chips { margin-top: 8px; }
|
||
.card .notes { font-size: 12px; color: var(--muted); margin-top: 8px; white-space: pre-wrap; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
|
||
.taskbar { margin-top: 9px; font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
|
||
.taskbar .bar { flex: 1; height: 5px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
|
||
.taskbar .bar > div { height: 100%; background: var(--green); }
|
||
|
||
/* ── gallery ─────────────────────────────────────────────────────────── */
|
||
#galleryGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
|
||
.tile { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; cursor: pointer; box-shadow: var(--shadow); transition: transform .12s, border-color .12s, box-shadow .12s; position: relative; display: flex; flex-direction: column; }
|
||
.tile:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-lg); }
|
||
.tile .thumb { aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; position: relative; background: var(--c); }
|
||
.tile .thumb .ini { font-size: 44px; font-weight: 800; color: rgba(255,255,255,.95); letter-spacing: .02em; }
|
||
.tile .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14%; background: radial-gradient(circle at 50% 40%, var(--surface), var(--surface-2)); }
|
||
.tile .thumb img.photo { object-fit: cover; padding: 0; }
|
||
.tile .st { position: absolute; top: 10px; left: 10px; box-shadow: var(--shadow); }
|
||
/* top-right badges on tiles: MyCloud backup (hard drive) + git (cloud) */
|
||
.tile .tbadges { position: absolute; top: 9px; right: 9px; display: flex; gap: 5px; }
|
||
.tile .tbadge { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow); }
|
||
.tbadge.green { color: var(--green); } .tbadge.yellow { color: var(--yellow); } .tbadge.red { color: var(--red); }
|
||
/* MyCloud chip on cards and in the list */
|
||
.bk { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 500; white-space: nowrap; flex: 0 0 auto; }
|
||
.bk.green { color: var(--green); } .bk.yellow { color: var(--yellow); } .bk.red { color: var(--red); }
|
||
.card .row2 .bk { margin-left: auto; }
|
||
.tile .info { padding: 11px 13px 13px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
|
||
.tile .name { font-size: 14px; font-weight: 650; word-break: break-word; line-height: 1.25; }
|
||
.tile .ghead { display: flex; align-items: flex-start; gap: 8px; }
|
||
.tile .ghead { align-items: center; }
|
||
.tile .ghead .name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; word-break: normal; }
|
||
.tile .meta { font-size: 11px; color: var(--muted); display: flex; justify-content: space-between; gap: 6px; margin-top: auto; }
|
||
|
||
/* ── list ────────────────────────────────────────────────────────────── */
|
||
.tablewrap { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: auto; box-shadow: var(--shadow); }
|
||
table.list { width: 100%; border-collapse: collapse; font-size: 13px; }
|
||
table.list th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--border); background: var(--surface-2); position: sticky; top: 0; cursor: pointer; user-select: none; white-space: nowrap; }
|
||
table.list th:hover { color: var(--text); }
|
||
table.list th.num, table.list td.num { text-align: right; }
|
||
table.list td { padding: 8px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
|
||
table.list tr:last-child td { border-bottom: none; }
|
||
table.list tbody tr { cursor: pointer; }
|
||
table.list tbody tr:hover td { background: var(--surface-2); }
|
||
table.list .nm { display: flex; align-items: center; gap: 10px; font-weight: 600; }
|
||
table.list .avatar { width: 30px; height: 30px; border-radius: 8px; font-size: 11px; }
|
||
table.list .acts { display: flex; gap: 2px; justify-content: flex-end; }
|
||
.bigval { font-variant-numeric: tabular-nums; }
|
||
.clean-val { color: var(--yellow); font-weight: 600; }
|
||
|
||
/* ── drawer (editor) ────────────────────────────────────────────────── */
|
||
#overlay { position: fixed; inset: 0; background: rgba(10,12,20,.45); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 20; }
|
||
#overlay.open { opacity: 1; pointer-events: auto; }
|
||
#panel { position: fixed; top: 0; right: 0; bottom: 0; width: 560px; max-width: 100vw; background: var(--surface); border-left: 1px solid var(--border); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .22s ease; z-index: 21; display: flex; flex-direction: column; }
|
||
#panel.open { transform: none; }
|
||
.phead { padding: 18px 20px 0; display: flex; gap: 14px; align-items: center; }
|
||
.phead h3 { margin: 0; font-size: 18px; word-break: break-word; }
|
||
.phead .sub { margin-top: 4px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
|
||
.phead .close { margin-left: auto; align-self: flex-start; }
|
||
.pquick { display: flex; gap: 6px; padding: 12px 20px 0; flex-wrap: wrap; }
|
||
#ptabs { margin: 14px 20px 0; }
|
||
#ptabs button { flex: 1; justify-content: center; }
|
||
.pbody { flex: 1; overflow-y: auto; padding: 4px 20px 20px; }
|
||
.pfoot { display: flex; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--border); }
|
||
.pfoot .btn { flex: 1; justify-content: center; padding: 9px; font-weight: 600; }
|
||
.psec { display: none; } .psec.active { display: block; }
|
||
.field label { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin: 14px 0 5px; font-weight: 500; }
|
||
.field select, .field textarea, .field input[type=text] { width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; background: var(--surface); outline: none; }
|
||
.field select:focus, .field textarea:focus, .field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
|
||
.field textarea { min-height: 80px; resize: vertical; }
|
||
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
|
||
#taskList { margin: 4px 0 0; padding: 0; list-style: none; }
|
||
#taskList li { display: flex; align-items: center; gap: 8px; padding: 6px 2px; border-bottom: 1px solid var(--border); font-size: 13px; }
|
||
#taskList li.done span { text-decoration: line-through; color: var(--muted); }
|
||
#taskList li span { flex: 1; word-break: break-word; }
|
||
#taskList input[type=checkbox] { accent-color: var(--accent); width: 15px; height: 15px; }
|
||
#taskAddRow { display: flex; gap: 8px; margin-top: 8px; }
|
||
#taskAddRow input { flex: 1; }
|
||
.card-sec { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin-top: 14px; }
|
||
.card-sec h4 { margin: 0 0 8px; font-size: 13px; display: flex; align-items: center; gap: 7px; }
|
||
.card-sec h4 .i { color: var(--accent); }
|
||
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 6px 10px; font-size: 13px; }
|
||
.kv > div:nth-child(odd) { color: var(--muted); }
|
||
.kv > div { word-break: break-word; }
|
||
.actgroup { display: flex; flex-wrap: wrap; gap: 7px; }
|
||
.cand { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 8px; }
|
||
.cand td { padding: 6px 4px; border-top: 1px solid var(--border); }
|
||
.cand td.mb { text-align: right; white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }
|
||
.cand input { accent-color: var(--red); }
|
||
.hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
|
||
code.cmd { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 7px 9px; font-size: 12px; margin-top: 6px; word-break: break-all; user-select: all; font-family: Consolas, monospace; }
|
||
.iconprev { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); vertical-align: middle; margin-right: 6px; }
|
||
|
||
#toast { position: fixed; bottom: 20px; left: 50%; transform: translate(-50%, 10px); background: #111827; color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 13px; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; z-index: 30; display: flex; gap: 8px; align-items: center; box-shadow: var(--shadow-lg); }
|
||
#toast.show { opacity: 1; transform: translate(-50%, 0); }
|
||
|
||
/* ── fit-to-window layout ────────────────────────────────────────────
|
||
The page itself never scrolls: header, KPIs and toolbar stay fixed,
|
||
<main> takes the remaining height, and only the content inside it
|
||
(board columns, gallery, list) scrolls – vertically, never sideways. */
|
||
html, body { height: 100%; overflow: hidden; }
|
||
body { display: flex; flex-direction: column; }
|
||
header { position: static; flex: 0 0 auto; }
|
||
.kpis, .toolbar { flex: 0 0 auto; }
|
||
.kpis { padding: 12px 22px 0; gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(150px, auto); container-type: inline-size; }
|
||
.kpi { padding: 9px 12px; gap: 10px; min-width: 0; }
|
||
.kpi > div:last-child { min-width: 0; }
|
||
.kpi .ico { width: 34px; height: 34px; }
|
||
.kpi .val { font-size: 18px; }
|
||
.kpi .lbl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.scanbox { min-width: 150px; }
|
||
.toolbar { padding: 10px 22px 0; }
|
||
main { flex: 1 1 auto; min-height: 0; padding: 10px 22px 14px; overflow: hidden; container-type: inline-size; container-name: main; }
|
||
.view.active { height: 100%; }
|
||
#gallery.active { overflow-y: auto; overflow-x: hidden; padding: 2px 4px 8px 2px; }
|
||
#list.active .tablewrap { max-height: 100%; overflow-y: auto; overflow-x: hidden; }
|
||
|
||
#board.active { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; overflow: hidden; align-items: stretch; }
|
||
.column { display: flex; flex-direction: column; min-height: 0; min-width: 0; padding: 8px; container-type: inline-size; }
|
||
.column h2 { flex: 0 0 auto; }
|
||
.column .cards { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 0 2px 2px 0; margin-right: -4px; padding-right: 4px; }
|
||
.card { min-width: 0; }
|
||
.card .head > div:not(.avatar) { flex: 1 1 auto; }
|
||
.avatar { flex: 0 0 auto; }
|
||
.card .name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.card .row2 { min-width: 0; }
|
||
.git { min-width: 0; max-width: 100%; }
|
||
.git .gl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
|
||
.card .git { flex: 1 1 auto; }
|
||
|
||
/* toolbar stays one row: chips drop their labels first */
|
||
.toolbar { flex-wrap: nowrap; container-type: inline-size; container-name: toolbar; }
|
||
.chipfilters { flex-wrap: nowrap; min-width: 0; overflow: hidden; }
|
||
.toolbar .sel { flex: 0 0 auto; }
|
||
@container toolbar (max-width: 1050px) { .fchip:not(.active) .fl { display: none; } .fchip { padding: 5px 9px; } }
|
||
@container toolbar (max-width: 700px) { .fchip .fl { display: none; } }
|
||
|
||
/* narrow columns → compact cards */
|
||
@container (max-width: 250px) {
|
||
.card { padding: 9px 10px; }
|
||
.card .commit, .card .notes { display: none; }
|
||
.card .head { gap: 8px; }
|
||
.card .avatar { width: 30px; height: 30px; border-radius: 8px; font-size: 11px; }
|
||
.card .name { font-size: 13px; }
|
||
.card .sub span:last-child { display: none; }
|
||
.card .chip { font-size: 10px; padding: 1px 6px; }
|
||
.card .row2 { margin-top: 7px; }
|
||
.column h2 { font-size: 11px; letter-spacing: .03em; }
|
||
}
|
||
@container (max-width: 190px) {
|
||
.card .chip.neutral, .card .chip.tag { display: none; }
|
||
.card .git { font-size: 11px; }
|
||
}
|
||
|
||
/* KPIs: shrink instead of wrapping into more rows */
|
||
@container (max-width: 980px) { .kpi .ico { display: none; } .kpi .val { font-size: 16px; } }
|
||
@container (max-width: 720px) { .kpi .lbl { font-size: 11px; } .scanbox .sub { display: none; } }
|
||
|
||
/* list: drop less important columns instead of scrolling sideways */
|
||
table.list td, table.list th { white-space: nowrap; }
|
||
table.list .nm span { overflow: hidden; text-overflow: ellipsis; max-width: 260px; display: inline-block; vertical-align: middle; }
|
||
@container main (max-width: 1350px) { table.list .c-act { display: none; } }
|
||
@container main (max-width: 1180px) { table.list .c-tech { display: none; } table.list .nm span { max-width: 180px; } }
|
||
@container main (max-width: 900px) { table.list .c-clean, table.list .c-status { display: none; } }
|
||
|
||
/* top bar stays one row: extra texts go first, then tab labels */
|
||
.topbar { flex-wrap: nowrap; }
|
||
.topbar > * { flex-shrink: 0; }
|
||
.searchbox { flex: 1 1 240px; max-width: 280px; min-width: 110px; margin-left: auto; }
|
||
#search { width: 100%; }
|
||
.seg#tabs button .tl { white-space: nowrap; }
|
||
@media (max-width: 1350px) { .brand .count { display: none; } #btnBackup .bsub { display: none; } }
|
||
@media (max-width: 1180px) { .seg#tabs button .tl { display: none; } .seg#tabs button { padding: 6px 10px; } }
|
||
@media (max-width: 760px) { #btnBackup span:not(.bsub):not(.tabn) { display: none; } .brand h1 { display: none; } }
|
||
|
||
/* ── board: compact row mode ────────────────────────────────────────── */
|
||
#boardMode { flex: 0 0 auto; }
|
||
#boardMode button { padding: 5px 10px; font-size: 12px; }
|
||
@container toolbar (max-width: 900px) { #boardMode .bm-l { display: none; } }
|
||
.card.row { padding: 6px 8px; margin-bottom: 4px; border-radius: 9px; }
|
||
.card.row:hover { transform: none; box-shadow: var(--shadow); }
|
||
.card.row .rhead { display: flex; align-items: center; gap: 8px; min-width: 0; }
|
||
.card.row .avatar { width: 26px; height: 26px; border-radius: 7px; font-size: 10px; }
|
||
.card.row .name { flex: 1 1 auto; min-width: 0; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.card.row .ricons { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; font-size: 11px; color: var(--muted); }
|
||
.card.row .ricons .ri { display: inline-flex; align-items: center; gap: 2px; }
|
||
.card.row .ricons .ri.green { color: var(--green); } .card.row .ricons .ri.yellow { color: var(--yellow); } .card.row .ricons .ri.red { color: var(--red); }
|
||
.card.row .prio-dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; background: var(--border-strong); }
|
||
.card.row .prio-dot.high { background: var(--red); } .card.row .prio-dot.low { background: transparent; border: 1px solid var(--border-strong); }
|
||
.card.row .qs { width: 24px; height: 24px; border-radius: 7px; margin-left: 0; }
|
||
.card.row .qs .i { width: 12px; height: 12px; }
|
||
.card.row .qs-ph { width: 24px; flex: 0 0 auto; } /* keeps the icons aligned when there is no ▶ */
|
||
.card.row .avatar { width: 30px; height: 30px; }
|
||
.card.row .rmain { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
|
||
.card.row .rsub { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; }
|
||
.card.row .rsub > span { display: inline-flex; align-items: center; gap: 3px; flex: 0 0 auto; }
|
||
.card.row .rsub .ri.green { color: var(--green); } .card.row .rsub .ri.yellow { color: var(--yellow); } .card.row .rsub .ri.red { color: var(--red); }
|
||
.card.row .rsub .ds { display: none; }
|
||
/* narrower columns: first drop the small icons, then the year, then the size */
|
||
@container (max-width: 275px) { .card.row .rsub .rsize > .i, .card.row .rsub .rdate > .i { display: none; } .card.row .rsub { gap: 7px; } }
|
||
@container (max-width: 235px) { .card.row .rsub .dl { display: none; } .card.row .rsub .ds { display: inline; } }
|
||
@container (max-width: 190px) { .card.row .rsub .rsize { display: none; } }
|
||
|
||
/* size + last change on cards */
|
||
.card .facts { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 7px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
|
||
.card .facts span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
|
||
.card .row2 { margin-top: 6px; }
|
||
@container (max-width: 210px) { .card.row .ricons .tasks { display: none; } }
|
||
@container (max-width: 170px) { .card.row .avatar { display: none; } }
|
||
|
||
/* ── quick start ▶ ──────────────────────────────────────────────────── */
|
||
.qs { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--accent); display: grid; place-items: center; cursor: pointer; margin-left: auto; transition: background .12s, color .12s, border-color .12s; }
|
||
.qs:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
|
||
.qs.cmd { color: var(--muted); }
|
||
.qs.cmd:hover { color: #fff; }
|
||
.qs .i { width: 14px; height: 14px; }
|
||
/* corner group on cards/rows: [VS Code] [▶] */
|
||
.qsg { flex: 0 0 auto; margin-left: auto; display: flex; align-items: center; gap: 4px; }
|
||
.qsg .qs { margin-left: 0; }
|
||
.qs.vs { color: var(--muted); }
|
||
.qs.vs:hover { color: #fff; }
|
||
@container (max-width: 190px) { .card .qs { width: 26px; height: 26px; } }
|
||
table.list .acts .btn.play { color: var(--accent); }
|
||
|
||
/* ── tasks view ─────────────────────────────────────────────────────── */
|
||
.tabn { font-size: 10px; background: var(--accent); color: #fff; border-radius: 999px; padding: 0 6px; margin-left: 2px; line-height: 16px; }
|
||
.tabn:empty { display: none; }
|
||
#tasks.active { display: flex; flex-direction: column; gap: 10px; }
|
||
.taskbarTop { display: flex; gap: 10px; align-items: center; flex: 0 0 auto; flex-wrap: wrap; }
|
||
.taskadd { display: flex; gap: 6px; flex: 1 1 420px; min-width: 0; }
|
||
.taskadd select, .taskadd input { padding: 7px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; background: var(--surface); outline: none; min-width: 0; }
|
||
.taskadd select { flex: 0 1 220px; }
|
||
.taskadd input { flex: 1 1 auto; }
|
||
.taskadd input:focus, .taskadd select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
|
||
#taskGroups { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; columns: 340px; column-gap: 12px; padding-right: 2px; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
|
||
#taskGroups.isEmpty { columns: auto; display: grid; place-items: center; }
|
||
#taskGroups.isEmpty .empty { display: flex; flex-direction: column; align-items: center; gap: 6px; }
|
||
.tgroup { break-inside: avoid; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; box-shadow: var(--shadow); }
|
||
.tgroup .tg-head { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; cursor: pointer; }
|
||
.tgroup .tg-head .avatar { width: 28px; height: 28px; border-radius: 7px; font-size: 11px; }
|
||
.tgroup .tg-head b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
|
||
.tgroup .tg-head .cnt { margin-left: auto; font-size: 11px; color: var(--muted); white-space: nowrap; }
|
||
.tgroup .progress { margin: 0 0 6px; height: 4px; }
|
||
.tgroup .progress > div { background: var(--green); }
|
||
.titem { display: flex; align-items: flex-start; gap: 8px; padding: 6px 2px; border-top: 1px solid var(--border); font-size: 13px; }
|
||
.titem input[type=checkbox] { accent-color: var(--green); width: 15px; height: 15px; margin-top: 2px; flex: 0 0 auto; cursor: pointer; }
|
||
.titem span { flex: 1; word-break: break-word; }
|
||
.titem.done span { text-decoration: line-through; color: var(--muted); }
|
||
.titem .del { opacity: 0; border: none; background: none; color: var(--muted); cursor: pointer; padding: 0 2px; }
|
||
.titem:hover .del { opacity: 1; }
|
||
.titem .del:hover { color: var(--red); }
|
||
.tg-add { display: flex; gap: 6px; margin-top: 6px; }
|
||
.tg-add input { flex: 1; min-width: 0; padding: 5px 8px; border: 1px dashed var(--border-strong); border-radius: 7px; font-size: 12px; background: transparent; outline: none; }
|
||
.tg-add input:focus { border-style: solid; border-color: var(--accent); background: var(--surface); }
|
||
|
||
/* ── program start buttons (Aktionen) ───────────────────────────────── */
|
||
.progs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
|
||
.prog { display: flex; align-items: center; gap: 10px; text-align: left; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; min-width: 0; transition: border-color .12s, box-shadow .12s, transform .12s; }
|
||
.prog:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-1px); }
|
||
.prog .pico { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; flex: 0 0 auto; background: var(--accent-soft); color: var(--accent); }
|
||
.prog.first .pico { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
|
||
.prog .ptxt { display: flex; flex-direction: column; min-width: 0; }
|
||
.prog .ptxt b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.prog .ptxt small { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.progwrap { position: relative; display: flex; min-width: 0; }
|
||
.progwrap .prog { flex: 1; padding-right: 36px; }
|
||
.progwrap .pin { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; border: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer; opacity: .55; }
|
||
.progwrap:hover .pin, .progwrap .pin.on { opacity: 1; }
|
||
.progwrap .pin:hover { border-color: var(--border); background: var(--surface-2, var(--surface)); color: var(--accent); }
|
||
.progwrap .pin.on { color: var(--accent); background: var(--accent-soft); }
|
||
.progset { margin-top: 12px; }
|
||
.progset label { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
|
||
.hint.warn { color: var(--danger, #c0392b); margin-top: 8px; }
|
||
|
||
/* ── settings panel ─────────────────────────────────────────────────── */
|
||
#spanel { position: fixed; top: 0; right: 0; bottom: 0; width: 560px; max-width: 100vw; background: var(--surface); border-left: 1px solid var(--border); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .22s ease; z-index: 22; display: flex; flex-direction: column; }
|
||
#spanel.open { transform: none; }
|
||
#spanel.setup #btnCloseSettings, #spanel.setup #spCancel { display: none; }
|
||
.pickrow { display: flex; gap: 6px; }
|
||
.pickrow input { flex: 1; min-width: 0; }
|
||
.pickrow .btn { flex: 0 0 auto; }
|
||
body.no-picker .pickbtn { display: none; }
|
||
.trow { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto auto; gap: 6px; margin-bottom: 6px; align-items: center; }
|
||
.trow input { min-width: 0; }
|
||
body.no-picker .trow { grid-template-columns: 130px minmax(0, 1fr) auto; }
|
||
.dlg { border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; width: 480px; max-width: calc(100vw - 32px); background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); }
|
||
.dlg::backdrop { background: rgba(15, 23, 42, .45); }
|
||
.dlg select, .dlg > form > input[type=text] { width: 100%; }
|
||
.dlg label.chk { color: var(--text); font-weight: 400; font-size: 13px; margin: 8px 0 0; }
|
||
.dlg .hint { margin-top: 8px; }
|
||
body.no-picker #rdPick { display: none; }
|
||
.dlgfoot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
|
||
.rrow { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto auto auto; gap: 6px; margin-bottom: 6px; align-items: center; }
|
||
.rrow input { min-width: 0; }
|
||
body.no-picker .rrow { grid-template-columns: 130px minmax(0, 1fr) auto auto; }
|
||
.rrow.active .tname { border-color: var(--accent); }
|
||
.rowbtns { display: flex; gap: 6px; flex-wrap: wrap; }
|
||
.importbox { border: 1px solid var(--border); border-radius: 10px; padding: 10px; margin-top: 8px; background: var(--surface-2); }
|
||
.importbox[hidden] { display: none; }
|
||
.implist { max-height: 240px; overflow: auto; margin: 8px 0; display: grid; gap: 2px; }
|
||
.implist label { display: flex; align-items: center; gap: 8px; margin: 0; padding: 4px 6px; border-radius: 6px; font-size: 13px; color: var(--text); font-weight: 400; cursor: pointer; }
|
||
.implist label:hover { background: var(--surface); }
|
||
.implist .n { color: var(--muted); font-size: 11px; margin-left: auto; }
|
||
.implist label.dis { opacity: .5; cursor: default; }
|
||
#fAddTarget { margin-top: 2px; }
|
||
.ttabs { display: inline-flex; flex-wrap: wrap; margin: 12px 0 2px; }
|
||
.ttabs button:disabled { opacity: .45; cursor: default; }
|
||
.tlast { display: flex; flex-wrap: wrap; gap: 6px; }
|
||
.tlast .bk { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 2px 8px; }
|
||
|
||
/* ── backup panel ───────────────────────────────────────────────────── */
|
||
#bpanel { position: fixed; top: 0; right: 0; bottom: 0; width: 560px; max-width: 100vw; background: var(--surface); border-left: 1px solid var(--border); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .22s ease; z-index: 21; display: flex; flex-direction: column; }
|
||
#bpanel.open { transform: none; }
|
||
#bpanel .pbody { padding-top: 6px; }
|
||
#btnBackup .bsub { font-size: 11px; color: var(--muted); font-weight: 400; }
|
||
#btnBackup .bsub.warn { color: var(--yellow); }
|
||
.bstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
|
||
.bstat { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px 11px; min-width: 0; }
|
||
.bstat .v { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
|
||
.bstat .l { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
|
||
.bstat .s { font-size: 12px; color: var(--muted); margin-top: 2px; }
|
||
.bstat.new .v { color: var(--accent); } .bstat.chg .v { color: var(--yellow); }
|
||
.btn.big { padding: 11px 16px; font-size: 14px; font-weight: 600; width: 100%; justify-content: center; }
|
||
.bactions { display: flex; gap: 8px; margin-top: 14px; }
|
||
.bactions .btn { flex: 1; justify-content: center; }
|
||
.bproj { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 6px; }
|
||
.bproj td { padding: 5px 4px; border-top: 1px solid var(--border); }
|
||
.bproj td.r { text-align: right; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
|
||
.progress.big { height: 9px; margin: 10px 0 6px; }
|
||
.curfile { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: Consolas, monospace; }
|
||
.msg { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; font-size: 13px; margin-top: 14px; }
|
||
.msg.ok { background: var(--green-soft); color: var(--green); }
|
||
.msg.err { background: var(--red-soft); color: var(--red); }
|
||
.msg.info { background: var(--accent-soft); color: var(--accent-text); }
|
||
@media (max-width: 1100px) { #btnBackup .bsub { display: none; } }
|
||
|
||
/* thin scrollbars inside the content areas */
|
||
.column .cards, #gallery, .tablewrap, .pbody { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
|
||
|
||
@media (max-width: 640px) {
|
||
.topbar, .kpis, .toolbar, main { padding-left: 12px; padding-right: 12px; }
|
||
.kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
||
.scanbox { grid-column: span 2; }
|
||
}
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<header>
|
||
<div class="topbar">
|
||
<div class="brand">
|
||
<div class="logo"><svg class="i lg"><use href="/icons.svg#layers"/></svg></div>
|
||
<div class="rootpick">
|
||
<button type="button" id="rootBtn" aria-haspopup="listbox" aria-expanded="false" title="Projektordner wechseln">
|
||
<h1 id="rootName">Projekte</h1><svg class="i sm"><use href="/icons.svg#chevron-down"/></svg>
|
||
</button>
|
||
<div class="count" id="count"></div>
|
||
<div class="rootmenu" id="rootMenu" role="listbox" hidden></div>
|
||
</div>
|
||
</div>
|
||
<div class="seg" id="tabs">
|
||
<button data-view="board" class="active" title="Board"><svg class="i"><use href="/icons.svg#kanban"/></svg><span class="tl">Board</span></button>
|
||
<button data-view="gallery" title="Galerie"><svg class="i"><use href="/icons.svg#layout-grid"/></svg><span class="tl">Galerie</span></button>
|
||
<button data-view="list" title="Liste"><svg class="i"><use href="/icons.svg#list"/></svg><span class="tl">Liste</span></button>
|
||
<button data-view="tasks" title="Aufgaben"><svg class="i"><use href="/icons.svg#list-checks"/></svg><span class="tl">Aufgaben</span><span class="tabn" id="taskCount"></span></button>
|
||
</div>
|
||
<div class="searchbox">
|
||
<svg class="i"><use href="/icons.svg#search"/></svg>
|
||
<input id="search" type="text" placeholder="Projekte, Tags, Notizen…">
|
||
</div>
|
||
<button class="btn" id="btnNew" title="Neues Projekt anlegen oder ein vorhandenes klonen"><svg class="i"><use href="/icons.svg#plus"/></svg><span>Neu</span></button>
|
||
<button class="btn" id="btnBackup" title="Alle Projekte auf die MyCloud sichern"><svg class="i"><use href="/icons.svg#hard-drive-upload"/></svg><span>Backup</span><span class="bsub" id="backupSub"></span></button>
|
||
<button class="iconbtn" id="btnSettings" title="Einstellungen: Projektordner und Backup-Ziel"><svg class="i"><use href="/icons.svg#settings"/></svg></button>
|
||
<div class="seg theme" id="themeSeg" title="Darstellung">
|
||
<button data-mode="light" title="Hell"><svg class="i"><use href="/icons.svg#sun"/></svg><span>Hell</span></button>
|
||
<button data-mode="system" title="Wie Windows"><svg class="i"><use href="/icons.svg#monitor"/></svg><span>System</span></button>
|
||
<button data-mode="dark" title="Dunkel"><svg class="i"><use href="/icons.svg#moon"/></svg><span>Dunkel</span></button>
|
||
</div>
|
||
</div>
|
||
</header>
|
||
|
||
<section class="kpis" id="kpis"></section>
|
||
|
||
<div class="toolbar">
|
||
<div class="chipfilters" id="chipfilters"></div>
|
||
<div style="flex:1"></div>
|
||
<div class="seg" id="boardMode" title="Darstellung im Board">
|
||
<button data-mode="cards" class="active" title="Karten mit Details"><svg class="i sm"><use href="/icons.svg#layout-dashboard"/></svg><span class="bm-l">Karten</span></button>
|
||
<button data-mode="rows" title="Kompakte Liste – eine Zeile pro Projekt"><svg class="i sm"><use href="/icons.svg#rows-3"/></svg><span class="bm-l">Liste</span></button>
|
||
</div>
|
||
<div class="sel" id="selStatusWrap"><svg class="i sm"><use href="/icons.svg#funnel"/></svg>
|
||
<select id="fltStatus">
|
||
<option value="all">Alle Status</option>
|
||
<option value="idea">Idee</option>
|
||
<option value="active">Aktiv</option>
|
||
<option value="paused">Pausiert</option>
|
||
<option value="done">Fertig</option>
|
||
<option value="archived">Archiviert</option>
|
||
</select>
|
||
</div>
|
||
<div class="sel" id="selSortWrap"><svg class="i sm"><use href="/icons.svg#arrow-up-down"/></svg>
|
||
<select id="fltSort">
|
||
<option value="mtime">Zuletzt geändert</option>
|
||
<option value="name">Name (A–Z)</option>
|
||
<option value="priority">Priorität</option>
|
||
<option value="size">Größe</option>
|
||
<option value="clean">Aufräumbar</option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
|
||
<main>
|
||
<div id="board" class="view active"></div>
|
||
<div id="gallery" class="view"><div id="galleryGrid"></div></div>
|
||
<div id="list" class="view"><div class="tablewrap"><table class="list" id="listTable"></table></div></div>
|
||
<div id="tasks" class="view">
|
||
<div class="taskbarTop">
|
||
<div class="seg" id="taskMode">
|
||
<button data-mode="open" class="active"><svg class="i sm"><use href="/icons.svg#circle"/></svg>Offen</button>
|
||
<button data-mode="done"><svg class="i sm"><use href="/icons.svg#circle-check"/></svg>Erledigt</button>
|
||
<button data-mode="all"><svg class="i sm"><use href="/icons.svg#list"/></svg>Alle</button>
|
||
</div>
|
||
<div class="taskadd">
|
||
<select id="taskProject" title="Projekt"></select>
|
||
<input type="text" id="taskNew" placeholder="Neue Aufgabe… (Enter)">
|
||
<button class="btn primary" id="taskNewBtn"><svg class="i"><use href="/icons.svg#plus"/></svg>Hinzufügen</button>
|
||
</div>
|
||
</div>
|
||
<div id="taskGroups"></div>
|
||
</div>
|
||
</main>
|
||
|
||
<div id="overlay"></div>
|
||
<aside id="panel" aria-hidden="true">
|
||
<div class="phead">
|
||
<div id="pAvatar"></div>
|
||
<div style="min-width:0">
|
||
<h3 id="panelTitle"></h3>
|
||
<div class="sub" id="panelSub"></div>
|
||
</div>
|
||
<button class="iconbtn close" id="btnClose" title="Schließen (Esc)"><svg class="i"><use href="/icons.svg#x"/></svg></button>
|
||
</div>
|
||
<div class="pquick">
|
||
<button class="btn" id="btnOpenFolder"><svg class="i"><use href="/icons.svg#folder-open"/></svg>Explorer</button>
|
||
<button class="btn" id="btnVsCode"><svg class="i"><use href="/icons.svg#code-xml"/></svg>VS Code</button>
|
||
<button class="btn" id="btnClone" title="Kopie dieses Projekts als neues Projekt anlegen"><svg class="i"><use href="/icons.svg#copy-plus"/></svg>Klonen</button>
|
||
</div>
|
||
<div class="seg" id="ptabs">
|
||
<button data-sec="edit" class="active"><svg class="i"><use href="/icons.svg#pencil"/></svg>Bearbeiten</button>
|
||
<button data-sec="info"><svg class="i"><use href="/icons.svg#info"/></svg>Info</button>
|
||
<button data-sec="actions"><svg class="i"><use href="/icons.svg#play"/></svg>Aktionen</button>
|
||
</div>
|
||
<div class="pbody">
|
||
<div id="sec-info" class="psec"></div>
|
||
<div id="sec-actions" class="psec"></div>
|
||
<div id="sec-edit" class="psec active field">
|
||
<div class="grid2">
|
||
<div>
|
||
<label><svg class="i sm"><use href="/icons.svg#flag"/></svg>Status</label>
|
||
<select id="fStatus">
|
||
<option value="idea">Idee</option>
|
||
<option value="active">Aktiv</option>
|
||
<option value="paused">Pausiert</option>
|
||
<option value="done">Fertig</option>
|
||
<option value="archived">Archiviert</option>
|
||
</select>
|
||
</div>
|
||
<div>
|
||
<label><svg class="i sm"><use href="/icons.svg#signal"/></svg>Priorität</label>
|
||
<select id="fPriority">
|
||
<option value="low">Niedrig</option>
|
||
<option value="medium">Mittel</option>
|
||
<option value="high">Hoch</option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
<label><svg class="i sm"><use href="/icons.svg#tags"/></svg>Tags (mit Komma getrennt)</label>
|
||
<input type="text" id="fTags" placeholder="spiel, android, tool…">
|
||
<label><svg class="i sm"><use href="/icons.svg#image"/></svg>Bild / Icon (Pfad im Projekt, optional)</label>
|
||
<input type="text" id="fThumb" placeholder="assets/icon.png">
|
||
<label><svg class="i sm"><use href="/icons.svg#square-terminal"/></svg>Eigener Start-Befehl (läuft sichtbar in einer Konsole)</label>
|
||
<input type="text" id="fStart" placeholder="npm run dev">
|
||
<label><svg class="i sm"><use href="/icons.svg#rocket"/></svg>itch.io-Seite (leer = automatisch erkennen, „-“ = nicht veröffentlicht)</label>
|
||
<input type="text" id="fItch" placeholder="https://sn09.itch.io/spielname">
|
||
<div class="hint" id="fItchHint" style="margin-top:-4px"></div>
|
||
<label><svg class="i sm"><use href="/icons.svg#notebook-pen"/></svg>Notizen</label>
|
||
<textarea id="fNotes" placeholder="Was fehlt noch, nächste Schritte…"></textarea>
|
||
<label><svg class="i sm"><use href="/icons.svg#list-checks"/></svg>Aufgaben</label>
|
||
<ul id="taskList"></ul>
|
||
<div id="taskAddRow">
|
||
<input type="text" id="taskInput" placeholder="Neue Aufgabe…">
|
||
<button class="btn primary" id="btnAddTask"><svg class="i"><use href="/icons.svg#plus"/></svg></button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="pfoot">
|
||
<button class="btn" id="btnCancel">Abbrechen</button>
|
||
<button class="btn primary" id="btnSave"><svg class="i"><use href="/icons.svg#save"/></svg>Speichern</button>
|
||
</div>
|
||
</aside>
|
||
|
||
<aside id="bpanel" aria-hidden="true">
|
||
<div class="phead">
|
||
<div class="avatar lg" style="--c:linear-gradient(135deg,#0ea5e9,#6366f1)"><svg class="i xl"><use href="/icons.svg#hard-drive-upload"/></svg></div>
|
||
<div style="min-width:0">
|
||
<h3>Backup</h3>
|
||
<div class="sub hint" id="bpTarget"></div>
|
||
</div>
|
||
<button class="iconbtn close" id="btnCloseBackup" title="Schließen (Esc)"><svg class="i"><use href="/icons.svg#x"/></svg></button>
|
||
</div>
|
||
<div class="pbody" id="bpBody"></div>
|
||
</aside>
|
||
|
||
<aside id="spanel" aria-hidden="true">
|
||
<div class="phead">
|
||
<div class="avatar lg" style="--c:linear-gradient(135deg,#6366f1,#8b5cf6)"><svg class="i xl"><use href="/icons.svg#settings"/></svg></div>
|
||
<div style="min-width:0">
|
||
<h3 id="spTitle">Einstellungen</h3>
|
||
<div class="sub hint" id="spSub">Projektordner und Backup-Ziele</div>
|
||
</div>
|
||
<button class="iconbtn close" id="btnCloseSettings" title="Schließen (Esc)"><svg class="i"><use href="/icons.svg#x"/></svg></button>
|
||
</div>
|
||
<div class="pbody field">
|
||
<div id="spWelcome" class="msg info" style="display:none">
|
||
<svg class="i lg"><use href="/icons.svg#sparkles"/></svg>
|
||
<div><b>Willkommen!</b> Wähle den Ordner, in dem alle deine Projekte liegen – jeder Unterordner wird ein Projekt.
|
||
Mehrere solche Ordner sind möglich; oben neben dem Logo wechselst du zwischen ihnen.
|
||
Ein Backup-Ziel (z. B. externe Platte oder NAS) kannst du jetzt oder später festlegen.</div>
|
||
</div>
|
||
<label><svg class="i sm"><use href="/icons.svg#folders"/></svg>Projektordner (mindestens einer)</label>
|
||
<div id="fRoots"></div>
|
||
<div class="rowbtns">
|
||
<button class="btn" id="fAddRoot" type="button"><svg class="i"><use href="/icons.svg#plus"/></svg>Ordner hinzufügen</button>
|
||
<button class="btn" id="fImportOpen" type="button"><svg class="i"><use href="/icons.svg#folder-plus"/></svg>Mehrere einlesen…</button>
|
||
</div>
|
||
<div class="importbox" id="fImport" hidden>
|
||
<div class="hint" style="margin:0 0 6px">Übergeordneten Ordner wählen – seine Unterordner werden als Projektordner angeboten.</div>
|
||
<div class="pickrow">
|
||
<input type="text" id="fImportPath" placeholder="z. B. D:\Arbeit">
|
||
<button class="btn pickbtn" data-for="fImportPath" data-title="Übergeordneten Ordner wählen"><svg class="i"><use href="/icons.svg#folder-search"/></svg>Durchsuchen…</button>
|
||
<button class="btn" type="button" id="fImportList"><svg class="i"><use href="/icons.svg#list"/></svg>Anzeigen</button>
|
||
</div>
|
||
<div id="fImportBody"></div>
|
||
</div>
|
||
<div class="hint">Jeder Unterordner eines Projektordners ist ein Projekt. Der markierte ist gerade aktiv; wechseln geht oben neben dem Logo.</div>
|
||
<label><svg class="i sm"><use href="/icons.svg#hard-drive-upload"/></svg>Backup-Ziele (optional, mehrere möglich)</label>
|
||
<div id="fTargets"></div>
|
||
<button class="btn" id="fAddTarget" type="button"><svg class="i"><use href="/icons.svg#plus"/></svg>Ziel hinzufügen</button>
|
||
<div class="hint">Jedes Projekt landet dort in einem gleichnamigen Unterordner. Bei mehreren Projektordnern geht der erste direkt ins Ziel, jeder weitere in einen Unterordner mit seinem Namen. Jedes Ziel hat seinen eigenen Backup-Stand; <code>backup-projekte.bat</code> sichert auf das erste. Im Backup wird nie etwas gelöscht.</div>
|
||
<label><svg class="i sm"><use href="/icons.svg#folder-x"/></svg>Nicht sichern (Ordnernamen, mit Komma getrennt)</label>
|
||
<input type="text" id="fExDirs">
|
||
<div class="hint">Werden überall im Projekt übersprungen, weil sie sich neu erzeugen lassen.</div>
|
||
<label><svg class="i sm"><use href="/icons.svg#rocket"/></svg>itch.io-Profil (für „veröffentlicht“)</label>
|
||
<div class="pickrow">
|
||
<input type="text" id="fItchProfile" placeholder="https://name.itch.io">
|
||
<button class="btn" type="button" id="btnItchRefresh" title="Profil jetzt neu lesen"><svg class="i"><use href="/icons.svg#refresh-cw"/></svg></button>
|
||
</div>
|
||
<div class="hint" id="spItch"></div>
|
||
<div class="hint" id="spData" style="margin-top:16px"></div>
|
||
<div class="msg err" id="spError" style="display:none"></div>
|
||
</div>
|
||
<div class="pfoot">
|
||
<button class="btn" id="spCancel">Abbrechen</button>
|
||
<button class="btn primary" id="spSave"><svg class="i"><use href="/icons.svg#save"/></svg>Speichern</button>
|
||
</div>
|
||
</aside>
|
||
|
||
<dialog id="rootDlg" class="dlg">
|
||
<div class="field">
|
||
<h3 style="margin:0 0 4px;display:flex;gap:8px;align-items:center"><svg class="i lg"><use href="/icons.svg#folders"/></svg>Projektordner einlesen</h3>
|
||
<div class="hint" style="margin-top:4px">Übergeordneten Ordner wählen und ankreuzen, was als Projektordner dazukommen soll – der Ordner selbst und/oder seine Unterordner.</div>
|
||
<div class="pickrow" style="margin-top:10px">
|
||
<input type="text" id="rdPath" placeholder="z. B. D:\Arbeit">
|
||
<button class="btn pickbtn" type="button" id="rdPick"><svg class="i"><use href="/icons.svg#folder-search"/></svg>Durchsuchen…</button>
|
||
<button class="btn" type="button" id="rdList"><svg class="i"><use href="/icons.svg#list"/></svg>Anzeigen</button>
|
||
</div>
|
||
<div id="rdBody"></div>
|
||
<label class="chk"><input type="checkbox" id="rdActivate" checked> Danach zum ersten neuen Ordner wechseln</label>
|
||
<div class="msg err" id="rdError" style="display:none"></div>
|
||
<div class="dlgfoot"><button class="btn" type="button" id="rdClose">Schließen</button></div>
|
||
</div>
|
||
</dialog>
|
||
|
||
<dialog id="newDlg" class="dlg">
|
||
<form method="dialog" class="field" id="newForm">
|
||
<h3 style="margin:0 0 4px;display:flex;gap:8px;align-items:center"><svg class="i lg"><use href="/icons.svg#folder-plus"/></svg><span id="newTitle">Neues Projekt</span></h3>
|
||
<label><svg class="i sm"><use href="/icons.svg#copy"/></svg>Vorlage</label>
|
||
<select id="nFrom"></select>
|
||
<label><svg class="i sm"><use href="/icons.svg#type"/></svg>Name (wird der Ordnername)</label>
|
||
<input type="text" id="nName" maxlength="80" autocomplete="off">
|
||
<label><svg class="i sm"><use href="/icons.svg#folders"/></svg>Anlegen in</label>
|
||
<select id="nRoot"></select>
|
||
<div id="nCloneOpts">
|
||
<label class="chk"><input type="checkbox" id="nSkipBuild" checked> Build-Ordner und Caches weglassen (dist, build, bin, obj, Library …)</label>
|
||
<label class="chk"><input type="checkbox" id="nGit"> git-Verlauf mitkopieren (Achtung: gleicher Remote wie das Original)</label>
|
||
<div class="hint">Nie kopiert: <span id="nExcl"></span>. Der Klon startet als „Idee“, ohne itch.io-Link und nur mit offenen Aufgaben.</div>
|
||
</div>
|
||
<div class="hint" id="nEmptyHint">Legt einen leeren Ordner mit <code>README.md</code> an. Für ein Spiel/eine App aus den Library-Vorlagen: Skill <code>neues-projekt</code> in Claude Code.</div>
|
||
<div class="msg err" id="nError" style="display:none"></div>
|
||
<div class="dlgfoot">
|
||
<button class="btn" type="button" id="nCancel">Abbrechen</button>
|
||
<button class="btn primary" type="submit" id="nOk"><svg class="i"><use href="/icons.svg#plus"/></svg><span>Anlegen</span></button>
|
||
</div>
|
||
</form>
|
||
</dialog>
|
||
|
||
<div id="toast"></div>
|
||
<script src="app.js"></script>
|
||
</body>
|
||
</html>
|