Файли
openidea/src/workbench/EditorArea.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

52 рядки
884 B
CSS

.area {
flex: 1;
background: var(--bg-island);
display: flex;
flex-direction: column;
min-width: 0;
min-height: 0;
outline: none;
position: relative;
}
.empty {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
overflow: hidden;
}
.hints {
display: grid;
grid-template-columns: auto auto;
column-gap: var(--space-4);
row-gap: var(--space-2);
margin: 0;
color: var(--fg-muted);
}
.hint {
display: contents;
}
.hint dt {
text-align: right;
}
.hint:last-child dt {
grid-column: 1 / -1;
text-align: center;
margin-top: 6px;
color: var(--fg-faint);
}
.hintButton {
color: inherit;
border-radius: var(--radius-small);
transition: color var(--dur-fast) var(--ease);
}
.hintButton:hover {
color: var(--fg-secondary);
}
.keys {
margin: 0;
font-family: var(--font-keys);
color: var(--link);
}