From c53c68194be6b6418375d060776a55a791c8fa59 Mon Sep 17 00:00:00 2001 From: bmFtZQ <62812711+bmFtZQ@users.noreply.github.com> Date: Thu, 26 Oct 2023 13:37:44 +0800 Subject: [PATCH] fix tab shadows --- chrome/global/tweaks.css | 2 +- chrome/toolbar/tabbar.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/chrome/global/tweaks.css b/chrome/global/tweaks.css index 936704e..3acf08f 100644 --- a/chrome/global/tweaks.css +++ b/chrome/global/tweaks.css @@ -143,7 +143,7 @@ bugs with certain themes eg. dark text on dark background.) */ } /* Mica broken on newer versions of Firefox */ -/* Uncomment to enable, only works for Firefox versions lower than 117 */ +/* Uncomment to enable, only works for Firefox versions lower than 115 */ /* @media (-moz-platform: windows) { @supports -moz-bool-pref("uc.tweak.win11-mica") { #main-window:not([inFullscreen]):not(:-moz-lwtheme), diff --git a/chrome/toolbar/tabbar.css b/chrome/toolbar/tabbar.css index f65ffbd..d89f2ad 100644 --- a/chrome/toolbar/tabbar.css +++ b/chrome/toolbar/tabbar.css @@ -392,8 +392,8 @@ toolbarbutton[part="scrollbutton-down"] { 0 2px 4px rgba(0, 0, 0, 0.45), 0 0px 2px rgba(0, 0, 0, 0.2); } -.tabbrowser-tab:is([visuallyselected="true"], [multiselected])>.tab-stack>.tab-background, -#TabsToolbar #firefox-view-button[open]>.toolbarbutton-icon { +#tabbrowser-tabs .tab-background:is([selected], [multiselected]), +#TabsToolbar #firefox-view-button[open] > .toolbarbutton-icon { box-shadow: var(--uc-tab-shadow) !important; }