From f50c58f79f69d33aad4d64e5ba12842398692c1c Mon Sep 17 00:00:00 2001 From: fregante Date: Sat, 23 Nov 2024 09:09:53 +0700 Subject: [PATCH] 21.11.21 GHE hot fixes for fuchsia https://github.com/refined-github/refined-github/issues/8091 --- style/21.11.21.css | 48 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 style/21.11.21.css diff --git a/style/21.11.21.css b/style/21.11.21.css new file mode 100644 index 0000000..4fd16dc --- /dev/null +++ b/style/21.11.21.css @@ -0,0 +1,48 @@ +/* GHE lack of colors https://github.com/refined-github/refined-github/issues/8091#issuecomment-2494831593 */ +/* GHE lack of colors https://github.com/refined-github/refined-github/issues/8091#issuecomment-2494831593 */ + +.rgh-extend-diff-expander + .js-expandable-line:hover + :is( + .blob-num:not(:hover) .directional-expander:first-child, + .blob-num:not(:hover) + .blob-code + ) { + color: var( + --control-checked-fgColor-rest, + var(--color-state-hover-primary-text, var(--color-fg-on-emphasis, fuchsia)) + ); + cursor: pointer; + background: var( + --control-checked-bgColor-hover, + var(--color-state-hover-primary-bg, var(--color-accent-emphasis, fuchsia)) + ); + border-color: var( + --control-checked-borderColor-hover, + var( + --color-state-hover-primary-border, + var(--color-accent-emphasis, fuchsia) + ) + ); +} + +:root .rgh-non-default-branch { + background-color: var( + --control-checked-bgColor-hover, + var(--color-state-hover-primary-bg, var(--color-accent-emphasis, fuchsia)) + ); +} + +:root .rgh-non-default-branch, +:root .rgh-non-default-branch a { + color: var( + --control-checked-fgColor-rest, + var(--color-state-hover-primary-text, var(--color-fg-on-emphasis, fuchsia)) + ); +} + +.thread-subscribe-form .btn.selected { + border-color: var( + --control-borderColor-emphasis, + var(--color-accent-emphasis, fuchsia) + ); +}