mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-19 00:10:00 +00: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 <55754540+Mr0Bread@users.noreply.github.com>
76 lines
1.2 KiB
CSS
76 lines
1.2 KiB
CSS
.body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
padding: 14px;
|
|
}
|
|
.sides {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: var(--space-3);
|
|
}
|
|
.side {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-1);
|
|
min-width: 0;
|
|
}
|
|
.heading {
|
|
margin: 0;
|
|
color: var(--fg-secondary);
|
|
font-size: var(--fs-small);
|
|
font-weight: 600;
|
|
}
|
|
.list {
|
|
height: 200px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-control);
|
|
}
|
|
.row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-1-5);
|
|
min-width: 0;
|
|
flex: 1;
|
|
padding: 0 6px;
|
|
}
|
|
.activeRow .rowLabel {
|
|
color: var(--fg-strong);
|
|
}
|
|
.rowIcon {
|
|
flex: none;
|
|
color: var(--fg-muted);
|
|
}
|
|
.rowLabel {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.rowDetail {
|
|
margin-left: auto;
|
|
color: var(--fg-subtle);
|
|
font-size: var(--fs-small);
|
|
white-space: nowrap;
|
|
}
|
|
.empty {
|
|
padding: 6px 8px;
|
|
color: var(--fg-subtle);
|
|
font-size: var(--fs-small);
|
|
}
|
|
.buttons {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--space-1-5);
|
|
}
|
|
.picker {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-1-5);
|
|
}
|
|
.pickerList {
|
|
height: 180px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-control);
|
|
}
|