diff --git a/github-dark.user.css b/github-dark.user.css index 374f6c53b..0aa4bf59a 100644 --- a/github-dark.user.css +++ b/github-dark.user.css @@ -273,6 +273,9 @@ .text-mono, .kKFNhh, .Link--secondary { color: #aaa !important; } + table[class*="DiffLines-module"], div[data-diff-anchor], #comments .border { + background: #181818; + } /* remove frontpage background */ .application-main > .color-bg-default, .feed-background { background: transparent !important; @@ -542,6 +545,9 @@ .GlowCircleBackground-module__backgroundContainer--Lnepi { background-color: #f0f0f0; } + .cgFZpq:hover, .gjQlJX, .jdgHnn th { + background-color: var(--bgColor-muted, var(--color-canvas-subtle, #222)); + } [data-color-mode="auto"][data-light-theme="light"], [data-color-mode="auto"][data-light-theme="light"] ::backdrop, [data-color-mode="light"][data-light-theme="light"], @@ -1541,6 +1547,239 @@ background-color: transparent; } } + .bHLmSv { + background-color: transparent; + } + .kTvpNk { + background-color: var(--bgColor-muted, var(--color-canvas-subtle, #222)); + } + .kBQCgV { + background-color: transparent; + } + .kBQCgV, .kBQCgV:focus:not(:disabled) { + box-shadow: none; + } + .kBQCgV:focus-visible:not(:disabled) { + box-shadow: none; + } + .kBQCgV:disabled { + box-shadow: none; + background-color: var(--button-invisible-bgColor-disabled, transparent); + } + .kBQCgV[data-inactive]:not([disabled]):focus-visible { + box-shadow: none; + } + .dPmZyJ { + background-color: transparent; + } + .dPmZyJ, .dPmZyJ:focus:not(:disabled) { + box-shadow: none; + } + .dPmZyJ:focus-visible:not(:disabled) { + box-shadow: none; + } + .dPmZyJ:disabled { + box-shadow: none; + background-color: var(--button-invisible-bgColor-disabled, transparent); + } + .dPmZyJ[data-inactive]:not([disabled]):focus-visible { + box-shadow: none; + } + .iQGjqs { + background-color: var(--button-default-bgColor-rest, var(--color-btn-bg, #222)); + } + .iQGjqs:focus:not(:disabled) { + box-shadow: none; + } + .iQGjqs:focus-visible:not(:disabled) { + box-shadow: none; + } + .iQGjqs:disabled { + box-shadow: none; + } + .iQGjqs[data-inactive]:not([disabled]):focus-visible { + box-shadow: none; + } + .iQGjqs:hover:not([disabled]):not([data-inactive]) { + background-color: var(--button-default-bgColor-hover, var(--color-btn-hover-bg, #242424)); + } + .iLfocZ { + background-color: var(--button-default-bgColor-rest, var(--color-btn-bg, #222)); + } + .iLfocZ:focus:not(:disabled) { + box-shadow: none; + } + .iLfocZ:focus-visible:not(:disabled) { + box-shadow: none; + } + .iLfocZ:disabled { + box-shadow: none; + } + .iLfocZ[data-inactive]:not([disabled]):focus-visible { + box-shadow: none; + } + .iLfocZ:hover:not([disabled]):not([data-inactive]) { + background-color: var(--button-default-bgColor-hover, var(--color-btn-hover-bg, #242424)); + } + .JVsBq { + background-color: var(--button-default-bgColor-rest, var(--color-btn-bg, #222)); + } + .JVsBq:focus:not(:disabled) { + box-shadow: none; + } + .JVsBq:focus-visible:not(:disabled) { + box-shadow: none; + } + .JVsBq:disabled { + box-shadow: none; + } + .JVsBq[data-inactive]:not([disabled]):focus-visible { + box-shadow: none; + } + .JVsBq:hover:not([disabled]):not([data-inactive]) { + background-color: var(--button-default-bgColor-hover, var(--color-btn-hover-bg, #242424)); + } + .fwExmK { + background-color: transparent; + } + .fwExmK, .fwExmK:focus:not(:disabled) { + box-shadow: none; + } + .fwExmK:focus-visible:not(:disabled) { + box-shadow: none; + } + .fwExmK:disabled { + box-shadow: none; + background-color: var(--button-invisible-bgColor-disabled, transparent); + } + .fwExmK[data-inactive]:not([disabled]):focus-visible { + box-shadow: none; + } + .ifVXZX { + background-color: var(--button-default-bgColor-rest, var(--color-btn-bg, #222)); + } + .ifVXZX:focus:not(:disabled) { + box-shadow: none; + } + .ifVXZX:focus-visible:not(:disabled) { + box-shadow: none; + } + .ifVXZX:disabled { + box-shadow: none; + } + .ifVXZX[data-inactive]:not([disabled]):focus-visible { + box-shadow: none; + } + .ifVXZX:hover:not([disabled]):not([data-inactive]) { + background-color: var(--button-default-bgColor-hover, var(--color-btn-hover-bg, #242424)); + } + .gGdPyq { + background-color: var(--button-default-bgColor-rest, var(--color-btn-bg, #222)); + } + .gGdPyq:focus:not(:disabled) { + box-shadow: none; + } + .gGdPyq:focus-visible:not(:disabled) { + box-shadow: none; + } + .gGdPyq:disabled { + box-shadow: none; + } + .gGdPyq[data-inactive]:not([disabled]):focus-visible { + box-shadow: none; + } + .gGdPyq:hover:not([disabled]):not([data-inactive]) { + background-color: var(--button-default-bgColor-hover, var(--color-btn-hover-bg, #242424)); + } + .dOuZvu { + background-color: var(--button-default-bgColor-rest, var(--color-btn-bg, #222)); + } + .dOuZvu:focus:not(:disabled) { + box-shadow: none; + } + .dOuZvu:focus-visible:not(:disabled) { + box-shadow: none; + } + .dOuZvu:disabled { + box-shadow: none; + } + .dOuZvu[data-inactive]:not([disabled]):focus-visible { + box-shadow: none; + } + .dOuZvu:hover:not([disabled]):not([data-inactive]) { + background-color: var(--button-default-bgColor-hover, var(--color-btn-hover-bg, #242424)); + } + .kOvYzm { + background-color: transparent; + } + .kOvYzm, .kOvYzm:focus:not(:disabled) { + box-shadow: none; + } + .kOvYzm:focus-visible:not(:disabled) { + box-shadow: none; + } + .kOvYzm:disabled { + box-shadow: none; + background-color: var(--button-invisible-bgColor-disabled, transparent); + } + .kOvYzm[data-inactive]:not([disabled]):focus-visible { + box-shadow: none; + } + .ggSvLP { + background-color: transparent; + } + .ggSvLP, .ggSvLP:focus:not(:disabled) { + box-shadow: none; + } + .ggSvLP:focus-visible:not(:disabled) { + box-shadow: none; + } + .ggSvLP:disabled { + box-shadow: none; + background-color: var(--button-invisible-bgColor-disabled, transparent); + } + .ggSvLP[data-inactive]:not([disabled]):focus-visible { + box-shadow: none; + } + .hWlpPn::after { + color: var(--tooltip-fgColor, var(--fgColor-onEmphasis, var(--color-fg-on-emphasis, #181818))); + } + .gwqFqs { + background-color: var(--bgColor-default, var(--color-canvas-default, #181818)); + } + .dwImxt, .kbCLEG { + background-color: transparent; + } + .dwImxt:focus:not(:disabled) { + box-shadow: none; + } + .dwImxt:focus-visible:not(:disabled) { + box-shadow: none; + } + .dwImxt .segmentedControl-content { + background-color: var(--controlKnob-bgColor-rest, var(--color-segmented-control-button-bg, #181818)); + } + .iFTkun { + background-color: transparent; + } + .iFTkun:focus:not(:disabled) { + box-shadow: none; + } + .iFTkun:focus-visible:not(:disabled) { + box-shadow: none; + } + .bHmvop, .iFTkun .segmentedControl-content { + background-color: transparent; + } + .bHmvop:focus:not(:disabled) { + box-shadow: none; + } + .bHmvop:focus-visible:not(:disabled) { + box-shadow: none; + } + .bHmvop .segmentedControl-content { + background-color: transparent; + } /* end github.com rules */ body, body.bg-gray { color: var(--ghd-body-color); diff --git a/src/main.css b/src/main.css index 1de0f9e4e..9d1b0bdb2 100644 --- a/src/main.css +++ b/src/main.css @@ -92,6 +92,9 @@ .text-mono, .kKFNhh, .Link--secondary { color: #aaa !important; } + table[class*="DiffLines-module"], div[data-diff-anchor], #comments .border { + background: #181818; + } /* remove frontpage background */ .application-main > .color-bg-default, .feed-background { background: transparent !important;