Merge pull request #769 from umap-project/more-arrow

Change arrow direction when "more control" is active
This commit is contained in:
Yohan Boniface 2020-03-22 07:49:14 +01:00 committed by GitHub
commit 43c7232d51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 22 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View file

@ -13,7 +13,7 @@
height="240" height="240"
id="svg2" id="svg2"
version="1.1" version="1.1"
inkscape:version="0.91 r13725" inkscape:version="0.92.4 5da689c313, 2019-01-14"
sodipodi:docname="16-white.svg" sodipodi:docname="16-white.svg"
inkscape:export-filename="/home/ybon/Code/js/Leaflet.Storage/src/img/16-white.png" inkscape:export-filename="/home/ybon/Code/js/Leaflet.Storage/src/img/16-white.png"
inkscape:export-xdpi="89.996864" inkscape:export-xdpi="89.996864"
@ -34,9 +34,9 @@
inkscape:current-layer="layer1" inkscape:current-layer="layer1"
showgrid="true" showgrid="true"
inkscape:window-width="3840" inkscape:window-width="3840"
inkscape:window-height="2031" inkscape:window-height="2032"
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="55" inkscape:window-y="54"
inkscape:window-maximized="1" inkscape:window-maximized="1"
showguides="true" showguides="true"
inkscape:guide-bbox="true" inkscape:guide-bbox="true"
@ -52,45 +52,55 @@
<sodipodi:guide <sodipodi:guide
orientation="1,0" orientation="1,0"
position="40,40" position="40,40"
id="guide3084" /> id="guide3084"
inkscape:locked="false" />
<sodipodi:guide <sodipodi:guide
orientation="0,1" orientation="0,1"
position="120,120" position="120,120"
id="guide3086" /> id="guide3086"
inkscape:locked="false" />
<sodipodi:guide <sodipodi:guide
orientation="1,0" orientation="1,0"
position="80,80" position="80,80"
id="guide3088" /> id="guide3088"
inkscape:locked="false" />
<sodipodi:guide <sodipodi:guide
orientation="0,1" orientation="0,1"
position="80,80" position="80,80"
id="guide3090" /> id="guide3090"
inkscape:locked="false" />
<sodipodi:guide <sodipodi:guide
orientation="1,0" orientation="1,0"
position="120,120" position="120,120"
id="guide14621" /> id="guide14621"
inkscape:locked="false" />
<sodipodi:guide <sodipodi:guide
orientation="0,1" orientation="0,1"
position="40,40" position="40,40"
id="guide17864" /> id="guide17864"
inkscape:locked="false" />
<sodipodi:guide <sodipodi:guide
orientation="0,1" orientation="0,1"
position="160,160" position="160,160"
id="guide3026" /> id="guide3026"
inkscape:locked="false" />
<sodipodi:guide <sodipodi:guide
orientation="1,0" orientation="1,0"
position="160,160" position="160,160"
id="guide3028" /> id="guide3028"
inkscape:locked="false" />
<sodipodi:guide <sodipodi:guide
position="200,168" position="200,168"
orientation="1,0" orientation="1,0"
id="guide4869" id="guide4869"
inkscape:label="" inkscape:label=""
inkscape:color="rgb(0,0,255)" /> inkscape:color="rgb(0,0,255)"
inkscape:locked="false" />
<sodipodi:guide <sodipodi:guide
position="-60,200" position="-60,200"
orientation="0,1" orientation="0,1"
id="guide5766" /> id="guide5766"
inkscape:locked="false" />
</sodipodi:namedview> </sodipodi:namedview>
<metadata <metadata
id="metadata7"> id="metadata7">
@ -111,15 +121,15 @@
transform="translate(0,-812.36218)"> transform="translate(0,-812.36218)">
<text <text
xml:space="preserve" xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none" style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"
x="13.786797" x="13.786797"
y="953.80786" y="953.80786"
id="text4457" id="text4457"><tspan
sodipodi:linespacing="125%"><tspan
y="953.80786" y="953.80786"
x="13.786797" x="13.786797"
sodipodi:role="line" sodipodi:role="line"
id="tspan4459" /></text> id="tspan4459"
style="font-size:40px;line-height:1.25;font-family:sans-serif"> </tspan></text>
<g <g
id="g3001" id="g3001"
transform="translate(-15.255701,-111.38651)"> transform="translate(-15.255701,-111.38651)">
@ -264,15 +274,15 @@
sodipodi:nodetypes="cccccccccccccc" /> sodipodi:nodetypes="cccccccccccccc" />
<text <text
xml:space="preserve" xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:30.4761982px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none" style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"
x="81.647079" x="81.647079"
y="988.79706" y="988.79706"
id="text4457-6" id="text4457-6"><tspan
sodipodi:linespacing="125%"><tspan
y="988.79706" y="988.79706"
x="81.647079" x="81.647079"
sodipodi:role="line" sodipodi:role="line"
id="tspan4459-6" /></text> id="tspan4459-6"
style="font-size:30.4761982px;line-height:1.25;font-family:sans-serif"> </tspan></text>
<g <g
id="text4356-2" id="text4356-2"
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none" style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none"
@ -714,5 +724,10 @@
d="m 179.96039,1032.4893 -7.74718,7.7842 15.49436,0 z" d="m 179.96039,1032.4893 -7.74718,7.7842 15.49436,0 z"
id="path4407" id="path4407"
inkscape:connector-curvature="0" /> inkscape:connector-curvature="0" />
<path
style="fill:#f2f2f2;fill-opacity:1;fill-rule:evenodd;stroke:#999999;stroke-width:0.1772268;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 139.96039,1040.2365 7.74718,-7.7842 h -15.49436 z"
id="path4407-3"
inkscape:connector-curvature="0" />
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 56 KiB

View file

@ -57,7 +57,10 @@ a.umap-control-less {
.umap-control-more, .umap-control-more,
.umap-control-less { .umap-control-less {
background-image: url('./img/16-white.png'); background-image: url('./img/16-white.png');
background-position: -160px -210px; background-position: -121px -211px;
}
.umap-control-less {
background-position: -161px -211px;
} }
.umap-more-controls .display-on-more, .umap-more-controls .display-on-more,
.umap-more-controls .umap-control-less { .umap-more-controls .umap-control-less {