Файли
openidea/src/features/remote-dev/Ports.module.css
T
Mr0Bread 9a518e734b refactor(styles): put gap on the spacing scale (#3562)
Extends the 4px-grid spacing scale with --space-0-5 (2px), --space-1 (4px) and --space-1-5 (6px) and replaces the literal 2/4/6/8/12/16px gap, row-gap and column-gap values with the tokens; computed values are unchanged. src/styles/spacingScale.test.ts flags an on-scale literal gap.

Co-authored-by: Mr0Bread <[email protected]>
2026-11-15 23:59:47 +08:00

58 рядки
883 B
CSS

.view {
height: 100%;
min-height: 0;
display: flex;
flex-direction: column;
}
.add {
flex: none;
display: flex;
align-items: center;
gap: var(--space-1-5);
padding: 6px 8px;
border-bottom: 1px solid var(--border);
}
.input {
width: 200px;
}
.list {
flex: 1;
min-height: 0;
overflow: auto;
margin: 0;
padding: 4px 0;
list-style: none;
}
.row {
display: flex;
align-items: center;
gap: var(--space-2);
height: 26px;
padding: 0 8px 0 12px;
}
.row:hover {
background: var(--bg-hover);
}
.remote {
min-width: 48px;
font-family: var(--font-mono);
color: var(--fg-strong);
}
.arrow {
color: var(--fg-faint);
}
.local {
font-family: var(--font-mono);
color: var(--fg-muted);
}
.actions {
margin-left: auto;
display: flex;
gap: var(--space-0-5);
opacity: 0;
}
.row:hover .actions,
.row:focus-within .actions {
opacity: 1;
}