-
Notifications
You must be signed in to change notification settings - Fork 10
/
popup.html
76 lines (68 loc) · 1.16 KB
/
popup.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
<!doctype html>
<html>
<head>
<style>
body {
width: 400px;
padding: 25px;
}
header {
text-align: center;
}
#go {
position: relative;
top: 0;
transition: all .1s linear;
display: inline-flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 210px;
height: 210px;
background: red;
border: none;
border-bottom: 7px solid rgba(0, 0, 0, .25);
border-radius: 10px;
}
#go:focus {
outline: none;
}
#go:active {
top: 7px;
border-bottom-width: 0;
box-shadow: 0 0 20px rgba(0, 0, 0, .5);
}
#go > .logo {
width: 128px;
height: 128px;
}
#go > h1 {
color: white;
font-size: 42px;
margin: 0;
}
body.active #go {
transition: width .25s ease, opacity .25s ease;
width: 100%;
border-radius: 0;
opacity: 0;
}
#streetview {
position: absolute;
left: 0;
top: 0;
z-index: 99;
}
</style>
</head>
<body>
<header>
<button id="go">
<img class="logo" src="logo.png">
<h1>Picnic</h1>
</button>
</header>
<script src="utils.js"></script>
<script src="popup.js"></script>
</body>
</html>