-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex-src.html
69 lines (67 loc) · 1.6 KB
/
index-src.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
<!doctype html>
<html>
<head>
<title>Open Oil Data Framework</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
<script src="components/platform/platform.js"></script>
<link rel="import" href="elements/openoil-app.html">
<style>
html,body {
height: 100%;
margin: 0;
font-family: 'RobotoDraft', sans-serif;
}
body.loading #loading {
display: block;
position: fixed;
top: calc(50% - 18px);
left: calc(50% - 200px);
font-size: 36px;
color: #2a3e92;
-webkit-animation: pulsate 2s ease-in-out;
-webkit-animation-iteration-count: infinite;
width: 400px;
text-align: center;
z-index: 10;
}
@keyframes pulsate {
0% {
transform: scale(1.0, 1.0);
opacity: 0.1;
}
50% {
transform: scale(1.1, 1.1);
opacity: 1;
}
100% {
transform: scale(1.0, 1.0);
opacity: 0;
}
}
@-webkit-keyframes pulsate {
0% {
-webkit-transform: scale(1.0, 1.0);
opacity: 0.1;
}
50% {
-webkit-transform: scale(1.1, 1.1);
opacity: 1;
}
100% {
-webkit-transform: scale(1.0, 1.0);
opacity: 0;
}
}
</style>
</head>
<body unresolved touch-action="auto">
<openoil-app></openoil-app>
<div id="loading">Please wait...</div>
</body>
<script>
window.addEventListener('polymer-ready', function() {
// console.log(window.location)
})
</script>
</html>