Skip to content

The IDE you know, rebuilt in Rust. IntelliJ IDEA–style keymap, tool windows and search-everywhere in a fast native app: editor, code insight, debugger, Git, terminal, database and HTTP clients for 60+ languages.

1.9 KB
Raw Blame
.home {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 24px 12vh;
  background: var(--bg-editor);
  color: var(--fg);
}
.inner {
  /* The same width as a running session's composer and conversation. */
  width: min(var(--agent-conversation-width), 100%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.heading {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  color: var(--fg-strong);
  text-wrap: balance;
}

/* Under the box: the project and where the agent works. */
.where {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  padding: 0 2px;
  font-size: var(--fs-small);
}
/* The current branch, read-only: same height and colour as the pickers beside it. */
.branch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: var(--h-control);
  padding: 0 6px;
  color: var(--fg-secondary);
}
.project {
  margin-right: 6px;
  color: var(--fg-muted);
}

.note,
.warning {
  margin: 0;
  padding: 0 4px;
  font-size: var(--fs-small);
  color: var(--fg-subtle);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.warning {
  color: var(--danger);
}

.docked {
  justify-content: flex-end;
  padding: 16px 12px 12px;
}
.docked .inner {
  gap: 8px;
}
.docked .where {
  flex-wrap: nowrap;
  min-width: 0;
  gap: 6px;
}
.docked .project,
.docked .projectPicker {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 30%;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.docked .branch,
.docked .basePicker {
  order: 1;
  flex: 1 1 0;
  min-width: 0;
  padding: 0;
}
.docked .isolation {
  order: 2;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 45%;
  margin-left: auto;
}
.branchName {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}