forked from alxhub/ng2-weather-pwa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
136 lines (136 loc) · 3.9 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<!doctype html>
<html>
<head>
<style>
* {
box-sizing: border-box;
}
html,
body,
<ngw-root></ngw-root> {
padding: 0;
margin: 0;
height: 100%;
width: 100%;
font-family: 'Helvetica', 'Verdana', sans-serif;
font-weight: 400;
font-display: optional;
color: #444;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-box-align: stretch;
-webkit-align-items: stretch;
-ms-flex-align: stretch;
align-items: stretch;
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
background: #ececec;
}
.header {
width: 100%;
height: 56px;
color: #FFF;
background: #3F51B5;
position: fixed;
font-size: 20px;
box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 2px 9px 1px rgba(0, 0, 0, 0.12), 0 4px 2px -2px rgba(0, 0, 0, 0.2);
padding: 16px 16px 0 16px;
will-change: transform;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-box-align: stretch;
-webkit-align-items: stretch;
-ms-flex-align: stretch;
align-items: stretch;
-webkit-align-content: center;
-ms-flex-line-pack: center;
align-content: center;
-webkit-transition: -webkit-transform 0.233s cubic-bezier(0, 0, 0.21, 1) 0.1s;
transition: -webkit-transform 0.233s cubic-bezier(0, 0, 0.21, 1) 0.1s;
transition: transform 0.233s cubic-bezier(0, 0, 0.21, 1) 0.1s;
transition: transform 0.233s cubic-bezier(0, 0, 0.21, 1) 0.1s, -webkit-transform 0.233s cubic-bezier(0, 0, 0.21, 1) 0.1s;
z-index: 1000;
}
.header .headerButton {
width: 24px;
height: 24px;
margin-right: 16px;
text-indent: -30000px;
overflow: hidden;
opacity: 0.54;
-webkit-transition: opacity 0.333s cubic-bezier(0, 0, 0.21, 1);
transition: opacity 0.333s cubic-bezier(0, 0, 0.21, 1);
border: none;
outline: none;
cursor: pointer;
}
.header #butRefresh {
background: url(/images/ic_refresh_white_24px.svg) center center no-repeat;
}
.header #butAdd {
background: url(/images/ic_add_white_24px.svg) center center no-repeat;
}
.header__title {
font-weight: 400;
font-size: 20px;
margin: 0;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
</style>
<script>
var module = {id: null};
</script>
<script src="/zone.js" defer></script>
<script src="/app.js" defer></script>
<script defer>
if (navigator.serviceWorker) {
navigator.serviceWorker.register('/worker-basic.js').then(() => {
console.log('Angular service worker installed')
}, err => {
console.error('Angular service worker error:', err);
});
}
</script>
<link rel="manifest" href="/manifest.webmanifest">
</head>
<body>
<ngw-root>
</ngw-root>
</body>
</html>