From 22b1373a57ccd7a97c4a2a6c555372460948f3b8 Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 14 Sep 2021 00:46:53 +0200 Subject: [PATCH] accessibility: always hilight focused elements --- copyparty/web/ui.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/copyparty/web/ui.css b/copyparty/web/ui.css index fab448b2..1e2e1345 100644 --- a/copyparty/web/ui.css +++ b/copyparty/web/ui.css @@ -246,6 +246,17 @@ html.light #tt em { #repl_pre { max-width: 24em; } +*:focus, +#pctl *:focus, +.btn:focus { + box-shadow: 0 .1em .2em #fc0 inset; + border-radius: .2em; +} +html.light *:focus, +html.light #pctl *:focus, +html.light .btn:focus { + box-shadow: 0 .1em .2em #037 inset; +}