From b5bf19569b35c8000a0ccbf0950dae9a56a6fa7d Mon Sep 17 00:00:00 2001 From: Luke Street Date: Fri, 1 May 2026 01:01:38 -0600 Subject: [PATCH] Button: Selected but not active style --- res/rml/window.rcss | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/res/rml/window.rcss b/res/rml/window.rcss index 7e570bf06d..7c46e16692 100644 --- a/res/rml/window.rcss +++ b/res/rml/window.rcss @@ -199,7 +199,11 @@ button:not(:disabled):focus-visible { box-shadow: #C2A42D 0 0 0 2dp; } -button:not(:disabled):selected, +button:not(:disabled):selected { + opacity: 1; + background-color: rgba(204, 184, 119, 40%); +} + button:not(:disabled):active { opacity: 1; background-color: rgba(204, 184, 119, 40%); @@ -226,7 +230,11 @@ select-button:not(:disabled):focus-visible { box-shadow: #C2A42D 0 0 0 2dp; } -select-button:not(:disabled):selected, +select-button:not(:disabled):selected { + opacity: 1; + background-color: rgba(204, 184, 119, 40%); +} + select-button:not(:disabled):active { opacity: 1; background-color: rgba(204, 184, 119, 40%);