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.

4.5 KB
Raw Blame
.spacer {
  flex: 1;
}

.empty {
  padding: 16px;
  color: var(--fg-faint);
  font-size: var(--fs-ui);
  text-align: center;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.label {
  color: var(--fg-muted);
  font-size: var(--fs-small);
}

/* breakpoint popover */
.bpEditor {
  width: 340px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bpTitle {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-emphasis);
  font-weight: 500;
}

.bpFile {
  min-width: 0;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: var(--fs-ui);
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Long file names truncate; the actions keep their width. */
.bpTitle > button {
  flex: none;
  white-space: nowrap;
}

.bpDot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--danger);
  box-sizing: border-box;
}
.bpDot[data-look="off"] {
  background: transparent;
  border: 1.5px solid var(--danger);
}
.bpDot[data-look="unverified"] {
  background: var(--fg-gutter);
}

.bpFooter {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: var(--fs-ui);
  cursor: pointer;
}
.link:hover {
  color: var(--accent-hover);
}

/* breakpoints dialog */
.bpDialog {
  display: flex;
  height: 420px;
  min-height: 0;
}

.bpListPane {
  width: 360px;
  flex: none;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-popup);
  min-height: 0;
}

.bpListHeader {
  height: var(--h-header);
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px 0 12px;
  border-bottom: 1px solid var(--border-popup);
}

.bpList {
  flex: 1;
  min-height: 0;
}

.bpRow,
.chooserRow {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  width: 100%;
  padding: 0 8px;
}

.bpName {
  flex: none;
  font-family: var(--font-mono);
  font-size: var(--fs-ui);
  color: var(--fg-emphasis);
}

.bpDir {
  flex: 1;
  min-width: 0;
  color: var(--fg-subtle);
  font-size: var(--fs-small);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
}

.bpCond {
  flex: none;
  color: var(--syn-keyword);
  font-family: var(--font-mono);
  font-size: var(--fs-tiny);
}

.bpDetail {
  flex: 1;
  min-width: 0;
  overflow: auto;
}

.detail {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.statusLine {
  color: var(--fg-subtle);
  font-size: var(--fs-small);
}

/* evaluate dialog */
.evalBody {
  height: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Grows with the dialog when it is resized. */
.evalResult {
  flex: 1;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-popup);
  border-radius: var(--radius-small);
  padding: 4px 6px;
}

.chooser {
  height: 260px;
}

.exceptions {
  flex: none;
  max-height: 40%;
  overflow: auto;
  border-top: 1px solid var(--border-popup);
  padding: 6px 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.exceptionsTitle {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--fg-muted);
  padding: 2px 0 4px;
}
.exceptionsEmpty {
  font-size: var(--fs-small);
  color: var(--fg-subtle);
}
.exceptionGroup {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.exceptionAdapter {
  font-size: var(--fs-small);
  color: var(--fg-subtle);
  padding-top: 4px;
}
.exceptionRow {
  display: flex;
  align-items: center;
  min-height: 22px;
}

.attachList {
  height: 360px;
  min-height: 0;
}

.attachPid {
  min-width: 48px;
  color: var(--fg-subtle);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* Evaluate: a field that grows with ⇧Enter, like IDEA's expression editor. */
.evalInputRow {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}
.evalInput {
  flex: 1;
  min-width: 0;
  min-height: var(--h-field, 28px);
  padding: 5px 8px;
  resize: none;
  appearance: none;
  border: 0;
  border-radius: var(--radius-control, 4px);
  background: var(--bg-field, var(--bg-button));
  box-shadow: inset 0 0 0 1px var(--border-button);
  color: var(--fg-strong);
  font-family: var(--font-mono);
  font-size: var(--fs-ui);
  line-height: 18px;
  outline: none;
  -webkit-user-select: text;
  user-select: text;
}
.evalInput:focus {
  box-shadow:
    inset 0 0 0 1px var(--focus-ring),
    0 0 0 1px var(--focus-ring);
}
.evalInput::placeholder {
  color: var(--fg-faint);
}