leaflet-rails 0.4.0.alpha6 → 0.4.2.beta1

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.
@@ -11,11 +11,13 @@
11
11
  .leaflet-popup-pane,
12
12
  .leaflet-overlay-pane svg,
13
13
  .leaflet-zoom-box,
14
- .leaflet-image-layer { /* TODO optimize classes */
14
+ .leaflet-image-layer,
15
+ .leaflet-layer { /* TODO optimize classes */
15
16
  position: absolute;
16
17
  }
17
18
  .leaflet-container {
18
19
  overflow: hidden;
20
+ outline: 0;
19
21
  }
20
22
  .leaflet-tile,
21
23
  .leaflet-marker-icon,
@@ -68,10 +70,13 @@
68
70
  .leaflet-control {
69
71
  position: relative;
70
72
  z-index: 7;
73
+ pointer-events: auto;
71
74
  }
72
75
  .leaflet-top,
73
76
  .leaflet-bottom {
74
77
  position: absolute;
78
+ z-index: 1000;
79
+ pointer-events: none;
75
80
  }
76
81
  .leaflet-top {
77
82
  top: 0;
@@ -222,12 +227,15 @@
222
227
  text-shadow: 1px 1px 1px #fff;
223
228
  background-color: rgba(255, 255, 255, 0.5);
224
229
  }
225
- .leaflet-control-scale-line:nth-child(2) {
230
+ .leaflet-control-scale-line:not(:first-child) {
226
231
  border-top: 2px solid #777;
227
232
  padding-top: 1px;
228
233
  border-bottom: none;
229
234
  margin-top: -2px;
230
235
  }
236
+ .leaflet-control-scale-line:not(:first-child):not(:last-child) {
237
+ border-bottom: 2px solid #777;
238
+ }
231
239
 
232
240
  .leaflet-touch .leaflet-control-attribution, .leaflet-touch .leaflet-control-layers {
233
241
  box-shadow: none;
@@ -288,7 +296,7 @@
288
296
  .leaflet-popup-tip-container {
289
297
  margin: 0 auto;
290
298
  width: 40px;
291
- height: 16px;
299
+ height: 20px;
292
300
  position: relative;
293
301
  overflow: hidden;
294
302
  }
@@ -305,15 +313,21 @@
305
313
  -o-transform: rotate(45deg);
306
314
  transform: rotate(45deg);
307
315
  }
308
- .leaflet-popup-close-button {
316
+ .leaflet-container a.leaflet-popup-close-button {
309
317
  position: absolute;
310
- top: 8px;
311
- right: 8px;
312
-
313
- width: 10px;
314
- height: 10px;
315
-
316
- overflow: hidden;
318
+ top: 0;
319
+ right: 0;
320
+ padding: 4px 5px 0 0;
321
+ text-align: center;
322
+ width: 18px;
323
+ height: 14px;
324
+ font: 16px/14px Tahoma, Verdana, sans-serif;
325
+ color: #c3c3c3;
326
+ text-decoration: none;
327
+ font-weight: bold;
328
+ }
329
+ .leaflet-container a.leaflet-popup-close-button:hover {
330
+ color: #999;
317
331
  }
318
332
  .leaflet-popup-content p {
319
333
  margin: 18px 0;
@@ -363,6 +377,3 @@
363
377
  .leaflet-popup-content {
364
378
  font: 12px/1.4 "Helvetica Neue", Arial, Helvetica, sans-serif;
365
379
  }
366
- .leaflet-popup-close-button {
367
- background: white url(<%= asset_path 'popup-close.png' %>);
368
- }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leaflet-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0.alpha6
4
+ version: 0.4.2.beta1
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-28 00:00:00.000000000 Z
12
+ date: 2012-08-02 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: This gem provides the leaflet.js map display library for your Rails 3
15
15
  application.
@@ -22,6 +22,7 @@ files:
22
22
  - .gitignore
23
23
  - CHANGELOG.md
24
24
  - Gemfile
25
+ - LICENSE
25
26
  - README.md
26
27
  - Rakefile
27
28
  - leaflet-rails.gemspec
@@ -48,6 +49,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
48
49
  - - ! '>='
49
50
  - !ruby/object:Gem::Version
50
51
  version: '0'
52
+ segments:
53
+ - 0
54
+ hash: -734423042529007207
51
55
  required_rubygems_version: !ruby/object:Gem::Requirement
52
56
  none: false
53
57
  requirements: