From: Hidde Wieringa Date: Tue, 14 May 2024 17:52:04 +0000 (+0200) Subject: Convert routing sprite to SVG X-Git-Tag: live~547^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/8c64595415e15fda7b2a70e01c8fb53e3e6ac1cc Convert routing sprite to SVG --- diff --git a/app/assets/images/routing-sprite.png b/app/assets/images/routing-sprite.png deleted file mode 100644 index 079f4dd7f..000000000 Binary files a/app/assets/images/routing-sprite.png and /dev/null differ diff --git a/app/assets/images/routing-sprite.svg b/app/assets/images/routing-sprite.svg index 15aa57b2d..54014724b 100644 --- a/app/assets/images/routing-sprite.svg +++ b/app/assets/images/routing-sprite.svg @@ -1,573 +1,53 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 12d115073..2cdb617be 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -566,7 +566,7 @@ header .search_forms, /* Rules for routing */ div.direction { - background-image: image-url('routing-sprite.png'); + background-image: image-url('routing-sprite.svg'); width: 20px; height: 20px; background-repeat: no-repeat;