mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-08 08:52:12 +00:00
Only the repository containing the project root was known, so nested clones and submodules (or a folder of side-by-side service repositories) showed no changes and could not be committed or pushed. The project now has IDEA's VCS roots: the enclosing repository plus those found below the project (scanned in the background, rescanned when a .git appears or goes). Status covers all of them; path-based commands go to the file's repository and repository-scoped ones take the selected repository. The Commit view groups changes by repository and commits each one with included changes; the branch widget names the selected repository and switches between them; Update Project and Fetch run in every repository; Push lists every repository with outgoing commits; a repository that stops in a merge or rebase is selected so Continue / Abort act on it. Closes #12
170 lines
2.8 KiB
CSS
170 lines
2.8 KiB
CSS
.widget {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
max-width: 280px;
|
|
height: 30px;
|
|
border-radius: 6px;
|
|
}
|
|
.icon {
|
|
flex: none;
|
|
color: var(--fg-muted);
|
|
}
|
|
.chevron {
|
|
flex: none;
|
|
color: var(--fg-subtle);
|
|
}
|
|
.name {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.repo {
|
|
flex: none;
|
|
max-width: 120px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
color: var(--fg-muted);
|
|
}
|
|
.repo::after {
|
|
content: " /";
|
|
color: var(--fg-subtle);
|
|
}
|
|
.repos {
|
|
flex: none;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
padding: 6px 8px;
|
|
border-bottom: 1px solid var(--border-popup);
|
|
}
|
|
.repoButton {
|
|
max-width: 160px;
|
|
height: 22px;
|
|
padding: 0 8px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
border: none;
|
|
border-radius: var(--radius-small);
|
|
background: transparent;
|
|
color: var(--fg-secondary);
|
|
font: inherit;
|
|
font-size: var(--fs-small);
|
|
cursor: pointer;
|
|
}
|
|
.repoButton:hover {
|
|
background: var(--bg-hover);
|
|
}
|
|
.repoSelected,
|
|
.repoSelected:hover {
|
|
background: var(--bg-selected);
|
|
color: var(--fg);
|
|
}
|
|
.operation {
|
|
color: var(--warning);
|
|
font-size: var(--fs-tiny);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
.sync {
|
|
flex: none;
|
|
}
|
|
.popup {
|
|
width: 380px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
.search {
|
|
flex: none;
|
|
padding: 6px 6px 6px 4px;
|
|
border-bottom: 1px solid var(--border-popup);
|
|
}
|
|
.listWrap {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
padding: 4px 0;
|
|
box-sizing: content-box;
|
|
}
|
|
.list {
|
|
flex: 1;
|
|
}
|
|
.section {
|
|
padding: 0 10px;
|
|
color: var(--fg-subtle);
|
|
font-size: var(--fs-small);
|
|
}
|
|
.empty {
|
|
color: var(--fg-faint);
|
|
}
|
|
.row {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
.rowIcon {
|
|
flex: none;
|
|
color: var(--fg-subtle);
|
|
}
|
|
.currentIcon {
|
|
color: var(--accent);
|
|
}
|
|
.label {
|
|
flex: 0 1 auto;
|
|
min-width: 40px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.branchName {
|
|
font-family: var(--font-mono);
|
|
font-size: var(--fs-small);
|
|
}
|
|
.current {
|
|
color: var(--fg-strong);
|
|
}
|
|
.tag {
|
|
flex: none;
|
|
padding: 0 5px;
|
|
border-radius: var(--radius-small);
|
|
background: var(--accent-soft);
|
|
color: var(--accent);
|
|
font-size: var(--fs-tiny);
|
|
line-height: 15px;
|
|
}
|
|
.syncSmall {
|
|
flex: none;
|
|
color: var(--fg-muted);
|
|
font-family: var(--font-mono);
|
|
font-size: var(--fs-tiny);
|
|
}
|
|
.upstream {
|
|
flex: 0 4 auto;
|
|
margin-left: auto;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
color: var(--fg-faint);
|
|
font-family: var(--font-mono);
|
|
font-size: var(--fs-tiny);
|
|
}
|
|
.keys {
|
|
margin-left: auto;
|
|
color: var(--fg-subtle);
|
|
font-family: var(--font-keys);
|
|
font-size: var(--fs-small);
|
|
}
|
|
.chevron {
|
|
flex: none;
|
|
margin-left: auto;
|
|
color: var(--fg-faint);
|
|
}
|
|
.upstream + .chevron {
|
|
margin-left: 0;
|
|
}
|
|
.menuPopup {
|
|
padding: 4px 0;
|
|
}
|