stubborn-otter/otter-boards

Otter Boards, a team task board you can run from the web or from Claude and ChatGPT. FastAPI + DataK3 + appid + Models + MCP.

A remix template · 1 remixes · Remix stubborn-otter/otter-boards

app/boards/doors/static/app.css

:root {
  --water: #0e4f56;
  --water-lit: #15686f;
  --on-water: #eaf6f3;
  --mist: #e3efec;
  --pool: #cfe3df;
  --pool-deep: #b6d5cf;
  --stone: #fdfefd;
  --ink: #10302f;
  --ink-soft: #41615f;
  --line: #b4cfca;
  --otter: #7b4f2c;
  --muzzle: #e9d2b4;
  --coral: #b92c44;
  --coral-wash: #f9e3e4;
  --kelp: #7a5c00;
  --kelp-wash: #f8ecc4;
  --shadow: 0 1px 0 #0e4f5633, 0 2px 5px #0e4f5614;
  --round: ui-rounded, "SF Pro Rounded", "Avenir Next", "Nunito", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --water: #08343a;
    --water-lit: #0f4a51;
    --on-water: #dff0ec;
    --mist: #0c2a2f;
    --pool: #143d43;
    --pool-deep: #1b4f56;
    --stone: #1d4a50;
    --ink: #e6f3f0;
    --ink-soft: #a9c8c3;
    --line: #2d636a;
    --coral: #ff9aa8;
    --coral-wash: #4d2230;
    --kelp: #f3d36c;
    --kelp-wash: #453a12;
    --shadow: 0 1px 0 #0004;
  }
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--mist);
  color: var(--ink);
  font: 16px/1.45 var(--round);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--water-lit); outline-offset: 2px; border-radius: 4px; }
.top :focus-visible { outline-color: var(--on-water); }

/* ---- header: the river ---- */
.top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px 4px;
  background: var(--water);
  color: var(--on-water);
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
}
.otter { width: 32px; height: 32px; flex: none; }
.fur { fill: #a4713f; }
.muzzle { fill: var(--muzzle); }
.eye { fill: #2c1a0e; }
.line { fill: none; stroke: #2c1a0e; stroke-width: 1; stroke-linecap: round; }
#crumbs { min-width: 0; font-weight: 600; opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me { margin-left: auto; display: flex; gap: 14px; font-size: 14px; white-space: nowrap; }
.wave { display: block; width: 100%; height: 22px; flex: none; margin-bottom: -6px; }
.wave path { fill: var(--water); }

main { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 12px 16px 16px; }

/* ---- controls ---- */
button, input, select, textarea { font: inherit; color: inherit; }
button {
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--water);
  color: var(--on-water);
  font-weight: 600;
  cursor: pointer;
}
button:hover { background: var(--water-lit); }
button:disabled { opacity: .55; cursor: default; }
button.plain { background: transparent; color: var(--ink); border-color: var(--line); }
button.plain:hover { background: var(--pool); }
button.danger { background: transparent; color: var(--coral); border-color: currentColor; }
input, select, textarea {
  width: 100%;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--stone);
}
input[type=checkbox] { width: auto; }
textarea { min-height: 96px; resize: vertical; }
label { display: block; font-size: 14px; color: var(--ink-soft); font-weight: 600; }
label > input, label > select, label > textarea { margin-top: 3px; color: var(--ink); font-weight: 400; }
.quiet { color: var(--ink-soft); }
.row { display: flex; align-items: center; gap: 8px; }
.row > input, .row > select { flex: 1; min-width: 0; }

/* ---- home ---- */
.home { width: 100%; max-width: 900px; margin: 0 auto; display: grid; gap: 28px; padding-bottom: 24px; }
.home h1 { font-size: 30px; letter-spacing: -.02em; }
.home h2 { font-size: 21px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-top: 12px; }
.tile {
  display: block;
  padding: 14px;
  min-height: 84px;
  border-radius: 14px;
  background: var(--water);
  color: var(--on-water);
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
}
.tile:hover { background: var(--water-lit); }
.tile small { display: block; font-size: 14px; font-weight: 500; opacity: .8; }
.new-board { margin-top: 12px; max-width: 420px; }
.plate { margin-top: 10px; display: grid; gap: 14px; }
.plate h3 { font-size: 16px; }
.plate h3.alarm { color: var(--coral); }
.plate-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 8px 10px;
  margin-top: 5px;
  border-radius: 8px;
  background: var(--stone);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.plate-row:hover { background: var(--pool); }
.plate-row span:first-child { flex: 1; min-width: 0; }
.plate-row small { color: var(--ink-soft); }

/* ---- board ---- */
.board-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.board-title { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
input.board-title { width: min(340px, 100%); padding: 0 6px; margin-left: -7px; background: transparent; border-color: transparent; }
input.board-title:hover, input.board-title:focus { border-color: var(--line); background: var(--stone); }
.spacer { flex: 1; }
.pill { padding: 1px 9px; border-radius: 99px; background: var(--pool); color: var(--ink-soft); font-size: 13px; font-weight: 600; white-space: nowrap; }
.pill.alarm { background: var(--coral-wash); color: var(--coral); }
.read-only { margin-bottom: 10px; color: var(--ink-soft); font-size: 15px; }

.lists {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 -16px;
  padding: 0 16px 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}
.list {
  flex: 0 0 min(292px, 84vw);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 8px;
  border-radius: 14px;
  background: var(--pool);
  scroll-snap-align: center;
  transition: background .12s;
}
.list.over { background: var(--pool-deep); }
.list-head { display: flex; align-items: center; gap: 4px; margin-bottom: 6px; }
.list-name { flex: 1; min-width: 0; font-size: 16px; font-weight: 700; padding: 2px 6px; }
input.list-name { background: transparent; border-color: transparent; }
input.list-name:hover, input.list-name:focus { background: var(--stone); border-color: var(--line); }
.count { color: var(--ink-soft); font-size: 14px; padding: 0 2px; }
.cards { flex: 1; min-height: 30px; overflow-y: auto; display: flex; flex-direction: column; gap: 7px; padding: 1px; }
.done-mark { color: var(--ink-soft); font-size: 13px; padding: 0 6px 4px; }

.card {
  display: grid;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--stone);
  box-shadow: var(--shadow);
  cursor: pointer;
  overflow-wrap: anywhere;
  transition: transform .1s;
}
.card[draggable=true] { cursor: grab; }
.card:hover { transform: translateY(-1px); }
.card.dragging { opacity: .45; transform: rotate(2deg); }
.card.is-overdue { box-shadow: inset 3px 0 0 var(--coral), var(--shadow); }
.card-title { font-weight: 600; line-height: 1.3; }
.card-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: 13px; color: var(--ink-soft); }
.tag { padding: 0 6px; border-radius: 5px; background: var(--pool); color: var(--ink-soft); font-size: 13px; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; }
.due.late { color: var(--coral); font-weight: 700; }
.due.soon { color: var(--kelp); background: var(--kelp-wash); padding: 0 5px; border-radius: 5px; }
.blocked { color: var(--coral); font-weight: 600; }
.face {
  margin-left: auto;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--otter);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.drop-line { height: 3px; border-radius: 3px; background: var(--water-lit); flex: none; }
.add-card { margin-top: 7px; }
.add-card input { background: transparent; border-style: dashed; }
.add-card input:focus { background: var(--stone); border-style: solid; }
.add-list { flex: 0 0 min(240px, 70vw); }

details.menu { position: relative; }
details.menu summary {
  list-style: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--ink-soft);
  font-weight: 700;
  cursor: pointer;
}
details.menu summary::-webkit-details-marker { display: none; }
details.menu summary:hover { background: var(--pool-deep); }
.menu-items {
  position: absolute;
  right: 0;
  z-index: 5;
  width: 218px;
  display: grid;
  gap: 2px;
  padding: 5px;
  border-radius: 8px;
  background: var(--stone);
  box-shadow: 0 6px 18px #0004;
}
.menu-items button { background: transparent; color: var(--ink); text-align: left; font-weight: 500; }
.menu-items button:hover { background: var(--pool); }

/* ---- card drawer ---- */
#drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 10;
  width: min(460px, 100vw);
  overflow-y: auto;
  padding: 16px;
  display: grid;
  gap: 14px;
  align-content: start;
  background: var(--mist);
  box-shadow: -8px 0 28px #0003;
  animation: slide-in .16s ease-out;
}
#drawer[hidden] { display: none; }
@keyframes slide-in { from { transform: translateX(28px); opacity: 0; } }
.drawer-head { display: flex; align-items: flex-start; gap: 8px; }
.drawer-head .number { color: var(--ink-soft); font-weight: 700; padding-top: 7px; }
.drawer-title { font-size: 19px; font-weight: 700; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.part { display: grid; gap: 6px; }
.part h3 { font-size: 15px; }
.check-row { display: flex; align-items: center; gap: 8px; }
.check-row span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.check-row.ticked span { color: var(--ink-soft); text-decoration: line-through; }
.link-row { display: flex; align-items: center; gap: 8px; padding: 3px 0; }
.link-row a { flex: 1; min-width: 0; overflow-wrap: anywhere; }
button.tiny { padding: 1px 7px; font-size: 13px; font-weight: 500; }
.bar { height: 5px; border-radius: 5px; background: var(--pool); overflow: hidden; }
.bar > div { height: 100%; background: var(--water-lit); }
.history { margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; font-size: 14px; }
.history small { display: block; color: var(--ink-soft); }
.history b { font-weight: 600; }

/* ---- dialog and toast ---- */
dialog {
  width: min(460px, calc(100vw - 32px));
  padding: 18px;
  border: 0;
  border-radius: 14px;
  background: var(--mist);
  color: var(--ink);
}
dialog::backdrop { background: #06262a99; }
.dialog-body { display: grid; gap: 12px; }
.dialog-body h2 { font-size: 20px; }
.people { display: grid; gap: 7px; }
.person { display: flex; align-items: center; gap: 8px; }
.person span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.person select { width: auto; }
.actions { display: flex; justify-content: flex-end; gap: 8px; }
.summary-text { white-space: pre-line; }
#toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 20;
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--mist);
  font-weight: 600;
}

@media (max-width: 640px) {
  #who { display: none; }
  .pair { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}