MozillaZine

Colored Folders no longer enabled

User Help for Mozilla Thunderbird
sfhowes
 
Posts: 570
Joined: April 1st, 2012, 10:21 am

Post Posted October 23rd, 2020, 8:16 am

Custom colored folders via css has been discussed elsewhere on this forum, but for a simple way to restore folder icons similar to pre-78 versions, try this add-on:

https://addons.thunderbird.net/en-us/th ... ity-icons/

morat
 
Posts: 4104
Joined: February 3rd, 2009, 6:29 pm

Post Posted October 23rd, 2020, 8:22 am

@mangorunner

sfhowes wrote:Custom colored folders via css has been discussed elsewhere...

Here is how to show the entries for the custom colored folders in the error console.

Code: Select all
(function () {
  var out = [];
  var element = document.getElementById("folderColorsStyle");
  var cssRules = element.sheet.cssRules;
  for (var i = 0; i < cssRules.length; i++) {
    out.push(cssRules.item(i).cssText);
  }
  console.log(element.textContent);
  return out.join("\n");
})();

Maybe you can use the code to create the entries in the userChrome.css file.

Code: Select all
/* Thunderbird userChrome.css */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

treechildren::-moz-tree-image(folderNameCol, customColor-ff0000) {
  list-style-image: url("chrome://messenger/skin/icons/folder.svg") !important;
  -moz-image-region: auto !important;
  fill: #ff0000 !important; /* red or #ff0000 or rgb(255,0,0) */
  list-style-image: url("folders.png") !important;
  -moz-image-region: rect(0 160px 16px 144px) !important; /* 1st row, 10th column */
}

http://kb.mozillazine.org/UserChrome.css

Remember to set the toolkit.legacyUserProfileCustomizations.stylesheets preference to true, then restart.

Folder Colors
http://addons.thunderbird.net/thunderbird/addon/987743

Folder Colors folders.png images
http://bitbucket.org/brelkl/thunderbird ... skin/aero/
http://bitbucket.org/brelkl/thunderbird ... n/default/

Reference
http://searchfox.org/comm-esr78/search?q=customColor-

Similar thread: viewtopic.php?f=30&t=3064381

Code Name

User avatar
 
Posts: 111
Joined: December 23rd, 2019, 1:53 pm
Location: Dallas, TX

Post Posted November 5th, 2020, 8:31 pm

Good news! An updated version of the popular add-on 'Colored Folders' will be available in the coming weeks for v78+ according to the developer.

https://addons.thunderbird.net/en-US/th ... d-folders/
Politicians and Diapers must be changed often for the exact same reason...

gtt1951
 
Posts: 2
Joined: November 10th, 2020, 9:48 am

Post Posted November 10th, 2020, 10:21 am

Morat, thank you so much for your instructions on fixing this Thunderbird 78.4.2 folders problem.
The result now looks fantastic instead of drab and "cheap" looking.
Really don't understand why the Thunderbird developers have to make a mess, just like those morons at Microsoft with their Win 10 tinkering.
There should be a mechanism for reverting back to an earlier release.

morat
 
Posts: 4104
Joined: February 3rd, 2009, 6:29 pm

Post Posted November 10th, 2020, 11:04 am

@gtt1951

I'm glad you got it working.

Grayscale icons is a bad trend by the UX people. (UX stands for User Experience)

What is the reasoning behind grayscale icons?
http://ux.stackexchange.com/questions/6210

gtt1951
 
Posts: 2
Joined: November 10th, 2020, 9:48 am

Post Posted November 13th, 2020, 6:45 am

I'm now worried that the latest update 78.4.3, if allowed to install, will mess up what I have done.
I have made a copy of the "chrome" folder to a safe place well away from anything connected with Thunderbird, in case the update does make a mess and then I can re-instate the folder.
Has anyone allowed the update to install?

George.
Last edited by gtt1951 on November 14th, 2020, 4:25 pm, edited 1 time in total.

tanstaafl
Moderator

User avatar
 
Posts: 47171
Joined: July 30th, 2003, 5:06 pm

Post Posted November 13th, 2020, 9:20 am

I'm using 78.4.3 on two Windows 10 machines with the Phoenity Icons add-on. No problems. One of them has a userChrome.css, it still works as expected.

Return to Thunderbird Support


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 5 guests