ghpsolutions/quadro

Quadro: team boards with roles, history and an MCP endpoint for Claude and ChatGPT

A remix template · 0 remixes · Remix ghpsolutions/quadro

app/boards/doors/static/style.css

:root {
  --paper: #f4f3ef;
  --surface: #ffffff;
  --sunk: #eae8e2;
  --line: #e1ded6;
  --line-strong: #cfcbc1;
  --ink: #1c1b19;
  --ink-2: #4a4843;
  --muted: #7a776f;
  --accent: #2f5d50;
  --accent-ink: #ffffff;
  --accent-soft: #e3ece8;
  --amber: #c9832e;
  --danger: #b4412f;
  --danger-soft: #f7e6e2;
  --warn-soft: #f6ecd9;
  --radius: 8px;
  --shadow: 0 1px 0 rgba(28, 27, 25, .04), 0 1px 3px rgba(28, 27, 25, .06);
  --shadow-lift: 0 8px 24px rgba(28, 27, 25, .14);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font: 14px/1.45 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
[hidden] { display: none !important; }

/* layout */
.shell { display: grid; grid-template-columns: 232px 1fr; height: 100vh; }
.side { display: flex; flex-direction: column; gap: 4px; padding: 16px 12px; border-right: 1px solid var(--line); background: #efede7; overflow: auto; }
.brand { display: flex; align-items: center; gap: 9px; padding: 4px 8px 14px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 16px; letter-spacing: -.01em; }
.views, .boards { display: flex; flex-direction: column; gap: 1px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 7px 10px; border: 0; border-radius: 6px; background: none; text-align: left; color: var(--ink-2); }
.nav:hover { background: var(--sunk); }
.nav.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); font-weight: 550; }
.nav .key { font: 11px var(--mono); color: var(--muted); }
.side-head { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 4px; padding: 0 10px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.me { margin-top: auto; padding: 12px 10px 0; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }

.main { display: flex; flex-direction: column; min-width: 0; }
.top { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 24px; border-bottom: 1px solid var(--line); background: var(--paper); }
.top h1 { margin: 0; font-size: 18px; font-weight: 650; letter-spacing: -.01em; }
.top .key { font: 12px var(--mono); color: var(--muted); padding: 2px 6px; border: 1px solid var(--line); border-radius: 4px; }
.top .grow { flex: 1; }
.view { flex: 1; overflow: auto; }

/* controls */
.btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--ink); white-space: nowrap; }
.btn:hover { border-color: var(--ink-2); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { border-color: transparent; background: none; color: var(--ink-2); }
.btn.ghost:hover { background: var(--sunk); }
.btn.danger { color: var(--danger); }
.btn:disabled { opacity: .5; cursor: default; }
.icon-btn { width: 24px; height: 24px; border: 0; border-radius: 5px; background: none; color: var(--muted); font-size: 16px; line-height: 1; }
.icon-btn:hover { background: var(--sunk); color: var(--ink); }
.input, .select, .textarea { width: 100%; padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.textarea { min-height: 96px; resize: vertical; }
.search { width: 220px; height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.seg { display: inline-flex; padding: 2px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.seg button { height: 26px; padding: 0 10px; border: 0; border-radius: 5px; background: none; color: var(--ink-2); font-size: 13px; }
.seg button.on { background: var(--ink); color: #fff; }

.pill { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 9px; font-size: 11px; font-weight: 600; background: var(--sunk); color: var(--ink-2); }
.pill.danger { background: var(--danger); color: #fff; }

.people { display: flex; }
.avatar { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 10px; font-weight: 650; color: #fff; letter-spacing: .02em; flex: none; }
.people .avatar { margin-left: -6px; border: 2px solid var(--paper); width: 28px; height: 28px; }
.people .avatar:first-child { margin-left: 0; }

.notice { margin: 16px 24px 0; padding: 9px 12px; border-radius: 6px; background: var(--warn-soft); color: #6d4a12; font-size: 13px; }

/* board */
.board { display: flex; align-items: flex-start; gap: 14px; padding: 20px 24px 40px; min-height: 100%; }
.col { flex: none; display: flex; flex-direction: column; width: 288px; max-height: calc(100vh - 110px); border-radius: 10px; background: var(--sunk); }
.col-head { display: flex; align-items: center; gap: 8px; padding: 10px 10px 6px 14px; }
.col-head h2 { margin: 0; font-size: 13px; font-weight: 650; }
.col-head .count { font-size: 12px; color: var(--muted); }
.col-head .done-mark { font-size: 11px; color: var(--accent); font-weight: 600; }
.col-head .icon-btn { margin-left: auto; }
.cards { display: flex; flex-direction: column; gap: 8px; min-height: 40px; padding: 4px 8px 8px; overflow-y: auto; }
.cards.over { background: rgba(47, 93, 80, .06); border-radius: 8px; }
.add-card { margin: 0 8px 10px; padding: 7px 8px; border: 0; border-radius: 6px; background: none; text-align: left; color: var(--muted); }
.add-card:hover { background: rgba(255, 255, 255, .6); color: var(--ink); }
.add-form { padding: 0 8px 10px; }
.add-form .row { display: flex; gap: 6px; margin-top: 6px; }
.new-col { flex: none; width: 260px; }

.card { position: relative; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); cursor: pointer; }
.card:hover { border-color: var(--line-strong); }
.card.dragging { opacity: .35; }
.card.overdue { box-shadow: inset 3px 0 0 var(--danger), var(--shadow); }
.card.is-done .title { color: var(--muted); }
.card .labels { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.card .title { font-weight: 520; overflow-wrap: anywhere; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.meta .ref { font-family: var(--mono); font-size: 11px; }
.meta .due.late { color: var(--danger); font-weight: 600; }
.meta .due.soon { color: #8d5a10; }
.meta .flag { display: inline-flex; align-items: center; gap: 3px; }
.meta .blocked { color: var(--danger); }
.meta .avatar { margin-left: auto; }
.placeholder { height: 44px; border: 2px dashed var(--line-strong); border-radius: var(--radius); }
svg.i { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.label { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.l-slate { background: #e7e8ea; color: #3e4652; } .l-red { background: #f6e1dd; color: #8e3324; }
.l-amber { background: #f5e8d2; color: #7c5210; } .l-green { background: #e0eedf; color: #2f6430; }
.l-teal { background: #dcecea; color: #23605a; } .l-blue { background: #e0e8f5; color: #2d4f86; }
.l-violet { background: #ebe4f3; color: #5b3d84; } .l-pink { background: #f5e1ea; color: #8a2f58; }

/* lists of cards (my work, overdue, search) */
.page { max-width: 880px; padding: 24px; }
.page h3 { margin: 26px 0 8px; font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.page h3:first-child { margin-top: 0; }
.rows { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.rowi { display: grid; grid-template-columns: 78px 1fr 130px 110px 30px; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); cursor: pointer; }
.rowi:first-child { border-top: 0; }
.rowi:hover { background: #faf9f6; }
.rowi .ref { font: 11px var(--mono); color: var(--muted); }
.rowi .where { font-size: 12px; color: var(--muted); }
.rowi .due { font-size: 12px; }
.rowi .due.late { color: var(--danger); font-weight: 600; }
.empty { padding: 28px; text-align: center; color: var(--muted); }
.empty-board { display: grid; place-items: center; height: 100%; color: var(--muted); text-align: center; }
.empty-board h2 { margin: 0 0 6px; color: var(--ink); font-size: 18px; }

/* drawer */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 20; width: min(520px, 100vw); background: var(--surface); border-left: 1px solid var(--line); transform: translateX(100%); visibility: hidden; transition: transform .18s ease, visibility 0s .18s; }
.drawer.open { transform: none; visibility: visible; box-shadow: -12px 0 32px rgba(28, 27, 25, .1); transition: transform .18s ease; }
.drawer-body { height: 100%; overflow-y: auto; padding: 20px 24px 40px; }
.scrim { position: fixed; inset: 0; z-index: 15; background: rgba(28, 27, 25, .18); }
.d-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 12px; color: var(--muted); }
.d-head .ref { font-family: var(--mono); }
.d-head .icon-btn { margin-left: auto; font-size: 20px; }
.d-title { width: 100%; padding: 4px 6px; margin: 0 -6px 14px; border: 1px solid transparent; border-radius: 6px; font-size: 20px; font-weight: 650; letter-spacing: -.01em; background: none; }
.d-title:hover { border-color: var(--line); }
.d-title:focus { outline: none; border-color: var(--accent); }
.fields { display: grid; grid-template-columns: 96px 1fr; gap: 8px 12px; align-items: center; margin-bottom: 18px; }
.fields label { font-size: 12px; color: var(--muted); }
.section { margin-top: 22px; }
.section > h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 12px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.section > h4 .btn { margin-left: auto; height: 26px; font-size: 12px; text-transform: none; letter-spacing: 0; }
.label-edit { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.label-edit .label button { margin-left: 4px; border: 0; background: none; padding: 0; color: inherit; opacity: .6; }
.label-edit input { width: 110px; height: 26px; padding: 0 8px; border: 1px dashed var(--line-strong); border-radius: 4px; background: none; font-size: 12px; }
.checklist { display: flex; flex-direction: column; gap: 4px; margin: 8px 0; }
.checklist label { display: flex; gap: 8px; align-items: flex-start; }
.checklist input { margin-top: 3px; accent-color: var(--accent); }
.progress { height: 4px; border-radius: 2px; background: var(--sunk); overflow: hidden; margin-bottom: 6px; }
.progress span { display: block; height: 100%; background: var(--accent); }
.prose { white-space: pre-wrap; color: var(--ink-2); }
.mini { display: flex; flex-direction: column; gap: 6px; }
.mini .item { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
.mini .item .ref { font: 11px var(--mono); color: var(--muted); }
.mini .item .icon-btn { margin-left: auto; }
.mini .item.done-blocker { color: var(--muted); text-decoration: line-through; }
.comment { padding: 10px 0; border-top: 1px solid var(--line); }
.comment .who { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.comment .who b { color: var(--ink); font-weight: 600; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 12px 18px; font-size: 13px; color: var(--ink-2); }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.timeline li::after { content: ""; position: absolute; left: 6.5px; top: 16px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline .when { font-size: 11px; color: var(--muted); }
.timeline .chg { font-size: 12px; color: var(--muted); }
.timeline .chg s { color: var(--muted); }
.suggest { padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: #faf9f6; }
.suggest label { display: flex; gap: 8px; padding: 3px 0; }
.d-foot { display: flex; gap: 8px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); }

/* dialog */
dialog { width: min(460px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lift); color: var(--ink); }
dialog::backdrop { background: rgba(28, 27, 25, .25); }
dialog form { padding: 20px 22px; }
dialog h3 { margin: 0 0 14px; font-size: 16px; }
dialog .row { display: flex; gap: 8px; margin-top: 10px; }
dialog .actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.member { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.member:first-of-type { border-top: 0; }
.member .email { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.member .select { width: auto; height: 28px; padding: 0 6px; font-size: 13px; }
.summary-text { white-space: pre-wrap; line-height: 1.55; }
.source { margin-top: 10px; font-size: 12px; color: var(--muted); }

.toasts { position: fixed; bottom: 18px; left: 50%; z-index: 40; display: flex; flex-direction: column; gap: 8px; transform: translateX(-50%); }
.toast { padding: 9px 14px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 13px; box-shadow: var(--shadow-lift); }
.toast.bad { background: var(--danger); }
.spin { display: inline-block; width: 12px; height: 12px; border: 2px solid var(--line-strong); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; }
  .side { display: none; }
  .top { flex-wrap: wrap; }
  .search { width: 100%; }
  .rowi { grid-template-columns: 70px 1fr 90px; }
  .rowi .where, .rowi .avatar { display: none; }
}