Merge pull request #7397 from Lund1337/linux-tranparency

Added transparent browser background on linux
This commit is contained in:
mr. m
2025-04-07 02:01:28 -07:00
committed by GitHub
2 changed files with 10 additions and 0 deletions

View File

@@ -380,6 +380,11 @@ pref('widget.macos.titlebar-blend-mode.behind-window', true);
pref('zen.widget.macos.window-material', 3);
#endif
// Enable transparent background for linux
#ifdef MOZ_WIDGET_GTK
pref('zen.widget.linux.transparency', true);
#endif
// Urlbar and autocomplete
pref("browser.urlbar.maxRichResults", 6);
pref("browser.urlbar.trimHttps", true);

View File

@@ -167,6 +167,11 @@
}
}
@media (-moz-platform: linux) and -moz-pref('zen.widget.linux.transparency'){
background: transparent;
--zen-themed-toolbar-bg-transparent: transparent;
}
--toolbar-field-background-color: var(--zen-colors-input-bg) !important;
--arrowpanel-background: var(--zen-dialog-background) !important;