Файли
openidea/src/features/search/find/FindToolWindow.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

101 рядки
1.5 KiB
CSS

.root {
height: 100%;
display: flex;
flex-direction: column;
min-height: 0;
}
.tabs {
min-width: 0;
border: 0;
background: none;
}
.body {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
}
.summary {
flex: none;
display: flex;
align-items: center;
gap: var(--space-2);
height: 26px;
padding: 0 10px;
color: var(--fg-subtle);
font-size: var(--fs-small);
}
.title {
color: var(--fg-secondary);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.count {
flex: none;
color: var(--fg-faint);
}
.spacer {
flex: 1;
}
.tree {
flex: 1;
min-height: 0;
}
.empty {
color: var(--fg-faint);
}
.node {
display: flex;
align-items: center;
gap: var(--space-1-5);
min-width: 0;
}
.icon {
flex: none;
color: var(--fg-muted);
}
.label {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.meta {
flex: none;
color: var(--fg-faint);
font-size: var(--fs-small);
}
.lineNo {
flex: none;
min-width: 28px;
color: var(--fg-gutter);
font-family: var(--font-mono);
font-size: var(--fs-small);
text-align: right;
}
.code {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: pre;
font-family: var(--font-mono);
}
.nodeWrap {
display: contents;
}
.excluded .label,
.excluded .code {
opacity: 0.5;
text-decoration: line-through;
}
.split {
flex: 1;
min-height: 0;
}
.splitPanel {
display: flex;
flex-direction: column;
min-width: 0;
min-height: 0;
}