Файли
openidea/src/workbench/inputDialogs.module.css
T
l0ng-ai f172023e4e fix(remote): browse the remote host when a setting asks for a path
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.
2026-11-17 14:47:44 +08:00

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);
}