From 21546dd59c562e5d01ce2e9cbf72fbd8f7f117af Mon Sep 17 00:00:00 2001 From: Eddie James Carswell II Date: Mon, 15 Feb 2021 00:38:56 -0800 Subject: [PATCH] Remove unnecessary uses of !important --- wikipedia-dark.user.css | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/wikipedia-dark.user.css b/wikipedia-dark.user.css index 0be92b8..b800ab0 100644 --- a/wikipedia-dark.user.css +++ b/wikipedia-dark.user.css @@ -4205,23 +4205,22 @@ regexp("https?:\/\/([\w\-]{2,}\.m\.(wiki(pedia|books|news|quote|source|versity|v } /* popups fixes */ .mwe-popups .mwe-popups-container { - background-color: var(--gray-2) !important; + background-color: var(--gray-2); } .mwe-popups .mwe-popups-container .mwe-popups-thumbnail { - background-color: var(--white) !important; + background-color: var(--white); } .mwe-popups .mwe-popups-container a { - color: var(--gray-c) !important; + color: var(--gray-c); } .mwe-popups-extract::after { - background-image: linear-gradient(to right, transparent, var(--gray-2) 50%) !important; + background-image: linear-gradient(to right, transparent, var(--gray-2) 50%); } .mw-mmv-ttf-ellipsis::before { - background-image: linear-gradient(to right, transparent, var(--gray-2)) !important; + background-image: linear-gradient(to right, transparent, var(--gray-2)); } - .mwe-popups-extract .mwe-popups-fade, - .mw-mmv-permission-box .mw-mmv-permission-text .mw-mmv-permission-text-fader { - background-image: linear-gradient(to bottom, transparent, var(--gray-2)) !important; + .mwe-popups .mwe-popups-extract[dir="ltr"]::after { + background-image: linear-gradient(to bottom, transparent, var(--gray-2)); } /* these general selectorss have to go when adding not remove all */ td[style*="background"] {