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.0 KB
Raw Blame
/* Preview containers also style descendant buttons; keep the shared hit area independent of them. */
.button[data-close-button] {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  /* A quiet round chip that only lifts on hover. */
  border: 0;
  border-radius: 50%;
  background: var(--tert);
  color: var(--text2);
  cursor: pointer;
  transition:
    color 140ms ease,
    transform 160ms var(--ease-out);
  -webkit-app-region: no-drag;
}
.button[data-close-button]:enabled:hover {
  box-shadow: inset 0 0 0 100px var(--hover);
  color: var(--text);
}
.button[data-close-button]:enabled:active {
  transform: scale(0.94);
}
@media (prefers-reduced-motion: reduce) {
  .button[data-close-button] {
    transition: none;
  }
}
.button[data-close-button]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.button[data-close-button]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}