summaryrefslogtreecommitdiffstats
path: root/web_src/less/_review.less
diff options
context:
space:
mode:
authorGusted <williamzijl7@hotmail.com>2022-05-07 05:35:12 +0000
committerGitHub <noreply@github.com>2022-05-07 01:35:12 -0400
commit0eac09e0662ae70b8b6e3e5e8c33547c79ff7124 (patch)
treed5dc0a6ed8c4c1b92a273277380300289103d328 /web_src/less/_review.less
parent5a9c505e148a06cc652cab52bf7a59b23e605282 (diff)
downloadgitea-0eac09e0662ae70b8b6e3e5e8c33547c79ff7124.tar.gz
gitea-0eac09e0662ae70b8b6e3e5e8c33547c79ff7124.zip
Improve reviewing PR UX (#19612)
Diffstat (limited to 'web_src/less/_review.less')
-rw-r--r--web_src/less/_review.less13
1 files changed, 13 insertions, 0 deletions
diff --git a/web_src/less/_review.less b/web_src/less/_review.less
index eddd32fa66..8bc41b9736 100644
--- a/web_src/less/_review.less
+++ b/web_src/less/_review.less
@@ -242,6 +242,19 @@ a.blob-excerpt:hover {
border: none !important;
}
+#review-box .review-comments-counter {
+ background-color: var(--color-primary-light-4);
+ color: #fff;
+}
+
+#review-box:hover .review-comments-counter {
+ background-color: var(--color-primary-light-5);
+}
+
+#review-box .review-comments-counter[data-pending-comment-number="0"] {
+ display: none;
+}
+
.pull.files.diff [id] {
scroll-margin-top: 99px;