ui: .btn-secondary:disabled rule — missing visual cue parity with other button classes

.btn-primary and .btn-pill already had :disabled rules from earlier polish passes. .btn-secondary was missing one even though several renderer flows disable .btn-secondary buttons while async work is in flight:
- btnRefreshStorage during storage scan
- btnStatsRefresh during archive stats scan
- btnExportConfig / btnImportConfig during the JSON dump

Without :disabled styling the button looked clickable but rejected clicks during the work. Added the same opacity:0.45 + cursor:not-allowed treatment used by .btn-pill:disabled and the new .btn:disabled from 4.6.143 — completes the disabled-state parity across the .btn-primary / .btn-secondary / .btn-pill / .btn family.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
xRangerDE 2026-05-11 11:06:54 +02:00
parent 1b70743a0e
commit 0aea6af88c

View File

@ -1970,6 +1970,11 @@ select option {
box-shadow: 0 0 0 2px rgba(145, 70, 255, 0.55);
}
.btn-secondary:disabled {
opacity: 0.45;
cursor: not-allowed;
}
/* ============================================
COMPACT / UTILITY BUTTONS
============================================