From 83fd467391ea357e82460bd2bcc10d3471853abc Mon Sep 17 00:00:00 2001 From: hackademix Date: Tue, 22 Mar 2022 22:31:31 +0100 Subject: [PATCH] Focus indicator for on/off switches. --- src/ui/common.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/common.css b/src/ui/common.css index 17eb95b..e47b8f5 100644 --- a/src/ui/common.css +++ b/src/ui/common.css @@ -137,7 +137,7 @@ input:disabled, button:disabled, select:disabled { cursor: not-allowed !important; } -:focus-visible, .cap:focus-within { +:focus-visible, :is(.cap, .switch):focus-within { outline: 0; filter: drop-shadow(2px 2px 2px var(--focus-color))