Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
156 changed files
with
19,304 additions
and
60 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.95 MB
(6.3%)
app/assets/img/Night heron (Nycticorax nycticorax) - Daniel Petrescu.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
@import 'settings' | ||
@import 'toggles' | ||
@import 'submenu' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
ul.submenu | ||
list-style-type: none | ||
padding: 0 | ||
margin: 0 | ||
|
||
display: table | ||
width: 100% | ||
|
||
li | ||
display: table-row | ||
width: 100% | ||
|
||
&:before | ||
display: table-cell | ||
width: 1em | ||
height: 3.5em | ||
content: '' | ||
border-bottom: #ddd 1px solid | ||
|
||
a | ||
padding: 0.5em 0.5em 0.5em 0 | ||
border-bottom: #ddd 1px solid | ||
display: table-cell | ||
vertical-align: middle | ||
|
||
.submenu-container | ||
display: inline | ||
|
||
& | ||
&:link | ||
&:active | ||
&:visited | ||
&:hover | ||
text-decoration: none | ||
color: #444 | ||
|
||
.submenu-caption | ||
color: #666 | ||
font-size: 80% | ||
|
||
.submenu-title | ||
font-size: 120% | ||
|
||
|
||
&:active | ||
background-color: rgba(1, 1, 1, 10%) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
var ol = require('../lib/ol'); | ||
|
||
var MapPresets = {}; | ||
|
||
MapPresets.registerPreset = function (name, preset) { | ||
MapPresets[name] = preset; | ||
}; | ||
|
||
function gps2mp(ext) { | ||
if (ext.length === 4) { | ||
return ol.proj.transformExtent(ext, 'EPSG:4326', 'EPSG:3857'); | ||
} else { | ||
return ol.proj.transform(ext, 'EPSG:4326', 'EPSG:3857'); | ||
} | ||
} | ||
|
||
var deltaExtent = gps2mp([28.5, 44.33, 29.83, 45.6]); | ||
|
||
MapPresets.registerPreset('default', { | ||
layers: [ { | ||
type: 'tile', | ||
url: 'assets/maps/delta', | ||
extent: deltaExtent, | ||
trim: true, | ||
} ], | ||
views: [ { | ||
minZoom: 8, | ||
maxZoom: 13, | ||
extent: deltaExtent, | ||
} ], | ||
}); | ||
|
||
MapPresets.registerPreset('routes', { | ||
extend: 'default', | ||
layers: [ { | ||
type: 'geojson', | ||
url: 'assets/routes.geojson', | ||
extent: deltaExtent, | ||
} ], | ||
}); | ||
|
||
module.exports = MapPresets; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.