-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
78 lines (68 loc) · 1.68 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Recent Albuquerque OSM Changesets</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
<script src="https://api.mapbox.com/mapbox-gl-js/v1.7.0/mapbox-gl.js"></script>
<link href="https://api.mapbox.com/mapbox-gl-js/v1.7.0/mapbox-gl.css" rel="stylesheet" />
<style>
body, html {
margin: 0;
padding: 0;
font-family: 'Roboto', sans-serif;
}
#map {
width:100%;
height:calc(100vh - 62px);
}
h1 {
margin:0;
}
.nav {
z-index: 9;
height:28px;
margin-bottom: 2px;
padding: 16px;
box-shadow: #999 0px 1px 2px;
}
.content {
display: flex;
flex-direction: row;
}
.list {
height:calc(100vh - 62px);
overflow-y: scroll;
}
.list-col {
flex: 1;
}
.map-col {
flex: 3;
}
.changeset {
padding:12px;
vertical-align: center;
min-height: 46px;
border-bottom:1px solid black;
}
.changeset--hover {
background-color: #ddd;
}
.changeset:hover {
background-color: #ddd;
}
</style>
<title>Document</title>
</head>
<body>
<nav class="nav"><h1>Recent Albuquerque Changesets</h1></nav>
<div class="content">
<div class="list-col"> <div class="list"></div></div>
<div class="map-col"><div id="map"></div></div>
</div>
<script src="dist/bundle.js"></script>
</body>
</html>