Skip to content

Commit 92cf5ff

Browse files
authored
Merge branch 'main' into tasklist@2632e56
2 parents 5aac225 + 77b24df commit 92cf5ff

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

src/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"name": "GitHub Red Issues",
55
"author": "Katsute",
66
"description": "Revert closed GitHub issues from purple back to red.",
7-
"version": "9.2",
7+
"version": "9.5",
88
"homepage_url": "https://github.com/KatsuteDev/GitHub-Red-Issues",
99
"icons": {
1010
"16": "icon16.png",

src/style.css

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
:not(
1010
react-app[app-name="repo-deployments"] div,
11+
react-app[app-name="blackbird-search"] li,
1112
button[data-testid="mark-as-action-menu-button"] *,
1213
ul[data-testid="mark-as-action-menu-list"] *
1314
) > :not(
@@ -16,8 +17,11 @@
1617
projects-v2 span[class^="StateLabel__StateLabelBase"],
1718
.TimelineItem-Badge,
1819
.TimelineItem-badge,
20+
div:is([class^="prc-Timeline-TimelineBadge-"],[class*=" prc-Timeline-TimelineBadge-"]),
1921
a[href*="/discussions"],
20-
.hx_anim-fade-out
22+
.hx_anim-fade-out,
23+
a[href$="state=closed"] > span,
24+
h2:has(> a[href$="/deployments"]) + ul > li
2125
) > :is(
2226
/* issue icon */
2327
svg.octicon-issue-closed,
@@ -31,6 +35,12 @@
3135
color: var(--rissue-issue-closed-fg) !important;
3236
}
3337

38+
/* closed projects */
39+
projects-v2 div:has(> span ~ h1) span[data-variant="done"] {
40+
border-color: var(--rissue-issue-closed) !important;
41+
background-color: var(--rissue-issue-closed-fg) !important;
42+
}
43+
3444
svg:has(path[d="M11.28 6.78a.75.75 0 0 0-1.06-1.06L7.25 8.69 5.78 7.22a.75.75 0 0 0-1.06 1.06l2 2a.75.75 0 0 0 1.06 0l3.5-3.5Z"]) path{
3545
fill: unset !important;
3646
}
@@ -42,8 +52,10 @@ svg:has(path[d="M11.28 6.78a.75.75 0 0 0-1.06-1.06L7.25 8.69 5.78 7.22a.75.75 0
4252
:is(
4353
span[class^="StateLabel__StateLabelBase"], /* new issue badge & projects v2 */
4454
):has(path[d="M11.28 6.78a.75.75 0 0 0-1.06-1.06L7.25 8.69 5.78 7.22a.75.75 0 0 0-1.06 1.06l2 2a.75.75 0 0 0 1.06 0l3.5-3.5Z"] + path[d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Zm-1.5 0a6.5 6.5 0 1 0-13 0 6.5 6.5 0 0 0 13 0Z"]),
55+
/* timeline icon (legacy) */
56+
.TimelineItem-Badge:has(path[d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm1.5 0a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm10.28-1.72-4.5 4.5a.75.75 0 0 1-1.06 0l-2-2a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018l1.47 1.47 3.97-3.97a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"]),
4557
/* timeline icon */
46-
.TimelineItem-Badge:has(path[d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm1.5 0a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm10.28-1.72-4.5 4.5a.75.75 0 0 1-1.06 0l-2-2a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018l1.47 1.47 3.97-3.97a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"]){
58+
div:is([class^="prc-Timeline-TimelineBadge-"],[class*=" prc-Timeline-TimelineBadge-"]):has(path[d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm1.5 0a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm10.28-1.72-4.5 4.5a.75.75 0 0 1-1.06 0l-2-2a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018l1.47 1.47 3.97-3.97a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"]){
4759
border-color: var(--rissue-issue-closed) !important;
4860
box-shadow: var(--boxShadow-thin, inset 0 0 0 max(1px, 0.0625rem)) var(--rissue-issue-closed) !important;
4961
background-color: var(--rissue-issue-closed) !important;

0 commit comments

Comments
 (0)