[Notice] Announcing the End of Demo Server [Read me]
UI: Change comment icon and meta info size
@257380f2e3116310ebce025a32a84c53d85323a8
--- app/assets/stylesheets/less/_page.less
+++ app/assets/stylesheets/less/_page.less
... | ... | @@ -3540,7 +3540,7 @@ |
3540 | 3540 |
.infos { |
3541 | 3541 |
display:block; |
3542 | 3542 |
line-height: 20px; |
3543 |
- font-size:11px; |
|
3543 |
+ font-size:12px; |
|
3544 | 3544 |
color:#999; |
3545 | 3545 |
|
3546 | 3546 |
.infos-item { |
... | ... | @@ -3566,9 +3566,9 @@ |
3566 | 3566 |
text-align: center; |
3567 | 3567 |
padding:0 5px; |
3568 | 3568 |
float: left; |
3569 |
+ color: darkmagenta; |
|
3569 | 3570 |
|
3570 | 3571 |
&.item-icon { |
3571 |
- color:#3592b5; |
|
3572 | 3572 |
font-size: 9px; |
3573 | 3573 |
padding-top:2px; |
3574 | 3574 |
line-height: 12px; |
... | ... | @@ -3584,7 +3584,10 @@ |
3584 | 3584 |
} |
3585 | 3585 |
|
3586 | 3586 |
&.item-count { |
3587 |
- padding:0 7px; |
|
3587 |
+ &.strong { |
|
3588 |
+ color:@primary; |
|
3589 |
+ } |
|
3590 |
+ padding:0 7px 0 0; |
|
3588 | 3591 |
} |
3589 | 3592 |
} |
3590 | 3593 |
} |
--- app/assets/stylesheets/less/_yobiUI.less
+++ app/assets/stylesheets/less/_yobiUI.less
... | ... | @@ -307,6 +307,7 @@ |
307 | 307 |
background:#f9f9f9; |
308 | 308 |
font-size:11px; |
309 | 309 |
text-shadow:none; |
310 |
+ line-height: 12px; |
|
310 | 311 |
-webkit-transition-duration:0.25s; |
311 | 312 |
|
312 | 313 |
&:last-of-type { margin:0; } |
--- app/utils/TemplateHelper.scala
+++ app/utils/TemplateHelper.scala
... | ... | @@ -535,9 +535,9 @@ |
535 | 535 |
Html("""<span class="count-groups item-icon %s"> |
536 | 536 |
<i class="yobicon-%s"></i> |
537 | 537 |
</span> |
538 |
- <span class="count-groups item-count"> |
|
538 |
+ <span class="count-groups item-count %s"> |
|
539 | 539 |
<a href="%s">%d</a> |
540 |
- </span> """.format(strong, icon, link, count)) |
|
540 |
+ </span> """.format(strong, icon, strong, link, count)) |
|
541 | 541 |
} |
542 | 542 |
|
543 | 543 |
def isMarkdownExtension(path: String):Boolean = { |
--- app/views/board/partial_list.scala.html
+++ app/views/board/partial_list.scala.html
... | ... | @@ -62,7 +62,7 @@ |
62 | 62 |
|
63 | 63 |
@if(post.numOfComments >0){ |
64 | 64 |
<span class="infos-item item-count-groups"> |
65 |
- @countHtml("comments",routes.BoardApp.post(project.owner, project.name, post.getNumber).toString() + "#comments", post.numOfComments) |
|
65 |
+ @countHtml("comment2",routes.BoardApp.post(project.owner, project.name, post.getNumber).toString() + "#comments", post.numOfComments) |
|
66 | 66 |
</span> |
67 | 67 |
} |
68 | 68 |
@for(label <- post.labels) { |
--- app/views/issue/partial_list.scala.html
+++ app/views/issue/partial_list.scala.html
... | ... | @@ -79,7 +79,7 @@ |
79 | 79 |
@if(issue.comments.size>0 || issue.voters.size>0) { |
80 | 80 |
<span class="infos-item item-count-groups"> |
81 | 81 |
@if(issue.comments.size>0){ |
82 |
- @countHtml("comments",routes.IssueApp.issue(issue.project.owner, issue.project.name, issue.getNumber).toString() + "#comments", issue.comments.size ) |
|
82 |
+ @countHtml("comment2",routes.IssueApp.issue(issue.project.owner, issue.project.name, issue.getNumber).toString() + "#comments", issue.comments.size ) |
|
83 | 83 |
} |
84 | 84 |
@if(issue.voters.size>0){ |
85 | 85 |
@countHtml("hearts",routes.IssueApp.issue(issue.project.owner, issue.project.name, issue.getNumber).toString() + "#vote", issue.voters.size, "strong" ) |
--- app/views/reviewthread/partial_list.scala.html
+++ app/views/reviewthread/partial_list.scala.html
... | ... | @@ -58,7 +58,7 @@ |
58 | 58 |
|
59 | 59 |
@if(numberOfComments > 0) { |
60 | 60 |
<span class="infos-item item-count-groups"> |
61 |
- @countHtml("comments",DiffRenderer.urlToCommentThread(thread), numberOfComments) |
|
61 |
+ @countHtml("comment2",DiffRenderer.urlToCommentThread(thread), numberOfComments) |
|
62 | 62 |
</span> |
63 | 63 |
} |
64 | 64 |
} |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?