forked from theopolisme/location-history-visualizer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
204 lines (170 loc) · 3.31 KB
/
Copy pathindex.css
File metadata and controls
204 lines (170 loc) · 3.31 KB
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
body {
padding: 0;
margin: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
}
html, body, #map {
height: 100%;
width: 100%;
}
body.working {
cursor: progress;
}
.visualizer {
height: 100%;
width: 100%;
position: relative;
overflow: hidden;
}
.hidden {
display: none !important;
}
#forkme img {
z-index: 99999;
}
#map {
z-index: 0;
}
.container {
display: table;
position: absolute;
height: 100%;
width: 100%;
z-index: 9999;
}
.map-active .container {
/* so that clicks go through to the map! */
pointer-events: none;
}
.content {
display: table-cell;
vertical-align: middle;
}
.content-box {
margin: 0 auto;
width: 50%;
min-width: 300px;
max-width: 500px;
background-color: rgba(255,255,255,0.9);
padding: 10px;
border-radius: 10px;
}
h2 {
text-align: center
}
.credit {
font-size: 0.8em;
text-align: center;
}
.whats-new {
font-size: 0.9em;
text-align: center;
}
#working {
text-align: center;
}
#done {
cursor: pointer;
}
#controls {
z-index: 99999;
position: absolute;
overflow: hidden;
bottom: -200px;
/* We set a specific height here so that revealing only the top part of the
div will always reveal the *correct* top part. When we expand it later (on hover),
we set height back to auto, so that all the content is shown correctly. Slightly
hacky, yes, but it appears to be working in all browsers. A Good Thing. */
height: 171px;
left: 0px;
margin: 0px 10px;
padding: 3px 16px 5px;
background-color: rgba(255,255,255,0.7);
transition: bottom 0.5s;
}
.map-active #controls {
bottom: -145px;
}
#controls:hover {
bottom: 0px;
left: 0px;
height: auto;
background-color: rgba(255,255,255,0.9);
}
#controls:hover .title span {
opacity: 0;
}
#controls .title {
text-align: center;
font-weight: bold;
line-height: 1.4;
font-size: 13px;
padding-bottom: 3px;
}
#controls .title span {
display: block;
line-height: 0.9;
font-weight: lighter;
font-size: 11px;
transition: all 0.5s ease-in-out;
}
#controls .control-block {
clear: both;
}
#controls .control-block input {
float: right;
margin-left: 10px;
}
#controls .actions {
text-align: center;
}
#controls .support {
border-top: 1px dashed black;
margin-top: 10px;
padding-top: 10px;
font-size: 0.8em;
text-align: center;
}
#controls .support div {
padding-bottom: 5px;
}
/* http://tobiasahlin.com/spinkit/ */
.spinner {
margin: 20px auto 0;
width: 70px;
text-align: center;
}
.spinner > div {
width: 18px;
height: 18px;
background-color: #333;
border-radius: 100%;
display: inline-block;
-webkit-animation: bouncedelay 1.4s infinite ease-in-out;
animation: bouncedelay 1.4s infinite ease-in-out;
/* Prevent first frame from flickering when animation starts */
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
}
.spinner .bounce1 {
-webkit-animation-delay: -0.32s;
animation-delay: -0.32s;
}
.spinner .bounce2 {
-webkit-animation-delay: -0.16s;
animation-delay: -0.16s;
}
@-webkit-keyframes bouncedelay {
0%, 80%, 100% { -webkit-transform: scale(0.0) }
40% { -webkit-transform: scale(1.0) }
}
@keyframes bouncedelay {
0%, 80%, 100% {
transform: scale(0.0);
-webkit-transform: scale(0.0);
} 40% {
transform: scale(1.0);
-webkit-transform: scale(1.0);
}
}