style(ui): flat menu sheets, digests folded with job runs, shorter spend caption

This commit is contained in:
hh
2026-09-02 04:43:04 +02:00
parent 99bcec2ba0
commit 836cd60bd8
4 changed files with 78 additions and 12 deletions
+51
View File
@@ -211,3 +211,54 @@
left: 1.125rem;
}
}
/* Menus and selects: one quiet sheet, rows that stay inside it. Unlayered
on purpose - the generated components carry pill utilities of their own. */
[data-slot="dropdown-menu-content"],
[data-slot="context-menu-content"],
[data-slot="select-content"] {
--tw-ring-shadow: 0 0 #0000;
--tw-ring-offset-shadow: 0 0 #0000;
padding: 0.25rem;
background: var(--popover);
border: 1px solid var(--border);
border-radius: 0.625rem;
box-shadow: var(--shadow-float);
}
[data-slot="dropdown-menu-content"]::before,
[data-slot="context-menu-content"]::before,
[data-slot="select-content"]::before {
display: none;
}
[data-slot="dropdown-menu-item"],
[data-slot="dropdown-menu-checkbox-item"],
[data-slot="context-menu-item"],
[data-slot="context-menu-checkbox-item"],
[data-slot="select-item"] {
min-height: 1.75rem;
padding: 0.375rem 0.5rem;
font-weight: 400;
border-radius: 0.375rem;
}
[data-slot="select-item"] {
padding-right: 2rem;
}
[data-slot="dropdown-menu-checkbox-item"],
[data-slot="context-menu-checkbox-item"] {
padding-right: 2rem;
}
[data-slot$="-item"]:focus,
[data-slot$="-item"][data-highlighted] {
color: var(--accent-foreground);
background: var(--accent);
}
[data-slot$="-item"][data-variant="destructive"]:focus,
[data-slot$="-item"][data-variant="destructive"][data-highlighted] {
color: var(--destructive);
background: color-mix(in oklab, var(--destructive) 12%, transparent);
}
[data-slot="dropdown-menu-separator"],
[data-slot="context-menu-separator"] {
margin: 0.25rem -0.25rem;
background: var(--border);
}