Skip to content

Commit 721b259

Browse files
committed
keyboard focus on login input fields
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
1 parent f0f2a07 commit 721b259

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

core/css/guest.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,8 @@ input, textarea, select, button, div[contenteditable=true] {
241241
}
242242
input,
243243
input:not([type='range']),
244+
input:not([type='text']),
245+
input:not([type='password']),
244246
a.button {
245247
font-size: 20px;
246248
margin: 5px;
@@ -286,6 +288,10 @@ input[type='email'] {
286288
border: none;
287289
font-weight: normal;
288290
}
291+
input[type='text']:focus-visible,
292+
input[type='password']:focus-visible {
293+
outline: var(--color-primary) auto 2px;
294+
}
289295
input[type='password'].password-with-toggle, input[type='text'].password-with-toggle {
290296
width: 219px;
291297
padding-right: 40px;

0 commit comments

Comments
 (0)