From a535c5b69a32319a0aa10273d6f71d396d8e85be Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Thu, 16 Dec 2021 14:56:25 +0100 Subject: [PATCH] Remove firefox focus ring --- styles/REPL/REPLInput.module.css | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/styles/REPL/REPLInput.module.css b/styles/REPL/REPLInput.module.css index 055dcc6..15e1008 100644 --- a/styles/REPL/REPLInput.module.css +++ b/styles/REPL/REPLInput.module.css @@ -27,10 +27,19 @@ font-family: "CascadiaCode", monospace; } -.in, .in:focus { +.in { border: 0; - outline-width: 0; background: transparent; + width: 100%; + appearance: none !important; + caret-color: var(--repl-color); + outline: none; +} + +.in::-moz-focus-outer, .in::-moz-focus-inner, .in:focus, .in:focus *, .in:-moz-focusring, .in:-moz-focusring * { + border: none !important; + outline: none !important; + box-shadow: none !important; } .completionWrapper {