From 211d08204d8a93263dc5b6cd7238a41f78f4f4f9 Mon Sep 17 00:00:00 2001 From: Matchu Date: Mon, 4 Jul 2011 23:23:28 -0400 Subject: [PATCH] add Donate Now! button to campaign progress on home --- app/stylesheets/partials/_campaign-progress.sass | 9 +++++++++ app/views/outfits/new.html.haml | 1 + 2 files changed, 10 insertions(+) diff --git a/app/stylesheets/partials/_campaign-progress.sass b/app/stylesheets/partials/_campaign-progress.sass index 1f2d5a91..edc29deb 100644 --- a/app/stylesheets/partials/_campaign-progress.sass +++ b/app/stylesheets/partials/_campaign-progress.sass @@ -10,6 +10,15 @@ position: relative visibility: hidden + .button + +loud-awesome-button-color + font-size: 75% + margin-left: 1em + padding: .25em .75em + + &:after + content: none + .campaign-progress background: $module-border-color +linear-gradient(color-stops($module-border-color + #222, $module-border-color)) diff --git a/app/views/outfits/new.html.haml b/app/views/outfits/new.html.haml index c5846102..f2cb84ec 100644 --- a/app/views/outfits/new.html.haml +++ b/app/views/outfits/new.html.haml @@ -2,6 +2,7 @@ = campaign_progress do = link_to 'We need your help to keep growing and stay online!', donate_path + = link_to 'Donate now!', donate_path, :class => 'button' #outfit-forms - cache :action_suffix => 'outfit_forms_intro' do