diff --git a/src/PowderCoating.Web/wwwroot/js/item-wizard.js b/src/PowderCoating.Web/wwwroot/js/item-wizard.js
index 127a2cc..bb7d3f5 100644
--- a/src/PowderCoating.Web/wwwroot/js/item-wizard.js
+++ b/src/PowderCoating.Web/wwwroot/js/item-wizard.js
@@ -691,7 +691,7 @@ function renderSalesFields() {
+ style="display:none;max-height:220px;overflow-y:auto;z-index:1060;background:var(--bs-body-bg);color:var(--bs-body-color);border:1px solid var(--bs-border-color);border-radius:0.375rem;box-shadow:0 4px 12px rgba(0,0,0,.12);position:fixed;">
Please select an item.
@@ -773,7 +773,7 @@ function wzMerchComboRender(query) {
`
${escHtml(m.name)}${m.sku ? ` [${escHtml(m.sku)}]` : ''} — $${parseFloat(m.price).toFixed(2)}
`
@@ -1909,7 +1909,7 @@ function buildCoatRowHtml(i, coat) {
+ style="display:none;max-height:220px;overflow-y:auto;z-index:1060;background:var(--bs-body-bg);color:var(--bs-body-color);border:1px solid var(--bs-border-color);border-radius:0.375rem;box-shadow:0 4px 12px rgba(0,0,0,.12);">
@@ -1968,7 +1968,7 @@ function buildCoatRowHtml(i, coat) {
+ style="display:none;max-height:220px;overflow-y:auto;z-index:1060;background:var(--bs-body-bg);color:var(--bs-body-color);border:1px solid var(--bs-border-color);border-radius:0.375rem;box-shadow:0 4px 12px rgba(0,0,0,.12);">
@@ -2166,7 +2166,7 @@ function powderComboRender(i, query) {
data-val="${escHtml(String(p.value))}"
data-txt="${escHtml(p.text)}"
onmousedown="event.preventDefault(); powderComboSelect(${i}, this.dataset.val, this.dataset.txt)"
- onmouseenter="this.style.background=document.documentElement.getAttribute('data-bs-theme')==='dark'?'#2c3a5a':'#f0f4ff'"
+ onmouseenter="this.style.background='var(--bs-secondary-bg)'"
onmouseleave="this.classList.contains('pw-active')?null:this.style.background=''">
${escHtml(displayText)}${badge}
`;
@@ -2214,12 +2214,12 @@ function powderComboKey(event, i) {
event.preventDefault();
idx = Math.min(idx + 1, items.length - 1);
items.forEach(it => { it.classList.remove('pw-active'); it.style.background = ''; });
- if (items[idx]) { items[idx].classList.add('pw-active'); items[idx].style.background = '#e8eeff'; items[idx].scrollIntoView({ block: 'nearest' }); }
+ if (items[idx]) { items[idx].classList.add('pw-active'); items[idx].style.background = 'var(--bs-primary-bg-subtle)'; items[idx].scrollIntoView({ block: 'nearest' }); }
} else if (event.key === 'ArrowUp') {
event.preventDefault();
idx = Math.max(idx - 1, 0);
items.forEach(it => { it.classList.remove('pw-active'); it.style.background = ''; });
- if (items[idx]) { items[idx].classList.add('pw-active'); items[idx].style.background = '#e8eeff'; items[idx].scrollIntoView({ block: 'nearest' }); }
+ if (items[idx]) { items[idx].classList.add('pw-active'); items[idx].style.background = 'var(--bs-primary-bg-subtle)'; items[idx].scrollIntoView({ block: 'nearest' }); }
} else if (event.key === 'Enter') {
event.preventDefault();
const active = dd.querySelector('.pw-active') || items[0];
@@ -2272,7 +2272,7 @@ function customPowderCatalogSearch(i, query) {
const price = r.unitPrice ? `$${parseFloat(r.unitPrice).toFixed(2)}/lb` : '';
return `
${escHtml(r.colorName)} — ${escHtml(r.vendorName)}
${escHtml(r.sku || '')}
@@ -2363,7 +2363,7 @@ function powderCatalogSearch(i, query) {
: '';
return `
${escHtml(r.colorName)} — ${escHtml(r.vendorName)} ${escHtml(r.sku || '')}