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.

2.3 KB
Raw Blame
/* Colours, fonts and radii come from the app's theme tokens (tokens.css, copied at build). */
html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 13px / 1.45 var(--font-sans);
}
body {
  width: 280px;
  padding: 12px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
header {
  display: flex;
  align-items: center;
  gap: 8px;
}
header img {
  border-radius: 6px;
}
header strong {
  font-size: 14px;
}
.status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--hover);
  color: var(--text2);
  font-size: 12px;
}
.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text2);
}
.status[data-status="connected"] i {
  background: var(--ok);
}
.status[data-status="missing"] i,
.status[data-status="closed"] i {
  background: var(--danger);
}
.note {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--radius-row);
  background: var(--card);
  border: 1px solid var(--b1);
  color: var(--text2);
}
.note b {
  display: block;
  color: var(--text);
  margin-bottom: 2px;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 12px;
  border-radius: var(--radius-row);
  background: var(--card);
  border: 1px solid var(--b1);
}
li span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
li span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--brand);
  vertical-align: 1px;
}
button {
  font: inherit;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--b2);
  background: transparent;
  color: var(--danger);
  cursor: pointer;
}
button:hover {
  background: var(--dangerBg);
  border-color: transparent;
}
button:disabled {
  color: var(--text2);
  cursor: default;
  background: transparent;
}
.note button.allow {
  display: block;
  margin-top: 8px;
  color: var(--on-tone);
  background: var(--brand);
  border-color: transparent;
}
.note button.allow:hover {
  background: var(--brand);
  filter: brightness(1.06);
}