Skip to content

Commit cc2b7dc

Browse files
committed
consolidate
1 parent 4ad8c8b commit cc2b7dc

File tree

1 file changed

+12
-20
lines changed

1 file changed

+12
-20
lines changed

src/style.css

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,6 @@ projects-v2 div:has(> span ~ h1) span[data-variant="done"] {
4242
background-color: var(--rissue-issue-closed-fg) !important;
4343
}
4444

45-
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{
46-
fill: unset !important;
47-
}
48-
49-
/* milestone check */
50-
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{
51-
fill: var(--rissue-issue-closed) !important;
52-
}
53-
54-
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"]) circle[stroke-linecap="round"]{
55-
stroke: var(--rissue-issue-closed) !important;
56-
}
57-
5845
:is(
5946
span.State--merged, /* issue badge (legacy) */
6047
.TimelineItem-badge, /* timeline icon (legacy) */
@@ -71,11 +58,6 @@ div:is([class^="prc-Timeline-TimelineBadge-"],[class*=" prc-Timeline-TimelineBad
7158
background-color: var(--rissue-issue-closed) !important;
7259
}
7360

74-
/* sub issue circle */
75-
svg[class^="ProgressCircle-module__completedIcon"] > circle{
76-
stroke: var(--rissue-issue-closed) !important;
77-
}
78-
7961
/* progress circle */
8062
:is(
8163
#issue-viewer-side-panel,
@@ -84,7 +66,11 @@ svg[class^="ProgressCircle-module__completedIcon"] > circle{
8466
circle[class^="ProgressCircle-module__circleProgressShade"],
8567
circle[class^="ProgressCircle-module__circleProgress"]
8668
),
87-
projects-v2 svg[data-target="tracked-issues-progress.progress"] circle[stroke-dashoffset]{
69+
projects-v2 svg[data-target="tracked-issues-progress.progress"] circle[stroke-dashoffset],
70+
/* sub issue circle */
71+
svg[class^="ProgressCircle-module__completedIcon"] > circle,
72+
/* milestone circle */
73+
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"]) circle[stroke-linecap="round"]{
8874
stroke: var(--rissue-issue-closed) !important;
8975
}
9076

@@ -95,6 +81,12 @@ projects-v2 svg[data-target="tracked-issues-progress.progress"] circle[stroke-da
9581
react-app[app-name="issues-react"]
9682
) :is(
9783
svg[class^="ProgressCircle-module__completedIcon"]
98-
) > path{
84+
) > path,
85+
/* milestone check */
86+
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{
9987
fill: var(--rissue-issue-closed) !important;
88+
}
89+
90+
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{
91+
fill: unset !important;
10092
}

0 commit comments

Comments
 (0)