]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.css.scss
Show a message when no features are found
[rails.git] / app / assets / stylesheets / common.css.scss
index c088e9429d6e6cb90f87f7fe8c1aa11ebb786dd4..628096b9f58a8c9e26d68aeb3eba3cd73cdded4b 100644 (file)
@@ -1124,11 +1124,35 @@ header .search_form {
     margin: 0 0 10px 10px;
   }
 
+  .query-intro p {
+    padding: $lineheight $lineheight $lineheight/2;
+  }
+
   .query-results {
     display: none;
 
-    ul.results-list li.selected {
-      background: #FFFFE6;
+    h3 {
+      padding: $lineheight $lineheight $lineheight/2;
+      margin: 0;
+    }
+
+    ul {
+      li {
+        padding: 15px 20px;
+        border-bottom: 1px solid #ddd;
+
+        &.query-result {
+          cursor: pointer;
+        }
+
+        &.selected {
+          background: #FFFFE6;
+        }
+
+        a {
+          color: #000;
+        }
+      }
     }
   }
 }