дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-04 17:21:13 +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]>
112 рядки
2.0 KiB
CSS
112 рядки
2.0 KiB
CSS
/* ProjectWidget popup: 24px action rows, two-line project rows, grey section headers. */
|
|
.popup {
|
|
padding: 6px 0;
|
|
min-width: 320px;
|
|
max-width: min(640px, calc(100vw - 24px));
|
|
}
|
|
.inner {
|
|
display: flex;
|
|
flex-direction: column;
|
|
outline: none;
|
|
}
|
|
.inner:focus-visible {
|
|
outline: none;
|
|
}
|
|
.search {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-1-5);
|
|
height: var(--h-list-row);
|
|
margin: 0 6px 4px;
|
|
padding: 0 8px;
|
|
border-radius: var(--radius-selection, 5px);
|
|
background: var(--bg-field, var(--bg-button));
|
|
box-shadow: inset 0 0 0 1px var(--focus-ring);
|
|
color: var(--fg-strong);
|
|
--icon-color: var(--fg-muted);
|
|
}
|
|
.group {
|
|
display: contents;
|
|
}
|
|
.row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
min-height: var(--h-list-row);
|
|
margin: 0 6px;
|
|
padding: 0 8px;
|
|
border-radius: var(--radius-selection, 5px);
|
|
color: var(--fg-strong);
|
|
white-space: nowrap;
|
|
cursor: default;
|
|
}
|
|
.projectRow {
|
|
gap: 10px;
|
|
padding: 6px 8px;
|
|
}
|
|
.active {
|
|
background: var(--bg-tree-selected);
|
|
}
|
|
.actionIcon {
|
|
flex: none;
|
|
color: var(--fg-muted);
|
|
}
|
|
.label {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.separator {
|
|
height: 1px;
|
|
margin: 5px 12px;
|
|
background: var(--border);
|
|
}
|
|
.header {
|
|
padding: 4px 16px 2px;
|
|
color: var(--fg-muted);
|
|
font-size: var(--fs-small);
|
|
font-weight: 600;
|
|
}
|
|
.badge {
|
|
align-self: flex-start;
|
|
margin-top: 1px;
|
|
}
|
|
.text {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-0-5);
|
|
}
|
|
.top {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
}
|
|
.name {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.branch {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
font-size: var(--fs-small);
|
|
color: var(--fg-subtle);
|
|
}
|
|
.path {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
color: var(--fg-subtle);
|
|
font-size: var(--fs-small);
|
|
}
|
|
.empty {
|
|
padding: 6px 16px;
|
|
color: var(--fg-faint);
|
|
}
|