thunderbird-patch-review
Simple email patch review tool for Thunderbird
git clone git://mccd.space/thunderbird-patch-reviewcommit 7b8f45dede3805cc8716494e710d0834e454e721
parent 5d296c484fc578c9b083d83e578460d1c2f941b3
Author: Pi Agent <agent@pi.local>
Date: Sat, 18 Jul 2026 22:12:32 +0200
review: keep disabled primary buttons from going white-on-white on hover
The Send review button is .primary (accent bg, white text). On hover while\ndisabled, the generic primary-hover rule lifted opacity, leaving faint\nwhite text on a near-white hover tint. Pin disabled primary buttons to the\naccent background with a stable 0.5 opacity so the disabled state holds on\nhover.
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/extension/review/review.css b/extension/review/review.css
@@ -127,7 +127,9 @@ button {
button:hover { background: var(--hunk-bg); }
button:disabled { opacity: 0.5; cursor: not-allowed; }
-button:disabled:hover { background: inherit; }
+button:disabled:hover { background: inherit; opacity: 0.5; }
+button.primary:disabled { background: var(--accent); border-color: var(--accent); color: #fff; }
+button.primary:disabled:hover { opacity: 0.5; }
.split .menu button.danger {
color: #cf222e;