Running Windows 10 v1803, Tb 52.9.1
In previous versions, way back when, the Delete button displayed with a RED markings/icon, as far as I remember.
Is it possible to have this in the current version, please?
Many thanks
How to get RED Delete button
- Energise
- Posts: 334
- Joined: January 4th, 2008, 3:11 pm
- Location: Suffolk, UK
-
- Posts: 6403
- Joined: February 3rd, 2009, 6:29 pm
Re: How to get RED Delete button
Try this:
http://kb.mozillazine.org/UserChrome.css
Reference
http://dxr.mozilla.org/comm-esr52/sourc ... oolbar.css
http://dxr.mozilla.org/comm-esr52/sourc ... oolbar.png
P.S.
Did you try any addons by Aris like the classic toolbar buttons addon?
Addons by Aris
http://addons.thunderbird.net/thunderbird/user/aris-t2
Code: Select all
/* Thunderbird userChrome.css */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
.delete-button {
list-style-image: url("chrome://messenger/skin/icons/mail-toolbar.png") !important;
-moz-image-region: rect(0px 192px 24px 168px) !important;
}
.delete-button:hover {
-moz-image-region: rect(24px 192px 48px 168px) !important;
}
.delete-button[disabled] {
-moz-image-region: rect(48px 192px 72px 168px) !important;
}
Reference
http://dxr.mozilla.org/comm-esr52/sourc ... oolbar.css
http://dxr.mozilla.org/comm-esr52/sourc ... oolbar.png
P.S.
Did you try any addons by Aris like the classic toolbar buttons addon?
Addons by Aris
http://addons.thunderbird.net/thunderbird/user/aris-t2
- Energise
- Posts: 334
- Joined: January 4th, 2008, 3:11 pm
- Location: Suffolk, UK
Re: How to get RED Delete button
Hi morat
Many thanks for your post
Before doing anything, I made a copy of the Profiles folder and saved it elsewhere.
I have tried the code you posted but nothing has changed when I open Thunderbird.
I notice I have two locations for Profiles -
- one is ...\AppData\Roaming\Thunderbird\Profiles\...[file name.default]
- and the second folder is ...\AppData\Local\Thunderbird\Profiles\...[file name.default]
I've gone to the 'Local' folder, created a 'chrome' folder then, having copied/pasted the code into Notepad and saved it as userChrome.css, put this file into the Chrome folder.
Should I have placed the folder Chrome, with userChrome.css file, into the Profiles folder in the Roaming folder instead, perhaps?
In answer to your questions, no, I haven't tried any of the addons by Aris. I did take a look via the link you posted but decided to try the code first. I'd prefer to use code but, if necessary, I'll try the AddOn.
Please advise re if I should try the 'other' Profiles folder in 'Roaming'. This folder seems to have a lot more folders and files than the 'Local' location Profiles.
Many thanks for your help.
Many thanks for your post
Before doing anything, I made a copy of the Profiles folder and saved it elsewhere.
I have tried the code you posted but nothing has changed when I open Thunderbird.
I notice I have two locations for Profiles -
- one is ...\AppData\Roaming\Thunderbird\Profiles\...[file name.default]
- and the second folder is ...\AppData\Local\Thunderbird\Profiles\...[file name.default]
I've gone to the 'Local' folder, created a 'chrome' folder then, having copied/pasted the code into Notepad and saved it as userChrome.css, put this file into the Chrome folder.
Should I have placed the folder Chrome, with userChrome.css file, into the Profiles folder in the Roaming folder instead, perhaps?
In answer to your questions, no, I haven't tried any of the addons by Aris. I did take a look via the link you posted but decided to try the code first. I'd prefer to use code but, if necessary, I'll try the AddOn.
Please advise re if I should try the 'other' Profiles folder in 'Roaming'. This folder seems to have a lot more folders and files than the 'Local' location Profiles.
Many thanks for your help.
-
- Posts: 6403
- Joined: February 3rd, 2009, 6:29 pm
Re: How to get RED Delete button
Sorry, I can't explain it any better than the knowledge base articles.
userChrome.css
http://kb.mozillazine.org/UserChrome.css
Profile folder
http://kb.mozillazine.org/Profile_folder
Apart from the above...
* The file name is case sensitive.
* Windows hides file extensions by default. Novice users may end up mistakingly naming the file userChrome.css.txt without realizing it.
* Thunderbird must be restarted for the changes to take effect.
Perhaps the style doesn't work on Windows 10. Try a simple style for testing the userChrome.css file.
userChrome.css
http://kb.mozillazine.org/UserChrome.css
Profile folder
http://kb.mozillazine.org/Profile_folder
Apart from the above...
* The file name is case sensitive.
* Windows hides file extensions by default. Novice users may end up mistakingly naming the file userChrome.css.txt without realizing it.
* Thunderbird must be restarted for the changes to take effect.
Perhaps the style doesn't work on Windows 10. Try a simple style for testing the userChrome.css file.
Code: Select all
/* Thunderbird userChrome.css */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
* {
color: orange !important;
}
- Energise
- Posts: 334
- Joined: January 4th, 2008, 3:11 pm
- Location: Suffolk, UK
Re: How to get RED Delete button
Himorat wrote:
* The file name is case sensitive.
* Windows hides file extensions by default. Novice users may end up mistakingly naming the file userChrome.css.txt without realizing it.
* Thunderbird must be restarted for the changes to take effect.
Perhaps the style doesn't work on Windows 10. Try a simple style for testing the userChrome.css file.
Code: Select all
/* Thunderbird userChrome.css */ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); * { color: orange !important; }
I appreciate you taking the trouble to help
To clarify your points
- I named the file as 'userChrome.css'
- Extensions are visible, hence I'm confident it's a .css file and not .css.txt
- Thunderbird restarted and also tried re-booting PC
I've also just tried your 'simple' code, having saved the file as userChrome.css and put it in 'chrome' folder (having moved the previous file out) but nothing has changed in Thunderbird on re-start, unfortunately.
I'm not much good re code so don't really know what to expect this 'simple' code to do, should it work. I assume something should change colour to 'Orange' but not sure what the '!important;' bit refers to
-
- Posts: 6403
- Joined: February 3rd, 2009, 6:29 pm
Re: How to get RED Delete button
The simple style changes the text color to orange. It is very very noticeable.
Perhaps the userChrome.css file is broken in Windows 10. Try disabling all addons, then restart.
Perhaps the userChrome.css file is broken in Windows 10. Try disabling all addons, then restart.
- Energise
- Posts: 334
- Joined: January 4th, 2008, 3:11 pm
- Location: Suffolk, UK
Re: How to get RED Delete button
Ah ha!!!!
I've just tried the 'simple' code in the 'other' Profiles folder and all the text is now ORANGE Yuck!!
So, it looks as if I was in the wrong folder, after all.
I've now put your 'first' code into userChrome.css, having deleted the 'simple' (orange) code and FANTASTIC!!! After re-starting Tb, I now have the Delete button with a large RED X on it. Exactly what I had hoped for.
I do apologize for not selecting the correct 'Profile' folder in the first place. I don't think I've appreciated there are two folders, one in Local and the other in Roaming. What made me decide on this was Google'ing for Profile location and it came up with typing %AppData% in Run/Start Menu which brought me to the 'Roaming' location. So, I decided to try it, being prepared to delete the new 'chrome' folder if it didn't work.
Many many thanks for all you've done to get me to this point. I'm always learning, which is brilliant
I've just tried the 'simple' code in the 'other' Profiles folder and all the text is now ORANGE Yuck!!
So, it looks as if I was in the wrong folder, after all.
I've now put your 'first' code into userChrome.css, having deleted the 'simple' (orange) code and FANTASTIC!!! After re-starting Tb, I now have the Delete button with a large RED X on it. Exactly what I had hoped for.
I do apologize for not selecting the correct 'Profile' folder in the first place. I don't think I've appreciated there are two folders, one in Local and the other in Roaming. What made me decide on this was Google'ing for Profile location and it came up with typing %AppData% in Run/Start Menu which brought me to the 'Roaming' location. So, I decided to try it, being prepared to delete the new 'chrome' folder if it didn't work.
Many many thanks for all you've done to get me to this point. I'm always learning, which is brilliant
- Energise
- Posts: 334
- Joined: January 4th, 2008, 3:11 pm
- Location: Suffolk, UK
Re: How to get RED Delete button
Hi morat
You've obviously posted while I was typing
Again, many thanks for all this help. It's all very much appreciated
Hopefully, I'll not hit Delete any more when I really wanted to hit Print LOL
You've obviously posted while I was typing
Again, many thanks for all this help. It's all very much appreciated
Hopefully, I'll not hit Delete any more when I really wanted to hit Print LOL
-
- Posts: 6403
- Joined: February 3rd, 2009, 6:29 pm
Re: How to get RED Delete button
I'm glad you got it working.
The style works in Thunderbird 60 as well.
The style works in Thunderbird 60 as well.
- Energise
- Posts: 334
- Joined: January 4th, 2008, 3:11 pm
- Location: Suffolk, UK
Re: How to get RED Delete button
Good morning morat
Yes, just booted up and ... there is the red X, still there
Tb v60 is presumably a beta version you're testing? Well done, you all do a great job for us
Yes, just booted up and ... there is the red X, still there
Tb v60 is presumably a beta version you're testing? Well done, you all do a great job for us