-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathindex.html
80 lines (67 loc) · 1.19 KB
/
index.html
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
77
78
79
80
<!DOCTYPE html>
<html>
<head>
<title>Pattern lock for the web</title>
<meta charset="utf-8" />
<meta name='viewport' content='width=device-width,initial-scale=1.0' />
<style>
html *, * {
box-sizing: border-box;
}
html, body {
margin: 0;
padding: 0;
background-color: #fff;
color: #2c3e50;
font-family: Helvetica, "sans-serif";
}
button {
outline: none;
border: none;
background-color: #ddd;
cursor: pointer;
}
.pattern-container {
text-align: center;
max-width: 600px;
margin: 0 auto;
padding: 1em;
}
.title {
font-size: 1.6em;
text-align: left;
padding: 1em 0 0;
}
.subtitle {
font-size: 1.1em;
opacity: .8;
text-align: left;
}
.canvas-wrapper {
padding: 2em 0;
}
.password {
padding: 1em 0;
}
.controls-wrapper {
padding: 1em;
border: 1px solid #eee;
margin: 1em auto;
text-align: left;
}
.button-primary {
padding: 1em 1.3em;
background-color: #0c1e30;
color: #fff;
font-weight: bold;
text-transform: uppercase;
}
</style>
</head>
<body>
<div class='pattern-container'>
<div id='root'></div>
</div>
<script src='./build/vanilla.example.js'></script>
</body>
</html>