web-mapping-leaflet 0.1.4 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/about.yml +2 -0
- data/_data/legends.yml +7 -0
- data/_includes/about.html +1 -1
- data/_includes/map-legends.html +2 -2
- data/_includes/navbar.html +2 -1
- data/_sass/web-mapping-leaflet.scss +19 -1
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b9f70b475b44b0c6e3f51953a26f6b44096e30f58517e21c0992b269f9fc5f3
|
4
|
+
data.tar.gz: dc619e4ae24c820926dd457ddd955c5affa4eebf50fd5ae1e737abb675773d8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 599fced62c088ca80d58c1138d1a5578332de4ab00b6d0ad7441e0a919b9bec199d8b4760a30eb53856b858702af56bbae46d258322372b3d63364417975c331
|
7
|
+
data.tar.gz: 742845dc78d4c0c43817fd6f288d84fedb68f8b1f19fe98e12ceacd37dd0011c1bffb8e8fe279c6f6351b7c961f452fb1122b26bdd0bf10091dba82315a4f031
|
data/_data/about.yml
ADDED
data/_data/legends.yml
ADDED
data/_includes/about.html
CHANGED
data/_includes/map-legends.html
CHANGED
@@ -2,13 +2,13 @@
|
|
2
2
|
<div class="modal-dialog" role="document">
|
3
3
|
<div class="modal-content">
|
4
4
|
<div class="modal-header">
|
5
|
-
<h5 class="modal-title" id="exampleModalLabel">
|
5
|
+
<h5 class="modal-title" id="exampleModalLabel">Legends</h5>
|
6
6
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
7
7
|
<span aria-hidden="true">×</span>
|
8
8
|
</button>
|
9
9
|
</div>
|
10
10
|
<div class="modal-body">
|
11
|
-
|
11
|
+
{{ site.data.legends.description }}
|
12
12
|
</div>
|
13
13
|
<div class="modal-footer">
|
14
14
|
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
data/_includes/navbar.html
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
<header>
|
2
2
|
<nav class="navbar navbar-expand-md navbar-light fixed-top bg-light">
|
3
3
|
<i class="fa fa-globe-asia fa-2x" aria-hidden="true"></i>
|
4
|
-
<
|
4
|
+
<br>
|
5
|
+
<a class="navbar-brand" href="#"> {{ site.title }} </a>
|
5
6
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
|
6
7
|
<span class="navbar-toggler-icon"></span>
|
7
8
|
</button>
|
@@ -33,6 +33,11 @@ p, ul, ol, pre, blockquote {
|
|
33
33
|
margin-bottom: 1em;
|
34
34
|
}
|
35
35
|
|
36
|
+
// .navbar {
|
37
|
+
// padding: inherit;
|
38
|
+
// overflow: hidden;
|
39
|
+
// }
|
40
|
+
|
36
41
|
.navbar .navbar-light {
|
37
42
|
max-height: 50px;
|
38
43
|
}
|
@@ -41,8 +46,9 @@ p, ul, ol, pre, blockquote {
|
|
41
46
|
font-size: 15px !important;
|
42
47
|
}
|
43
48
|
|
44
|
-
|
45
49
|
.navbar-light .navbar-brand {
|
50
|
+
padding-right: 10px;
|
51
|
+
padding-left: 10px;
|
46
52
|
font-weight: bold;
|
47
53
|
text-transform: uppercase;
|
48
54
|
}
|
@@ -51,6 +57,12 @@ p, ul, ol, pre, blockquote {
|
|
51
57
|
background-color: $background-color;
|
52
58
|
}
|
53
59
|
|
60
|
+
@media (max-width: 768px) {
|
61
|
+
.navbar .navbar-brand{
|
62
|
+
font-size: 0;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
|
54
66
|
.footer {
|
55
67
|
background-color: $background-color;
|
56
68
|
}
|
@@ -89,3 +101,9 @@ p, ul, ol, pre, blockquote {
|
|
89
101
|
// }
|
90
102
|
// }
|
91
103
|
// }
|
104
|
+
|
105
|
+
// Leaflet
|
106
|
+
|
107
|
+
.leaflet-top .leaflet-control {
|
108
|
+
margin-top: 24px;
|
109
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: web-mapping-leaflet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- wslerry
|
@@ -61,6 +61,8 @@ extra_rdoc_files: []
|
|
61
61
|
files:
|
62
62
|
- LICENSE.txt
|
63
63
|
- README.md
|
64
|
+
- _data/about.yml
|
65
|
+
- _data/legends.yml
|
64
66
|
- _data/map_config.yml
|
65
67
|
- _data/map_data.yml
|
66
68
|
- _data/map_source.yml
|