X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c29cdf378f30f5e0ea55b548f90405a2bcdc1fec..b0d3ecb3c31e87f294d57d92a404220094e7bbd5:/app/assets/stylesheets/common.scss diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 3c75a6766..c7b733f26 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -79,7 +79,7 @@ time[title] { position: absolute; top: 0; right: 0; - background: image-url("menu-icon.png") no-repeat; + background: image-url("menu-icon.svg") no-repeat; background-size: 30px 30px; width: 30px; height: 30px; @@ -489,6 +489,10 @@ body.small-nav { .leaflet-control-attribution a { color: var(--bs-link-color); } + + .leaflet-control-scale-line { + @extend .border-light, .border-opacity-75; + } } /* Rules for attribution text under the main map shown on printouts */ @@ -562,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; @@ -737,6 +741,10 @@ tr.turn { h1 { transform: scaleX(-1); } + + ul { + transform: scaleX(-1); + } } /* Rules for small maps in content areas */ @@ -886,7 +894,7 @@ div.secondary-actions { /* Rules for the "Welcome" page */ .site-welcome, .site-fixthemap { .sprite { - background-image: image-url("welcome-sprite.png"); + background-image: image-url("welcome-sprite.svg"); background-size: 500px 250px; display: block; } @@ -903,6 +911,7 @@ div.secondary-actions { .sprite.term { margin-right: 10px; vertical-align: middle; + display: inline-block; } .sprite.node {