hide copyright field as well, but make sure it's shown when we change maps and might...
[lantea.git] / style / lantea.css
index aa33469a67c01e34a6e85b184552f01a802656c5..d1ca01ee84b9a10f5aebda3643c3d44f77097041 100644 (file)
@@ -11,7 +11,7 @@ h1 {
   display: none;
 }
 
-#overlayArea {
+#menuArea {
   position: absolute;
   /* width: 30em; */
   left: 1%;
@@ -19,12 +19,30 @@ h1 {
   z-index: 5;
 }
 
-#overlayArea:-moz-system-metric(touch-enabled) {
+#zoomArea {
+  position: absolute;
+  right: 1%;
+  top: 1em;
+  z-index: 5;
+  text-align: center;
+}
+
+.overlayArea {
+  transition-property: opacity;
+  transition-duration: .2s;
+}
+
+.overlayArea.hidden {
+  opacity: 0;
+  transition-duration: 1s;
+}
+
+.overlayArea:-moz-system-metric(touch-enabled) {
   font-size: 3mozmm;
 }
 
-#overlayArea input[type="button"]:-moz-system-metric(touch-enabled),
-#overlayArea select:-moz-system-metric(touch-enabled) {
+.overlayArea input[type="button"]:-moz-system-metric(touch-enabled),
+.overlayArea select:-moz-system-metric(touch-enabled) {
   font-size: 2.5mozmm;
 }
 
@@ -87,15 +105,22 @@ h1 {
   padding: 0 3px;
 }
 
+#copyright.hidden {
+  opacity: 0;
+}
 
 @media screen and (max-width: 500px) {
   body {
     font-size: 10px;
   }
-  #overlayArea {
+  #menuArea {
     top: 1px;
     left: 1px;
   }
+  #zoomArea {
+    top: 1px;
+    right: 1px;
+  }
   #copyright {
     bottom: 1px;
     right: 1px;