-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
126 lines (116 loc) · 3.41 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"/>
<script src="webxdc.js"></script>
<link rel="stylesheet" href="leaflet.css"/>
<script src="leaflet.js"></script>
<style type="text/css">
body {
padding: 0;
margin: 0;
}
html, body, #map {
height: 100%;
width: 100vw;
}
#map {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.poi-tooltip {
font-weight: bold;
font-size: 15px;
color: #ff3b30;
text-shadow: 1px 1px 1px #fff, -1px -1px 1px #fff, 1px -1px 1px #fff, -1px 1px 1px #fff;
background: transparent;
box-shadow: none;
border: none;
}
.ppl-tooltip {
text-align: right;
font-size: 15px;
color: white;
text-shadow: none;
background: transparent;
box-shadow: none;
border: none;
}
.ppl-name {
padding: 0 5px;
font-weight: bold;
border: 1px solid white;
border-radius: 10px;
}
.ppl-time {
text-shadow: 1px 1px 1px #fff, -1px -1px 1px #fff, 1px -1px 1px #fff, -1px 1px 1px #fff !important;
position: relative;
color: #333;
font-size: 12px;
top: -7px;
}
.ppl-online {
height: 10px; width: 10px;
border: 1px solid white;
border-radius: 50%;
display: inline-block;
position: relative; right: -4px; top: -14px;
background-color: #34c759;
}
.poi-tooltip::before, .ppl-tooltip::before {
border: none;
}
.leaflet-control-scale-line {
text-shadow: 1px 1px 1px #fff, -1px -1px 1px #fff, 1px -1px 1px #fff, -1px 1px 1px #fff;
background: rgba(255, 255, 255, 0.4);
}
.leaflet-control-attribution {
text-shadow: 1px 1px 1px #fff, -1px -1px 1px #fff, 1px -1px 1px #fff, -1px 1px 1px #fff !important;
background: transparent !important;
padding: 2px 6px;
}
.leaflet-top {
top: 45%;
background: transparent !important;
}
.leaflet-control-zoom {
border: 0 !important;
}
.leaflet-control-zoom-in, .leaflet-control-zoom-out {
color: #333 !important;
font-size: 30px !important;
}
.leaflet-bar a {
border-radius: 50% !important;
background: rgba(255, 255, 255, 0.8);
padding: 10px;
margin: 10px;
}
.formx {
text-align: center;
}
.formx input, .formx button {
text-align: center;
font-size: 16px;
border: 1px solid #BBB;
border-radius: 8px;
}
.formx button {
margin-top: 4px;
background-color: transparent;
}
</style>
</head>
<body>
<div id="map"></div>
<script src="index.js"></script>
</body>
</html>