updated map delete sprite
This commit is contained in:
parent
d08774d8bc
commit
dbf4152a81
5 changed files with 16 additions and 2 deletions
Binary file not shown.
Before Width: | Height: | Size: 348 B |
BIN
app/assets/images/remove_mapinfo_sprite.png
Normal file
BIN
app/assets/images/remove_mapinfo_sprite.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 438 B |
|
@ -1884,9 +1884,21 @@ and it won't be important on password protected instances */
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.mapInfoDelete {
|
.mapInfoDelete {
|
||||||
background-image: url(delete_mapinfo.png);
|
color: #E0E0E0;
|
||||||
|
}
|
||||||
|
.mapInfoDelete .deleteMap {
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
margin: 8px auto 0;
|
||||||
|
background-image: url(remove_mapinfo_sprite.png);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: center 8px;
|
background-position: -16px 0;
|
||||||
|
}
|
||||||
|
.mapInfoDelete:hover {
|
||||||
|
color: #F5F5F5;
|
||||||
|
}
|
||||||
|
.mapInfoDelete:hover .deleteMap {
|
||||||
|
background-position: 0 0;
|
||||||
}
|
}
|
||||||
/* only display delete button if it's a map you created */
|
/* only display delete button if it's a map you created */
|
||||||
.yourMap .mapInfoDelete {
|
.yourMap .mapInfoDelete {
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
<p class="mapEditedAt"><span>Last edited:</span> {{updated_at}}</p>
|
<p class="mapEditedAt"><span>Last edited:</span> {{updated_at}}</p>
|
||||||
<div class="mapInfoButtonsWrapper">
|
<div class="mapInfoButtonsWrapper">
|
||||||
<div class="mapInfoDelete">
|
<div class="mapInfoDelete">
|
||||||
|
<div class="deleteMap"></div>
|
||||||
<span>Delete</span>
|
<span>Delete</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="mapInfoShare">
|
<div class="mapInfoShare">
|
||||||
|
|
|
@ -51,6 +51,7 @@
|
||||||
<p class="mapEditedAt"><span>Last edited:</span> <%= @map.updated_at.strftime("%m/%d/%Y") %></p>
|
<p class="mapEditedAt"><span>Last edited:</span> <%= @map.updated_at.strftime("%m/%d/%Y") %></p>
|
||||||
<div class="mapInfoButtonsWrapper">
|
<div class="mapInfoButtonsWrapper">
|
||||||
<div class="mapInfoDelete">
|
<div class="mapInfoDelete">
|
||||||
|
<div class="deleteMap"></div>
|
||||||
<span>Delete</span>
|
<span>Delete</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="mapInfoShare">
|
<div class="mapInfoShare">
|
||||||
|
|
Loading…
Reference in a new issue