remove low-seat coloring on select and options (normal appearance), keep sold-out red/disabled only
This commit is contained in:
@@ -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 = '';
|
||||
|
||||
Reference in New Issue
Block a user