feat: voortgang copy/duplicate/move in headerbar

This commit is contained in:
kodi
2026-03-15 11:40:21 +01:00
parent 9d5fb5a0c9
commit 73b09d2802
24 changed files with 1104 additions and 2 deletions
+86
View File
@@ -71,6 +71,92 @@ body {
min-width: 0;
}
.header-task-chip-container {
position: relative;
flex: 0 0 auto;
}
.header-task-chip {
border: 1px solid var(--color-border);
background: var(--color-surface);
color: var(--color-text-primary);
border-radius: 999px;
padding: 5px 10px;
font: inherit;
font-size: 12px;
font-weight: 600;
line-height: 1.2;
cursor: pointer;
white-space: nowrap;
box-shadow: 0 1px 2px rgba(8, 14, 22, 0.08);
}
.header-task-chip:hover,
.header-task-chip[aria-expanded="true"] {
border-color: var(--color-accent);
}
.header-task-popover {
position: absolute;
top: calc(100% + 8px);
right: 0;
width: min(360px, calc(100vw - 24px));
padding: 12px;
border: 1px solid var(--color-border);
border-radius: var(--radius-md);
background: var(--color-surface-elevated);
box-shadow: var(--shadow-elevated);
z-index: 30;
}
.header-task-popover-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 10px;
}
.header-task-link {
border: 0;
background: none;
color: var(--color-accent);
padding: 0;
font: inherit;
font-size: 12px;
font-weight: 600;
cursor: pointer;
}
.header-task-popover-list {
display: flex;
flex-direction: column;
gap: 8px;
max-height: 260px;
overflow-y: auto;
}
.header-task-item {
border: 1px solid var(--color-border);
border-radius: var(--radius-sm);
background: var(--color-surface);
padding: 8px 9px;
}
.header-task-item-title {
font-size: 12px;
font-weight: 700;
}
.header-task-item-path,
.header-task-item-meta,
.header-task-item-empty {
margin-top: 4px;
font-size: 12px;
color: var(--color-text-muted);
word-break: break-word;
}
h1, h2, h3 {
margin: 0;
}