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.9 KB
Raw Blame
.dialog {
  --rp-bg-chrome: var(--bg-frame, var(--bg-app));
  max-height: 80vh;
  background: var(--bg-popup, var(--bg-elev));
}
.header {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 12px 0 16px;
  background: var(--rp-bg-chrome);
  border-bottom: 1px solid var(--border-popup);
  color: var(--fg);
}
.title {
  flex: none;
  color: var(--fg-strong);
  font-weight: 600;
}
.speed {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 6px;
  border-radius: var(--radius-small);
}
.speed .filterIcon {
  visibility: hidden;
}
.speed .filter {
  caret-color: transparent;
}
.speedActive,
.speedWide {
  background: var(--bg-input);
  box-shadow: inset 0 0 0 1px var(--border);
}
.speedActive .filterIcon,
.speedWide .filterIcon {
  visibility: visible;
}
.speedActive .filter,
.speedWide .filter {
  caret-color: var(--fg-strong);
}
.filterIcon {
  flex: none;
  color: var(--fg-subtle);
}
.filter {
  flex: 1;
  min-width: 0;
  height: 100%;
  background: none;
  border: 0;
  outline: none;
  color: var(--fg-strong);
  font: inherit;
}
.filter::placeholder {
  color: var(--fg-faint);
}
.hint {
  margin-left: 4px;
  color: var(--fg-subtle);
  font-family: var(--font-keys);
}
.columns {
  display: flex;
  height: 440px;
  min-height: 0;
  outline: none;
}
.tools {
  flex: none;
  width: 230px;
  display: flex;
  flex-direction: column;
  padding: 6px 0 4px;
  border-right: 1px solid var(--border-popup);
}
.files {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 6px 0;
}
.tools > [role="listbox"],
.files > *,
.locations > * {
  flex: 1;
}
.locationsLink {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  margin: 2px 10px 0;
  padding: 0 4px;
  border: 0;
  border-top: 1px solid var(--border-popup);
  background: none;
  color: var(--fg);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.locationsLink:hover {
  color: var(--fg-strong);
}
.locationsLink:focus-visible {
  outline: 2px solid var(--focus-ring, var(--accent));
}
.icon {
  flex: none;
  color: var(--fg-muted);
}
.name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--fg-strong);
}
.current {
  font-style: italic;
}
.dir {
  flex: none;
  max-width: 50%;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--fg-subtle);
}
.shortcut {
  flex: none;
  color: var(--fg-subtle);
  font-family: var(--font-keys);
}
.locations {
  display: flex;
  height: 440px;
  min-height: 0;
  padding: 4px 0;
}
.location {
  flex: 1;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  border-bottom: 1px solid var(--border-popup);
}
.locationHeader {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 20px;
}
.locationName {
  flex: none;
}
.changed {
  margin-left: auto;
  color: var(--vcs-modified);
  font-size: var(--fs-small);
}
.snippet {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  line-height: 16px;
  color: var(--fg-muted);
  overflow: hidden;
}
.snippetLine {
  display: flex;
  gap: 10px;
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
}
.caretLine {
  color: var(--fg);
}
.lineNo {
  flex: none;
  width: 36px;
  text-align: right;
  color: var(--fg-gutter);
}
.footer {
  flex: none;
  display: flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  background: var(--rp-bg-chrome);
  border-top: 1px solid var(--border-popup);
  color: var(--fg-subtle);
  white-space: nowrap;
  overflow: hidden;
}
.footerPath {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  direction: rtl;
  text-align: left;
}
.time {
  flex: none;
  margin-left: auto;
  padding-right: 8px;
  color: var(--fg-subtle);
  font-size: var(--fs-small);
}
.changed ~ .time {
  margin-left: 0;
}
.code {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}