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.

4.2 KB
Raw Blame
/* The footer floats over the roster: its measured height (`SidebarFooter`) keeps the last rows clear. */
.sidebar:not(.compact) .roster {
  padding-bottom: calc(var(--sidebar-footer-height, 58px) + 14px);
  scroll-padding-bottom: calc(var(--sidebar-footer-height, 58px) + 14px);
}

.sidebar-footer {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 14px;
  isolation: isolate;
}

.sidebar-footer-fade {
  position: absolute;
  z-index: -1;
  inset: -38px 0 0;
  pointer-events: none;
  background: linear-gradient(to top, var(--surface) 22%, color-mix(in srgb, var(--surface) 90%, transparent) 54%, transparent);
}
.sidebar-footer-fade::before,
.sidebar-footer-fade::after {
  content: '';
  position: absolute;
  inset: 0;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(to top, black 40%, transparent);
  mask-image: linear-gradient(to top, black 40%, transparent);
}
.sidebar-footer-fade::after {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  -webkit-mask-image: linear-gradient(to top, black 18%, transparent 75%);
  mask-image: linear-gradient(to top, black 18%, transparent 75%);
}

.sidebar-account {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 34px;
  border-radius: 50%;
  transition: background-color var(--hover), transform var(--hover);
}
.sidebar-account .profile-avatar { width: 32px; height: 32px; }
.sidebar-account:hover,
.sidebar-account.active { background: var(--bubble-agent); }

.extensions {
  flex: 1;
  min-width: 0;
  height: 34px;
  border-radius: var(--radius-pill);
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
  font-size: var(--text-body);
  font-weight: 500;
  border: 1px solid var(--chrome-stroke);
  transition: background-color var(--hover), transform var(--hover);
}
.extensions:hover { background: rgba(var(--text-rgb), 0.05); }
.extensions:active,
.sidebar-account:active { transform: scale(.97); }
.extensions-logos { display: flex; flex: none; }
.extensions-logos img { width: 14px; height: 16px; padding: 1px; background: #fff; border-radius: 3px; object-fit: contain; }
.extensions-logos > * + * { margin-left: -3px; }

/* An available release: one filled circle that stands out from the quiet chrome around it. */
.update-badge {
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--on-accent);
  background: var(--accent-fill);
  animation: update-badge-in var(--layout) both;
  transition: opacity var(--hover), transform var(--hover);
}
.update-badge:hover:not(:disabled) { opacity: .85; }
.update-badge:active:not(:disabled) { transform: scale(.94); }
.update-badge .spinner circle { stroke: currentColor; }
@keyframes update-badge-in { from { opacity: 0; transform: scale(.6); } }

@media (prefers-reduced-motion: reduce) {
  .extensions:active, .sidebar-account:active, .update-badge:active:not(:disabled) { transform: none; }
  .update-badge { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .sidebar-footer-fade { background: var(--surface); inset: 0; }
  .sidebar-footer-fade::before, .sidebar-footer-fade::after { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* This computer and the signed-in account differ: a notice of its own above the buttons, shown in full. */
.sidebar-account-notice {
  order: -1;
  flex-basis: 100%;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  text-align: left;
  color: var(--text);
  border-radius: var(--radius-s);
  background: color-mix(in srgb, var(--attention) 24%, transparent);
  transition: background-color var(--hover);
}
.sidebar-account-notice > :first-child, .sidebar-account-notice > :last-child { margin-top: 2px; flex-shrink: 0; }
.sidebar-account-notice:hover,
.rail-account-notice.icon-button:hover { background: color-mix(in srgb, var(--attention) 32%, transparent); }
/* The narrow rail has no room for the text: the same notice as a tinted icon, its text in the tooltip. */
.rail-account-notice.icon-button { color: var(--attention); background: color-mix(in srgb, var(--attention) 24%, transparent); }