From 6ba8a18abe815dd7ae371332f1bb1c908ebda390 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Sun, 26 May 2024 22:35:45 +0900 Subject: [PATCH] Fix: Tabbar - Border Top line at linux default theme #889 --- css/leptonChrome.css | 10 ++++++++++ css/leptonChromeESR.css | 5 +++++ src/tab/_connect_to_window.scss | 5 +++++ 3 files changed, 20 insertions(+) diff --git a/css/leptonChrome.css b/css/leptonChrome.css index 56a17f5c..2f797dbd 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -6825,6 +6825,11 @@ border-top: none !important; box-shadow: 0 -0.01px 0 ThreeDShadow; } + @media (-moz-gtk-csd-available) { + :root:is(:not([lwtheme]), :not(:-moz-lwtheme)) #nav-bar { + box-shadow: 0 -0.01px 0 ThreeDShadow; + } + } } /*= Selected Tab =============================================================*/ /*= Selected Tab - Bold ======================================================*/ @@ -20966,6 +20971,11 @@ box-shadow: 0 -0.01px 0 ThreeDShadow; } } +@media (-moz-bool-pref: "userChrome.tab.connect_to_window") and (-moz-gtk-csd-available) { + :root:is(:not([lwtheme]), :not(:-moz-lwtheme)) #nav-bar { + box-shadow: 0 -0.01px 0 ThreeDShadow; + } +} /*= Selected Tab =============================================================*/ /*= Selected Tab - Bold ======================================================*/ @media not (-moz-bool-pref: "userChrome.tab.selected_bold") { diff --git a/css/leptonChromeESR.css b/css/leptonChromeESR.css index d3d1f7d1..dd3245a8 100644 --- a/css/leptonChromeESR.css +++ b/css/leptonChromeESR.css @@ -7255,6 +7255,11 @@ border-top: none !important; box-shadow: 0 -0.01px 0 ThreeDShadow; } + @media (-moz-gtk-csd-available) { + :root:is(:not([lwtheme]), :not(:-moz-lwtheme)) #nav-bar { + box-shadow: 0 -0.01px 0 ThreeDShadow; + } + } } /*= Selected Tab =============================================================*/ /*= Selected Tab - Bold ======================================================*/ diff --git a/src/tab/_connect_to_window.scss b/src/tab/_connect_to_window.scss index 76154aa5..89ba62b9 100644 --- a/src/tab/_connect_to_window.scss +++ b/src/tab/_connect_to_window.scss @@ -39,4 +39,9 @@ #nav-bar { border-top: none !important; box-shadow: 0 -0.01px 0 ThreeDShadow; + @include OS($linux) { + @include not_lwtheme(false) { + box-shadow: 0 -0.01px 0 ThreeDShadow; + } + } }