From c5a2732954a7bb6ff5d8b4105b000baa9ee08d34 Mon Sep 17 00:00:00 2001 From: Federico Brigante Date: Thu, 17 Aug 2023 23:18:46 +0200 Subject: [PATCH] Drop style hotfixes for long-resolved features --- style/22.10.10.css | 30 ------------------------------ style/22.10.11.css | 19 ------------------- style/22.10.12.css | 12 ------------ style/22.10.3.css | 19 ------------------- style/22.11.21.css | 12 ------------ style/22.11.6.css | 12 ------------ style/22.7.1.css | 4 ---- style/22.7.11.css | 4 ---- style/22.7.20.css | 4 ---- style/22.8.1.css | 4 ---- style/22.8.23.css | 4 ---- style/22.8.8.css | 9 --------- style/22.9.9.css | 24 ------------------------ style/23.2.1.css | 12 ------------ style/23.2.5.css | 6 ------ style/23.3.2.css | 24 ------------------------ style/23.3.31.css | 24 ------------------------ 17 files changed, 223 deletions(-) delete mode 100644 style/22.10.10.css delete mode 100644 style/22.10.11.css delete mode 100644 style/22.10.12.css delete mode 100644 style/22.10.3.css delete mode 100644 style/22.11.21.css delete mode 100644 style/22.11.6.css delete mode 100644 style/22.7.1.css delete mode 100644 style/22.7.11.css delete mode 100644 style/22.7.20.css delete mode 100644 style/22.8.1.css delete mode 100644 style/22.8.23.css delete mode 100644 style/22.8.8.css delete mode 100644 style/22.9.9.css delete mode 100644 style/23.2.1.css delete mode 100644 style/23.2.5.css delete mode 100644 style/23.3.2.css delete mode 100644 style/23.3.31.css diff --git a/style/22.10.10.css b/style/22.10.10.css deleted file mode 100644 index bd6a76c..0000000 --- a/style/22.10.10.css +++ /dev/null @@ -1,30 +0,0 @@ -/* https://github.com/refined-github/refined-github/issues/6061 */ -.rgh-no-unnecessary-split-diff-view .js-diff-table:not(:has([data-split-side])) { - --rgh-only-deletions: table-cell !important; - table-layout: initial !important; -} - -/* https://github.com/refined-github/refined-github/issues/6064 */ -.rgh-no-unnecessary-split-diff-view :is(.inline-comments, .js-inline-annotations) td:nth-child(2):not(.empty-cell) { - display: table-cell !important; -} - -/* https://github.com/refined-github/refined-github/pull/6051 */ -.rgh-clean-dashboard [role='tabpanel'] [data-repository-hovercards-enabled] > [classes] > .body, -.rgh-clean-dashboard .news > [data-repository-hovercards-enabled] > [classes] > .body { - background-color: var(--color-canvas-default); - border: 1px solid var(--color-border-muted); - border-radius: 4px; - margin-top: 16px !important; - box-shadow: var(--color-shadow-medium); -} - -.rgh-hide-newsfeed-noise .news :is( - [classes~="push"], - [classes~="fork"], - [classes~="delete"], - [classes~="follow"], - [classes~="release"] -) { - display: none !important; -} diff --git a/style/22.10.11.css b/style/22.10.11.css deleted file mode 100644 index a90aa9e..0000000 --- a/style/22.10.11.css +++ /dev/null @@ -1,19 +0,0 @@ -/* https://github.com/refined-github/refined-github/pull/6051 */ -.rgh-clean-dashboard [role='tabpanel'] [data-repository-hovercards-enabled] > [classes] > .body, -.rgh-clean-dashboard .news > [data-repository-hovercards-enabled] > [classes] > .body { - background-color: var(--color-canvas-default); - border: 1px solid var(--color-border-muted); - border-radius: 4px; - margin-top: 16px !important; - box-shadow: var(--color-shadow-medium); -} - -.rgh-hide-newsfeed-noise .news :is( - [classes~="push"], - [classes~="fork"], - [classes~="delete"], - [classes~="follow"], - [classes~="release"] -) { - display: none !important; -} diff --git a/style/22.10.12.css b/style/22.10.12.css deleted file mode 100644 index b55491c..0000000 --- a/style/22.10.12.css +++ /dev/null @@ -1,12 +0,0 @@ -/* Hide elements that are stretching the whole viewport https://github.com/refined-github/refined-github/issues/6159 */ -@media (max-width: 920px) { - .Header-link[href="/marketplace"] { - display: none - } -} - -@media (max-width: 820px) { - .Header-link[href="/explore"] { - display: none - } -} diff --git a/style/22.10.3.css b/style/22.10.3.css deleted file mode 100644 index 8710e76..0000000 --- a/style/22.10.3.css +++ /dev/null @@ -1,19 +0,0 @@ -/* https://github.com/refined-github/refined-github/pull/6051 */ -.rgh-clean-dashboard [role='tabpanel'] [data-repository-hovercards-enabled] > [classes] > .body, -.rgh-clean-dashboard .news > [data-repository-hovercards-enabled] > [classes] > .body { - background-color: var(--color-canvas-default); - border: 1px solid var(--color-border-muted); - border-radius: 4px; - margin-top: 16px !important; - box-shadow: var(--color-shadow-medium); -} - -.rgh-hide-newsfeed-noise .news :is( - [classes|="push"], - [classes|="fork"], - [classes|="delete"], - [classes|="follow"], - [classes|="release"] -) { - display: none !important; -} diff --git a/style/22.11.21.css b/style/22.11.21.css deleted file mode 100644 index b55491c..0000000 --- a/style/22.11.21.css +++ /dev/null @@ -1,12 +0,0 @@ -/* Hide elements that are stretching the whole viewport https://github.com/refined-github/refined-github/issues/6159 */ -@media (max-width: 920px) { - .Header-link[href="/marketplace"] { - display: none - } -} - -@media (max-width: 820px) { - .Header-link[href="/explore"] { - display: none - } -} diff --git a/style/22.11.6.css b/style/22.11.6.css deleted file mode 100644 index b55491c..0000000 --- a/style/22.11.6.css +++ /dev/null @@ -1,12 +0,0 @@ -/* Hide elements that are stretching the whole viewport https://github.com/refined-github/refined-github/issues/6159 */ -@media (max-width: 920px) { - .Header-link[href="/marketplace"] { - display: none - } -} - -@media (max-width: 820px) { - .Header-link[href="/explore"] { - display: none - } -} diff --git a/style/22.7.1.css b/style/22.7.1.css deleted file mode 100644 index cd26e50..0000000 --- a/style/22.7.1.css +++ /dev/null @@ -1,4 +0,0 @@ -/* https://github.com/refined-github/refined-github/issues/5823 */ -.file-header.has-open-dropdown:not(.sticky-file-header) { - z-index: 10; -} diff --git a/style/22.7.11.css b/style/22.7.11.css deleted file mode 100644 index cd26e50..0000000 --- a/style/22.7.11.css +++ /dev/null @@ -1,4 +0,0 @@ -/* https://github.com/refined-github/refined-github/issues/5823 */ -.file-header.has-open-dropdown:not(.sticky-file-header) { - z-index: 10; -} diff --git a/style/22.7.20.css b/style/22.7.20.css deleted file mode 100644 index cd26e50..0000000 --- a/style/22.7.20.css +++ /dev/null @@ -1,4 +0,0 @@ -/* https://github.com/refined-github/refined-github/issues/5823 */ -.file-header.has-open-dropdown:not(.sticky-file-header) { - z-index: 10; -} diff --git a/style/22.8.1.css b/style/22.8.1.css deleted file mode 100644 index bc40acb..0000000 --- a/style/22.8.1.css +++ /dev/null @@ -1,4 +0,0 @@ -/* #5914 */ -.notification-shelf ~ .application-main .file-header.sticky-file-header { - top: 60px !important; -} diff --git a/style/22.8.23.css b/style/22.8.23.css deleted file mode 100644 index bc40acb..0000000 --- a/style/22.8.23.css +++ /dev/null @@ -1,4 +0,0 @@ -/* #5914 */ -.notification-shelf ~ .application-main .file-header.sticky-file-header { - top: 60px !important; -} diff --git a/style/22.8.8.css b/style/22.8.8.css deleted file mode 100644 index cb65cd5..0000000 --- a/style/22.8.8.css +++ /dev/null @@ -1,9 +0,0 @@ -/* Firefox dropdown fix https://github.com/refined-github/refined-github/issues/5921 */ -:root main > run-summary { - position: static; -} - -/* #5914 */ -.notification-shelf ~ .application-main .file-header.sticky-file-header { - top: 60px !important; -} diff --git a/style/22.9.9.css b/style/22.9.9.css deleted file mode 100644 index 190e413..0000000 --- a/style/22.9.9.css +++ /dev/null @@ -1,24 +0,0 @@ -/* https://github.com/refined-github/refined-github/issues/5957 */ -.dropdown-menu-reactions.dropdown-menu-ne { - bottom: auto; -} - -/* https://github.com/refined-github/refined-github/pull/6051 */ -.rgh-clean-dashboard [role='tabpanel'] [data-repository-hovercards-enabled] > [classes] > .body, -.rgh-clean-dashboard .news > [data-repository-hovercards-enabled] > [classes] > .body { - background-color: var(--color-canvas-default); - border: 1px solid var(--color-border-muted); - border-radius: 4px; - margin-top: 16px !important; - box-shadow: var(--color-shadow-medium); -} - -.rgh-hide-newsfeed-noise .news :is( - [classes|="push"], - [classes|="fork"], - [classes|="delete"], - [classes|="follow"], - [classes|="release"] -) { - display: none !important; -} diff --git a/style/23.2.1.css b/style/23.2.1.css deleted file mode 100644 index b55491c..0000000 --- a/style/23.2.1.css +++ /dev/null @@ -1,12 +0,0 @@ -/* Hide elements that are stretching the whole viewport https://github.com/refined-github/refined-github/issues/6159 */ -@media (max-width: 920px) { - .Header-link[href="/marketplace"] { - display: none - } -} - -@media (max-width: 820px) { - .Header-link[href="/explore"] { - display: none - } -} diff --git a/style/23.2.5.css b/style/23.2.5.css deleted file mode 100644 index 7090e23..0000000 --- a/style/23.2.5.css +++ /dev/null @@ -1,6 +0,0 @@ -/* https://github.com/refined-github/refined-github/issues/6305 */ -.rgh-hide-newsfeed-noise .body:has( - [data-hydro-click*='"type":"FollowEvent"'] -) { - display: none !important; -} diff --git a/style/23.3.2.css b/style/23.3.2.css deleted file mode 100644 index ae34e98..0000000 --- a/style/23.3.2.css +++ /dev/null @@ -1,24 +0,0 @@ -/* `clean-mergeability-box` https://github.com/refined-github/refined-github/issues/6467 */ -.mergeability-details .js-details-container:not(:has(.status-meta)) .h4 { - display: block -} - -/* `pr-approvals-count` Safari 16.4 color bug */ -.js-issue-row .color-fg-muted [href$='#partial-pull-merging'][aria-label*='approval'] { - font-size: 0.6px; - color: transparent !important; -} - -/* Tab-size override https://github.com/refined-github/refined-github/issues/6477 */ -[style*="tab-size: 1"] {tab-size: 1 !important;} -[style*="tab-size: 2"] {tab-size: 2 !important;} -[style*="tab-size: 3"] {tab-size: 3 !important;} -[style*="tab-size: 4"] {tab-size: 4 !important;} -[style*="tab-size: 5"] {tab-size: 5 !important;} -[style*="tab-size: 6"] {tab-size: 6 !important;} -[style*="tab-size: 7"] {tab-size: 7 !important;} -[style*="tab-size: 8"] {tab-size: 8 !important;} -[style*="tab-size: 9"] {tab-size: 9 !important;} -[style*="tab-size: 10"] {tab-size: 10 !important;} -[style*="tab-size: 11"] {tab-size: 11 !important;} -[style*="tab-size: 12"] {tab-size: 12 !important;} diff --git a/style/23.3.31.css b/style/23.3.31.css deleted file mode 100644 index c858c19..0000000 --- a/style/23.3.31.css +++ /dev/null @@ -1,24 +0,0 @@ -/* `clean-mergeability-box` https://github.com/refined-github/refined-github/issues/6467 */ -.mergeability-details .js-details-container:not(:has(.status-meta)) .h4 { - display: block -} - -/* Fix merge button corners in Firefox https://github.com/refined-github/refined-github/issues/6474 */ -.BtnGroup-item:not(.BtnGroup-parent *):first-child { - border-top-left-radius: 6px; - border-bottom-left-radius: 6px; -} - -/* Tab-size override https://github.com/refined-github/refined-github/issues/6477 */ -[style*="tab-size: 1"] {tab-size: 1 !important;} -[style*="tab-size: 2"] {tab-size: 2 !important;} -[style*="tab-size: 3"] {tab-size: 3 !important;} -[style*="tab-size: 4"] {tab-size: 4 !important;} -[style*="tab-size: 5"] {tab-size: 5 !important;} -[style*="tab-size: 6"] {tab-size: 6 !important;} -[style*="tab-size: 7"] {tab-size: 7 !important;} -[style*="tab-size: 8"] {tab-size: 8 !important;} -[style*="tab-size: 9"] {tab-size: 9 !important;} -[style*="tab-size: 10"] {tab-size: 10 !important;} -[style*="tab-size: 11"] {tab-size: 11 !important;} -[style*="tab-size: 12"] {tab-size: 12 !important;}