]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/browse.css.scss
Prefer a key=value match over a key only match for object descriptions
[rails.git] / app / assets / stylesheets / browse.css.scss
index 1c7b391b516bf677aa0b5c75a70de188fddf2f3d..d30f5a8a144e40679b795c94b8f9d97dd6288bd6 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 */
@@ -114,6 +110,8 @@ a.relation:first-child::before {
 .aeroway.runway::before { content: image-url('browse/runway.20.png'); }
 .aeroway.taxiway::before { content: image-url('browse/taxiway.20.png'); }
 
+.barrier.wall::before { content: image-url('browse/wall.20.png'); }
+
 .building::before { content: image-url('browse/building.png'); }
 
 .highway.bridleway::before { content: image-url('browse/bridleway.20.png'); }
@@ -122,6 +120,7 @@ a.relation:first-child::before {
 .highway.footway::before { content: image-url('browse/footway.20.png'); }
 .highway.motorway::before { content: image-url('browse/motorway.20.png'); }
 .highway.motorway_link::before { content: image-url('browse/motorway.20.png'); }
+.highway.path::before { content: image-url('browse/path.20.png'); }
 .highway.pedestrian::before { content: image-url('browse/service.20.png'); }
 .highway.primary::before { content: image-url('browse/primary.20.png'); }
 .highway.primary_link::before { content: image-url('browse/primary.20.png'); }
@@ -129,6 +128,8 @@ a.relation:first-child::before {
 .highway.secondary::before { content: image-url('browse/secondary.20.png'); }
 .highway.secondary_link::before { content: image-url('browse/secondary.20.png'); }
 .highway.service::before { content: image-url('browse/service.20.png'); }
+.highway.tertiary::before { content: image-url('browse/tertiary.20.png'); }
+.highway.track::before { content: image-url('browse/track.20.png'); }
 .highway.trunk::before { content: image-url('browse/trunk.20.png'); }
 .highway.trunk_link::before { content: image-url('browse/trunk.20.png'); }
 .highway.unclassified::before { content: image-url('browse/unclassified.20.png'); }
@@ -142,6 +143,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'); }