Файли
openidea/src/features/debugger/js/Overrides.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

136 рядки
1.9 KiB
CSS

.root {
display: flex;
height: 420px;
min-height: 0;
font-size: var(--fs-ui);
}
.side {
flex: 0 0 240px;
display: flex;
flex-direction: column;
min-width: 0;
border-right: 1px solid var(--border-popup);
}
.sideHead {
display: flex;
align-items: center;
justify-content: space-between;
padding: 6px 8px 4px 12px;
}
.sideTitle {
font-size: var(--fs-small);
font-weight: 600;
color: var(--fg-muted);
}
.list {
list-style: none;
margin: 0;
padding: 0;
overflow: auto;
}
.item {
display: flex;
align-items: center;
gap: var(--space-1-5);
min-height: 24px;
padding: 0 8px 0 12px;
}
.item:hover {
background: var(--bg-hover);
}
.itemOn,
.itemOn:hover {
background: var(--bg-list-selected);
}
.itemName {
flex: 1;
min-width: 0;
border: 0;
padding: 0;
background: transparent;
color: inherit;
font-family: var(--font-mono);
font-size: var(--fs-small);
text-align: left;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
cursor: default;
}
.itemStatus {
color: var(--fg-subtle);
font-size: var(--fs-small);
}
.editor {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: var(--space-2);
padding: 10px 12px;
}
.row {
display: flex;
gap: 10px;
}
.field {
display: flex;
flex-direction: column;
gap: 3px;
min-height: 0;
}
.grow {
flex: 1;
}
.label {
font-size: var(--fs-small);
color: var(--fg-muted);
}
.body {
flex: 1;
min-height: 120px;
resize: none;
border: 1px solid var(--border);
border-radius: 4px;
padding: 6px 8px;
background: transparent;
color: inherit;
font-family: var(--font-mono);
font-size: var(--fs-small);
outline: none;
}
.body:focus {
border-color: var(--border-popup);
}
.warning {
color: var(--danger);
font-size: var(--fs-small);
}
.actions {
display: flex;
gap: var(--space-2);
}
.note {
padding: 8px 12px;
color: var(--fg-subtle);
}