change question and import junk training file

User Help for Mozilla Thunderbird
Post Reply
mantra
Posts: 358
Joined: September 29th, 2010, 7:21 am

change question and import junk training file

Post by mantra »

Hi

is there a way to change the font or font size of the account in the united view or all account view ?

and is there a way to change the font or font size of the right panel , like ojbect , date ,sender ..

only the account font size and the right panel (object ,date ,sender and so on ) becase layout.css.devPixelsPerPx increase all fonts of thunderbird

and my last question can i copy the training.dat from thunderbird 52.9.1 profile (5,52 MB) to thunderbird 78.4.3 profile?
or does the new version increase or code the training.dat in a different way

thanks
best regards
http://www.pcmech.com/article/clearing- ... he-how-to/
windows firefox 49.0.2 ,thunderbird 45.4 and under linux , firefox and thunderbird are always updated
User avatar
DanRaisch
Moderator
Posts: 127234
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: change question and import junk training file

Post by DanRaisch »

mantra
Posts: 358
Joined: September 29th, 2010, 7:21 am

Re: change question and import junk training file

Post by mantra »

hi
there are no extensions to do it ,aren't them

thanks
http://www.pcmech.com/article/clearing- ... he-how-to/
windows firefox 49.0.2 ,thunderbird 45.4 and under linux , firefox and thunderbird are always updated
User avatar
DanRaisch
Moderator
Posts: 127234
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: change question and import junk training file

Post by DanRaisch »

No, there are no extensions for that function.
mantra
Posts: 358
Joined: September 29th, 2010, 7:21 am

Re: change question and import junk training file

Post by mantra »

DanRaisch wrote:No, there are no extensions for that function.
hi DanRaisch
but it doesn't work with the last version, i haven't any extension and about theme I use the default (there are 3 that come with thunderbird default , dark , light)

i have created a folder inside the profile chrome
and i have create a file called userChrome.css

i have increase a lot the size ,just to see if can change it
nothing the fonts size do not change ,what's wrong?
thanks
userChrome.css

Code: Select all

/* Change Browser Fonts */
* { font-size: 40pt !important;
font-family: arial !important; }

/* Folderpane(color/text) & Messagepane(color) */
treechildren {
background-color: #F1F1F1 !important;
font-family: arial !important;
font-size: 35pt !important; }

/* Messagepane text */
treechildren:-moz-tree-cell-text(unread) {
font-size: 30pt !important;
font-family : arial bold !important;
color: #000000 !important }

treechildren:-moz-tree-cell-text(read) {
font-size: 31pt ! important;
font-family : arial bold !important; } 
http://www.pcmech.com/article/clearing- ... he-how-to/
windows firefox 49.0.2 ,thunderbird 45.4 and under linux , firefox and thunderbird are always updated
morat
Posts: 6429
Joined: February 3rd, 2009, 6:29 pm

Re: change question and import junk training file

Post by morat »

As of Thunderbird 68, you must set the toolkit.legacyUserProfileCustomizations.stylesheets preference to true in about:config in order to load the userChrome.css file.

Try replacing "treechildren:-" with "treechildren::-" in the userChrome.css file.

Styling a tree
http://developer.mozilla.org/docs/Mozil ... ing_a_Tree

Also,

Check if the userChrome.css file is really in the chrome folder in the correct profile folder.

Menu Bar > Help > Troubleshooting Information > Profile Folder > Open Folder

The userChrome.css 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.

Try testing another rule to see if the userChrome.css file is working correctly.

Code: Select all

* { background-color: orange !important; }
It may be that a syntax error earlier in the file is preventing the rule from being parsed.

Remember you must restart the application for the changes to take effect.
mantra
Posts: 358
Joined: September 29th, 2010, 7:21 am

Re: change question and import junk training file

Post by mantra »

morat wrote:As of Thunderbird 68, you must set the toolkit.legacyUserProfileCustomizations.stylesheets preference to true in about:config in order to load the userChrome.css file.

Try replacing "treechildren:-" with "treechildren::-" in the userChrome.css file.

Styling a tree
http://developer.mozilla.org/docs/Mozil ... ing_a_Tree

Also,

Check if the userChrome.css file is really in the chrome folder in the correct profile folder.

Menu Bar > Help > Troubleshooting Information > Profile Folder > Open Folder

The userChrome.css 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.

Try testing another rule to see if the userChrome.css file is working correctly.

Code: Select all

* { background-color: orange !important; }
It may be that a syntax error earlier in the file is preventing the rule from being parsed.

Remember you must restart the application for the changes to take effect.
hi Morat
bingo!
As of Thunderbird 68, you must set the toolkit.legacyUserProfileCustomizations.stylesheets preference to true in about:config in order to load the userChrome.css file
is the fix!!!
but i can't change the text size of left panel (my accounts united or all ) and the text size of right panel (object , sender , date) separately ?
i mean i have to keep the same test size of the left panel and right panel ?
thanks mate
http://www.pcmech.com/article/clearing- ... he-how-to/
windows firefox 49.0.2 ,thunderbird 45.4 and under linux , firefox and thunderbird are always updated
morat
Posts: 6429
Joined: February 3rd, 2009, 6:29 pm

Re: change question and import junk training file

Post by morat »

Try something like:

Code: Select all

/* Thunderbird userChrome.css */

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

@-moz-document url-prefix("chrome://messenger/content/messenger.xhtml") {
  #folderTree {
    color: red !important;
  }
  #threadTree {
    color: orange !important;
  }
  #msgHeaderView label {
    color: purple !important;
  }
  #msgHeaderView mail-headerfield {
    color: pink !important;
  }
}
You need to learn how to use the developer toolbox utility if you want to style everything separately.
mantra
Posts: 358
Joined: September 29th, 2010, 7:21 am

Re: change question and import junk training file

Post by mantra »

morat wrote:Try something like:

Code: Select all

/* Thunderbird userChrome.css */

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

@-moz-document url-prefix("chrome://messenger/content/messenger.xhtml") {
  #folderTree {
    color: red !important;
  }
  #threadTree {
    color: orange !important;
  }
  #msgHeaderView label {
    color: purple !important;
  }
  #msgHeaderView mail-headerfield {
    color: pink !important;
  }
}
You need to learn how to use the developer toolbox utility if you want to style everything separately.
hi Morat
You need to learn how to use the developer toolbox utility if you want to style everything separately
but is a component ,isn't it?
should i download ?
For example I would like the text size of my accounts the left panel for at 11 and the text of the email on the right panel at 15
for left panel I mean the red arrow ,and the text of the email the blue arrow
how can i increase the fonts of the red arrow and the blue arrow?
thanks Morat
i have uploaded a screenshot
Image
http://www.pcmech.com/article/clearing- ... he-how-to/
windows firefox 49.0.2 ,thunderbird 45.4 and under linux , firefox and thunderbird are always updated
morat
Posts: 6429
Joined: February 3rd, 2009, 6:29 pm

Re: change question and import junk training file

Post by morat »

Red arrow is pointing to #folderTree.
Blue arrow is pointing to #threadTree.

...

In Thunderbird, the Browser Toolbox is called the Developer Toolbox.

More info: http://forums.mozillazine.org/viewtopic ... #p14866214
Last edited by morat on November 13th, 2020, 9:46 am, edited 2 times in total.
mantra
Posts: 358
Joined: September 29th, 2010, 7:21 am

Re: change question and import junk training file

Post by mantra »

morat wrote:Red arrow is pointing to #folderTree.
Blue arrow is pointing to #threadTree.

...

In Thunderbird, the Browser Toolbox is called the Developer Toolbox.

More info: http://forums.mozillazine.org/viewtopic ... #p14866214
Hi Morat
might you please make an code example please of #folderTree and #threadTree ?
thanks
http://www.pcmech.com/article/clearing- ... he-how-to/
windows firefox 49.0.2 ,thunderbird 45.4 and under linux , firefox and thunderbird are always updated
morat
Posts: 6429
Joined: February 3rd, 2009, 6:29 pm

Re: change question and import junk training file

Post by morat »

Try this:

Code: Select all

#folderTree treechildren::-moz-tree-cell-text {
  font-size: 10px !important;
}
#threadTree treechildren::-moz-tree-cell-text {
  font-size: 20px !important;
}
#threadTree treechildren::-moz-tree-row {
  height: 50px !important;
}
mantra
Posts: 358
Joined: September 29th, 2010, 7:21 am

Re: change question and import junk training file

Post by mantra »

morat wrote:Try this:

Code: Select all

#folderTree treechildren::-moz-tree-cell-text {
  font-size: 10px !important;
}
#threadTree treechildren::-moz-tree-cell-text {
  font-size: 20px !important;
}
#threadTree treechildren::-moz-tree-row {
  height: 50px !important;
}
Hi Mortat
first I want to thank you!
I changed your code to

Code: Select all

#folderTree treechildren::-moz-tree-cell-text {
  font-size: 13px !important;
}
#threadTree treechildren::-moz-tree-cell-text {
  font-size: 14px !important;
}
#threadTree treechildren::-moz-tree-row {
  height: 25px !important;
}

#folderTree treechildren::-moz-tree-row {
  height: 20px !important;
}
and it's perfect for me
thanks again!!!
http://www.pcmech.com/article/clearing- ... he-how-to/
windows firefox 49.0.2 ,thunderbird 45.4 and under linux , firefox and thunderbird are always updated
Post Reply