GitHub Red Closed Icon Issues

back reddish color icon for closed github issues

目前为 2021-11-08 提交的版本。查看 最新版本

  1. /* ==UserStyle==
  2. @name GitHub Red Closed Icon Issues
  3. @namespace github.com/openstyles/stylus
  4. @version 1.0.12
  5. @description back reddish color icon for closed github issues
  6. @author Katsute, kidonng, krystian3w, iam-py-test
  7. @license CC BY-NC-SA 4.0 https://creativecommons.org/licenses/by-nc-sa/4.0/
  8. ==/UserStyle== */
  9. @-moz-document domain("github.com") {
  10. /* Copyright (C) 2021 Katsute <https://github.com/Katsute> */
  11. :root { /* this part provided by kidonng <https://github.com/kidonng> */
  12. --rcie-issue-closed: var(--color-danger-fg, #F85149);
  13. --rcie-white: var(--color-fg-on-emphasis, #F0F6Fc);
  14. /* this part provided by kidonng <https://github.com/kidonng> */
  15. }
  16.  
  17. /* issue hover */
  18. .Popover .octicon.octicon-issue-closed.color-text-danger {
  19. color: var(--rcie-issue-closed) !important;
  20. }
  21. /* subscriptions */
  22. .issue-closed-done .octicon.octicon-issue-closed.color-text-danger {
  23. color: var(--rcie-issue-closed) !important;
  24. }
  25.  
  26. /* issue badge */
  27. span[title="Status: Closed"] {
  28. background-color: var(--rcie-issue-closed) !important;
  29. }
  30.  
  31. span[title="Status: Closed"] .octicon-issue-closed {
  32. color: var(--rcie-white) !important;
  33. }
  34. }
  35.  
  36. @-moz-document regexp("^https?:\\/\\/(www\\.)?github.com\\/[^\\/]+\\/[^\\/]+\\/issues.*$") {
  37. /* issue icon */
  38. .issue-closed-done .octicon-issue-closed {
  39. color: var(--rcie-issue-closed) !important;
  40. }
  41. .js-pinned-issues-reorder-container .octicon-issue-closed {
  42. color: var(--rcie-issue-closed) !important;
  43. }
  44. /* timeline */
  45. .TimelineItem-badge.color-bg-done-emphasis {
  46. background-color: var(--rcie-issue-closed) !important;
  47. }
  48.  
  49. .TimelineItem-badge.color-bg-done-emphasis .octicon {
  50. color: var(--rcie-white) !important;
  51. }
  52.  
  53. /* projects beta */
  54. svg[aria-label="Closed issue"] {
  55. color: var(--rcie-issue-closed) !important;
  56. }
  57. }