diff --git a/bower.json b/bower.json index d2b8e85..d87c023 100644 --- a/bower.json +++ b/bower.json @@ -27,7 +27,7 @@ "leaflet.locatecontrol": "^0.60.0", "font-awesome": "^4.7.0", "bootstrap-select": "hugdx/bootstrap-select#patch-1", - "sidebar-v2": "~0.4.0", + "leaflet-sidebar-v2": "nrenner/leaflet-sidebar-v2#dev", "leaflet.editable": "^1.1.0" }, "overrides": { @@ -99,12 +99,6 @@ "jquery": "*", "bootstrap": "*" } - }, - "sidebar-v2": { - "main": [ - "css/leaflet-sidebar.css", - "js/leaflet-sidebar.js" - ] } }, "resolutions": { diff --git a/css/style.css b/css/style.css index 4ef7553..85f804d 100644 --- a/css/style.css +++ b/css/style.css @@ -11,7 +11,7 @@ body, #content { } .flexcolumn, -.sidebar-pane.active, +.leaflet-sidebar-pane.active, #datatable_wrapper, .dataTables_scroll, .dataTables_scrollBody { @@ -288,10 +288,13 @@ table.dataTable.display tbody tr.even:hover { } /* - * sidebar-v2 + * leaflet-sidebar-v2 */ -.sidebar-pane { +.leaflet-sidebar-pane#tab_profile, +.leaflet-sidebar-pane#tab_data { + /* Full height for content with inner scrolling, + overrides scroll fix for long content in Firefox */ height: 100%; } @@ -301,3 +304,8 @@ table.dataTable.display tbody tr.even:hover { font-size: 0.9rem; line-height: normal; } + +/* hide currently unused bottom tabs container because of touch border artefacts */ +.leaflet-sidebar-tabs > ul:last-child { + display: none; +} diff --git a/index.html b/index.html index c179166..6103c41 100644 --- a/index.html +++ b/index.html @@ -165,55 +165,58 @@
-