]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/browse.css.scss
Merge pull request #32 from danstowell/jsrouting
[rails.git] / app / assets / stylesheets / browse.css.scss
index 59ba0be73a269bf62766eed0e31c86825b35725b..d30f5a8a144e40679b795c94b8f9d97dd6288bd6 100644 (file)
@@ -1,15 +1,15 @@
 /* Make space for icons */
 
-a.node, a.way, a.relation { 
-  &:first-child {
-    &::before {
-      margin-left: -25px;
-    }
-  }
-}
-a.node::before, a.way::before, a.relation::before {
+.node::before,
+.way::before,
+.relation::before {
   display: inline-block;
   width: 25px;
+  margin-left: -25px;
+}
+
+.node, .way, .relation {
+  margin-left: 25px;
 }
 
 /* Deleted objects */
@@ -110,6 +110,8 @@ a.node::before, a.way::before, a.relation::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'); }
@@ -118,6 +120,7 @@ a.node::before, a.way::before, a.relation::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'); }
@@ -125,6 +128,8 @@ a.node::before, a.way::before, a.relation::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'); }