diff --git a/css/app.css b/css/app.css index 3ee648b9d..4bd656aeb 100644 --- a/css/app.css +++ b/css/app.css @@ -440,7 +440,7 @@ button.save.has-count .count::before { vertical-align:top; width:20px; height:20px; - background:transparent url(../img/sprite.png) no-repeat 0 0; + background:transparent url(../img/sprite.svg) no-repeat 0 0; text-indent:-9999px; overflow:hidden; } @@ -841,16 +841,16 @@ a:hover .icon.out-link { background-position: -500px -14px;} margin: auto; position: absolute; left: 0; right: 0; top: 19px; - background:transparent url(../img/sprite.png) no-repeat -240px -80px; + background:transparent url(../img/sprite.svg) no-repeat -240px -80px; } .preset-icon-fill.tag-shop, .preset-icon-fill.tag-building { - background:transparent url(../img/sprite.png) no-repeat 0 -80px; + background:transparent url(../img/sprite.svg) no-repeat 0 -80px; } .preset-icon-fill.tag-natural-water { - background:transparent url(../img/sprite.png) no-repeat -60px -80px; + background:transparent url(../img/sprite.svg) no-repeat -60px -80px; } .preset-icon-fill.tag-landuse, @@ -858,11 +858,11 @@ a:hover .icon.out-link { background-position: -500px -14px;} .preset-icon-fill.tag-natural-tree, .preset-icon-fill.tag-natural-grassland, .preset-icon-fill.tag-leisure-park { - background:transparent url(../img/sprite.png) no-repeat -120px -80px; + background:transparent url(../img/sprite.svg) no-repeat -120px -80px; } .preset-icon-fill.tag-amenity-parking { - background:transparent url(../img/sprite.png) no-repeat -180px -80px; + background:transparent url(../img/sprite.svg) no-repeat -180px -80px; } /* preset form basics */ @@ -1913,7 +1913,7 @@ img.wiki-image { width: 100px; margin: auto; margin-bottom: 10px; - background:transparent url(../img/sprite.png) no-repeat 0 -220px; + background:transparent url(../img/sprite.svg) no-repeat 0 -220px; } .modal-actions :first-child { @@ -2279,17 +2279,6 @@ img.wiki-image { only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) { - .intro-points-add .tooltip-inner::before, - .intro-areas-add .tooltip-inner::before, - .intro-lines-add .tooltip-inner::before, - .walkthrough a:before, - .preset-icon-fill.icon-area, - .modal-actions button:before, - .map-control .icon, - .button-wrap .icon { - background-image: url(../img/sprite2x.png); - background-size: 600px 560px; - } a, button, .checkselect label:hover, @@ -2301,7 +2290,6 @@ img.wiki-image { } } - /* Scrollbars ----------------------------------------------------- */ @@ -2405,7 +2393,7 @@ img.wiki-image { content: ""; height: 80px; width: 200px; - background:transparent url(../img/sprite.png) no-repeat 0 -320px; + background:transparent url(../img/sprite.svg) no-repeat 0 -320px; } .intro-areas-add .tooltip-inner::before { @@ -2425,6 +2413,6 @@ img.wiki-image { .huge-modal-button .illustration { height: 100px; width: 100px; - background: rgba(0, 0, 0, 0) url(../img/sprite.png) no-repeat -301px -220px; + background: rgba(0, 0, 0, 0) url(../img/sprite.svg) no-repeat -301px -220px; margin: auto; } diff --git a/img/sprite.png b/img/sprite.png deleted file mode 100644 index ccda51669..000000000 Binary files a/img/sprite.png and /dev/null differ diff --git a/img/sprite.svg b/img/sprite.svg new file mode 100644 index 000000000..f863f1c9e --- /dev/null +++ b/img/sprite.svg @@ -0,0 +1,2326 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/sprite2x.png b/img/sprite2x.png deleted file mode 100644 index 78df59ab7..000000000 Binary files a/img/sprite2x.png and /dev/null differ diff --git a/svg/sprite.svg b/svg/sprite.svg index 2dc957abb..210ed9772 100644 --- a/svg/sprite.svg +++ b/svg/sprite.svg @@ -38,12 +38,12 @@ borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" - inkscape:zoom="16" - inkscape:cx="505.57911" - inkscape:cy="546.02445" + inkscape:zoom="1" + inkscape:cx="590.57911" + inkscape:cy="225.02445" inkscape:document-units="px" inkscape:current-layer="layer12" - showgrid="true" + showgrid="false" inkscape:window-width="1483" inkscape:window-height="804" inkscape:window-x="293" @@ -53,7 +53,7 @@ fit-margin-left="0" fit-margin-right="0" fit-margin-bottom="0" - showguides="true" + showguides="false" inkscape:guide-bbox="true" inkscape:snap-bbox="true" inkscape:snap-nodes="true" @@ -228,7 +228,7 @@ image/svg+xml - + @@ -815,130 +815,6 @@ id="path33359" d="m 354.5,22.999997 c -1.5,0 -2.5,2 -2.5,3 0,0.666667 0,1.333333 0,2 0,1 1,2.153847 1,2.153847 l 0,0.846153 -1.69231,0.384617 c -1.45419,0.330499 -2.02608,1.236079 -2.15384,2.76923 L 349,35.999998 l 12,0 -0.15385,-1.846154 c -0.12776,-1.533151 -0.69965,-2.438731 -2.15384,-2.76923 L 357,30.999997 l 0,-0.846153 c 0,0 1,-1.153847 1,-2.153847 0,-0.666667 0,-1.333333 0,-2 0,-1 -1,-3 -2.5,-3 z" style="color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> - - - - - - - - - - - - - - - - - - - -