feat: contextmenu deel 1

This commit is contained in:
kodi
2026-03-14 09:22:24 +01:00
parent 3987de27e0
commit 0615324607
5 changed files with 114 additions and 4 deletions
+66
View File
@@ -346,6 +346,72 @@ button:disabled {
min-width: 0;
}
.entry-select-slot {
width: 18px;
min-width: 18px;
height: 18px;
display: inline-flex;
align-items: center;
justify-content: center;
}
.entry-select-toggle {
width: 18px;
min-width: 18px;
height: 18px;
padding: 0;
border: none;
border-radius: 999px;
background: transparent;
display: inline-flex;
align-items: center;
justify-content: center;
box-shadow: none;
}
.entry-select-toggle:hover {
background: transparent;
border-color: transparent;
box-shadow: none;
}
.entry-select-toggle.is-disabled {
pointer-events: none;
}
.entry-select-indicator {
width: 16px;
height: 16px;
border-radius: 999px;
border: 1.5px solid color-mix(in srgb, var(--color-text-muted) 80%, transparent);
opacity: 0;
transition: opacity 100ms ease, border-color 100ms ease, background 100ms ease;
position: relative;
}
.list li:hover .entry-select-indicator,
.entry-select-toggle:focus-visible .entry-select-indicator,
.entry-select-toggle.is-selected .entry-select-indicator {
opacity: 1;
}
.entry-select-toggle.is-selected .entry-select-indicator {
border-color: var(--color-accent);
background: var(--color-accent);
}
.entry-select-toggle.is-selected .entry-select-indicator::after {
content: "✓";
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
font-size: 11px;
line-height: 1;
color: var(--color-surface);
}
.entry-media-slot {
width: 28px;
min-width: 28px;