Store selected picture candidates in scrape DB

This commit is contained in:
2026-08-06 00:02:25 +02:00
parent 05338a062a
commit a8e3e62dbd
9 changed files with 697 additions and 16 deletions
+14 -3
View File
@@ -227,9 +227,15 @@
.source-status, .source-row-action { @apply shrink-0 rounded px-1 text-[10px]; }
.source-status.is-ok { @apply bg-emerald-100 text-emerald-700; }
.source-status.is-muted { @apply bg-slate-200 text-slate-600; }
.picture-candidate { @apply grid grid-cols-[72px_minmax(0,1fr)] items-center gap-2 border-b border-slate-200 p-1 text-[10px]; }
.picture-candidate img { @apply h-16 w-[72px] object-contain; }
.picture-candidate span { @apply min-w-0 truncate; }
.picture-candidate { @apply grid grid-cols-[72px_minmax(0,1fr)_auto] items-center gap-2 border-b border-slate-200 p-2 text-[10px]; }
.picture-candidate-preview { @apply flex h-16 w-[72px] items-center justify-center bg-white; }
.picture-candidate img { @apply max-h-16 w-[72px] object-contain; }
.picture-candidate-meta { @apply grid min-w-0 gap-0.5; }
.picture-candidate-title { @apply min-w-0 truncate font-semibold text-slate-800; }
.picture-candidate-dimensions,
.picture-candidate-target,
.picture-candidate-duplicate { @apply min-w-0 truncate text-slate-500; }
.picture-candidate-save { @apply min-w-[76px]; }
@media (max-width: 980px) {
.catalog-screen { @apply flex flex-col pl-0; }
.catalog-screen.sidebar-collapsed { @apply pl-0; }
@@ -358,5 +364,10 @@
html.dark .source-row { @apply border-slate-700 bg-slate-900 text-slate-100 hover:bg-slate-800; }
html.dark .suggested-row,
html.dark .picture-candidate { @apply border-slate-700; }
html.dark .picture-candidate-preview { @apply bg-slate-800; }
html.dark .picture-candidate-title { @apply text-slate-100; }
html.dark .picture-candidate-dimensions,
html.dark .picture-candidate-target,
html.dark .picture-candidate-duplicate { @apply text-slate-400; }
html.dark .suggested-row:nth-child(even) { @apply bg-slate-800; }
}