]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/browse.css.scss
Ignore clicks on query results if the mouse has moved
[rails.git] / app / assets / stylesheets / browse.css.scss
index 1c7b391b516bf677aa0b5c75a70de188fddf2f3d..0aa762a12c2150a3132aad594bc89117c149b98e 100644 (file)
@@ -1,19 +1,15 @@
 /* Make space for icons */
 
-li.node::before,
-li.way::before,
-li.relation::before,
-a.node:first-child::before,
-a.way:first-child::before,
-a.relation:first-child::before {
-  margin-left: -25px;
-}
-
 .node::before,
 .way::before,
 .relation::before {
   display: inline-block;
   width: 25px;
+  margin-left: -25px;
+}
+
+.node, .way, .relation {
+  margin-left: 25px;
 }
 
 /* Deleted objects */
@@ -142,6 +138,7 @@ a.relation:first-child::before {
 .landuse.military::before { content: image-url('browse/military.png'); }
 .landuse.residential::before { content: image-url('browse/residential.png'); }
 .landuse.retail::before { content: image-url('browse/retail.png'); }
+.landuse.tourism::before { content: image-url('browse/tourism.png'); }
 .landuse.wood::before { content: image-url('browse/wood.png'); }
 
 .leisure.golf_course::before { content: image-url('browse/golf.png'); }