diff --git a/css/layout.css b/css/layout.css index 009cdaf..9afaa96 100644 --- a/css/layout.css +++ b/css/layout.css @@ -32,7 +32,7 @@ header{ font-size: 14px; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1); - background: #00a3d3; + background: #0000d3; border-bottom: 1px solid #009bc9; } @@ -56,7 +56,7 @@ header h1{ } #grey-section h3{ - color: #00a3d3; + color: #0000d3; } #grey-section .badge{ diff --git a/css/main.css b/css/main.css index e273a77..bb88950 100644 --- a/css/main.css +++ b/css/main.css @@ -93,7 +93,7 @@ body { -ms-transition: all 0.4s ease-in-out; -o-transition: all 0.4s ease-in-out; transition: all 0.4s ease-in-out; - fill: #00a3d3; + fill: #0000d3; } #timebox { @@ -147,7 +147,7 @@ body { z-index: 99; width: 100%; height: 100%; - background: #00A3D3; + background: #0000D3; } #loading img { position: absolute; @@ -313,10 +313,10 @@ header .search form input[type='submit'] { border-left: 5px solid #fff; } #main .row.selected { - border-left: 5px solid #00A3D3; + border-left: 5px solid #0000D3; } #main .row:hover .header { - border-left: 5px solid #00A3D3; + border-left: 5px solid #0000D3; } #main .row:hover .data { @@ -373,7 +373,7 @@ header .search form input[type='submit'] { -ms-transform: rotate(-90deg); -o-transform: rotate(-90deg); transform: rotate(-90deg); - color: #00a3d3; + color: #0000d3; } .row.active .header .arrow { -webkit-transform: rotate(-180deg); @@ -487,7 +487,7 @@ header .search form input[type='submit'] { } #main .row .data a { text-decoration: none; - color: #00A3D3; + color: #0000D3; } #main .data dl > dt.receivers { font-size: 12px; @@ -579,8 +579,8 @@ header .search form input[type='submit'] { width: 0px; position: absolute; border-radius: 20px; - -webkit-box-shadow: inset 0 1px 2px #33B5E5, inset 0 12px 3px 2px #00A3D3; - box-shadow: inset 0 1px 2px #33B5E5, inset 0 12px 3px 2px #00A3D3; + -webkit-box-shadow: inset 0 1px 2px #33B5E5, inset 0 12px 3px 2px #0000D3; + box-shadow: inset 0 1px 2px #33B5E5, inset 0 12px 3px 2px #0000D3; background-color: #33B5E5; } .switch.on:before { @@ -668,8 +668,8 @@ header .search form input[type='submit'] { width: 0px; position: absolute; border-radius: 20px; - -webkit-box-shadow: inset 0 1px 2px #33B5E5, inset 0 12px 3px 2px #00A3D3; - box-shadow: inset 0 1px 2px #33B5E5, inset 0 12px 3px 2px #00A3D3; + -webkit-box-shadow: inset 0 1px 2px #33B5E5, inset 0 12px 3px 2px #0000D3; + box-shadow: inset 0 1px 2px #33B5E5, inset 0 12px 3px 2px #0000D3; background-color: #33B5E5; } .switchyn.on:before { @@ -864,7 +864,7 @@ header .search form input[type='submit'] { left: 0px; height: 20px; padding: 3px 5px; - background: #00a3d3; + background: #0000d3; z-index: 20; font-weight: bold; font-size: 11px; diff --git a/img/logo.png b/img/logo.png index cc06274..e6802a2 100644 Binary files a/img/logo.png and b/img/logo.png differ diff --git a/img/sondehub_logo.png b/img/sondehub_logo.png index 8593f55..e9085fe 100644 Binary files a/img/sondehub_logo.png and b/img/sondehub_logo.png differ diff --git a/index.html b/index.html index 751f1cf..265f060 100644 --- a/index.html +++ b/index.html @@ -4,13 +4,13 @@ SondeHub Tracker - + - + - + @@ -27,7 +27,7 @@
- +
diff --git a/js/app.js b/js/app.js index 13d2145..4676431 100644 --- a/js/app.js +++ b/js/app.js @@ -36,7 +36,7 @@ function lhash_update(history_step) { } // other vars - if(wvar.nyan) { + if(wvar.nyan || 1) { // Force nyan mode! B-) hash += "&nyan=1"; } diff --git a/js/mobile.css b/js/mobile.css new file mode 100644 index 0000000..e69de29 diff --git a/js/tracker.js b/js/tracker.js index 3649499..41c0570 100644 --- a/js/tracker.js +++ b/js/tracker.js @@ -786,16 +786,18 @@ function clean_refresh(text, force, history_step) { function load() { //initialize map object map = new L.map(document.getElementById('map'), { - zoom: 5, + zoom: 8, zoomControl: false, zoomAnimationThreshold: 0, - center: [53.467511,-2.233894], + center: [37.64,-122.06], layers: baseMaps[selectedLayer], worldCopyJump: true, preferCanvas: true, }); - map.setView([53.467511,-2.233894], 5, {animate: false}); + // TODO: Default to users region, patched to SF Bay default, zoom to 8 (5 default) + + map.setView([37.64,-122.06], 8, {animate: false}); // fullscreen button map.addControl(new L.Control.Fullscreen({ position: 'bottomleft' })); @@ -1056,7 +1058,7 @@ function load() { }); // if we there is enough screen space open aboutbox on startup - if(!is_mobile && !offline.get('opt_nowelcome') && $(window).width() > 900) $('.nav li.about').click(); + //if(!is_mobile && !offline.get('opt_nowelcome') && $(window).width() > 900) $('.nav li.about').click(); }, 500); } diff --git a/manifest.json b/manifest.json index acb0ecb..9324308 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name": "SondeHub Tracker", "short_name": "SondeHub", "description": "A webapp for tracking radiosondes.", - "theme_color": "#00a3d3", - "background_color": "#00a3d3", + "theme_color": "#0000d3", + "background_color": "#0000d3", "display": "standalone", "categories": ["utilities"], "scope": "/",