Файли
openidea/src/features/vcs/MergeRebaseWidget.module.css
T
Chris Schofield efd4e454ee feat(appearance): make Compact Mode match IntelliJ's compact density (#4593)
Compact Mode only lowered the title bar and narrowed the stripes: row heights, toolbar widgets and icons were fixed in code, and nothing in JS (where virtualised list row heights are set) could tell whether the mode was on. A small density store now mirrors the setting for JS, and Compact Mode uses IntelliJ's *.compact theme values: tree/list rows 22 (VCS log 24), toolbar widgets 26, toolbar and stripe icons 16, status bar 24, island gap 4, and chrome text 1px smaller.

Co-authored-by: ChildishForces <[email protected]>
2026-11-20 03:26:32 +08:00

30 рядки
528 B
CSS

.widget {
display: inline-flex;
align-items: center;
gap: var(--space-1-5);
}
.go,
.abort {
--icon-color: var(--fg-on-accent);
display: inline-flex;
align-items: center;
justify-content: center;
width: var(--titlebar-tool-button);
height: var(--titlebar-tool-button);
padding: 0;
border: 0;
border-radius: var(--radius-toolbar-button);
cursor: pointer;
}
.go {
background: var(--success);
}
.abort {
background: var(--danger);
}
.go:disabled,
.abort:disabled {
opacity: 0.5;
cursor: default;
}