From 721b2597bcbe5e65a0ddbc8d6fbffecb77ed68f9 Mon Sep 17 00:00:00 2001 From: Vanessa Pertsch Date: Tue, 22 Mar 2022 14:11:17 +0100 Subject: keyboard focus on login input fields Signed-off-by: Vanessa Pertsch --- core/css/guest.css | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'core') diff --git a/core/css/guest.css b/core/css/guest.css index a6d2abf9820..1ecf6e92726 100644 --- a/core/css/guest.css +++ b/core/css/guest.css @@ -241,6 +241,8 @@ input, textarea, select, button, div[contenteditable=true] { } input, input:not([type='range']), +input:not([type='text']), +input:not([type='password']), a.button { font-size: 20px; margin: 5px; @@ -286,6 +288,10 @@ input[type='email'] { border: none; font-weight: normal; } +input[type='text']:focus-visible, +input[type='password']:focus-visible { + outline: var(--color-primary) auto 2px; +} input[type='password'].password-with-toggle, input[type='text'].password-with-toggle { width: 219px; padding-right: 40px; -- cgit v1.2.3