diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 5d6cf566..d86b7dad 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -338,6 +338,7 @@ img.lil_av { .borders { border: 1px solid #ccc; + @include shade; } .well.padded { diff --git a/app/assets/stylesheets/tree.scss b/app/assets/stylesheets/tree.scss index 6efb66f5..d03e8650 100644 --- a/app/assets/stylesheets/tree.scss +++ b/app/assets/stylesheets/tree.scss @@ -117,6 +117,7 @@ table.highlighttable .linenodiv pre { cursor:pointer; } + .tree-item-file-name { font-weight:bold; a { @@ -166,3 +167,9 @@ table.highlighttable .linenodiv pre { @include shade; margin-bottom:20px; } + +a.tree-commit-link { + &:hover { + text-decoration: underline; + } +} diff --git a/app/views/commits/_commit.html.haml b/app/views/commits/_commit.html.haml index 1df31b3e..5f6561f8 100644 --- a/app/views/commits/_commit.html.haml +++ b/app/views/commits/_commit.html.haml @@ -1,13 +1,14 @@ %li.wll.commit .right.span2 - = link_to "Browse Code »", tree_project_ref_path(@project, commit.id), :class => "btn small right" + %p + %strong= link_to "Browse Code »", tree_project_ref_path(@project, commit.id), :class => "right" = link_to project_commit_path(@project, :id => commit.id) do %p %code.left= commit.id.to_s[0..10] - %strong= commit.author_name + %strong.cgray= commit.author_name – = image_tag gravatar_icon(commit.author_email), :class => "avatar", :width => 16 - %span= truncate(commit.safe_message, :length => 50) rescue "--broken encoding" + %strong= 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 a1f48383..8ff063da 100644 --- a/app/views/issues/_show.html.haml +++ b/app/views/issues/_show.html.haml @@ -22,8 +22,7 @@ = link_to project_issue_path(issue.project, issue) do %p - Issue ##{issue.id}: - = truncate(issue.title, :length => 50) + %strong= 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 033c8cf7..88e7d2b1 100644 --- a/app/views/merge_requests/_merge_request.html.haml +++ b/app/views/merge_requests/_merge_request.html.haml @@ -11,5 +11,4 @@ %span.label= merge_request.target_branch = link_to project_merge_request_path(merge_request.project, merge_request) do %p - Merge Request ##{merge_request.id}: - = truncate(merge_request.title, :length => 50) + %strong= truncate(merge_request.title, :length => 60)