]> dev.renevier.net Git - syj.git/blobdiff - public/css/syj.css
explain how to delete a point in welcome message
[syj.git] / public / css / syj.css
index 44cfc9f63152d1a06b1a1c19cc06fdb57f063af2..b5151ae42799231bec92545d07e4e1f9c6bfbdfb 100644 (file)
@@ -1,4 +1,4 @@
-/*  This file is part of Syj, Copyright (c) 2010 Arnaud Renevier,
+/*  This file is part of Syj, Copyright (c) 2010-2011 Arnaud Renevier,
     and is published under the AGPL license. */
 body, html {
     margin: 0; padding: 0;
@@ -9,13 +9,18 @@ body, html {
 /*
  * map rules
  */
-#map {
+#map, #map-overlay {
     position: absolute;
     top: 0; left: 0; right: 0;
     bottom: 2em;
     *width: 100%;
     *height: 100%;
 }
+#map-overlay {
+    background-color: gray;
+    opacity: 0.2;
+    filter:alpha(opacity=0.2);
+}
 
 .olControlAttribution {
     bottom: 0.5em;
@@ -33,7 +38,7 @@ body, html {
     bottom: 3.5em;
     width: 40%;
     margin: 0px 45% 0px 15%;
-    padding: 1.5em 1.5em 1.5em 1.5em;
+    padding: 1.5em 1.5em 0.5em 1.5em;
     text-align: center;
     border-width: 2px;
     border-style: solid;
@@ -41,6 +46,11 @@ body, html {
     -webkit-border-radius: 5px;
     border-radius: 5px;
 }
+@media screen and (max-width: 640px) {
+    #message.optional {
+        display: none;
+    }
+}
 
 /*
  * menu rules
@@ -73,9 +83,10 @@ body, html {
     -webkit-border-radius: 5px;
     border-radius: 5px;
     background-color: white;
+    cursor: pointer;
 }
 .menu-item:hover {
-    background-color: #BBBBFF;
+    background-color: #E0E0FF;
 }
 
 .info-title {
@@ -112,6 +123,7 @@ body, html {
 
 #data_controls {
     position: absolute;
+    z-index: 11; /* to be over login-controls */
     right: 0.5em;
     bottom: 3em;
     text-align: center;
@@ -170,6 +182,7 @@ body, html {
     background-color: white;
     padding: 5px 1px 5px 1px;
     position: relative; /* otherwise, under #map in ie */
+    margin-bottom: 10px;
 }
 
 /* nominatim-suggestions */
@@ -248,16 +261,3 @@ body, html {
     opacity: 1;
     filter:alpha(opacity=100);
 }
-
-/*
- * printing
- */
-@media print {
-    @page {
-      size: landscape;
-    }
-
-    #message, #data_controls, #login_controls, #user_area, #login_area, #newpwd_area, .olControlPanZoom{
-        display: none;
-    }
-}