Skip to content

Instantly share code, notes, and snippets.

@chamberlainpi
Last active September 2, 2022 14:06
Show Gist options
  • Save chamberlainpi/19c3fc231b407332473fb7c7b0184a1a to your computer and use it in GitHub Desktop.
Save chamberlainpi/19c3fc231b407332473fb7c7b0184a1a to your computer and use it in GitHub Desktop.
Github Approval + Emoji checkmark pulsing
/*
Slap this CSS in a Userstyle script tied to `https://github.com/` and enjoy!
This Chrome extension works well and is simple to use:
https://chrome.google.com/webstore/detail/user-javascript-and-css/nbhcbdghjpllgmfilhnhkllmkecfmpld
*/
.Link--muted[aria-label*=approval] {
font-weight: bold;
color: #008800 !important;
position: relative;
animation: 0.4s ease-in-out infinite alternate both pulse;
}
.Link--muted[aria-label*=approval]::after {
content: "\02705";
background: transparent;
display: inline-block !important;
position: absolute;
top: -1.2em;
right: -1.5em;
}
.Link--muted[aria-label*=approval].tooltipped::after {
opacity: 1;
}
@keyframes pulse {
from { opacity: 0.3; }
to { opacity: 1; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment