Skip to content

Commit 586c9ea

Browse files
author
t. Macleod Sawyer
authored
v12022.04.17 :: Fixed tansparent backgrounds with some themes
1 parent 23994a8 commit 586c9ea

3 files changed

Lines changed: 21 additions & 20 deletions

File tree

extensions/sidebar.css

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
/*
22
Extension (Core): Sidebar
33
Description: This is the core implenration of the sidebar, used in drannex42's FirefoxSidebar.
4-
Repository URL: https://github.com/drannex42/FirefoxSidebar
4+
Repository URL: https://github.com/drannex42/
5+
Version: v12022.04.17
56
*/
67

78
#main-window #TabsToolbar {
89
visibility: collapse;
910
}
1011

12+
13+
1114
#sidebar-box > #browser,
1215
#webextpanels-window {
1316
background: transparent !important;
17+
1418
}
1519

1620
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]
@@ -48,7 +52,7 @@
4852
#sidebar-header {
4953
border: none !important;
5054
border-right: 1px solid var(--sidebar-border-color);
51-
background: var(--custom-sidebar-bg, --sidebar-background-color) !important;
55+
background: var(--custom-sidebar-header-bg, transparent) !important;
5256
}
5357

5458
#sidebar-close,
@@ -72,12 +76,12 @@
7276

7377
#sidebar-box {
7478
/* lock sidebar to height by doing the inverse margin of the toolbar element */
75-
background: var(--custom-sidebar-bg) !important;
7679
z-index: 1000 !important;
7780
position: relative !important;
7881
margin-top: var(--menubar-height) !important;
7982
border-right: none;
8083
transition: none !important;
84+
background: transparent !important;
8185

8286
/* lock sidebar to specified width */
8387
min-width: var(--sidebar-width) !important;
@@ -128,6 +132,7 @@ toolbarseparator {
128132
width: 50px !important;
129133
min-width: 50px !important;
130134
width: 100% !important;
135+
background: var(--custom-sidebar-bg, --sidebar-background);
131136
}
132137

133138
#nav-bar-customization-target {

prefs.css

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
--sidebar-padding: calc(var(--sidebar-width) + 5px);
1212
--toolbar-start-end-padding: 5px !important;
1313

14+
/* Custom Sidebar/Header Backround ::
15+
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
16+
*/
17+
/* --custom-sidebar-bg: Field; /* Default: Field (Disabled) */
18+
/* --custom-sidebar-header-bg: Field; /* Default: Field (Disabled) */
19+
1420
/* ====== Extension Settings ====== */
1521

1622
/* Window Control / Client Side Display Settings ===
@@ -24,12 +30,12 @@
2430
/*
2531
CSD - Left Side ===
2632
Default: --csd-left: 50px; --csd-margin-left: 92px;
27-
/*
28-
29-
--csd-left: 50px;
30-
--csd-margin-left: 92px;
31-
32-
/* END: CSD - Left Side ====== */
33+
*/
34+
35+
/*
36+
--csd-left: 50px;
37+
--csd-margin-left: 92px;
38+
*/
3339

3440
/*
3541
CSD - Right Side ===
@@ -39,18 +45,8 @@
3945
--csd-right: 0px;
4046
--csd-margin-right: 95px;
4147

42-
*/
43-
/* END: CSD - Right Side ====== */
44-
4548
/* === END: Window Control / Client Side Display Settings === */
4649

47-
48-
/* === Custom Sidebar Header Background (Legacy) === */
49-
50-
/* --custom-sidebar-bg: #000 !important; */
51-
52-
/* === END: Custom Sidebar Header Background (Legacy) === */
53-
5450
/* === END: Extension Settings === */
5551

5652
}

userChrome.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Description: Vertical tab design for Firefox with dynamic indentation::
44
Sideberry and TreeStyleTabs (Legacy) themes available!
55
Repository URL: https://github.com/drannex42/FirefoxSidebar
6-
Version: 12022.03.15
6+
Version: 12022.04.17
77
*/
88

99
/*

0 commit comments

Comments
 (0)