-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
98 lines (90 loc) · 4.93 KB
/
style.css
File metadata and controls
98 lines (90 loc) · 4.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/* Copyright (C) 2026 Katsute <https://github.com/Katsute> */
:root {
--rissue-issue-closed : var(--bgColor-closed-emphasis, #da3633);
--rissue-issue-closed-fg : var(--fgColor-closed, #f85149);
--rissue-issue-closed-bg : var(--bgColor-closed-muted, #f8514926);
}
:not(
react-app[app-name="repo-deployments"] div,
react-app[app-name="blackbird-search"] li,
button[data-testid="mark-as-action-menu-button"] *,
ul[data-testid="mark-as-action-menu-list"] *
) > :not(
.State--merged,
span[class^="StateLabel__StateLabelBase"],
span[class^="prc-StateLabel-StateLabel"],
div:is([class^="prc-Timeline-TimelineBadge-"],[class*=" prc-Timeline-TimelineBadge-"]),
a[href*="/discussions"],
.hx_anim-fade-out,
a[href$="state=closed"] > span,
h2:has(> a[href$="/deployments"]) + ul > li,
button[data-testid="checks-status-badge-icon"]
) > :is(
/* issue icon */
svg.octicon-issue-closed,
/* project icon */
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[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"]),
/* search issue icon */
svg: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"]),
/* discussion icon */
svg.octicon-discussion-closed
):not(.color-fg-muted){
color: var(--rissue-issue-closed-fg) !important;
}
/* closed projects */
projects-v2 div:has(> span ~ h1) span[data-variant="done"] {
border-color: var(--rissue-issue-closed) !important;
background-color: var(--rissue-issue-closed-fg) !important;
}
:is(
span[class^="StateLabel__StateLabelBase"],
span[class^="prc-StateLabel-StateLabel"],
):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"]),
/* milestone badge */
span[class*="RepositoryMilestone-module__milestoneStatus"][data-status="closed"],
/* hovercards */
.State--merged:has(svg.octicon-issue-closed)
{
box-shadow: var(--boxShadow-thin, inset 0 0 0 max(1px, 0.0625rem)) var(--rissue-issue-closed) !important;
}
:is(
span[class^="StateLabel__StateLabelBase"],
span[class^="prc-StateLabel-StateLabel"],
):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"]),
/* timeline icon */
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"]),
/* milestone badge */
span[class*="RepositoryMilestone-module__milestoneStatus"][data-status="closed"],
/* hovercards */
.State--merged:has(svg.octicon-issue-closed)
{
border-color: var(--rissue-issue-closed) !important;
background-color: var(--rissue-issue-closed) !important;
}
/* progress circle */
:is(
#issue-viewer-side-panel,
react-app[app-name="issues-react"]
) :is(
circle[class^="ProgressCircle-module__circleProgressShade"],
circle[class^="ProgressCircle-module__circleProgress"]
),
projects-v2 svg[data-target="tracked-issues-progress.progress"] circle[stroke-dashoffset],
/* sub issue circle */
svg[class^="ProgressCircle-module__completedIcon"] > circle,
/* milestone circle */
a[href*="/milestone/"] :is(
svg:has(path[d="M10.0206 11.1074C9.68518 11.3949 9.18014 11.3561 8.8926 11.0206L5.8926 7.52061C5.62055 7.20322 5.63873 6.72989 5.93432 6.4343L7.43432 4.9343C7.74674 4.62188 8.25327 4.62188 8.56569 4.9343C8.87811 5.24672 8.87811 5.75325 8.56569 6.06567L7.58953 7.04182L10.1074 9.97935C10.3949 10.3148 10.3561 10.8198 10.0206 11.1074Z"]),
svg[data-testid="issue-milestone-progress-bar"]
) circle[stroke-linecap="round"]{
stroke: var(--rissue-issue-closed) !important;
}
/* progress check */
svg[class^="ProgressCircle-module__completedIcon"] > path,
/* milestone check */
a[href*="/milestone/"] svg:has(path[d="M10.0206 11.1074C9.68518 11.3949 9.18014 11.3561 8.8926 11.0206L5.8926 7.52061C5.62055 7.20322 5.63873 6.72989 5.93432 6.4343L7.43432 4.9343C7.74674 4.62188 8.25327 4.62188 8.56569 4.9343C8.87811 5.24672 8.87811 5.75325 8.56569 6.06567L7.58953 7.04182L10.1074 9.97935C10.3949 10.3148 10.3561 10.8198 10.0206 11.1074Z"]) path{
fill: var(--rissue-issue-closed) !important;
}
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{
fill: unset !important;
}