diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..0fdfd9a --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2012-2016 Rossen Georgiev + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/cache.manifest-dev b/cache.manifest-dev index e732451..701d56c 100644 --- a/cache.manifest-dev +++ b/cache.manifest-dev @@ -2,7 +2,7 @@ CACHE MANIFEST # version {VERSION} # gogole maps files -http://maps.gstatic.com/cat_js/maps-api-v3/api/js/17/21/%7Bmain,common,controls,ga,geometry,infowindow,kml,map,marker,onion,overlay,poly,stats,util,weather,weather_impl%7D.js +http://maps.google.com/maps/api/js?v=3.22&sensor=false&libraries=map,common,controls,util,marker,onion,kml,ga,infowindow,stats,poly,overlay,weather,weather_impl,geometry&language=en_us&key=AIzaSyCOqkcNey4CCyG4X0X5qxHAhCgD8g5DwXg http://fonts.googleapis.com/css?family=Roboto:300,400,500,700 http://maps.gstatic.com/mapfiles/undo_poly.png http://maps.gstatic.com/mapfiles/mv/imgs8.png diff --git a/css/main.css b/css/main.css index d9e1f7b..c9df9e4 100644 --- a/css/main.css +++ b/css/main.css @@ -15,6 +15,11 @@ html, body { width: 100%; height: 100%; overflow: hidden; + -webkit-touch-action: none; + -khtml-touch-action: none; + -moz-touch-action: none; + -ms-touch-action: none; + touch-action: none; } body { font-family: "Roboto", Ariel, sans-serif; @@ -93,12 +98,12 @@ body { #timebox { top: 7px; - left: 30px; + right: 5px; } #lookanglesbox { top: 40px; - left: 30px; + right: 5px; } #timebox.past svg path { @@ -217,6 +222,12 @@ header > div { #main { float: left; overflow: hidden; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } header .search { @@ -333,6 +344,7 @@ header .search form input[type='submit'] { display: block; width: 90%; float: left; + white-space: nowrap; } .header .arrow { @@ -461,6 +473,7 @@ header .search form input[type='submit'] { right: 22px; width: 60px; height: 40px; + z-index: 1; } #main .row .data dt > i { font-size: 12px; @@ -631,10 +644,11 @@ header .search form input[type='submit'] { display: none; } +.nav .home { + display: none; +} + @media only screen and (min-width: 900px) { - .nav .home { - display: none; - } } @media only screen and (max-width: 600px) { @@ -664,7 +678,7 @@ header .search form input[type='submit'] { } } -@media only screen and (min-width: 361px) { +@media only screen and (min-width: 481px) { .portrait { display: none; } .landscape { display: block; } #telemetry_graph { @@ -733,7 +747,7 @@ header .search form input[type='submit'] { top: 50px; } } -@media only screen and (max-width: 360px) { +@media only screen and (max-width: 480px) { .portrait { display: block; } .landscape { display: none; } #map{ @@ -743,7 +757,7 @@ header .search form input[type='submit'] { height: 150px; } #main .data { - height: 140px; + min-height: 108px; } #main .data .left { float: left; diff --git a/embed-preview.html b/embed-preview.html index 7dfa8e6..ed7a94e 100644 --- a/embed-preview.html +++ b/embed-preview.html @@ -1,6 +1,7 @@