From: Leo Koppelkamm Date: Sun, 12 May 2013 18:03:00 +0000 (+0200) Subject: Fix problem with heart icon ( #266 ) X-Git-Tag: live~5035 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/ea9080ef80bc937af479cb2ab3a258419a832040 Fix problem with heart icon ( #266 ) --- diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 9d4c8a30d..22b4a4ac0 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -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 */ diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb index 9cf48c55a..5c53d62d3 100644 --- a/app/views/layouts/site.html.erb +++ b/app/views/layouts/site.html.erb @@ -71,7 +71,7 @@ <%= yield :left_menu %>