Commits page styled better now

This commit is contained in:
Dmitriy Zaporozhets 2012-02-13 00:12:18 +02:00
parent ece9f50fb1
commit 7fd29a78fa
2 changed files with 19 additions and 5 deletions

View file

@ -227,3 +227,19 @@ img.lil_av {
margin-bottom:20px;
}
.ui-box {
margin-bottom: 40px;
@include round-borders-all(4px);
border-color:#ddd;
h5 {
padding: 5px 10px;
background:#f5f5f5;
border-bottom: 1px solid #ccc;
}
li {
padding:10px;
}
}

View file

@ -1,6 +1,4 @@
- @commits.group_by { |c| c.committed_date.to_date }.each do |day, commits|
%div{ :class => "commits-date ui-box ui-box-small ui-box-big" }
.day-commits-table
%h5.underlined= day.stamp("28 Aug, 2010")
%br
%ul.unstyled= render commits
%div.ui-box
%h5= day.stamp("28 Aug, 2010")
%ul.unstyled= render commits