From 2ddede4d3f8344f922c06a74717e10fef6650fe9 Mon Sep 17 00:00:00 2001 From: "Geoffrey D. Bennett" Date: Sun, 31 Mar 2024 03:03:51 +1030 Subject: [PATCH] Override focus and colour CSS button styles Set all button focus outline properties and set the colour and filter on fixed buttons so more theme styles are overridden. --- src/alsa-scarlett-gui.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/alsa-scarlett-gui.css b/src/alsa-scarlett-gui.css index 0fc75fd..86dd6f2 100644 --- a/src/alsa-scarlett-gui.css +++ b/src/alsa-scarlett-gui.css @@ -83,7 +83,7 @@ label.gain { } .window-frame button:focus:focus-visible { - outline-color: #801010; + outline: 2px solid #801010; } /* padding doesn't work when selected with .window-frame, so use @@ -118,6 +118,11 @@ button.toggle { filter: none; } +.window-frame button.fixed label { + color: #ffffff; + filter: none; +} + /* Combobox controls that are always disabled because they indicate status */ .window-frame combobox.fixed > box > button { color: #ffffff;