mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-24 08:03:19 +00:00
Move the add, remove, reorder, transfer, and restore controls into a compact toolbar above the lists. Keep the left and right groups side by side when there is room, and stack them in narrow windows so the labels have more space. The add picker opens directly below its command.
82 lines
1.4 KiB
CSS
82 lines
1.4 KiB
CSS
.body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-3);
|
|
padding: var(--space-3) var(--space-4);
|
|
}
|
|
.toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: var(--space-0-5);
|
|
}
|
|
.sides {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
|
|
gap: var(--space-3);
|
|
}
|
|
.side {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-1);
|
|
min-width: 0;
|
|
}
|
|
.heading {
|
|
margin: 0;
|
|
color: var(--fg);
|
|
font-size: var(--fs-ui);
|
|
font-weight: 600;
|
|
}
|
|
.list {
|
|
height: 200px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-control);
|
|
}
|
|
@media (max-width: 510px) {
|
|
.list {
|
|
height: 124px;
|
|
}
|
|
}
|
|
.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);
|
|
}
|
|
.picker {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-1-5);
|
|
}
|
|
.pickerList {
|
|
height: 180px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-control);
|
|
}
|