]> dev.renevier.net Git - syj.git/blobdiff - public/css/syj.css
css improvements for nominatim-suggestions
[syj.git] / public / css / syj.css
index f3d0f0b965fc041c976f77dfb4d8c839ef377b52..f50af3ed846fedff4ff941e1632199dbf448594e 100644 (file)
@@ -51,6 +51,7 @@ body, html {
 }
 
 .menu-group {
+    z-index: 10; /* to be over nominatim-suggestions */
     position: relative; /* otherwise, under #map in ie */
     float: right;
     clear: right;
@@ -143,30 +144,52 @@ body, html {
     border: 1px solid black;
     padding: 0;
 }
+
+#geomform {
+    padding: 25px 45px 20px 45px;
+    *width: 40%; /* otherwise takes all screen width in ie<7 */
+}
+#edit-btn {
+    margin-top: 1em;
+}
+#geom_title {
+    margin-top: 0.7em;
+}
+#geom_submit {
+    margin-top: 0.7em;
+}
+
+#other-language {
+    opacity: 0.85;
+    filter:alpha(opacity=85);
+    background-color: white;
+    padding: 5px 1px 5px 1px;
+    position: relative; /* otherwise, under #map in ie */
+}
+
+/* nominatim-suggestions */
 #nominatim-suggestions {
+    text-align: left;
     border: 2px solid blue;
     -moz-border-radius: 8px;
     -webkit-border-radius: 8px;
     border-radius: 8px;
-    margin-top: 8px;
-<<<<<<< HEAD
     max-width: 360px;
     width: 360px\9; /* ie only */
-=======
-    max-width: 320px;
-    width: 320px\9; /* ie only */
->>>>>>> cf7da47... display route length
-    position: absolute;
     background-color: white;
-}
-#nominatim-suggestions-title {
-    text-align: center;
-    font-weight: bold;
+    position: absolute;
+    right: 8px;
 }
 #nominatim-suggestions-list {
+    margin-left: 0;
+    position: relative;
     list-style: none;
     padding: 0 16px 0 12px;
 }
+#nominatim-suggestions-title {
+    text-align: center;
+    font-weight: bold;
+}
 #nominatim-suggestions-list li.current {
     background-color: #D3D3D3;
 }
@@ -179,28 +202,6 @@ body, html {
     text-decoration: none;
 }
 
-#geomform {
-    padding: 25px 45px 20px 45px;
-    *width: 40%; /* otherwise takes all screen width in ie<7 */
-}
-#edit-btn {
-    margin-top: 1em;
-}
-#geom_title {
-    margin-top: 0.7em;
-}
-#geom_submit {
-    margin-top: 0.7em;
-}
-
-#other-language {
-    opacity: 0.85;
-    filter:alpha(opacity=85);
-    background-color: white;
-    padding: 5px 1px 5px 1px;
-    position: relative; /* otherwise, under #map in ie */
-}
-
 /* * login rules
  */
 .modal {