Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

2.4 KB
Raw Blame
.call {
  /* This floating control overlaps the title bar's native window-drag region. */
  -webkit-app-region: no-drag;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  max-width: 100%;
}

/* Floats over the chat like the title pill: frosted, raised, sized to its content. */
.call-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--frosted);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  box-shadow: var(--shadow-l);
}

.call-avatar {
  display: flex;
  transition: transform var(--layout);
}
.call-avatar-empty {
  width: 34px;
  height: 34px;
}
.call-avatar.speaking {
  animation: call-pulse 0.6s ease-in-out infinite alternate;
}
@keyframes call-pulse {
  to {
    transform: scale(1.1);
  }
}

/* Sized in CallView, where the drawing uses the same numbers. */
.call-dots {
  flex: none;
}

.call-round {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--bubble-user);
  color: var(--secondary);
  transition: background-color var(--hover), color var(--hover), transform var(--press);
}
.call-round.on {
  background: var(--accent-fill);
  color: var(--on-accent);
}
.call-round.end {
  background: var(--danger-fill);
  color: var(--on-danger);
}
.call-round:active {
  transform: scale(0.98);
}

/* One line under the bar: why the call fell back, or why it can't listen. */
.call-line {
  font-size: var(--text-caption);
  text-align: center;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: var(--bubble-user);
  box-shadow: var(--shadow-s);
  animation: fade-in var(--fade) both;
}
@media (prefers-reduced-motion: reduce) {
  .call-avatar.speaking {
    animation: none;
  }
}

/* A voice call's line in the chat: centered like a bot message line, it opens the call. */
.call-line-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
  padding: 6px 0;
  max-width: 100%;
}

/* The call's conversation: who it was with and when on top, then what was said. */
.call-header {
  padding: 12px 0 28px;
}
.call-header-avatar {
  padding-bottom: 8px;
}
.call-note {
  text-align: center;
  padding-bottom: 16px;
}
/* Close within an exchange, wide where you start the next one. */
.call-gap {
  padding-top: 8px;
}
.call-gap-wide {
  padding-top: 24px;
}