дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-04 01:01:17 +02:00
The title bar project popup listed recent projects flat even when the Welcome screen sorted them into groups, so similarly named projects were easy to mix up. Its Recent Projects section now lists each group's name above its projects (whether the group is collapsed on the Welcome screen or not), then the ungrouped projects after a separator; a search stays a flat list of matches.
126 рядки
2.3 KiB
CSS
126 рядки
2.3 KiB
CSS
/* ProjectWidget popup: 24px action rows, two-line project rows, grey section headers. */
|
|
.popup {
|
|
padding: 6px 0;
|
|
min-width: 320px;
|
|
max-width: min(640px, calc(100vw - 24px));
|
|
}
|
|
.inner {
|
|
display: flex;
|
|
flex-direction: column;
|
|
outline: none;
|
|
}
|
|
.inner:focus-visible {
|
|
outline: none;
|
|
}
|
|
.search {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-1-5);
|
|
height: var(--h-list-row);
|
|
margin: 0 6px 4px;
|
|
padding: 0 8px;
|
|
border-radius: var(--radius-selection, 5px);
|
|
background: var(--bg-field, var(--bg-button));
|
|
box-shadow: inset 0 0 0 1px var(--focus-ring);
|
|
color: var(--fg-strong);
|
|
--icon-color: var(--fg-muted);
|
|
}
|
|
.group {
|
|
display: contents;
|
|
}
|
|
.row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
min-height: var(--h-list-row);
|
|
margin: 0 6px;
|
|
padding: 0 8px;
|
|
border-radius: var(--radius-selection, 5px);
|
|
color: var(--fg-strong);
|
|
white-space: nowrap;
|
|
cursor: default;
|
|
}
|
|
.projectRow {
|
|
gap: 10px;
|
|
padding: 6px 8px;
|
|
}
|
|
.active {
|
|
background: var(--bg-tree-selected);
|
|
}
|
|
.actionIcon {
|
|
flex: none;
|
|
color: var(--fg-muted);
|
|
}
|
|
.label {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.separator {
|
|
height: 1px;
|
|
margin: 5px 12px;
|
|
background: var(--border);
|
|
}
|
|
.header {
|
|
padding: 4px 16px 2px;
|
|
color: var(--fg-muted);
|
|
font-size: var(--fs-small);
|
|
font-weight: 600;
|
|
}
|
|
.groupHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-1-5);
|
|
padding: 6px 16px 2px;
|
|
color: var(--fg);
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
--icon-color: var(--fg-muted);
|
|
}
|
|
.badge {
|
|
align-self: flex-start;
|
|
margin-top: 1px;
|
|
}
|
|
.text {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-0-5);
|
|
}
|
|
.top {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
}
|
|
.name {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
/* A recent project whose folder is gone. */
|
|
.name.unavailable {
|
|
color: var(--fg-subtle);
|
|
}
|
|
.branch {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
font-size: var(--fs-small);
|
|
color: var(--fg-subtle);
|
|
}
|
|
.path {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
color: var(--fg-subtle);
|
|
font-size: var(--fs-small);
|
|
}
|
|
.empty {
|
|
padding: 6px 16px;
|
|
color: var(--fg-faint);
|
|
}
|