From 78621a37ee08ecf4c9aa8faa42ddf2907a6ee406 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Sat, 12 Jun 2021 23:42:59 +0200 Subject: Remove outline from focused form elements --- theme/admin/rsrc/css/main.css | 3 +++ theme/admin/rsrc/css/main.scss | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/theme/admin/rsrc/css/main.css b/theme/admin/rsrc/css/main.css index ba299a2..d440684 100644 --- a/theme/admin/rsrc/css/main.css +++ b/theme/admin/rsrc/css/main.css @@ -599,6 +599,9 @@ input, select, textarea { border: 0.05rem solid #AAA; box-sizing: border-box; } +input:focus, select:focus, textarea:focus { + outline: none; +} textarea { font-family: "Kadwa", "sans-serif"; diff --git a/theme/admin/rsrc/css/main.scss b/theme/admin/rsrc/css/main.scss index 90a938a..c60f354 100644 --- a/theme/admin/rsrc/css/main.scss +++ b/theme/admin/rsrc/css/main.scss @@ -655,6 +655,10 @@ input, select, textarea { padding: 0.25rem; border: 0.05rem solid #AAA; box-sizing: border-box; + + &:focus { + outline: none; + } } textarea { -- cgit v1.2.3