GitHub Red Issues optional supplement

An optional supplement to the "GitHub Red Issues" script/style.

  1. /* ==UserStyle==
  2. @name GitHub Red Issues optional supplement
  3. @namespace github.com/openstyles/stylus
  4. @version 7.0.1
  5. @description An optional supplement to the "GitHub Red Issues" script/style.
  6. @author krystian3w
  7. @license CC BY-NC-SA 4.0 https://creativecommons.org/licenses/by-nc-sa/4.0/
  8. // @compatible firefox Firefox
  9. // @compatible chrome Chrome
  10. // @compatible edge Edge
  11. // @compatible opera Opera
  12. // @compatible safari Safari
  13. ==/UserStyle== */
  14. @-moz-document domain("github.com"), domain("github-com.translate.goog"), regexp("^https?:\\/\\/translated\\.turbopages\\.org\\/proxy_u\\/.*/https\\/github\\.com\\/.*"), regexp("^https:\\/\\/web\\.archive\\.org\\/web\\/[0-9]+\\/https?\\:\\/\\/github.com\\/.*"), regexp("^https:\\/\\/archive\\.[\\w]{2,10}\\/[0-9.-]+\\\\/https?\\:\\/\\/github.com\\/.*") {
  15. /* that is not correct "red github issues" idea, so I override to own green: */
  16. div.gh-header-meta div:has(.octicon-issue-opened) ~ div :is(tracked-issues-progress svg, svg[data-target="tracked-issues-progress.progress"]) > circle:last-child {
  17. stroke: var(--color-open-emphasis) !important;
  18. /* stroke: #347d39 !important; */
  19. }
  20. div[aria-label="Issues"] div[id^="issue_"]:has(.octicon-issue-opened) :is(tracked-issues-progress svg, svg[data-target="tracked-issues-progress.progress"]):not(.octicon-issue-closed) > circle:last-child {
  21. stroke: var(--color-open-emphasis) !important;
  22. /* stroke: #347d39 !important; */
  23. }
  24.  
  25. /* that is not correct "red github issues" idea, so I override to own gray: */
  26. div.gh-header-meta div:has(.octicon-skip) ~ div :is(tracked-issues-progress svg, svg[data-target="tracked-issues-progress.progress"]) > circle:last-child {
  27. stroke: var(--color-fg-muted) !important;
  28. /* stroke: #768390 !important; */
  29. }
  30. div[aria-label="Issues"] div[id^="issue_"]:has(.octicon-skip) :is(tracked-issues-progress svg, svg[data-target="tracked-issues-progress.progress"]):not(.octicon-issue-closed) > circle:last-child {
  31. stroke: var(--color-fg-muted) !important;
  32. /* stroke: #768390 !important; */
  33. }
  34. ul[aria-labelledby="discussions-list"] li:not(:has(a[href*="q=is%3Aclosed"], svg[aria-label="Locked"])) * > a svg.octicon-check-circle.color-fg-muted path {
  35. color: var(--color-fg-muted) !important;
  36. /* color: #768390 !important; */
  37. }
  38. }

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址