Skip to content

gitlab.com - Dark mode fixes by uberfoosea

Details

Authoruberfoosea

LicenseMIT

Categorygitlab.com

Created

Updated

Size1.4 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Fix some issues with dark mode and darker darks.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           gitlab.com - Dark mode fixes
@namespace      github.com/openstyles/stylus
@version        1.0.2
@description    Fix some issues with dark mode and darker darks.
@author         mikeeddington
==/UserStyle== */
@-moz-document domain("gitlab.com") {
    /* Black background for comments */
    .notes.timeline > .timeline-entry.note-discussion .timeline-content ul li:not(.target) .timeline-content:not(.flash-container) {
        background-color: #000;
    }
    .notes.timeline > .timeline-entry.note-discussion .discussion-reply-holder {
        border: 1px solid #dcdcde;
        background-color: #000;
    }
    .notes.timeline > .timeline-entry.note-comment:not(.target) .timeline-content:not(.flash-container),
    .notes.timeline > .timeline-entry.note-skeleton:not(.target) .timeline-content:not(.flash-container),
    .notes.timeline > .timeline-entry .draft-note:not(.target) .timeline-content:not(.flash-container) {
        background-color: #000;
    }

    /* Black backgound code code snippets */
    .code.dark,
    .code.dark pre.code,
    .code.dark .line_holder .line_content {
        background-color: #000;
        color: #c5c8c6;
    }

    /* Black background for MR diff search popups */
    .codeHost-module__hover-overlay {
        background-color: #000000;
    }

    .timeline-entry:not(.note-form).internal-note .timeline-content {
        background-color: #534034 !important;
    }
}

Reviews

No reviews yet.