Files
openidea/src/features/remote-dev/RemoteDev.module.css
T
l0ng-ai 46883c413c feat(welcome): show Remote Development as a header button (#5021)
Remote Development was hidden in the welcome page's More Actions menu, with the same folder icon as Open; New File used the same plus as New Project. Remote Development is now a header button next to Clone Repository with a new server icon, and New File has a new page-with-plus icon (both icons apply wherever these actions appear). Header buttons no longer cap their width, which cut "Remote Development" to "Remote Develo…"; they collapse to icons below 740px.

The Remote Development dialog's rows ended at different edges because Configure… is wider than Browse. The form is now a two-column grid: fields share the first column and side buttons the second, and its horizontal padding matches the dialog footer, so fields, side buttons and Cancel / Open line up.
2026-11-22 00:51:38 +08:00

88 lines
1.4 KiB
CSS

/* Fields fill the first column; their side buttons share the second, so both rows end at the same edge. */
.form {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: var(--space-1-5) var(--space-2);
align-items: center;
padding: 14px var(--space-4);
}
.form > * {
grid-column: 1 / -1;
}
.hint {
margin: 0 0 6px;
color: var(--fg-muted);
line-height: 1.5;
}
.label {
color: var(--fg);
margin-top: 4px;
}
.row {
display: contents;
}
.row > * {
grid-column: auto;
}
.row > :only-child {
grid-column: 1 / -1;
}
.grow {
min-width: 0;
}
.folders {
list-style: none;
margin: 4px 0 0;
padding: 4px 0;
max-height: 220px;
overflow: auto;
border: 1px solid var(--border);
border-radius: 4px;
}
.folder {
display: flex;
align-items: center;
gap: var(--space-1-5);
width: 100%;
padding: 3px 8px;
border: 0;
background: none;
color: var(--fg);
font: inherit;
text-align: left;
cursor: default;
}
.folder:hover {
background: var(--bg-hover);
}
.error {
color: var(--danger);
white-space: pre-wrap;
overflow-wrap: anywhere;
user-select: text;
}
.progress {
display: flex;
flex-direction: column;
gap: var(--space-1-5);
margin-top: 4px;
}
.progressLine {
display: flex;
align-items: center;
gap: var(--space-1-5);
color: var(--fg-muted);
}
.percent {
margin-left: auto;
font-variant-numeric: tabular-nums;
}
.lost {
display: inline-flex;
align-items: center;
gap: var(--space-1);
}