diff --git a/css/app.css b/css/app.css index 32c935332..eca7db14c 100644 --- a/css/app.css +++ b/css/app.css @@ -930,36 +930,62 @@ a:hover .icon.out-link { background-position: -500px -14px;} .preset-icon-fill.icon-area { cursor: inherit; - height: 45px; - width: 45px; + height: 41px; + width: 41px; margin: auto; position: absolute; - left: 7px; top: 7px; - background:transparent url(img/sprite.svg) no-repeat -240px -80px; + left: 9px; top: 9px; + background-color: rgba(0,0,0,.1); } +.preset-icon-fill.icon-area:after { + content: ''; + left: -2px; + top: -2px; + height: 45px; + width: 45px; + position: absolute; + background:transparent url(img/sprite.svg) no-repeat 0 -80px; +} + +.preset-icon-fill.tag-landuse-retail, +.preset-icon-fill.tag-landuse-commercial { + background-color: #eab056; +} + +.preset-icon-fill.tag-landuse-industrial { + background-color: #e4a4f5; +} + +.preset-icon-fill.tag-landuse-construction, .preset-icon-fill.tag-shop, .preset-icon-fill.tag-building, .preset-icon-fill.tag-landuse.tag-landuse-residential, .preset-icon-fill.tag-landuse.tag-landuse-construction, .preset-icon-fill.tag-landuse.tag-landuse-military { - background:transparent url(img/sprite.svg) no-repeat 0 -80px; + background-color: #e06e5f; } .preset-icon-fill.tag-natural-water { - background:transparent url(img/sprite.svg) no-repeat -60px -80px; + background-color: #77d3de; } .preset-icon-fill.tag-landuse, .preset-icon-fill.tag-natural-wood, .preset-icon-fill.tag-natural-tree, .preset-icon-fill.tag-natural-grassland, +.preset-icon-fill.tag-natural-grass, +.preset-icon-fill.tag-leisure-pitch, .preset-icon-fill.tag-leisure-park { - background:transparent url(img/sprite.svg) no-repeat -120px -80px; + background-color:#8cd05f; } .preset-icon-fill.tag-amenity-parking { - background:transparent url(img/sprite.svg) no-repeat -180px -80px; + background-color:#aaa; +} + +.preset-icon-fill.tag-natural-beach { + background-color: #ffff7e; } /* preset form basics */ diff --git a/dist/img/sprite.svg b/dist/img/sprite.svg index fc0bbdde5..0dec08635 100644 --- a/dist/img/sprite.svg +++ b/dist/img/sprite.svg @@ -27,14 +27,14 @@ inkscape:window-width="1440" inkscape:window-height="856" id="namedview392" - showgrid="true" - inkscape:zoom="5.656854" - inkscape:cx="331.17588" - inkscape:cy="469.35572" - inkscape:window-x="2" - inkscape:window-y="0" + showgrid="false" + inkscape:zoom="11.313708" + inkscape:cx="19.712517" + inkscape:cy="458.08268" + inkscape:window-x="298" + inkscape:window-y="6" inkscape:window-maximized="0" - inkscape:current-layer="layer12" + inkscape:current-layer="svg12393" showguides="false" inkscape:guide-bbox="true" inkscape:snap-global="true" @@ -641,34 +641,7 @@ x="28.5" y="83.499992" id="rect19454" - style="color:#000000;fill:#e06d5f;fill-opacity:0.15686275;stroke:#e06d5f;stroke-width:1;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> - - - + style="color:#000000;fill:none;fill-opacity:0.15686275000000000;stroke:#000000;stroke-width:3;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;opacity:0.10000000000000001;stroke-miterlimit:4;stroke-dasharray:none" /> @@ -729,360 +702,26 @@ inkscape:connector-curvature="0" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - @@ -2172,7 +1811,7 @@ id="path17944-2" d="m 614,47.999997 -1,1 0,2 1,1 2,0 1,-1 0,-2 -1,-1 -2,0 z m 1,1 c 0.5523,0 1,0.4477 1,1 0,0.5523 -0.4477,1 -1,1 -0.5523,0 -1,-0.4477 -1,-1 0,-0.5523 0.4477,-1 1,-1 z" /> + d="m 539,104 -1,1 0,1.59375 L 531.59375,113 530,113 l -1,1 0,2 1,1 2,0 1,-1 0,-1.59375 L 539.40625,108 541,108 l 1,-1 0,-2 -1,-1 z m -22,1 c -2.76142,0 -5,2.23858 -5,5 0,2.76143 5,7 5,7 0,0 5,-4.23857 5,-7 0,-2.76142 -2.23858,-5 -5,-5 z m 23,0 c 0.55228,0 1,0.44772 1,1 0,0.55229 -0.44772,1 -1,1 -0.25152,0 -0.48052,-0.0967 -0.65625,-0.25 -0.0344,-0.03 -0.0638,-0.0593 -0.0937,-0.0937 -0.15335,-0.17573 -0.25,-0.40473 -0.25,-0.65625 0,-0.55228 0.44772,-1 1,-1 z m 10,0 -1,1 0,2 1,1 0,4 -1,1 0,2 1,1 2,0 1,-1 4,0 1,1 2,0 1,-1 0,-2 -1,-1 0,-4 1,-1 0,-2 -1,-1 -2,0 -1,1 -4,0 -1,-1 z m 1,1 c 0.55228,0 1,0.44771 1,1 0,0.55228 -0.44772,1 -1,1 -0.55228,0 -1,-0.44772 -1,-1 0,-0.55229 0.44772,-1 1,-1 z m 8,0 c 0.55228,0 1,0.44771 1,1 0,0.55228 -0.44772,1 -1,1 -0.55228,0 -1,-0.44772 -1,-1 0,-0.55229 0.44772,-1 1,-1 z m -41.84375,2 c 1.10457,0 2,0.89543 2,2 0,1.10457 -0.89543,2 -2,2 -1.10457,0 -2,-0.89543 -2,-2 0,-1.10457 0.89543,-2 2,-2 z M 553,108 l 4,0 1,1 0,4 -1,1 -4,0 -1,-1 0,-4 z m -22,6 c 0.25152,0 0.48052,0.0967 0.65625,0.25 l 0.0937,0.0937 c 0.15335,0.17573 0.25,0.40473 0.25,0.65625 0,0.55229 -0.44772,1 -1,1 -0.55228,0 -1,-0.44771 -1,-1 0,-0.55228 0.44772,-1 1,-1 z m 20,0 c 0.55228,0 1,0.44771 1,1 0,0.55228 -0.44772,1 -1,1 -0.55228,0 -1,-0.44772 -1,-1 0,-0.55229 0.44772,-1 1,-1 z m 8,0 c 0.55228,0 1,0.44771 1,1 0,0.55228 -0.44772,1 -1,1 -0.55228,0 -1,-0.44772 -1,-1 0,-0.55229 0.44772,-1 1,-1 z" /> + + + + + + +