diff --git a/add.html b/add.html index 273c84f..c256ab8 100644 --- a/add.html +++ b/add.html @@ -299,7 +299,6 @@ } .pricing-config-select:hover { border-color: var(--accent); } .pricing-config-select:focus { border-color: var(--accent); } - .pricing-config-select.low-seats { border-color: var(--warning); box-shadow: 0 0 0 2px rgba(255, 170, 0, 0.2); } .pricing-config-select.no-seats { border-color: var(--danger); box-shadow: 0 0 0 2px rgba(255, 59, 59, 0.2); } .pricing-config-input { background: var(--bg); @@ -562,8 +561,6 @@ sel.classList.remove('low-seats', 'no-seats'); if (minAvail <= 0) { sel.classList.add('no-seats'); - } else if (minAvail < 10) { - sel.classList.add('low-seats'); } servers.forEach(function(s) { const server = s.server || ''; @@ -578,8 +575,6 @@ opt.style.fontWeight = '600'; } else if (available < 10) { opt.textContent = label + ' (available ' + available + ')'; - opt.style.color = '#ff9900'; - opt.style.fontWeight = '600'; } else { opt.textContent = label + ' (available ' + available + ')'; opt.style.color = ''; diff --git a/assets/css/style.css b/assets/css/style.css index b31eb94..3c706f6 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -972,10 +972,6 @@ section { .pricing-config-select:focus { border-color: var(--accent); } -.pricing-config-select.low-seats { - border-color: var(--warning); - box-shadow: 0 0 0 2px rgba(255, 170, 0, 0.2); -} .pricing-config-select.no-seats { border-color: var(--danger); box-shadow: 0 0 0 2px rgba(255, 59, 59, 0.2); diff --git a/assets/js/script.js b/assets/js/script.js index 02b2054..15d10cb 100644 --- a/assets/js/script.js +++ b/assets/js/script.js @@ -665,8 +665,6 @@ async function initServerLocations() { sel.classList.remove("low-seats", "no-seats"); if (minAvail <= 0) { sel.classList.add("no-seats"); - } else if (minAvail < 10) { - sel.classList.add("low-seats"); } servers.forEach(function (s) { @@ -683,10 +681,8 @@ async function initServerLocations() { opt.style.color = "#ff4444"; opt.style.fontWeight = "600"; } else if (available < 10) { - // Low seats — orange with count + // Low seats — show count opt.textContent = label + " (available " + available + ")"; - opt.style.color = "#ff9900"; - opt.style.fontWeight = "600"; } else { // Plenty of seats opt.textContent = label + " (available " + available + ")";