From 29a51f2e36612ffc92e3c630e844ce08027b85c5 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Thu, 23 Mar 2023 17:15:22 +0900 Subject: [PATCH] Fix: Tab - Tab shadow size --- css/leptonChrome.css | 4 ++-- src/tab/selected_tab/_box_shadow.scss | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/css/leptonChrome.css b/css/leptonChrome.css index d535cd47..db99d2d7 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -6187,7 +6187,7 @@ > .tab-stack > .tab-background:-moz-lwtheme { --uc-tab-shadow-color: var(--uc-tab-shadow-color-bundle); - filter: drop-shadow(-1px -0.5px 0px var(--uc-tab-shadow-color, transparent)) + filter: drop-shadow(-1px 0px 0px var(--uc-tab-shadow-color, transparent)) drop-shadow(1px -1px 0px var(--uc-tab-shadow-color, transparent)) drop-shadow(0 0 2px rgba(128, 128, 142, 0.5)); } :root:not([lwtheme-mozlightdark], [style*="--lwt-accent-color: rgb(28, 27, 34); --lwt-text-color: rgba(251, 251, 254);"]) @@ -6196,7 +6196,7 @@ .tabbrowser-tab:is([visuallyselected="true"], [multiselected]) > .tab-stack > .tab-background:-moz-lwtheme { - filter: drop-shadow(-1px -0.5px 0px var(--uc-tab-shadow-color, transparent)) + filter: drop-shadow(-1px 0px 0px var(--uc-tab-shadow-color, transparent)) drop-shadow(1px -1px 0px var(--uc-tab-shadow-color, transparent)); } } diff --git a/src/tab/selected_tab/_box_shadow.scss b/src/tab/selected_tab/_box_shadow.scss index 864d5328..02d5a2c0 100644 --- a/src/tab/selected_tab/_box_shadow.scss +++ b/src/tab/selected_tab/_box_shadow.scss @@ -1,9 +1,12 @@ +//-- Mixin --------------------------------------------------------------------- $ucTabBasicShadow: drop-shadow(0 0 2px rgba(0, 0, 0, 0.4)); $ucTabAdditionalShadow: drop-shadow(0 0 2px rgba(128, 128, 142, 0.5)); $ucTabBackgroundShadowSoft: drop-shadow(0 0 1px var(--uc-tab-shadow-color, transparent)); -$ucTabBackgroundShadowHard: drop-shadow(-1px -0.5px 0px var(--uc-tab-shadow-color, transparent)) +$ucTabBackgroundShadowHard: drop-shadow(-1px 0px 0px var(--uc-tab-shadow-color, transparent)) drop-shadow(1px -1px 0px var(--uc-tab-shadow-color, transparent)); +//------------------------------------------------------------------------------ + #TabsToolbar { --uc-tab-shadow-color: var(--tab-line-color, var(--lwt-tab-line-color, var(--tabs-border-color, rgba(128, 128, 142, 0.9)))); --uc-tab-shadow-color-bundle: var(--tab-line-color, var(--lwt-tab-line-color, rgba(128, 128, 142, 0.9)));