#78: update styles for issues and pull_requests pages

This commit is contained in:
Vokhmin Alexey V 2013-04-05 00:25:36 +04:00
parent 69ffc52bf3
commit aa41f0bf31
2 changed files with 44 additions and 48 deletions

View File

@ -1674,12 +1674,13 @@ table.tablesorter.tracker td.td0{
padding-right: 0px;
}
table.tablesorter.tracker td.td3{
min-width: 110px;
padding-top: 10px;
table.tablesorter.tracker .td3-pull {
min-width: 130px;
}
table.tablesorter.tracker td.td3 div.code {
table.tablesorter.tracker td.td3{
padding-top: 10px;
.code {
height: 23px;
width: 15px;
background: #FFF;
@ -1687,37 +1688,35 @@ table.tablesorter.tracker td.td3 div.code {
border: 1px solid #83d1f2;
font-size: 16px;
padding: 5px 0px 0px 5px;
float: left;
margin-right: 3px;
cursor: pointer;
}
table.tablesorter.tracker td.td3 div.avatar {
float: left;
.avatar {
margin-right: 8px;
cursor: pointer;
}
table.tablesorter.tracker td.td3 div.answers {
.answers {
height: 28px;
background: #FFF;
color: #009fe3;
border: 1px solid #83d1f2;
font-size: 16px;
float: left;
cursor: pointer;
}
table.tablesorter.tracker td.td3 div.answers div.pic {
.pic {
float: left;
margin: 2px;
margin-top: 6px;
}
table.tablesorter.tracker td.td3 div.answers div.count {
.count {
float: left;
margin: 4px 5px 0px 2px;
}
}
}
.tablesorter.tracker .td3 > a {
float: left;
}
table.tablesorter.tracker div.smalltext {
font-size: 11px;

View File

@ -15,14 +15,11 @@
.left.nomargin
.label.selected.tracker.left
.labeltext.selected{:style => "background: ##{label.color};"}=label.name
%td.td3
%td.td3{:class => (issue.pull_request ? 'td3-pull' : '')}
- if issue.pull_request
%a{:href => path}
.code #
.avatar
=link_to image_tag(avatar_url(issue.assignee), :alt => 'avatar'), user_path(issue.assignee) if issue.assignee
%a{:href => "#{path}#block-list"}
.answers
.pic= image_tag 'answers.png'
= link_to image_tag(avatar_url(issue.assignee), :alt => 'avatar', :class => 'avatar'), user_path(issue.assignee) if issue.assignee
%a.answers{:href => "#{path}#block-list"}
= image_tag 'answers.png', :class => 'pic'
.count= issue.comments.count
.both