Created
August 27, 2023 19:32
-
-
Save HamousOnWheels/81d6b7745ad4f9ef5fb1b5752f9b71be to your computer and use it in GitHub Desktop.
userchrome tweaks for firefox and thunderbird to make window focus more readable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* 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; | |
| } */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* 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