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.

5.5 KB
Raw Blame
.page {
  display: flex;
  flex-direction: column;
  max-width: 760px;
}

.check {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 6px;
  min-height: 26px;
  padding: 1px 6px;
  margin: 0 -6px;
  border-radius: var(--radius-row);
}
.matched {
  background: color-mix(in srgb, var(--warning) 8%, transparent);
}
.checkHint {
  padding: 0 0 4px 20px;
  color: var(--fg-subtle);
  font-size: var(--fs-small);
  line-height: 1.4;
}
.children {
  display: flex;
  flex-direction: column;
  padding-left: 20px;
}
.inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.inlineLabel::after {
  content: ":";
}
.inlineNumber {
  width: 64px;
}
.inlineText {
  width: 180px;
}
.suffix {
  color: var(--fg);
}
.dim,
.dim .suffix {
  color: var(--fg-subtle);
}
.text {
  width: 240px;
}
.wideText {
  width: 360px;
}
.note {
  color: var(--fg-subtle);
  font-size: var(--fs-small);
  padding: 2px 0 6px;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 24px;
}
.column {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.radioBlock {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  min-height: 28px;
  padding: 2px 6px;
  margin: 0 -6px;
  border-radius: var(--radius-row);
}
.radioLabel {
  white-space: nowrap;
}
.radios {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.radio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: default;
}
.radio input {
  appearance: none;
  flex: none;
  width: 16px;
  height: 16px;
  margin: 0;
  border-radius: 50%;
  background: var(--bg-control);
  box-shadow: inset 0 0 0 1px var(--border-strong);
}
.radio input:checked {
  background: var(--bg-control);
  box-shadow: inset 0 0 0 5px var(--accent);
}
.radio input:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 50%, transparent);
  outline-offset: 1px;
}
.radio input:disabled {
  opacity: 0.5;
}

/* Font page */
.fontFamily {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.fontSelect {
  width: 240px;
  max-width: 100%;
}
.previewTitle {
  margin: 18px 0 6px;
  color: var(--fg-strong);
}
.previewArea {
  font-weight: var(--fw-code);
  width: 100%;
  min-height: 240px;
  resize: vertical;
  box-sizing: border-box;
  padding: 8px 10px;
  border: none;
  border-radius: var(--radius-small);
  box-shadow: inset 0 0 0 1px var(--border-strong);
  background: var(--bg-editor, var(--bg-island));
  color: var(--fg-editor, var(--fg));
  white-space: pre;
  outline: none;
}

/* Color Scheme page */
.schemeRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
/* Landing links of the Color Scheme root page (JetBrains-style sub-page list). */
.schemeLinks {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-top: 4px;
}
.schemeLink {
  border: 0;
  background: none;
  padding: 2px 4px;
  border-radius: var(--radius-small);
  color: var(--accent);
  font: inherit;
  cursor: pointer;
}
.schemeLink:hover {
  background: var(--bg-hover);
  text-decoration: underline;
}
.schemeBody {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(220px, 260px);
  gap: 14px;
  min-height: 320px;
}
.attrTree {
  max-height: 360px;
  overflow: auto;
  border-radius: var(--radius-small);
  box-shadow: inset 0 0 0 1px var(--border-strong);
  padding: 2px 0;
}
.treeLabel {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Overridden attributes and their ancestor groups show in accent, up to the root. */
.attrModified {
  color: var(--accent);
}
.attrPanel {
  box-shadow: inset 0 0 0 1px var(--border-strong);
  border-radius: var(--radius-small);
  padding: 10px;
  align-self: start;
  overflow: auto;
  max-height: 360px;
}
.attrEditor {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.attrRow {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
}
.attrRow > :first-child {
  min-width: 110px;
}
/* Effect style select on its own row, right-aligned with the colour hex fields. */
.effectSelect {
  align-self: flex-end;
  min-width: 0;
  width: 150px;
  margin-top: 8px;
}
.swatchInput {
  flex: 1 1 90px;
  min-width: 90px;
}
.colorBox {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-small);
  box-shadow: inset 0 0 0 1px var(--border-strong);
  overflow: hidden;
}
.colorBox input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
}
.inherited {
  color: var(--fg-subtle);
  font-size: var(--fs-small);
}
.schemePreview {
  margin: 14px 0 0;
  padding: 8px 0;
  border-radius: var(--radius-small);
  box-shadow: inset 0 0 0 1px var(--border-strong);
  background: var(--bg-editor, var(--bg-island));
  color: var(--fg-editor, var(--fg));
  font-family: var(--openidea-editor-font, var(--font-mono));
  font-weight: var(--fw-code);
  font-size: var(--fs-code);
  line-height: var(--lh-code);
  overflow: auto;
  max-height: 260px;
}
.previewLine {
  display: flex;
  white-space: pre;
}
.previewCaretLine {
  background: var(--bg-current-line);
}
.previewGutter {
  flex: none;
  width: 36px;
  padding-right: 10px;
  text-align: right;
  color: var(--fg-line-number, var(--fg-gutter));
  -webkit-user-select: none;
  user-select: none;
}
.previewCaretLine .previewGutter {
  color: var(--fg-line-number-current, var(--fg-muted));
}
.clickable:hover {
  outline: 1px dashed var(--fg-subtle);
  outline-offset: 1px;
}

/* Code Style tables */
.guides {
  width: 160px;
}