GitHub Red Closed Icon Issues

back reddish color icon for closed github issues

目前為 2021-11-08 提交的版本,檢視 最新版本

/* ==UserStyle==
@name           GitHub Red Closed Icon Issues
@namespace      github.com/openstyles/stylus
@version        1.0.12
@description    back reddish color icon for closed github issues
@author         Katsute, kidonng, krystian3w, iam-py-test
@license        CC BY-NC-SA 4.0 https://creativecommons.org/licenses/by-nc-sa/4.0/
==/UserStyle== */
@-moz-document domain("github.com") {
    /* Copyright (C) 2021 Katsute <https://github.com/Katsute> */
    :root { /* this part provided by kidonng <https://github.com/kidonng> */
        --rcie-issue-closed: var(--color-danger-fg, #F85149);
        --rcie-white: var(--color-fg-on-emphasis, #F0F6Fc);
    /* this part provided by kidonng <https://github.com/kidonng> */
    }

    /* issue hover */
    .Popover .octicon.octicon-issue-closed.color-text-danger {
        color: var(--rcie-issue-closed) !important;
    }
    /* subscriptions */
    .issue-closed-done .octicon.octicon-issue-closed.color-text-danger {
        color: var(--rcie-issue-closed) !important;
    }

    /* issue badge */
    span[title="Status: Closed"] {
        background-color: var(--rcie-issue-closed) !important;
    }

    span[title="Status: Closed"] .octicon-issue-closed {
        color: var(--rcie-white) !important;
    }
}

@-moz-document regexp("^https?:\\/\\/(www\\.)?github.com\\/[^\\/]+\\/[^\\/]+\\/issues.*$") {
    /* issue icon */
    .issue-closed-done .octicon-issue-closed {
        color: var(--rcie-issue-closed) !important;
    }
    
    .js-pinned-issues-reorder-container .octicon-issue-closed {
        color: var(--rcie-issue-closed) !important;
    }
    
    /* timeline */
    .TimelineItem-badge.color-bg-done-emphasis {
        background-color: var(--rcie-issue-closed) !important;
    }

    .TimelineItem-badge.color-bg-done-emphasis .octicon {
        color: var(--rcie-white) !important;
    }

    /* projects beta */
    svg[aria-label="Closed issue"] {
        color: var(--rcie-issue-closed) !important;
    }
}