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.

3.2 KB
Raw Blame
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* IDEA titled separator: "Startup ─────────". */
.section {
  min-width: 0;
}
.sectionTitle {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 22px;
  margin-bottom: 4px;
  color: var(--fg-strong);
}
.sectionRule {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.sectionToggle {
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.sectionToggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.sectionBody {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 0 0 12px;
}

/* Label above a full-width control: the details pane is narrow. */
.row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.label {
  color: var(--fg);
}
.label::after {
  content: ":";
}
:lang(fr) .label::after {
  content: "\00a0:";
}
.control {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}
.hint {
  color: var(--fg-subtle);
  font-size: var(--fs-small);
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.note {
  color: var(--fg-subtle);
  font-size: var(--fs-small);
}
.error {
  color: var(--danger);
}
.code {
  font-family: var(--font-mono);
}
.grow {
  flex: 1;
  min-width: 0;
}

.area {
  flex: 1;
  min-width: 0;
  padding: 4px 6px;
  border: 0;
  border-radius: var(--radius-small);
  box-shadow: inset 0 0 0 1px var(--border-strong);
  background: var(--bg-input);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  line-height: 1.45;
  resize: vertical;
}
.area:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--accent);
}
.area::placeholder {
  color: var(--fg-muted);
}
.invalid,
.invalid:focus {
  box-shadow: inset 0 0 0 2px var(--danger);
}

.picker {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 6px;
  min-width: 0;
  height: var(--h-control);
  padding: 0 8px;
  border: 0;
  border-radius: var(--radius-small);
  box-shadow: inset 0 0 0 1px var(--border-strong);
  background: var(--bg-input);
  color: var(--fg);
  font: inherit;
  text-align: left;
}
.picker:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--accent);
}
.pickerText {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.placeholder {
  color: var(--fg-muted);
}
.pickerPopup {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 260px;
  padding: 8px;
}
.pickerList {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 240px;
  overflow: auto;
}

.link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--link);
  font: inherit;
  cursor: pointer;
}
.link:hover {
  color: var(--link-hover);
  text-decoration: underline;
}
.link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.dialogBody {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px 4px;
}
/* Dialogs are wide enough for "Label: [control]". */
.dialogBody .row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
}
.dialogBody .control {
  align-items: center;
}