Open mapping details below status control

This commit is contained in:
2026-08-05 18:20:55 +02:00
parent 9d9789cd5b
commit 1258d64aef
2 changed files with 8 additions and 4 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+7 -3
View File
@@ -114,16 +114,18 @@
.input-like:focus { @apply border-catalog-focus outline-none ring-2 ring-catalog-focus/25; }
.picture-slot { @apply aspect-square w-full overflow-hidden rounded border border-dashed border-slate-500 bg-catalog-panel-soft p-1 text-center text-[11px] text-slate-200; }
.picture-slot img { @apply h-full w-full object-contain; }
.mapping-box { @apply rounded border border-slate-500 bg-catalog-panel-soft; }
.mapping-box { @apply relative rounded border border-slate-500 bg-catalog-panel-soft; }
.sidebar-mapping-box { @apply overflow-hidden border-slate-700 bg-slate-900; }
.mapping-summary { @apply flex min-h-8 items-center justify-center gap-1.5 rounded bg-slate-800 px-2 text-center text-[11px] font-semibold text-slate-100; }
.sidebar-mapping-box { @apply overflow-visible; }
.mapping-details { @apply relative; }
.mapping-summary { @apply grid min-h-8 grid-cols-[auto_minmax(0,1fr)_auto_22px] items-center gap-1.5 rounded bg-slate-800 px-2 text-center text-[11px] font-semibold text-slate-100; }
.mapping-title { @apply shrink-0; }
.mapping-state-dot { @apply inline-block h-3 w-3 shrink-0 rounded-full border border-slate-500 shadow-sm; }
.mapping-state-dot.is-ready { @apply border-emerald-300 bg-emerald-500; }
.mapping-state-dot.is-warning { @apply border-amber-300 bg-amber-400; }
.mapping-state-dot.is-missing { @apply border-red-300 bg-red-500; }
.mapping-state-dot.is-loading { @apply border-slate-300 bg-slate-400; }
.mapping-panel { @apply border-t border-slate-700 bg-slate-950/20; }
.mapping-panel { @apply absolute left-0 right-0 top-full z-50 border border-t-0 border-slate-700 bg-slate-950/95 shadow-lg; }
.mapping-detail-status { @apply truncate px-2 py-1 text-center text-[10px] font-normal text-slate-300; }
.mapping-summary .mapping-toggle { @apply ml-auto shrink-0; }
.mapping-details summary { @apply grid cursor-pointer grid-cols-[auto_auto_minmax(0,1fr)_22px] items-center px-1 py-1 list-none; }
@@ -280,6 +282,8 @@
html:not(.dark) .app-status { @apply border-slate-300 bg-white text-slate-700; }
html:not(.dark) .sidebar-mapping-box { @apply border-slate-300 bg-slate-100; }
html:not(.dark) .mapping-summary { @apply border border-slate-300 bg-white text-slate-700; }
html:not(.dark) .mapping-panel { @apply border-slate-300 bg-white; }
html:not(.dark) .mapping-detail-status { @apply text-slate-600; }
html:not(.dark) .manufacturer-trigger { @apply border-slate-300 bg-white text-slate-700; }
html:not(.dark) .manufacturer-trigger:hover { @apply border-slate-400 bg-slate-200; }
html.contrast-light-high:not(.dark) .control-panel { @apply bg-slate-200 text-slate-900; }