Skip to content

Instantly share code, notes, and snippets.

@HamousOnWheels
Created August 27, 2023 19:32
Show Gist options
  • Select an option

  • Save HamousOnWheels/81d6b7745ad4f9ef5fb1b5752f9b71be to your computer and use it in GitHub Desktop.

Select an option

Save HamousOnWheels/81d6b7745ad4f9ef5fb1b5752f9b71be to your computer and use it in GitHub Desktop.
userchrome tweaks for firefox and thunderbird to make window focus more readable
/* put this in the chrome folder and load it in your main userChrome.css file with @import url("firefoxInactive.css") screen; */
/* adding the system accent colour to the non-system titlebar. you can also just use regular background colour instead of gradient if you're BORING*/
#toolbar-menubar {
background: linear-gradient(180deg, AccentColor 50%, rgba(0,0,0,0)) !important;
}
/* dimming the titlebar and most elements on it when inactive */
#toolbar-menubar:-moz-window-inactive {
background: transparent !important;
}
.menubar-text:-moz-window-inactive {
opacity: .8 !important;
}
toolbarbutton:-moz-window-inactive {
opacity: .8 !important;
}
.toolbarbutton-text:-moz-window-inactive {
opacity: .8 !important;
}
.tab-icon-image:-moz-window-inactive {
opacity: .8 !important;
}
#urlbar-input:-moz-window-inactive {
opacity: .8 !important;
}
/* dims the entire window when inactive. enable to taste */
/*
#main-window:-moz-window-inactive {
opacity: .8 !important;
} */
/* put this in the chrome folder and load it in your main userChrome.css file with @import url("thunderbirdInactive.css") screen; */
#navigation-toolbox-background:-moz-window-inactive {
opacity: .8 !important;
}
#folderPaneHeaderBar:-moz-window-inactive {
opacity: .6 !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment