Skip to content

Commit

Permalink
Added "days to go" in goal.
Browse files Browse the repository at this point in the history
  • Loading branch information
karledurante committed Oct 19, 2012
1 parent ebcee33 commit 69b2712
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
15 changes: 14 additions & 1 deletion app/assets/stylesheets/home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}

.goal {
margin: 30px 0;
margin: 30px 0 20px 0;
padding: 20px 0;
border-top: solid 1px $grey;
border-bottom: solid 1px $grey;
Expand Down Expand Up @@ -53,6 +53,19 @@
height: 12px;
}
}

.em {
font-size: 20px;
}

.shirts_sold {
float: left;
width: 250px;
}

.days_to_go {
float: left;
}
}

.buy {
Expand Down
8 changes: 7 additions & 1 deletion app/views/home/_goal.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,11 @@
<div class="fill" style="width:40%">&nbsp;</div>
</div>

40% of 75 shirt goal
<div class="shirts_sold">
<span class="em">40%</span> of 75 shirt goal
</div>
<div class="days_to_go">
<span class="em">15</span> days to go
</div>
<div class="reset"></div>
</div>

0 comments on commit 69b2712

Please sign in to comment.