Skip to content

Commit

Permalink
Add default browse icons for nodes, ways, relations
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonKhorev committed Nov 24, 2024
1 parent 2882a65 commit 26cd62d
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/assets/images/browse/node.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions app/assets/images/browse/relation.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions app/assets/images/browse/way.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions app/assets/stylesheets/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 26cd62d

Please sign in to comment.