X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/db7374f2bbdd0b3ee0f3cb0a9cca84f9c72cffb5..d2765cb23d5501b6f10c82afdd90a760674f542f:/app/assets/stylesheets/common.scss diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 009082e28..3afef70e3 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -151,13 +151,14 @@ small, aside { /* Rules for icons */ .icon { - display:inline-block; - vertical-align:top; - width:20px; - height:20px; - background:transparent image-url("sprite.png") no-repeat 0 0; - text-indent:-9999px; - overflow:hidden; + display: inline-block; + vertical-align: top; + width: 20px; + height: 20px; + background: transparent image-url("sprite.png") no-repeat 0 0; + background-image: image-url("sprite.svg"); + text-indent: -9999px; + overflow: hidden; } .icon.search { background-position: 0 0; } @@ -1002,7 +1003,7 @@ div.direction { height: 20px; background-repeat: no-repeat; } -@for $i from 1 through 17 { +@for $i from 1 through 18 { div.direction.i#{$i} { background-position: #{($i)*-20+20}px 0px; } }