X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/278a2c5ea53471d34f933d7c83b70f2ea09c17ad..fcae6999d0df503fec0e1dfdc16eb2f273e382ea:/app/assets/stylesheets/browse.css.scss diff --git a/app/assets/stylesheets/browse.css.scss b/app/assets/stylesheets/browse.css.scss index 59ba0be73..d30f5a8a1 100644 --- a/app/assets/stylesheets/browse.css.scss +++ b/app/assets/stylesheets/browse.css.scss @@ -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'); }