Skip to content

Instantly share code, notes, and snippets.

@notthatnathan
Last active May 30, 2018 19:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notthatnathan/41fd4493c30daf98cf53146a6bc64b35 to your computer and use it in GitHub Desktop.
Save notthatnathan/41fd4493c30daf98cf53146a6bc64b35 to your computer and use it in GitHub Desktop.
Adds counts next to files in pull requests on github.com as a progress indicator for code reviews. Add to your favorite site-specific browser extension (Stylebot is one).
.files-next-bucket.pull-request-tab-content .file:before {
background-color: #333;
border-radius: 50%;
color: #fff;
content: counter(file);
counter-increment: file;
font-size: 10px;
font-weight: bold;
height: 26px;
line-height: 26px;
position: absolute;
right: calc(100% - 13px);
text-align: center;
top: 30px ;
width: 26px;
}
.pr-toolbar-shadow:before {
content: "";
height: 60px;
position: absolute;
top: -61px;
width: 100%;
}
body {
counter-reset: file;
}
@notthatnathan
Copy link
Author

notthatnathan commented Jan 29, 2018

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment