Fosi Fossil Service
Small teams. Open source. Built on Fossil.

IaC / SwiftFlow

High-performance WMS with wave picking, smart routing, and real-time inventory visibility.

Public | Owner: IaC | Default branch: trunk | Last update: 2026-10-23 14:37

Artifact 46b00088e9cb4d70fe8153884b6538d17d17bb6ea4ec6a5ac49565be8ad997e5:


:root {
  color: #1c2430;
  background: #f3efe6;
  font-family: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  --ink: #1c2430;
  --muted: #66707c;
  --line: #e4d9c8;
  --card: #fffdf8;
  --accent: #b6401e;
  --accent-ink: #fff8f3;
  --ok: #246b45;
  --danger: #9d2c2c;
  --sidebar: #17202b;
  --sidebar-text: #e8e2d6;
}

* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(23, 32, 43, 0.04), transparent 40%),
    #f3efe6;
}
.login-card {
  width: min(420px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  padding: 28px 28px 24px;
}
.login-card h1 { margin: 0 0 4px; font-size: 28px; letter-spacing: 0.04em; }
.login-card .sub { margin: 0 0 20px; color: var(--muted); }
.login-card form { display: grid; gap: 12px; }
.login-card button[type="submit"] { margin-top: 4px; }

.shell { min-height: 100vh; display: grid; grid-template-columns: 220px 1fr; }
.sidebar {
  background: var(--sidebar);
  color: var(--sidebar-text);
  display: flex;
  flex-direction: column;
  padding: 18px 12px;
  min-height: 100vh;
}
.brand { padding: 4px 10px 16px; }
.brand strong { display: block; font-size: 18px; letter-spacing: 0.06em; }
.brand span { color: #b7c0c8; font-size: 12px; }
.nav { display: grid; gap: 2px; }
.nav a, .sidebar .account {
  color: var(--sidebar-text);
  padding: 8px 10px;
  border-radius: 4px;
  text-decoration: none;
}
.nav a.active, .nav a:hover, .sidebar .account:hover { background: #243140; }
.sidebar .spacer { flex: 1; }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  background: #faf7f1;
}
.who { display: flex; flex-direction: column; }
.who b { font-weight: 600; }
.who span, .muted { color: var(--muted); }
.top-actions { display: flex; gap: 8px; align-items: center; }
.page { padding: 20px; display: grid; gap: 14px; align-content: start; }
.page-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.page-head h1, h2 { margin: 0; font-size: 22px; }
h2 { font-size: 16px; }

.field { display: grid; gap: 4px; }
.field > span { color: var(--muted); font-size: 12px; }
input, select {
  background: #fff;
  border: 1px solid #d9d0c3;
  padding: 8px 10px;
  border-radius: 4px;
  min-width: 0;
}
button.primary, button[type="submit"], .top-actions button, .pager button, .row-actions button, .actions button {
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  border-radius: 4px;
  padding: 8px 12px;
}
button.ghost, .pager button.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid #d9d0c3;
}
button:disabled { opacity: 0.5; cursor: not-allowed; }
.actions, .filters, .range-row, .check-grid { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.range-row { align-items: center; }
.range-row input { width: 72px; }

.banner { margin: 0; padding: 8px 12px; border-radius: 4px; }
.banner.error { background: #fdecea; color: var(--danger); }
.banner.ok { background: #e7f5ec; color: var(--ok); }
.empty { color: var(--muted); margin: 8px 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 12px 14px;
}
.card span { display: block; color: var(--muted); font-size: 12px; }
.card strong { font-size: 16px; font-weight: 600; }

.table-wrap { overflow: auto; border: 1px solid var(--line); background: var(--card); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 12px; color: var(--muted); font-weight: 600; background: #f7f3eb; }
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: #fbf6ee; }
code, .mono { font-family: "SF Mono", "Source Han Mono", ui-monospace, monospace; }

.tag {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 99px;
  font-size: 12px;
  background: #ece7de;
}
tr.short td { color: var(--danger); }
.tag.ok { background: #e3f3e8; color: var(--ok); }
.tag.off { background: #f6e4e4; color: var(--danger); }

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 14px;
  display: grid;
  gap: 10px;
}
.check-grid label { display: flex; gap: 6px; align-items: center; padding: 4px 0; }
.pager { display: flex; gap: 8px; align-items: center; color: var(--muted); }
.split { display: grid; gap: 14px; }
.back { color: var(--muted); }

@media (max-width: 800px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { min-height: 0; }
  .nav { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
  .topbar { flex-direction: column; align-items: stretch; }
}

Clone

You can clone this repository with the following command:

fossil clone https://fosi.dev/IaC/SwiftFlow

Contribute

The best way to contribute is through e-mail. See the project documentation for more details.