Skip to content

Commit

Permalink
fix selector
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed Nov 14, 2024
1 parent 2c2f11a commit 1aaf316
Show file tree
Hide file tree
Showing 2 changed files with 235 additions and 98 deletions.
331 changes: 234 additions & 97 deletions github-dark.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@
color: #aaa !important;
}
table[class*="DiffLines-module"], div[data-diff-anchor], #comments .border,
.dzCJzi {
react-app .dzCJzi {
background: #181818;
}
/* remove frontpage background */
Expand Down Expand Up @@ -546,105 +546,9 @@
.GlowCircleBackground-module__backgroundContainer--Lnepi {
background-color: #f0f0f0;
}
.bHLmSv {
background-color: transparent;
}
.cgFZpq:hover, .gjQlJX, .jdgHnn th {
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));
}
.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;
}
.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));
}
.kbCLEG {
background-color: transparent;
}
[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"],
Expand Down Expand Up @@ -1644,6 +1548,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);
Expand Down
2 changes: 1 addition & 1 deletion src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
color: #aaa !important;
}
table[class*="DiffLines-module"], div[data-diff-anchor], #comments .border,
.dzCJzi {
react-app .dzCJzi {
background: #181818;
}
/* remove frontpage background */
Expand Down

0 comments on commit 1aaf316

Please sign in to comment.