From 0aea6af88ca2232878eb0ad2a0ac76725eb6c8f2 Mon Sep 17 00:00:00 2001 From: xRangerDE Date: Mon, 11 May 2026 11:06:54 +0200 Subject: [PATCH] =?UTF-8?q?ui:=20.btn-secondary:disabled=20rule=20?= =?UTF-8?q?=E2=80=94=20missing=20visual=20cue=20parity=20with=20other=20bu?= =?UTF-8?q?tton=20classes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit .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) --- src/styles.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/styles.css b/src/styles.css index c8d6a9f..56fe283 100644 --- a/src/styles.css +++ b/src/styles.css @@ -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 ============================================