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.9 KB
Raw Blame
/* Maintainers 2026-11-13: each search service is an option card that names its recipient; choosing it
   saves it and is the consent (no separate confirm step). */
.options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  border: 1.5px solid transparent;
  border-radius: 13px;
  background: var(--tert);
  cursor: pointer;
  transition:
    border-color 180ms var(--ease-out),
    background-color 180ms var(--ease-out),
    transform 180ms var(--ease-out);
}
.option:hover {
  transform: translateX(2px);
}
.option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.option::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  box-sizing: border-box;
  border: 2px solid var(--b2);
  border-radius: 50%;
  transition:
    border-color 180ms var(--ease-out),
    background-color 180ms var(--ease-out);
}
.option:has(input:checked) {
  border-color: var(--avatar-green);
  background: color-mix(in srgb, var(--avatar-green) 10%, transparent);
}
.option:has(input:checked)::before {
  border-color: var(--avatar-green);
  background: var(--avatar-green);
  box-shadow: inset 0 0 0 3px var(--card);
}
.option:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.option:has(input:disabled) {
  cursor: default;
  opacity: 0.6;
}
.text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.text strong {
  font-weight: 600;
}
.text small {
  color: var(--text2);
  font-size: 12px;
}
@media (prefers-reduced-motion: reduce) {
  .option {
    transition: none;
  }
  .option:hover {
    transform: none;
  }
}