From 7fd29a78fa2c67a7aa01a4d3bb368f4f15a411d3 Mon Sep 17 00:00:00 2001
From: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Date: Mon, 13 Feb 2012 00:12:18 +0200
Subject: [PATCH] Commits page styled better now

---
 app/assets/stylesheets/common.scss   | 16 ++++++++++++++++
 app/views/commits/_commits.html.haml |  8 +++-----
 2 files changed, 19 insertions(+), 5 deletions(-)

diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss
index 2ad617215537..6bd7cfc4a95f 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 1394207e1921..c2c9ca624b2d 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
-- 
GitLab