-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpasskeys.css
More file actions
68 lines (58 loc) · 1.37 KB
/
Copy pathpasskeys.css
File metadata and controls
68 lines (58 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/*
* Passkeys plugin styles — skin-independent.
*
* Loaded from the plugin root (not a skin folder) so the plugin works on any
* skin, including ones that do not inherit from elastic.
*/
/* Settings: credential list */
#passkeys-list {
width: 100%;
margin-bottom: 1rem;
}
#passkeys-list td.actions {
text-align: right;
white-space: nowrap;
}
#passkeys-list td.name {
font-weight: bold;
}
#passkeys-list td.passkeys-empty {
text-align: center;
font-style: italic;
opacity: 0.7;
}
.formcontent .hint {
margin-bottom: 1rem;
}
/* Login page: divider + "Sign in with a passkey" button.
Hidden by default; revealed only when the client confirms WebAuthn support
(body.passkeys-available), so the divider never appears without a button. */
p.passkeys-separator,
p.passkeys-login-row {
display: none;
}
body.passkeys-available p.passkeys-separator {
display: flex;
align-items: center;
text-align: center;
margin: 0.75rem 0;
opacity: 0.7;
font-size: 0.9em;
}
body.passkeys-available p.passkeys-login-row {
display: block;
margin-top: 0.25rem;
}
p.passkeys-separator::before,
p.passkeys-separator::after {
content: "";
flex: 1 1 auto;
border-top: 1px solid currentColor;
opacity: 0.35;
margin: 0 0.6em;
}
#passkeys-login-button {
width: 100%;
padding: 0.5em 1em;
cursor: pointer;
}