]> source.dussan.org Git - gitea.git/commitdiff
Improve visibility of "Pending" indicator (#8685)
authorguillep2k <18600385+guillep2k@users.noreply.github.com>
Sat, 26 Oct 2019 00:43:38 +0000 (21:43 -0300)
committerLunny Xiao <xiaolunwen@gmail.com>
Sat, 26 Oct 2019 00:43:38 +0000 (08:43 +0800)
* Improve visibility of "Pending" indicator

* Use background-color instead of just background

* Tone down the yellow

public/css/index.css
public/less/_repository.less
templates/repo/diff/comments.tmpl

index e404c1fec636ff5484c4fd9ad48a78c578d50a64..2815accab9d413c557ab2db8518667e01462bbf6 100644 (file)
@@ -567,6 +567,7 @@ i.icon.centerlock{top:1.5em}
 .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}
 .repository.view.issue .comment-list .comment .avatar{width:3em}
 .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}
+.repository.view.issue .comment-list .comment .tag.pending{color:#000;background-color:#fffbb2;margin-left:5px}
 .repository.view.issue .comment-list .comment .actions .item{float:left}
 .repository.view.issue .comment-list .comment .actions .item.tag{margin-right:5px}
 .repository.view.issue .comment-list .comment .actions .item.action{margin-top:6px;margin-left:10px}
index 48a1214c076be8c34df3d99afd45209c1a86bd2e..d6bc84ee56ae899df90273babbafd4bf46f6ca83 100644 (file)
                     font-size: 12px;
                     border: 1px solid rgba(0, 0, 0, 0.1);
                     border-radius: 3px;
+                    &.pending {
+                        color: black;
+                        background-color: #fffbb2;
+                        margin-left: 5px;
+                    }
                 }
 
                 .actions {
index 1288886a61dad1125b4a3fc9b2103ba9166eaae8..85c84c6bac4a280d2a4022198452555c0285c6db 100644 (file)
@@ -11,7 +11,7 @@
                        <div class="ui right actions">
                        {{if and .Review}}
                                {{if eq .Review.Type 0}}
-                                       <div class="item tag">
+                                       <div class="item tag pending">
                                        {{$.root.i18n.Tr "repo.issues.review.pending"}}
                                        </div>
                                {{else}}