дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-21 09:00:49 +02:00
In a remote window, choosePath (Project Structure libraries, SDK homes, interpreters and the other settings that pick a file or folder) opened the desktop's own dialog, so it showed this machine's files while the path is used on the remote host. It now opens an in-app chooser that lists the host's folders through fs_read_dir: a click selects, a double click or Enter opens a folder or chooses the file, the arrow goes to the parent folder, and the path can be typed.
86 рядки
1.5 KiB
CSS
86 рядки
1.5 KiB
CSS
.form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-2);
|
|
padding: 14px;
|
|
}
|
|
.label {
|
|
color: var(--fg-secondary);
|
|
font-size: var(--fs-small);
|
|
}
|
|
.error {
|
|
color: var(--danger);
|
|
font-size: var(--fs-small);
|
|
}
|
|
.hint {
|
|
color: var(--fg-subtle);
|
|
font-size: var(--fs-small);
|
|
line-height: 1.5;
|
|
}
|
|
.list {
|
|
height: 200px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-control, 4px);
|
|
}
|
|
.row,
|
|
.activeRow {
|
|
padding: 0 8px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.activeRow {
|
|
color: var(--fg-strong);
|
|
}
|
|
.area {
|
|
resize: vertical;
|
|
min-height: 60px;
|
|
max-height: 240px;
|
|
padding: 4px 8px;
|
|
border: 0;
|
|
border-radius: var(--radius-control, 4px);
|
|
background: var(--bg-field, var(--bg-button));
|
|
box-shadow: inset 0 0 0 1px var(--border-button);
|
|
color: var(--fg-strong);
|
|
font-family: inherit;
|
|
font-size: var(--fs-ui);
|
|
line-height: 20px;
|
|
outline: none;
|
|
}
|
|
.area:focus {
|
|
box-shadow:
|
|
inset 0 0 0 1px var(--focus-ring),
|
|
0 0 0 1px var(--focus-ring);
|
|
}
|
|
.area[aria-invalid="true"] {
|
|
box-shadow:
|
|
inset 0 0 0 1px var(--danger),
|
|
0 0 0 1px var(--danger);
|
|
}
|
|
.area::placeholder {
|
|
color: var(--fg-faint);
|
|
}
|
|
.pathRow {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-1);
|
|
}
|
|
.pathInput {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
.pathList {
|
|
height: 280px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-control, 4px);
|
|
}
|
|
.entryName {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.entry {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-1);
|
|
}
|