mapbox-gl-rails 0.49.0 → 0.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -109,12 +109,15 @@
109
109
 
110
110
  .mapboxgl-ctrl-group {
111
111
  border-radius: 4px;
112
- -moz-box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
113
- -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
114
- box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
115
112
  overflow: hidden;
116
113
  background: #fff;
117
114
 
115
+ &:not(:empty) {
116
+ -moz-box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
117
+ -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
118
+ box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
119
+ }
120
+
118
121
  > button {
119
122
  width: 30px;
120
123
  height: 30px;
@@ -290,17 +293,22 @@ a.mapboxgl-ctrl-logo {
290
293
 
291
294
  @media screen {
292
295
  .mapboxgl-ctrl-attrib.mapboxgl-compact {
293
- padding-top: 2px;
294
- padding-bottom: 2px;
295
296
  margin: 0 10px 10px;
296
297
  position: relative;
297
- padding-right: 24px;
298
298
  background-color: #fff;
299
299
  border-radius: 3px 12px 12px 3px;
300
- visibility: hidden;
301
300
 
302
301
  &:hover {
302
+ padding: 2px 24px 2px 4px;
303
303
  visibility: visible;
304
+
305
+ > a {
306
+ display: inline;
307
+ }
308
+ }
309
+
310
+ > a {
311
+ display: none;
304
312
  }
305
313
 
306
314
  &::after {
@@ -314,7 +322,6 @@ a.mapboxgl-ctrl-logo {
314
322
  width: 24px;
315
323
  height: 24px;
316
324
  box-sizing: border-box;
317
- visibility: visible;
318
325
  border-radius: 12px;
319
326
  }
320
327
  }
@@ -14,7 +14,7 @@ module MapboxGl
14
14
  # Major version number
15
15
  MAJOR = 0
16
16
  # Minor version number
17
- MINOR = 49
17
+ MINOR = 50
18
18
  # Smallest version number
19
19
  TINY = 0
20
20
 
@@ -5,15 +5,19 @@ plugins:
5
5
  version: '2.3.0'
6
6
  js: 'mapbox-gl-geocoder.min.js'
7
7
  css: 'mapbox-gl-geocoder.css'
8
+ url: https://github.com/mapbox/mapbox-gl-geocoder
8
9
  directions:
9
10
  version: '3.1.3'
10
11
  js: 'mapbox-gl-directions.js'
11
12
  css: 'mapbox-gl-directions.css'
13
+ url: https://github.com/mapbox/mapbox-gl-directions
12
14
  compare:
13
15
  version: '0.1.1'
14
16
  js: 'mapbox-gl-compare.js'
15
17
  css: 'mapbox-gl-compare.css'
18
+ url: https://github.com/mapbox/mapbox-gl-compare
16
19
  draw:
17
20
  version: '1.0.9'
18
21
  js: 'mapbox-gl-draw.js'
19
22
  css: 'mapbox-gl-draw.css'
23
+ url: https://github.com/mapbox/mapbox-gl-draw
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.49.0
4
+ version: 0.50.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-09-14 00:00:00.000000000 Z
11
+ date: 2018-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties