From: Anton Khorev Date: Sun, 24 Nov 2024 00:04:11 +0000 (+0300) Subject: Add default browse icons for nodes, ways, relations X-Git-Tag: live~36^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/26cd62d5f263e348206f9ae2bfa2e0e07aa35d08?ds=sidebyside;hp=--cc Add default browse icons for nodes, ways, relations --- 26cd62d5f263e348206f9ae2bfa2e0e07aa35d08 diff --git a/app/assets/images/browse/node.svg b/app/assets/images/browse/node.svg new file mode 100644 index 000000000..35e592763 --- /dev/null +++ b/app/assets/images/browse/node.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/app/assets/images/browse/relation.svg b/app/assets/images/browse/relation.svg new file mode 100644 index 000000000..9cb52fc67 --- /dev/null +++ b/app/assets/images/browse/relation.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/app/assets/images/browse/way.svg b/app/assets/images/browse/way.svg new file mode 100644 index 000000000..98eae574f --- /dev/null +++ b/app/assets/images/browse/way.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 027e6e6a3..4bedf42b6 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -973,6 +973,10 @@ img.trace_image { .node, .way, .relation { margin-left: 25px; } + + .node::before { content: image-url('browse/node.svg'); } + .way::before { content: image-url('browse/way.svg'); } + .relation::before { content: image-url('browse/relation.svg'); } } @each $class, $item in $map-sidebar-icons {