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.

8.3 KB
Raw Blame
/* The island's open views: the big character, overview, alerts, limits, the empty state,
   messaging a bot and the fold countdown. The shape and its motion live in island.css. */

/* The big character: glow behind, badge on its top left. */
.island-big {
  position: relative;
  flex: none;
  background: none;
}
.island-big canvas {
  position: relative;
}
.island-glow {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
}
.island-badge {
  position: absolute;
  left: -5px;
  top: 3px;
  z-index: 1;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: 0 0 0 2.5px var(--island-shape);
  display: grid;
  place-items: center;
  color: var(--on-accent);
}
.island-badge.orb {
  left: -7px;
  top: 1px;
  width: 22px;
  height: 22px;
  background: var(--island-shape);
  box-shadow: 0 0 0 1.5px rgba(var(--text-rgb), 0.14);
}
.island-badge.dots {
  left: -6px;
  top: 4px;
  width: auto;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--text);
  display: flex;
  align-items: center;
  gap: 2px;
}
.island-badge.dots i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--on-accent);
}
.island-badge.small {
  left: -4px;
  top: -3px;
  width: 9px;
  height: 9px;
  box-shadow: 0 0 0 1.5px var(--island-shape);
}
.island-badge.dots.small {
  width: auto;
  height: 7px;
  padding: 0 2px;
  gap: 1px;
}
.island-badge.dots.small i {
  width: 1.5px;
  height: 1.5px;
}

.island-agent {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  height: 26px;
}
.island-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}
.island-dot.needs-you {
  background: var(--warning);
}
.island-agent-name {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.island-agent-subtitle {
  font-size: 13px;
  color: var(--secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* Overview: the bot in focus and its steps, the others as pills. */
.island-focus {
  width: 322px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 14px 0 19px;
  text-align: left;
  font: inherit;
}
/* No other bots beside it: it takes the whole row. */
.island-focus.alone {
  width: auto;
  flex: 1;
}
.island-focus-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.island-step {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--tertiary);
  min-width: 0;
}
.island-step.current {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.island-pills {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-content: center;
  padding: 0 8px;
}
.island-pill {
  height: 34px;
  border-radius: 17px;
  padding: 0 10px 0 5px;
  display: flex;
  align-items: center;
  gap: 7px;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  min-width: 0;
  transition: filter var(--hover);
}
.island-pill:hover {
  filter: brightness(1.25);
}
.island-pill-bot,
.island-mini {
  position: relative;
  flex: none;
  background: none;
}
.island-status-dot {
  position: absolute;
  left: -1px;
  top: -1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px var(--island-shape);
}
.island-cluster .island-status-dot {
  width: 4px;
  height: 4px;
  left: -2px;
  top: -2px;
}

/* Alerts: approval, done, failed. */
.island-alert {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 20px 0 24px;
}
.island-alert-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.island-alert .island-agent-name {
  font-size: 15px;
}
.island-alert .island-agent-subtitle {
  font-size: 14px;
}
.island-code {
  align-self: flex-start;
  max-width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--island-raised);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.island-title {
  font-size: 17px;
  font-weight: 700;
}
.island-error {
  font-size: 13px;
  line-height: 1.4;
  color: var(--danger);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.island-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.island .styled-button {
  height: 32px;
  border-radius: 16px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 500;
  gap: 8px;
}
.island-key {
  min-width: 16px;
  height: 16px;
  box-sizing: border-box;
  padding: 0 3px;
  border-radius: 5px;
  border: 1.5px solid;
  opacity: 0.55;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.island-minis {
  width: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 4px;
}

/* Codync's own: the plan limits. */
.island-meter {
  height: 30px;
  padding: 0 6px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--secondary);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  transition: background-color var(--hover), color var(--hover);
}
.island-meter:hover {
  background: var(--island-fill);
  color: var(--text);
}
.island-mascot {
  flex: none;
}
.island-meter-bar {
  width: 28px;
  display: flex;
}
.island-usage {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
}
.island-usage-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  white-space: nowrap;
}
.island-usage-title {
  width: 56px;
  flex: none;
  overflow: hidden;
  text-overflow: ellipsis;
}
.island-usage-value {
  /* Grows past this for longer translations (de, fr); the bar gives way. */
  min-width: 64px;
  flex: none;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.island-usage-note {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}
.island-usage-reset {
  width: 76px;
  flex: none;
  text-align: right;
  color: var(--secondary);
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Nothing running. */
.island-empty {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 22px 0 29px;
}
.island-empty-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.island-empty .island-title {
  font-size: 16px;
}
.island-subtitle {
  font-size: 13px;
  line-height: 1.35;
  color: var(--secondary);
}

/* Message a bot. */
.island-message {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 18px 0 20px;
}
.island-message-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.island-chip {
  height: 26px;
  border-radius: 13px;
  padding: 0 9px 0 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  flex: none;
}
.island-field {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  border-radius: 20px;
  background: var(--island-raised);
  padding: 0 5px 0 16px;
  margin: 0;
}
.island-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  user-select: text;
}
.island-field input::placeholder {
  color: var(--island-quiet);
}
.island-send {
  width: 30px;
  height: 30px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--text);
  color: var(--on-accent);
}
.island-send:disabled {
  opacity: 0.35;
}
.island-mic {
  width: 30px;
  height: 30px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  flex: none;
  background: rgba(var(--text-rgb), 0.08);
  color: var(--secondary);
  transition: background-color var(--morph), color var(--morph);
}
.island-mic:hover {
  color: var(--text);
}
/* How to talk from any app, until the voice input shortcut is first used. */
.island-hint {
  padding-left: 16px;
  font-size: 12px;
  color: var(--island-quiet);
}

/* Folding soon: a line that runs out. */
.island-countdown {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  border-radius: 1px;
  background: rgba(var(--text-rgb), 0.35);
  animation: island-countdown linear forwards;
}
@keyframes island-countdown {
  from {
    width: 160px;
  }
  to {
    width: 0;
  }
}