From 80f3d90200c3555624f9a3dcb91d838bd01322ba Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 4 Oct 2021 20:54:07 +0200 Subject: [PATCH] better focus outlines --- copyparty/web/ui.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/copyparty/web/ui.css b/copyparty/web/ui.css index 3e26d5b6..204791af 100644 --- a/copyparty/web/ui.css +++ b/copyparty/web/ui.css @@ -258,6 +258,16 @@ html.light #pctl *:focus, html.light .btn:focus { box-shadow: 0 .1em .2em #037 inset; } +input[type="text"]:focus, +input:not([type]):focus, +textarea:focus { + box-shadow: 0 .1em .3em #fc0, 0 -.1em .3em #fc0; +} +html.light input[type="text"]:focus, +html.light input:not([type]):focus, +html.light textarea:focus { + box-shadow: 0 .1em .3em #037, 0 -.1em .3em #037; +}