OSDN Git Service

make issue, commit row title color lighter
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Mon, 20 Feb 2012 19:50:11 +0000 (21:50 +0200)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Mon, 20 Feb 2012 19:50:11 +0000 (21:50 +0200)
app/assets/stylesheets/common.scss
app/views/commits/_commit.html.haml
app/views/issues/_show.html.haml
app/views/merge_requests/_merge_request.html.haml

index d86b7da..a761216 100644 (file)
@@ -301,6 +301,10 @@ img.lil_av {
     }
   }
 
+  .row_title { 
+    font-weight:bold;
+    color:#444;
+  }
 
   li, .wll {
     padding:10px;
index 5f6561f..a579cca 100644 (file)
@@ -8,7 +8,7 @@
       %strong.cgray= commit.author_name
       &ndash;
       = image_tag gravatar_icon(commit.author_email), :class => "avatar", :width => 16
-      %strong= truncate(commit.safe_message, :length => 50) rescue "--broken encoding"
+      %span.row_title= truncate(commit.safe_message, :length => 50) rescue "--broken encoding"
 
       %span.right.cgray
         = time_ago_in_words(commit.committed_date)
index 8ff063d..3229aa5 100644 (file)
@@ -21,8 +21,7 @@
 
 
   = link_to project_issue_path(issue.project, issue) do
-    %p
-      %strong= truncate(issue.title, :length => 60)
+    %p.row_title= truncate(issue.title, :length => 60)
 
 
 
index 88e7d2b..583cc44 100644 (file)
@@ -10,5 +10,4 @@
     &rarr;
     %span.label= merge_request.target_branch
   = link_to project_merge_request_path(merge_request.project, merge_request) do
-    %p
-      %strong= truncate(merge_request.title, :length => 60)
+    %p.row_title= truncate(merge_request.title, :length => 60)