-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlock.css
76 lines (65 loc) · 963 Bytes
/
lock.css
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
69
70
71
72
73
74
75
76
html,
body {
height: 100%;
}
body {
margin: 0;
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
background: #0a3d62;
font: 16px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
gap: 1rem;
}
h1 {
color: #fff;
font-size: 1.2rem;
font-weight: 300;
margin: 0;
}
.lock {
max-width: 300px;
}
.lock .cursor,
.lock text {
fill: #fff;
}
.lock circle {
fill: transparent;
}
.lock .grab {
cursor: grab;
}
.text {
margin-top: -1rem;
}
input {
border: none;
border-bottom: 1px solid #fff;
border-radius: 0;
background: transparent;
width: 220px;
padding: 0;
color: #fff;
-webkit-text-fill-color: #fff;
opacity: 1;
}
div {
display: flex;
gap: 1rem;
width: 220px;
}
button {
flex: 1;
border: none;
background: #fff;
color: #0a3d62;
border-radius: 0.3rem;
padding: 0.5rem;
cursor: pointer;
}
input,
button {
font: inherit;
}