forked from cutting-room-floor/foursquare-store-locator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
map.css
285 lines (251 loc) · 5.01 KB
/
map.css
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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
.ts-error {
margin:0px;
padding:0px;
color:#222;
font:normal 13px/20px Arial,sans-serif;
}
a,
.ts-error a {
color:#489;
text-decoration:none;
}
small { font-size:11px; }
h1,
h2,
h3,
h4,
h5,
h6 { font-size:16px; }
h1,
h2,
h3,
h4,
h5,
h6,
p { margin:0px 0px 10px; }
/* ### General control styles ### */
.close,
.share,
.zoomer,
.wax-legend,
.wax-tooltip,
.wax-share div,
.wax-share .twitter,
.wax-share .facebook {
display:block;
position:absolute;
border:1px solid #ccc;
background:#fff;
border-radius:3px;
-moz-border-radius:3px;
-webkit-border-radius:3px;
box-shadow:rgba(0,0,0,0.1) 0px 1px 3px;
-moz-box-shadow:rgba(0,0,0,0.1) 0px 1px 3px;
-webkit-box-shadow:rgba(0,0,0,0.1) 0px 1px 3px;
}
/* ### Tooltips, legends ### */
.wax-legends,
.wax-tooltip {
position:absolute;
z-index:999998;
right:10px;
}
.wax-legends { bottom:10px; }
.wax-tooltip { top:10px; }
.wax-legend,
.wax-tooltip {
padding:4px 9px;
min-width:180px;
max-width:280px;
max-height:400px;
overflow:auto;
width:220px\9; /* IE 8 and below */
}
.wax-legend { position:relative; }
/* ### Zoomer, close buttons, share ### */
.close,
.zoomer {
text-indent:-9999px;
background-image:url(/assets/tilestream-pro/images/controls.png);
background-position:60px 60px;
background-repeat:no-repeat;
overflow:hidden;
}
.close:active,
.zoomer:active {
border-color:#bbb;
background-color:#ddd;
box-shadow:inset rgba(0,0,0,0.1) 0px 1px 3px;
-moz-box-shadow:inset rgba(0,0,0,0.1) 0px 1px 3px;
-webkit-box-shadow:inset rgba(0,0,0,0.1) 0px 1px 3px;
}
.close {
top:4px;
right:4px;
width:18px;
height:18px;
background-position:-6px -6px;
}
.zoomer {
width:28px;
height:28px;
top:10px;
left:10px;
z-index: 2;
}
.zoomin {
background-position:-31px -1px;
left:39px;
border-radius:0px 3px 3px 0px;
-moz-border-radius:0px 3px 3px 0px;
-webkit-border-radius:0px 3px 3px 0px;
}
.zoomout {
background-position:-61px -1px;
border-radius:3px 0px 0px 3px;
-moz-border-radius:3px 0px 0px 3px;
-webkit-border-radius:3px 0px 0px 3px;
}
.share {
clear:left;
left:10px;
top:10px;
width:57px;
height:18px;
font:bold 10px/18px Arial,sans-serif;
text-align:center;
text-transform:uppercase;
background:#333;
background:rgba(32,32,32,0.75);
border-color:#666;
border-color:rgba(128,128,128,0.75);
color:#fff;
}
.zoompan .share { top:45px; }
/* ### Zoombox ### */
.zoombox-box,
.boxselector-box {
border:1px dashed #888;
background:rgba(255,255,255,0.25);
position:absolute;
top:0px; left:0px; width:0px; height:0px;
display:none;
z-index: 10;
}
/* ### Attribution ### */
.wax-attribution {
position:absolute;
background:#fff;
font:normal 10px/20px Arial,sans-serif;
z-index:99999;
text-align:center;
padding:0px 5px;
bottom:0px;
left:0px;
}
.wax-attribution.wax-g {
left:65px;
bottom:4px;
background:transparent;
}
/* ### Share ### */
.ts-error,
.wax-share {
background:#666;
background:rgba(32,32,32,0.75);
position:absolute;
width:100%;
height:100%;
top:0px; left:0px; right:0px; bottom:0px;
z-index:999999;
}
.wax-share div {
right:50%;
top:50%;
margin:-120px -180px 0px 0px;
padding:19px;
width:320px;
height:200px;
overflow:hidden;
}
.wax-share small { color:#999; }
.wax-share textarea {
display:block;
font:normal 10px/15px Arial,sans-serif;
resize:none;
border:1px solid #ccc;
padding:4px;
width:310px;
}
.wax-share .twitter,
.wax-share .facebook {
display:inline-block;
position:relative;
padding:2px 18px;
margin-right:10px;
background:#fff;
color:#fff;
font-weight:bold;
border:2px solid #ccc;
}
.wax-share .twitter {
background:#0ac;
border-color:#4ce;
}
.wax-share .facebook {
background:#359;
border-color:#68c;
}
/* ### Google maps adjustments ### */
.g .share {
position:absolute;
left:5px;
top:5px;
z-index:1000;
}
.g.zoompan .share { left:30px; top:15px; }
/* ### Error message ### */
.ts-error .error-message {
background:#fff;
position:absolute;
right:50%;
top:50%;
margin:-50px -110px 0px 0px;
padding:10px 0px;
height:80px;
width:220px;
color:#999;
text-align:center;
font-weight:bold;
border-radius:5px;
-moz-border-radius:5px;
-webkit-border-radius:5px;
box-shadow:#fff 0px 0px 40px;
-moz-box-shadow:#fff 0px 0px 40px;
-webkit-box-shadow:#fff 0px 0px 40px;
}
.ts-error .mapbox-logo {
display:block;
width:140px;
height:40px;
margin:5px auto;
background:url(/assets/tilestream-pro/images/controls.png) 0px -40px no-repeat;
}
.mapbox-watermark {
position:absolute;
left:5px;
bottom:5px;
z-index:99999;
display:block;
width:65px;
height:20px;
text-indent:-9999px;
overflow:hidden;
background:url(/assets/tilestream-pro/images/controls.png) 0px -90px no-repeat;
}
.attribution .mapbox-watermark { bottom:25px; }
/* Override image location */
.zoomer,
.close,
.mapbox-watermark,
.ts-error .mapbox-logo { background-image:url(img/map.png); }