дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-27 21:12:34 +02:00
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]>
48 рядки
848 B
CSS
48 рядки
848 B
CSS
/* Find bar (⌘F) of the Run and Debug consoles. */
|
|
.container {
|
|
container: console-find / inline-size;
|
|
flex: none;
|
|
min-width: 0;
|
|
}
|
|
.find {
|
|
flex: none;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-1);
|
|
padding: 4px 8px;
|
|
background: var(--bg-elev);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
.findField {
|
|
flex: 0 1 360px;
|
|
min-width: 160px;
|
|
}
|
|
.findCount {
|
|
font-family: var(--font-mono);
|
|
font-size: var(--fs-small);
|
|
color: var(--fg-subtle);
|
|
padding: 0 6px;
|
|
white-space: nowrap;
|
|
min-width: 56px;
|
|
}
|
|
.findCountNone {
|
|
color: var(--danger);
|
|
}
|
|
.findSpacer {
|
|
flex: 1;
|
|
}
|
|
|
|
@container console-find (max-width: 360px) {
|
|
.find {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) repeat(3, 20px);
|
|
}
|
|
.findField {
|
|
grid-column: 1 / -1;
|
|
min-width: 0;
|
|
}
|
|
.findSpacer {
|
|
display: none;
|
|
}
|
|
}
|