Skip to content

Commit 8b07823

Browse files
guillep2klunny
authored andcommitted
Improve visibility of "Pending" indicator (#8685)
* Improve visibility of "Pending" indicator * Use background-color instead of just background * Tone down the yellow
1 parent 6aa3f8b commit 8b07823

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

public/css/index.css

+1
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,7 @@ i.icon.centerlock{top:1.5em}
567567
.repository.view.issue .comment-list .timeline-line:before{display:block;content:"";position:absolute;margin-top:12px;margin-bottom:14px;top:0;bottom:0;left:82px;width:2px;background-color:#f3f3f3;z-index:-1}
568568
.repository.view.issue .comment-list .comment .avatar{width:3em}
569569
.repository.view.issue .comment-list .comment .tag{color:#767676;margin-top:3px;padding:2px 5px;font-size:12px;border:1px solid rgba(0,0,0,.1);border-radius:3px}
570+
.repository.view.issue .comment-list .comment .tag.pending{color:#000;background-color:#fffbb2;margin-left:5px}
570571
.repository.view.issue .comment-list .comment .actions .item{float:left}
571572
.repository.view.issue .comment-list .comment .actions .item.tag{margin-right:5px}
572573
.repository.view.issue .comment-list .comment .actions .item.action{margin-top:6px;margin-left:10px}

public/less/_repository.less

+5
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,11 @@
738738
font-size: 12px;
739739
border: 1px solid rgba(0, 0, 0, 0.1);
740740
border-radius: 3px;
741+
&.pending {
742+
color: black;
743+
background-color: #fffbb2;
744+
margin-left: 5px;
745+
}
741746
}
742747

743748
.actions {

templates/repo/diff/comments.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<div class="ui right actions">
1212
{{if and .Review}}
1313
{{if eq .Review.Type 0}}
14-
<div class="item tag">
14+
<div class="item tag pending">
1515
{{$.root.i18n.Tr "repo.issues.review.pending"}}
1616
</div>
1717
{{else}}

0 commit comments

Comments
 (0)