Skip to content

Commit efae56b

Browse files
committed
Translucent backgrounds/navbar opacity adjustments
1 parent 1d16d9c commit efae56b

File tree

2 files changed

+8
-18
lines changed

2 files changed

+8
-18
lines changed

browser/themes/shared/r3dfox.css

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -611,14 +611,9 @@
611611
}
612612
.tabbrowser-tab {
613613
&:not([visuallyselected]) {
614-
.tab-background { background-color: rgba(0, 0, 0, 0.75) !important; }
615-
&:hover .tab-background { background-color: rgba(65, 64, 76, 0.75) !important; }
616-
&[multiselected] .tab-background { background-color: rgba(65, 64, 76, 0.75) !important; }
617-
@media (-moz-bool-pref: "r3dfox.translucent.navbar") {
618-
.tab-background { background-color: rgba(0, 0, 0, 0.33) !important; }
619-
&:hover .tab-background { background-color: rgba(65, 64, 76, 0.5) !important; }
620-
&[multiselected] .tab-background { background-color: rgba(65, 64, 76, 0.5) !important; }
621-
}
614+
.tab-background { background-color: rgba(0, 0, 0, 0.33) !important; }
615+
&:hover .tab-background { background-color: rgba(0, 0, 0, 0.66) !important; }
616+
&[multiselected] .tab-background { background-color: rgba(0, 0, 0, 0.5) !important; }
622617
}
623618
}
624619
}
@@ -650,14 +645,9 @@
650645
}
651646
.tabbrowser-tab {
652647
&:not([visuallyselected]) {
653-
.tab-background { background-color: rgba(249, 249, 251, 0.66) !important; }
654-
&:hover .tab-background { background-color: rgba(249, 249, 251, 0.75) !important; }
655-
&[multiselected] .tab-background { background-color: rgba(249, 249, 251, 0.75) !important; }
656-
@media (-moz-bool-pref: "r3dfox.translucent.navbar") {
657-
.tab-background { background-color: rgba(249, 249, 251, 0.33) !important; }
658-
&:hover .tab-background { background-color: rgba(249, 249, 251, 0.5) !important; }
659-
&[multiselected] .tab-background { background-color: rgba(249, 249, 251, 0.5) !important; }
660-
}
648+
.tab-background { background-color: rgba(249, 249, 251, 0.33) !important; }
649+
&:hover .tab-background { background-color: rgba(249, 249, 251, 0.66) !important; }
650+
&[multiselected] .tab-background { background-color: rgba(249, 249, 251, 0.5) !important; }
661651
}
662652
}
663653
}

browser/themes/windows/browser.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
:root {
1212
--sidebar-border-color: ThreeDLightShadow;
1313
@media (-moz-bool-pref: "r3dfox.translucent.navbar") {
14-
--toolbar-bgcolor: light-dark(rgb(249, 249, 251, 0.66), rgba(43, 42, 51, 0.66)) !important;
15-
--toolbar-field-background-color: light-dark(rgb(240, 240, 244, 0.25), rgba(28, 27, 34, 0.25)) !important;
14+
--toolbar-bgcolor: light-dark(rgb(249, 249, 251, 0.66), rgba(0, 0, 0, 0.66)) !important;
15+
--toolbar-field-background-color: light-dark(rgb(240, 240, 244, 0.33), rgba(28, 27, 34, 0.33)) !important;
1616
}
1717
}
1818

0 commit comments

Comments
 (0)