v12022.04.17 :: Fixed tansparent backgrounds with some themes

This commit is contained in:
t. Macleod Sawyer 2022-04-17 22:36:38 -05:00 committed by GitHub
parent 23994a83b4
commit 586c9ea461
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 20 deletions

View file

@ -1,16 +1,20 @@
/* /*
Extension (Core): Sidebar Extension (Core): Sidebar
Description: This is the core implenration of the sidebar, used in drannex42's FirefoxSidebar. Description: This is the core implenration of the sidebar, used in drannex42's FirefoxSidebar.
Repository URL: https://github.com/drannex42/FirefoxSidebar Repository URL: https://github.com/drannex42/
Version: v12022.04.17
*/ */
#main-window #TabsToolbar { #main-window #TabsToolbar {
visibility: collapse; visibility: collapse;
} }
#sidebar-box > #browser, #sidebar-box > #browser,
#webextpanels-window { #webextpanels-window {
background: transparent !important; background: transparent !important;
} }
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]
@ -48,7 +52,7 @@
#sidebar-header { #sidebar-header {
border: none !important; border: none !important;
border-right: 1px solid var(--sidebar-border-color); border-right: 1px solid var(--sidebar-border-color);
background: var(--custom-sidebar-bg, --sidebar-background-color) !important; background: var(--custom-sidebar-header-bg, transparent) !important;
} }
#sidebar-close, #sidebar-close,
@ -72,12 +76,12 @@
#sidebar-box { #sidebar-box {
/* lock sidebar to height by doing the inverse margin of the toolbar element */ /* lock sidebar to height by doing the inverse margin of the toolbar element */
background: var(--custom-sidebar-bg) !important;
z-index: 1000 !important; z-index: 1000 !important;
position: relative !important; position: relative !important;
margin-top: var(--menubar-height) !important; margin-top: var(--menubar-height) !important;
border-right: none; border-right: none;
transition: none !important; transition: none !important;
background: transparent !important;
/* lock sidebar to specified width */ /* lock sidebar to specified width */
min-width: var(--sidebar-width) !important; min-width: var(--sidebar-width) !important;
@ -128,6 +132,7 @@ toolbarseparator {
width: 50px !important; width: 50px !important;
min-width: 50px !important; min-width: 50px !important;
width: 100% !important; width: 100% !important;
background: var(--custom-sidebar-bg, --sidebar-background);
} }
#nav-bar-customization-target { #nav-bar-customization-target {

View file

@ -11,6 +11,12 @@
--sidebar-padding: calc(var(--sidebar-width) + 5px); --sidebar-padding: calc(var(--sidebar-width) + 5px);
--toolbar-start-end-padding: 5px !important; --toolbar-start-end-padding: 5px !important;
/* Custom Sidebar/Header Backround ::
This sets the background for the other sidebar options (bookmarks, history, in case it is transparent from a theme that is not set up properly
*/
/* --custom-sidebar-bg: Field; /* Default: Field (Disabled) */
/* --custom-sidebar-header-bg: Field; /* Default: Field (Disabled) */
/* ====== Extension Settings ====== */ /* ====== Extension Settings ====== */
/* Window Control / Client Side Display Settings === /* Window Control / Client Side Display Settings ===
@ -24,12 +30,12 @@
/* /*
CSD - Left Side === CSD - Left Side ===
Default: --csd-left: 50px; --csd-margin-left: 92px; Default: --csd-left: 50px; --csd-margin-left: 92px;
/* */
/*
--csd-left: 50px; --csd-left: 50px;
--csd-margin-left: 92px; --csd-margin-left: 92px;
*/
/* END: CSD - Left Side ====== */
/* /*
CSD - Right Side === CSD - Right Side ===
@ -39,18 +45,8 @@
--csd-right: 0px; --csd-right: 0px;
--csd-margin-right: 95px; --csd-margin-right: 95px;
*/
/* END: CSD - Right Side ====== */
/* === END: Window Control / Client Side Display Settings === */ /* === END: Window Control / Client Side Display Settings === */
/* === Custom Sidebar Header Background (Legacy) === */
/* --custom-sidebar-bg: #000 !important; */
/* === END: Custom Sidebar Header Background (Legacy) === */
/* === END: Extension Settings === */ /* === END: Extension Settings === */
} }

View file

@ -3,7 +3,7 @@
Description: Vertical tab design for Firefox with dynamic indentation:: Description: Vertical tab design for Firefox with dynamic indentation::
Sideberry and TreeStyleTabs (Legacy) themes available! Sideberry and TreeStyleTabs (Legacy) themes available!
Repository URL: https://github.com/drannex42/FirefoxSidebar Repository URL: https://github.com/drannex42/FirefoxSidebar
Version: 12022.03.15 Version: 12022.04.17
*/ */
/* /*