Skip to content

armgit / pibot

Public Imported from GitHub
0

Open-source, local-first AI agent team for your desktop: multi-agent group chats, computer use, browser, MCP, routines and approvals. macOS, Windows, Linux + Android. Built on pi.

1.6 KB
Raw Blame
/* The Git card reuses the shared approval card; only the state line and code chips are its own. */
.card {
  max-width: 640px;
}
.code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--tert);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12.5px;
  overflow-wrap: anywhere;
}
.state {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  margin: 8px 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--card);
  color: var(--text);
  box-shadow: 0 0 0 1px var(--b1);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--prim);
}
.state[data-tone="ok"] .dot {
  background: var(--ok);
}
.hint {
  color: var(--text2);
}
.recheck {
  min-height: 26px;
  padding: 2px 12px;
}
/* A failed attempt keeps the card's title and both ways forward; a block, not a pill, so the
   dot stays with the title at narrow widths. */
.failed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 640px;
  box-sizing: border-box;
  margin: 8px 0;
  padding: 10px 14px 12px;
  border-radius: var(--radius-card);
  background: var(--card);
  color: var(--text);
  box-shadow: 0 0 0 1px var(--b1);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.failedTitle {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.dotDanger {
  background: var(--danger);
}
.failedBody {
  margin: 0;
  color: var(--text2);
  line-height: 1.5;
}
.failedActions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}