Files
openidea/src/features/code-insight/ProblemsView.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 <55754540+Mr0Bread@users.noreply.github.com>
2026-11-15 23:59:47 +08:00

104 lines
1.5 KiB
CSS

.view {
height: 100%;
display: flex;
flex-direction: column;
min-height: 0;
}
.body {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
}
.body > * {
flex: 1;
min-height: 0;
}
.tabs {
min-width: 0;
border: 0;
background: none;
}
.tabFile {
margin-left: 4px;
color: var(--fg-muted);
}
.tabCount {
color: var(--fg-muted);
}
.row {
display: flex;
align-items: center;
gap: var(--space-1-5);
min-width: 0;
flex: 1;
white-space: nowrap;
}
.fileIcon {
flex: none;
color: var(--fg-muted);
}
.fileName {
color: var(--fg-strong);
}
.fileError {
text-decoration-line: underline;
text-decoration-style: wavy;
text-decoration-color: var(--danger);
text-decoration-skip-ink: none;
text-underline-offset: 3px;
}
.selectedText {
color: var(--fg-strong);
}
.muted {
flex: none;
color: var(--fg-subtle);
}
.count {
color: var(--fg-subtle);
margin-left: 4px;
}
.source {
flex: none;
margin-left: auto;
padding-right: 8px;
color: var(--fg-faint);
}
.message {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
color: var(--fg);
}
.deprecated {
text-decoration: line-through;
}
.position {
flex: none;
color: var(--fg-subtle);
}
.sev-error {
flex: none;
color: var(--danger);
}
.sev-warning {
flex: none;
color: var(--warning);
}
.sev-info,
.sev-hint {
flex: none;
color: var(--info);
}
.panel {
display: flex;
flex-direction: column;
min-width: 0;
min-height: 0;
}
.panel > * {
flex: 1;
min-height: 0;
}