Re: Colorizing Messages (Label), userchrome.css isn't used
  Home FAQ Contact Sign in
netscape.public.mozilla.mailnews only
 
Advanced search
POPULAR GROUPS

more...

 Up
Re: Colorizing Messages (Label), userchrome.css isn't used         

Group: netscape.public.mozilla.mailnews · Group Profile
Author: Peter Potamus the Purple Hippo
Date: Mar 27, 2007 10:01

frederic.metz@gmail.com wrote:
> Hi all,
>
> as reported on many websites, it should be possible to label a message
> with a special background color by changing the "userChrome.css".
> First, I have no file like that on my profile Folder. (on XP, Profile
> Folder is %%AppData%%Thunderbird\Profiles\om1zniuv.default). So I added
> the userChrome.css File into this directoy and it looks like this (see
> below). After restarting the Thunderbird and labeling a message as
> important, it is as before, font color is red, background color is
> white). What's wrong ?

its in the wrong place. There should be a directory called
Chrome. Place it there. You should also see
userChrome-example.css file there.
>
> Cheers,
> Frédéric-Philippe Metz
>
> /*
> * Label colors. Highlight background rather than change font color.
> */
>
> /* Label1 */
> treechildren::-moz-tree-cell(lc-FFCCCC) { background-color: #FFCCCC !
> important; }
> treechildren::-moz-tree-cell(lc-FFCCCC, selected) { background-color:
> #DD0000 !important; }
> treechildren::-moz-tree-cell-text(lc-FFCCCC) { color: #000 !
> important; }

color: #000 -- no such color
> treechildren::-moz-tree-cell-text(lc-FFCCCC, selected) { color: #FFF !
> important; }
>

color: #FFF -- again so such color
> /* Label2 */
> treechildren::-moz-tree-cell(lc-CCCCFF) { background-color: #CCCCFF !
> important; }
> treechildren::-moz-tree-cell(lc-CCCCFF, selected) { background-color:
> #0000DD !important; }
> treechildren::-moz-tree-cell-text(lc-CCCCFF) { color: #000 !
> important; }

color: #000 -- again
> treechildren::-moz-tree-cell-text(lc-CCCCFF, selected) { color: #FFF !
> important; }
>

color: #FFF -- again
> /* Label3 */
> treechildren::-moz-tree-cell(lc-99FF99) { background-color: #99FF99 !
> important; }
> treechildren::-moz-tree-cell(lc-99FF99, selected) { background-color:
> #00CC00 !important; }
> treechildren::-moz-tree-cell-text(lc-99FF99) { color: #000 !
> important; }

color: #000 -- ditto
> treechildren::-moz-tree-cell-text(lc-99FF99, selected) { color: #FFF !
> important; }
>

color: #FFF -- ditto

I'm stopping right here. I think you might start seeing
something common here. You can fix the rest
> /* Label4 */
> treechildren::-moz-tree-cell(lc-FFFFCC) { background-color: #FFFFCC !
> important; }
> treechildren::-moz-tree-cell(lc-FFFFCC, selected) { background-color:
> #DDDD00 !important; }
> treechildren::-moz-tree-cell-text(lc-FFFFCC) { color: #000 !
> important; }
> treechildren::-moz-tree-cell-text(lc-FFFFCC, selected) { color: #FFF !
> important; }
>
> /* Label5 */
> treechildren::-moz-tree-cell(lc-FFCCFF) { background-color: #FFCCFF !
> important; }
> treechildren::-moz-tree-cell(lc-FFCCFF, selected) { background-color:
> #CC33CC !important; }
> treechildren::-moz-tree-cell-text(lc-FFCCFF) { color: #000 !
> important; }
> treechildren::-moz-tree-cell-text(lc-FFCCFF, selected) { color: #FFF !
> important; }
>
> /*
> * Add vertical scrollbar for expanded header view
> */
>
> #msgHeaderView {
> max-height: 20em !important;
> overflow: auto !important;
> }
>

--
Please do not email me for help. Reply to the newsgroup
only. And only click on the Reply button, not the Reply All
one. Thanks!

Peter Potamus & His Magic Flying Balloon:
http://www.toonopedia.com/potamus.htm
no comments
diggit! del.icio.us! reddit!