add Donate Now! button to campaign progress on home

This commit is contained in:
Emi Matchu 2011-07-04 23:23:28 -04:00
parent f9e3266a3b
commit 211d08204d
2 changed files with 10 additions and 0 deletions

View file

@ -10,6 +10,15 @@
position: relative position: relative
visibility: hidden visibility: hidden
.button
+loud-awesome-button-color
font-size: 75%
margin-left: 1em
padding: .25em .75em
&:after
content: none
.campaign-progress .campaign-progress
background: $module-border-color background: $module-border-color
+linear-gradient(color-stops($module-border-color + #222, $module-border-color)) +linear-gradient(color-stops($module-border-color + #222, $module-border-color))

View file

@ -2,6 +2,7 @@
= campaign_progress do = campaign_progress do
= link_to 'We need your help to keep growing and stay online!', donate_path = link_to 'We need your help to keep growing and stay online!', donate_path
= link_to 'Donate now!', donate_path, :class => 'button'
#outfit-forms #outfit-forms
- cache :action_suffix => 'outfit_forms_intro' do - cache :action_suffix => 'outfit_forms_intro' do