]> source.dussan.org Git - nextcloud-server.git/commitdiff
keyboard focus on login input fields 31664/head
authorVanessa Pertsch <vanessa.pertsch@nextcloud.com>
Tue, 22 Mar 2022 13:11:17 +0000 (14:11 +0100)
committerVanessa Pertsch <vanessa.pertsch@nextcloud.com>
Tue, 10 May 2022 14:29:17 +0000 (16:29 +0200)
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
core/css/guest.css

index a6d2abf9820490897c10537f9f61afb9ee0cdd0b..1ecf6e92726090fdeb29209df555278a377391c4 100644 (file)
@@ -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;