дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-04 17:21:13 +02:00
The title-bar project switcher keeps only Open Projects and Recent Projects, as one flat list ordered by recency, without host or custom group headings. Local and remote projects share one row layout; remote rows keep the avatar badge and show host:path on the path line. Section headings line up with the project badges. The Welcome screen and the standalone Recent Projects popup keep their grouping.
115 рядки
2.1 KiB
CSS
115 рядки
2.1 KiB
CSS
.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 {
|
|
padding: var(--space-1-5) var(--space-2);
|
|
}
|
|
.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: var(--space-1-5) calc(var(--space-1-5) + var(--space-2));
|
|
background: var(--border);
|
|
}
|
|
.header {
|
|
display: flex;
|
|
align-items: center;
|
|
min-height: var(--h-list-row);
|
|
padding: var(--space-0-5) calc(var(--space-1-5) + var(--space-2));
|
|
color: var(--fg-muted);
|
|
font-size: var(--fs-small);
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
}
|
|
.badge {
|
|
align-self: flex-start;
|
|
margin-top: 1px;
|
|
}
|
|
.text {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-0-5);
|
|
}
|
|
.name {
|
|
font-size: var(--fs-ui);
|
|
}
|
|
/* A recent project whose folder is gone. */
|
|
.name.unavailable {
|
|
color: var(--fg-subtle);
|
|
}
|
|
.metadata {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-1);
|
|
}
|
|
.metadata,
|
|
.path {
|
|
color: var(--fg-subtle);
|
|
font-size: var(--fs-small);
|
|
}
|
|
.metadata svg {
|
|
flex: none;
|
|
}
|
|
.name,
|
|
.path,
|
|
.ellipsis {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.empty {
|
|
padding: 6px 16px;
|
|
color: var(--fg-faint);
|
|
}
|