optimize panning, and some cleanup
[lantea.git] / style / lantea.css
index 823745ad7cff0d9baf1ee985f36422c6bc4bb13c..03af2d1af38bd6fd3bc1294d8f885e41c7d651b1 100644 (file)
@@ -27,6 +27,14 @@ h1 {
   text-align: center;
 }
 
+#fullscreenArea {
+  position: absolute;
+  right: 1%;
+  bottom: 2em;
+  z-index: 5;
+  text-align: center;
+}
+
 .overlayArea {
   transition-property: opacity;
   transition-duration: .2s;
@@ -43,7 +51,7 @@ h1 {
 
 .overlayArea input[type="button"]:-moz-system-metric(touch-enabled),
 .overlayArea select:-moz-system-metric(touch-enabled) {
-  font-size: 2.5mozmm;
+  font-size: 3mozmm;
 }
 
 #zoomLevel {
@@ -52,7 +60,6 @@ h1 {
   padding: 0 3px;
 }
 
-
 #settingsArea,
 #trackArea {
   display: none;
@@ -68,15 +75,20 @@ h1 {
   border-radius: 3px;
 }
 
-#map {
+#map, #track {
+  position: fixed;
   border: 0;
-  top: 1px;
-  left: 1px;
-  right: 1px;
-  bottom: 1px;
+  top: 0;
+  left: 0;
+  right: 0;
+  bottom: 0;
   z-index: 1;
 }
 
+#map {
+  background: url("style/loading.png") repeat;
+}
+
 #debug {
   position: absolute;
   bottom: 5px;
@@ -105,6 +117,9 @@ h1 {
   padding: 0 3px;
 }
 
+#copyright.hidden {
+  opacity: 0;
+}
 
 @media screen and (max-width: 500px) {
   body {
@@ -118,6 +133,10 @@ h1 {
     top: 1px;
     right: 1px;
   }
+  #fullscreenArea {
+    right: 1px;
+    bottom: 10px;
+  }
   #copyright {
     bottom: 1px;
     right: 1px;