OSDN Git Service

Improve commits page UI
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Wed, 18 Dec 2013 14:03:59 +0000 (16:03 +0200)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Wed, 18 Dec 2013 14:03:59 +0000 (16:03 +0200)
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
app/assets/stylesheets/sections/commits.scss
app/views/projects/commits/_commit.html.haml

index 81f7ace..cd3e5d5 100644 (file)
@@ -482,8 +482,8 @@ li.commit {
     }
 
     .commit-row-message {
-      color: #555;
-      font-weight: bolder;
+      color: #333;
+      font-weight: 500;
       &:hover {
         color: #444;
         text-decoration: underline;
@@ -492,13 +492,14 @@ li.commit {
   }
 
   .commit-row-info {
+    color: #777;
+
     a {
       color: #777;
     }
 
     .committed_ago {
       float: right;
-      @extend .cgray;
     }
   }
 
index e51376a..658b23f 100644 (file)
@@ -13,4 +13,5 @@
 
   .commit-row-info
     = commit_author_link(commit, avatar: true, size: 16)
-    #{time_ago_with_tooltip(commit.committed_date)} ago &nbsp;
+    .committed_ago
+      #{time_ago_with_tooltip(commit.committed_date)} ago &nbsp;