mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-24 16:04:21 +00:00
Improve OpenIDEA's Git workflows across commit and staging, branch and remote operations, merge and rebase, Git Log and signing, worktrees, stash and shelf, patch application, and clone settings. Adds a one-click stash for tracked changes across Git roots and lets users open a worktree branch's associated GitHub review from its context menu. Cloning now includes submodules by default (Settings › Version Control › Git, can be turned off). Repository entry points added here run in each repository's execution scope, so they use the project's own git executable.
75 lines
1.8 KiB
CSS
75 lines
1.8 KiB
CSS
.popup {
|
|
--hunk-surface-width: min(720px, var(--hunk-popup-width), calc(100vw - var(--space-4)));
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: max-content;
|
|
overflow: hidden;
|
|
}
|
|
.toolbar {
|
|
flex: none;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
align-self: flex-start;
|
|
max-width: var(--hunk-surface-width);
|
|
gap: var(--space-0-5) var(--space-1);
|
|
padding: var(--space-1) var(--space-2);
|
|
background: var(--bg-popup);
|
|
border: 1px solid var(--border-popup);
|
|
border-radius: var(--radius-small);
|
|
}
|
|
.toolbar:has(+ .preview),
|
|
.toolbar:has(+ .versions) {
|
|
border-bottom: 0;
|
|
border-end-start-radius: 0;
|
|
border-end-end-radius: 0;
|
|
}
|
|
.versions {
|
|
max-width: var(--hunk-surface-width);
|
|
max-height: 280px;
|
|
overflow: auto;
|
|
border: 1px solid var(--border-popup);
|
|
border-radius: 0 var(--radius-small) var(--radius-small) var(--radius-small);
|
|
}
|
|
.versionLabel {
|
|
padding: var(--space-1) var(--space-2);
|
|
background: var(--bg-popup);
|
|
color: var(--fg-secondary);
|
|
font-size: var(--fs-small);
|
|
}
|
|
.versions .preview {
|
|
border: 0;
|
|
border-radius: 0;
|
|
}
|
|
.title {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--space-2);
|
|
min-width: 0;
|
|
padding-inline: var(--space-1);
|
|
color: var(--fg-subtle);
|
|
font-size: var(--fs-small);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.counter {
|
|
color: var(--fg-faint);
|
|
}
|
|
.preview {
|
|
max-width: var(--hunk-surface-width);
|
|
min-height: 0;
|
|
max-height: 280px;
|
|
margin: 0;
|
|
padding: var(--space-1) var(--space-2) var(--space-1) 0;
|
|
overflow: auto;
|
|
overscroll-behavior: contain;
|
|
white-space: pre;
|
|
color: var(--fg);
|
|
background: color-mix(in srgb, var(--gutter-deleted) 12%, var(--bg-editor));
|
|
border: 1px solid var(--border-popup);
|
|
border-radius: 0 var(--radius-small) var(--radius-small) var(--radius-small);
|
|
}
|
|
.preview:focus-visible {
|
|
outline: 2px solid var(--focus-ring);
|
|
outline-offset: -2px;
|
|
}
|