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
.menu {
  position: relative;
  min-width: 0;
}
.trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  list-style: none;
  color: var(--text2);
}
.trigger::-webkit-details-marker {
  display: none;
}
.trigger span {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 80;
  width: min(350px, 80vw);
  padding: 12px;
  border: 1px solid var(--b1);
  border-radius: 14px;
  background: var(--bg);
  box-shadow: var(--shadow-soft);
  color: var(--text);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}
.note {
  color: var(--text2);
  font-size: 12px;
  margin: 8px 0;
}
.error {
  color: var(--danger);
  font-size: 13px;
}
.list {
  max-height: 320px;
  overflow-y: auto;
}
.item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.item:hover,
.item[aria-current="true"] {
  background: var(--hover);
}
.item span {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.item small {
  color: var(--text2);
}

.inline {
  padding: 0;
  min-width: 0;
}

/* The current topic is tinted in the group colour; rows get a little more air. */
.item {
  border-radius: 10px;
  transition: background-color 150ms ease;
}
.item[aria-current="true"] {
  background: color-mix(in srgb, var(--avatar-teal) 12%, transparent);
}