Modify chart close button

This commit is contained in:
Bartek Fabiszewski 2020-04-14 20:50:12 +02:00
parent dbd591dec6
commit dba24024b0
3 changed files with 6 additions and 5 deletions

View File

@ -315,13 +315,11 @@ label[for=user] {
}
#chart-close {
font-size: 0.8em;
position: absolute;
z-index: 10001;
right: 15px;
bottom: 160px;
right: 4px;
bottom: 166px;
cursor: pointer;
color: #5070af;
}
.mi {

3
images/close_blue.svg Normal file
View File

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path fill="#777" d="M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5 15.538l-3.592-3.548 3.546-3.587-1.416-1.403-3.545 3.589-3.588-3.543-1.405 1.405 3.593 3.552-3.547 3.592 1.405 1.405 3.555-3.596 3.591 3.55 1.403-1.416z"/>
</svg>

After

Width:  |  Height:  |  Size: 420 B

View File

@ -151,7 +151,7 @@
<div id="map-canvas"></div>
<div id="bottom">
<div id="chart"></div>
<a id="chart-close" data-bind="onChartToggle"><?= $lang['close'] ?></a>
<a id="chart-close" data-bind="onChartToggle"><img src="images/close_blue.svg" alt="<?= $lang['close'] ?>"></a>
</div>
</div>