From 207eef6e39b23e3f4050392be708e817c26dcc36 Mon Sep 17 00:00:00 2001 From: Leo Koppelkamm Date: Sun, 12 May 2013 20:03:00 +0200 Subject: [PATCH] Fix problem with heart icon ( #266 ) --- app/assets/stylesheets/common.css.scss | 30 ++++++++------------------ app/views/layouts/site.html.erb | 2 +- 2 files changed, 10 insertions(+), 22 deletions(-) diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 49a784704e..3d28f18f9b 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 { text-align: center; font-size: 14px; 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 9cf48c55ac..5c53d62d3d 100644 --- a/app/views/layouts/site.html.erb +++ b/app/views/layouts/site.html.erb @@ -71,7 +71,7 @@ <%= yield :left_menu %>