feat: Add preference for dimming pending tabs in Zen browser theme

This commit is contained in:
Mauro Balades
2024-08-12 10:22:10 +02:00
parent af75d67b30
commit 83dcaa3e54
2 changed files with 5 additions and 2 deletions

View File

@@ -74,6 +74,7 @@ pref('zen.view.sidebar-expanded.max-width', 400);
pref('zen.keyboard.shortcuts.enabled', true);
pref('zen.keyboard.shortcuts', ""); // Empty string means default shortcuts
pref('zen.keyboard.shortcuts.disable-firefox', false);
pref('zen.tabs.dim-pending', true);
// Pref to enable the new profiles (TODO: Check this out!)
//pref("browser.profiles.enabled", true);

View File

@@ -316,8 +316,10 @@ toolbarbutton#scrollbutton-up {
align-items: center;
}
.tabbrowser-tab[pending]:not(:hover) {
opacity: 0.5;
@media (-moz-bool-pref: "zen.tabs.dim-pending") {
.tabbrowser-tab[pending]:not(:hover) {
opacity: 0.5;
}
}
.tabbrowser-tab[hidden="true"] {