mapbox-gl-rails 0.50.0 → 0.51.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/mapbox-gl.js +2074 -1783
- data/app/assets/stylesheets/mapbox-gl.scss +33 -8
- data/lib/mapbox-gl/rails/version.rb +1 -1
- metadata +2 -2
@@ -293,7 +293,7 @@ a.mapboxgl-ctrl-logo {
|
|
293
293
|
|
294
294
|
@media screen {
|
295
295
|
.mapboxgl-ctrl-attrib.mapboxgl-compact {
|
296
|
-
margin:
|
296
|
+
margin: 10px;
|
297
297
|
position: relative;
|
298
298
|
background-color: #fff;
|
299
299
|
border-radius: 3px 12px 12px 3px;
|
@@ -301,22 +301,27 @@ a.mapboxgl-ctrl-logo {
|
|
301
301
|
&:hover {
|
302
302
|
padding: 2px 24px 2px 4px;
|
303
303
|
visibility: visible;
|
304
|
-
|
305
|
-
> a {
|
306
|
-
display: inline;
|
307
|
-
}
|
308
304
|
}
|
305
|
+
}
|
306
|
+
|
307
|
+
.mapboxgl-ctrl-top-left > .mapboxgl-ctrl-attrib.mapboxgl-compact:hover, .mapboxgl-ctrl-bottom-left > .mapboxgl-ctrl-attrib.mapboxgl-compact:hover {
|
308
|
+
padding: 2px 4px 2px 24px;
|
309
|
+
border-radius: 12px 3px 3px 12px;
|
310
|
+
}
|
309
311
|
|
310
|
-
|
312
|
+
.mapboxgl-ctrl-attrib.mapboxgl-compact {
|
313
|
+
> * {
|
311
314
|
display: none;
|
312
315
|
}
|
313
316
|
|
317
|
+
&:hover > * {
|
318
|
+
display: inline;
|
319
|
+
}
|
320
|
+
|
314
321
|
&::after {
|
315
322
|
content: '';
|
316
323
|
cursor: pointer;
|
317
324
|
position: absolute;
|
318
|
-
bottom: 0;
|
319
|
-
right: 0;
|
320
325
|
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill='%23333333' fill-rule='evenodd' d='M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0 M9,7a1,1 0 1,0 2,0a1,1 0 1,0 -2,0 M9,10a1,1 0 1,1 2,0l0,3a1,1 0 1,1 -2,0'/%3E %3C/svg%3E");
|
321
326
|
background-color: rgba(255, 255, 255, 0.5);
|
322
327
|
width: 24px;
|
@@ -325,6 +330,26 @@ a.mapboxgl-ctrl-logo {
|
|
325
330
|
border-radius: 12px;
|
326
331
|
}
|
327
332
|
}
|
333
|
+
|
334
|
+
.mapboxgl-ctrl-bottom-right > .mapboxgl-ctrl-attrib.mapboxgl-compact::after {
|
335
|
+
bottom: 0;
|
336
|
+
right: 0;
|
337
|
+
}
|
338
|
+
|
339
|
+
.mapboxgl-ctrl-top-right > .mapboxgl-ctrl-attrib.mapboxgl-compact::after {
|
340
|
+
top: 0;
|
341
|
+
right: 0;
|
342
|
+
}
|
343
|
+
|
344
|
+
.mapboxgl-ctrl-top-left > .mapboxgl-ctrl-attrib.mapboxgl-compact::after {
|
345
|
+
top: 0;
|
346
|
+
left: 0;
|
347
|
+
}
|
348
|
+
|
349
|
+
.mapboxgl-ctrl-bottom-left > .mapboxgl-ctrl-attrib.mapboxgl-compact::after {
|
350
|
+
bottom: 0;
|
351
|
+
left: 0;
|
352
|
+
}
|
328
353
|
}
|
329
354
|
|
330
355
|
.mapboxgl-ctrl-attrib {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mapbox-gl-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.51.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nikita Bulai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|