дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-25 10:54:44 +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]>
49 рядки
1015 B
CSS
49 рядки
1015 B
CSS
/* The review group in the editor's top-right row, styled like the inspection widget. */
|
|
.toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1px;
|
|
padding: 1px;
|
|
border-radius: var(--radius-small);
|
|
background-color: var(--bg-editor, var(--bg-island, var(--bg-app)));
|
|
font-family: var(--font-ui);
|
|
font-size: var(--fs-ui);
|
|
color: var(--fg-muted);
|
|
user-select: none;
|
|
}
|
|
|
|
.button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: var(--space-1);
|
|
height: 22px;
|
|
min-width: 22px;
|
|
padding: 0 3px;
|
|
border: none;
|
|
border-radius: var(--radius-small);
|
|
background: none;
|
|
color: inherit;
|
|
font: inherit;
|
|
}
|
|
|
|
/* "Review Mode" with its text: the toolbar's small font. */
|
|
.text {
|
|
padding: 0 5px;
|
|
font-size: var(--fs-small, var(--fs-ui));
|
|
}
|
|
|
|
.button:hover,
|
|
.button[aria-expanded="true"] {
|
|
background-color: var(--bg-toolbar-hover);
|
|
}
|
|
|
|
.button:focus-visible {
|
|
outline: 1px solid var(--focus-ring);
|
|
outline-offset: -1px;
|
|
}
|
|
|
|
.warning {
|
|
color: var(--warning);
|
|
}
|