diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 2ad61721..6bd7cfc4 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -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; + } +} diff --git a/app/views/commits/_commits.html.haml b/app/views/commits/_commits.html.haml index 1394207e..c2c9ca62 100644 --- a/app/views/commits/_commits.html.haml +++ b/app/views/commits/_commits.html.haml @@ -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