From 5c492a7089f72c50dc7ee26181dda99b5af529b3 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Mon, 20 Feb 2012 21:50:11 +0200 Subject: [PATCH] make issue, commit row title color lighter --- app/assets/stylesheets/common.scss | 4 ++++ app/views/commits/_commit.html.haml | 2 +- app/views/issues/_show.html.haml | 3 +-- app/views/merge_requests/_merge_request.html.haml | 3 +-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index d86b7dad..a7612169 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -301,6 +301,10 @@ img.lil_av { } } + .row_title { + font-weight:bold; + color:#444; + } li, .wll { padding:10px; diff --git a/app/views/commits/_commit.html.haml b/app/views/commits/_commit.html.haml index 5f6561f8..a579cca9 100644 --- a/app/views/commits/_commit.html.haml +++ b/app/views/commits/_commit.html.haml @@ -8,7 +8,7 @@ %strong.cgray= commit.author_name – = 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) diff --git a/app/views/issues/_show.html.haml b/app/views/issues/_show.html.haml index 8ff063da..3229aa5c 100644 --- a/app/views/issues/_show.html.haml +++ b/app/views/issues/_show.html.haml @@ -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) diff --git a/app/views/merge_requests/_merge_request.html.haml b/app/views/merge_requests/_merge_request.html.haml index 88e7d2b1..583cc440 100644 --- a/app/views/merge_requests/_merge_request.html.haml +++ b/app/views/merge_requests/_merge_request.html.haml @@ -10,5 +10,4 @@ → %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)