]> dev.renevier.net Git - syj.git/blobdiff - public/css/syj.css
fixes css regression in newpwd, contact and account
[syj.git] / public / css / syj.css
index d6ce283c0a4f76b380b6eb82b72586f41f598425..a78a52fcca9b0c5cf926cf735c1f7291db1ea2c1 100644 (file)
@@ -1,5 +1,6 @@
 /*  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;
     width: 100%;
@@ -25,7 +26,6 @@ body, html {
 .olControlAttribution {
     bottom: 0.5em;
     *bottom: 2.5em;
-    _bottom: 3.0em;
     left: 0.5em;
 }
 
@@ -38,13 +38,12 @@ body, html {
     bottom: 3.5em;
     width: 40%;
     margin: 0px 45% 0px 15%;
-    padding: 1.5em 1.5em 1.5em 1.5em;
-    text-align: center;
-    border-width: 2px;
-    border-style: solid;
-    -moz-border-radius: 5px;
-    -webkit-border-radius: 5px;
-    border-radius: 5px;
+    padding-bottom: 0.5em;
+}
+@media screen and (max-width: 640px) {
+    #message.optional {
+        display: none;
+    }
 }
 
 /*
@@ -78,6 +77,7 @@ body, html {
     -webkit-border-radius: 5px;
     border-radius: 5px;
     background-color: white;
+    cursor: pointer;
 }
 .menu-item:hover {
     background-color: #E0E0FF;
@@ -117,6 +117,7 @@ body, html {
 
 #data_controls {
     position: absolute;
+    z-index: 11; /* to be over login-controls */
     right: 0.5em;
     bottom: 3em;
     text-align: center;
@@ -175,6 +176,7 @@ body, html {
     background-color: white;
     padding: 5px 1px 5px 1px;
     position: relative; /* otherwise, under #map in ie */
+    margin-bottom: 10px;
 }
 
 /* nominatim-suggestions */
@@ -253,16 +255,3 @@ body, html {
     opacity: 1;
     filter:alpha(opacity=100);
 }
-
-/*
- * printing
- */
-@media print {
-    @page {
-      size: landscape;
-    }
-
-    #message, #menu, #user_area, #login_area, #newpwd_area, .olControlPanZoom{
-        display: none;
-    }
-}