1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-05-11 05:55:29 +00:00

Improve reviewing PR UX (#19612)

This commit is contained in:
Gusted
2022-05-07 05:35:12 +00:00
committed by GitHub
parent 5a9c505e14
commit 0eac09e066
7 changed files with 74 additions and 3 deletions

View File

@ -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;

View File

@ -50,3 +50,19 @@
opacity: 0;
}
}
@keyframes pulse {
0% {
transform: scale(1);
}
50% {
transform: scale(1.8);
}
100% {
transform: scale(1);
}
}
.pulse {
animation: pulse 2s linear;
}