Fix problem with heart icon ( #266 )
This commit is contained in:
parent
fff3b80445
commit
ea9080ef80
2 changed files with 10 additions and 22 deletions
|
@ -382,7 +382,6 @@ table {
|
|||
|
||||
.donate {
|
||||
display: block;
|
||||
position: relative;
|
||||
width: 153px;
|
||||
padding: 5px;
|
||||
border: 1px solid #AED1A0;
|
||||
|
@ -391,29 +390,18 @@ table {
|
|||
line-height: 1.4;
|
||||
text-align: center;
|
||||
border-radius: 2px;
|
||||
-moz-border-radius: 2px;
|
||||
color: #222;
|
||||
margin: 10px 10px 0px 10px;
|
||||
}
|
||||
|
||||
.donate:hover {
|
||||
background: #9ed485;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.donate p {
|
||||
text-indent: 20px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.donate .donate-icon {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
border: 0px;
|
||||
background: image-url("sprite.png") 0 -30px no-repeat;
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
left: 17px;
|
||||
&:hover {
|
||||
background: #9ed485;
|
||||
text-decoration: none;
|
||||
}
|
||||
span {
|
||||
margin: 0;
|
||||
padding-left: 18px;
|
||||
background: image-url("sprite.png") 0 -29px no-repeat;
|
||||
}
|
||||
}
|
||||
|
||||
/* Rules for Creative Commons logo button */
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
<%= yield :left_menu %>
|
||||
</ul>
|
||||
<a title="<%= h(t('layouts.make_a_donation.title')) %>" href="http://donate.openstreetmap.org/" class="donate">
|
||||
<span class='donate-icon'></span><p><%= h(t('layouts.make_a_donation.text')) %></p>
|
||||
<span><%= h(t('layouts.make_a_donation.text')) %></span>
|
||||
</a>
|
||||
<div class='sidebar-copy'>
|
||||
<p class='deemphasize'><%= t 'layouts.partners_html',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue