Is there a TB Extension to Protect Your Eyes?
- koolx
- Posts: 532
- Joined: July 11th, 2014, 7:37 pm
Is there a TB Extension to Protect Your Eyes?
Is there an extension for a screen filter for TB? The white parts of it irritates my eyes. Let me know fellas!
- tanstaafl
- Moderator
- Posts: 49647
- Joined: July 30th, 2003, 5:06 pm
Re: Is there a TB Extension to Protect Your Eyes?
Not that I'm aware of. They all seem to be for Firefox. However by using CSS snippets in userChrome.css in the chrome directory in the profile you can probably get what you want. See http://kb.mozillazine.org/Pane_background_colors . I'd also browse http://kb.mozillazine.org/Bad_Eyesight_-_Thunderbird
- koolx
- Posts: 532
- Joined: July 11th, 2014, 7:37 pm
Re: Is there a TB Extension to Protect Your Eyes?
Hi there.. I want to know if theres a code to change the background color to the white space in TB. Look at the screen shot attached circled in red. Do let me know.. thanks man!tanstaafl wrote:Not that I'm aware of. They all seem to be for Firefox. However by using CSS snippets in userChrome.css in the chrome directory in the profile you can probably get what you want. See http://kb.mozillazine.org/Pane_background_colors . I'd also browse http://kb.mozillazine.org/Bad_Eyesight_-_Thunderbird
- tanstaafl
- Moderator
- Posts: 49647
- Joined: July 30th, 2003, 5:06 pm
Re: Is there a TB Extension to Protect Your Eyes?
What is that pane? its not the folder listing or folder pane. If its the preview pane see the first section of http://kb.mozillazine.org/Pane_background_colors .
You will need to add @namespace url("http://www.mozilla.org/keymaster/gateke ... s.only.xul"); to the top of userChrome.css, the KB article assumes you know that and only talks about the CSS snippet to change the background color etc.
You will need to add @namespace url("http://www.mozilla.org/keymaster/gateke ... s.only.xul"); to the top of userChrome.css, the KB article assumes you know that and only talks about the CSS snippet to change the background color etc.
- Eckard
- Posts: 1414
- Joined: September 5th, 2011, 8:17 am
- Location: Paris (not TX)
Re: Is there a TB Extension to Protect Your Eyes?
Hi,
You may copy/paste the following css-code in a text editor and save the file as "userContent.css":
Put this file in the "chrome" folder in the "xxxxxxxx.default" profile folder of Thunderbird and restart Thunderbird.
Adapt the color code to your likings.
It changes the background color in the Message Pane as well as in compose windows.
The "white space" in your screen shot is the so-called "Message Pane" (you are using the "Vertical View" layout).koolx wrote: I want to know if theres a code to change the background color to the white space in TB. Look at the screen shot attached circled in red. Do let me know.. thanks man!
You may copy/paste the following css-code in a text editor and save the file as "userContent.css":
Code: Select all
HTML {
background: #F6F6F6 !important; }
body {
background: #F6F6F6 !important; }
Adapt the color code to your likings.
It changes the background color in the Message Pane as well as in compose windows.
- koolx
- Posts: 532
- Joined: July 11th, 2014, 7:37 pm
Re: Is there a TB Extension to Protect Your Eyes?
Appreciate the help but the problem with using that code is it changes the background color of some of my emails (presumably HTML based mail) and also the background color of my messages. Cant have that. Is there a workaround to this?Eckard wrote:Hi,The "white space" in your screen shot is the so-called "Message Pane" (you are using the "Vertical View" layout).koolx wrote: I want to know if theres a code to change the background color to the white space in TB. Look at the screen shot attached circled in red. Do let me know.. thanks man!
You may copy/paste the following css-code in a text editor and save the file as "userContent.css":
Put this file in the "chrome" folder in the "xxxxxxxx.default" profile folder of Thunderbird and restart Thunderbird.Code: Select all
HTML { background: #F6F6F6 !important; } body { background: #F6F6F6 !important; }
Adapt the color code to your likings.
It changes the background color in the Message Pane as well as in compose windows.
Also, could you provide a code to change the background color when TB launches? I get a white flash which is blinding. Thanks!
- Eckard
- Posts: 1414
- Joined: September 5th, 2011, 8:17 am
- Location: Paris (not TX)
Re: Is there a TB Extension to Protect Your Eyes?
OK, forget my code in the userContent.css file.koolx wrote:
Appreciate the help but the problem with using that code is it changes the background color of some of my emails (presumably HTML based mail) and also the background color of my messages. Cant have that. Is there a workaround to this?
Instead go to Tools > Options > Advanced > General and open the Config Editor.
Search for the option "browser.display.background_color", right-click on it and choose "Modifiy".
Replace the default value #FFFFFF by #F6F6F6 (or a color code of your choice).
Now the background color of the message (preview) pane and a plain text compose window will be #F6F6F6.
The background color in a HTML compose window will not be altered and you may choose any background color yourself.
I can't reproduce your issue in my Thunderbird (Mac) versions since I'm seeing a light-gray background when TB launches.Also, could you provide a code to change the background color when TB launches? I get a white flash which is blinding.
- koolx
- Posts: 532
- Joined: July 11th, 2014, 7:37 pm
Re: Is there a TB Extension to Protect Your Eyes?
Hi. It changes the white space in TB but this unfortunately also changes the background color of the html mail. Is there a way to isolate this from changes the html background color?Eckard wrote: OK, forget my code in the userContent.css file.
Instead go to Tools > Options > Advanced > General and open the Config Editor.
Search for the option "browser.display.background_color", right-click on it and choose "Modifiy".
Replace the default value #FFFFFF by #F6F6F6 (or a color code of your choice).
Now the background color of the message (preview) pane and a plain text compose window will be #F6F6F6.
The background color in a HTML compose window will not be altered and you may choose any background color yourself.
- Eckard
- Posts: 1414
- Joined: September 5th, 2011, 8:17 am
- Location: Paris (not TX)
Re: Is there a TB Extension to Protect Your Eyes?
No. It may change the (background color) of the normally bright white space on the left and the right border of certain HTML mails in the message pane like in the following example (I'm using browser.display.background_color -> #E0F2F7):koolx wrote:
Hi. It changes the white space in TB but this unfortunately also changes the background color of the html mail.
Do you prefer flashing white spaces instead of light grayish cyan spaces?
In most of the other HTML mails my grayish cyan background color is not visible at all:
I don't know about any other way.Is there a way to isolate this from changes the html background color?
-
- Posts: 695
- Joined: January 9th, 2017, 10:10 am
Re: Is there a TB Extension to Protect Your Eyes?
On my daughter's iphone, the whole thing turns this yellowish color, based on the time. I think she read somewhere that the bluish light is bad for your eyes, and there is either a setting or an app that adjusts based on your time zone and time settings. I find it ugly and a bit odd, but what do I know?
- koolx
- Posts: 532
- Joined: July 11th, 2014, 7:37 pm
Re: Is there a TB Extension to Protect Your Eyes?
Thanks eckard. Now can you help me with something else? I'm not able to change the font size of mail in TB in settings. I dont know why this is happening. Could you help?Eckard wrote:
In most of the other HTML mails my grayish cyan background color is not visible at all:
- tanstaafl
- Moderator
- Posts: 49647
- Joined: July 30th, 2003, 5:06 pm
Re: Is there a TB Extension to Protect Your Eyes?
"On my daughter's iphone, the whole thing turns this yellowish color, based on the time. I think she read somewhere that the bluish light is bad for your eyes, and there is either a setting or an app that adjusts based on your time zone and time settings. I find it ugly and a bit odd, but what do I know?"
That is why I run f.lux on my PC. Microsoft is going to add a similar feature in Windows 10 in the "Creators Update" in April according to http://www.ghacks.net/2017/01/12/window ... ight-mode/
That is why I run f.lux on my PC. Microsoft is going to add a similar feature in Windows 10 in the "Creators Update" in April according to http://www.ghacks.net/2017/01/12/window ... ight-mode/
- Eckard
- Posts: 1414
- Joined: September 5th, 2011, 8:17 am
- Location: Paris (not TX)
Re: Is there a TB Extension to Protect Your Eyes?
Maybe the following support articles can help:koolx wrote: I'm not able to change the font size of mail in TB in settings.
http://kb.mozillazine.org/Font_settings_in_Thunderbird
http://kb.mozillazine.org/Pane_and_menu_fonts
http://kb.mozillazine.org/Bad_Eyesight_-_Thunderbird