Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Menu font color in Thunderbird?

138 views
Skip to first unread message

ksa...@gmail.com

unread,
Aug 10, 2007, 2:37:01 PM8/10/07
to
Hi,

I am using Linux with Gnome environment. Have installed new nice theme
that uses White colors by default in all menus. On the other hand
Thunderbird has pretty nice theme: OWN. Unfortunately I can not use it
because of white font color in all menus (even pop-ups) used on a
light background. They are completely unreadable.

Question: How can I override theme font color used in menus and
replace it with desired one, let's say #000000;

Thank you.

Neil

unread,
Aug 10, 2007, 4:57:51 PM8/10/07
to
ksa...@gmail.com wrote:

>How can I override theme font color used in menus and replace it with desired one, let's say #000000;
>
>

Create a userChrome.css (next to userChrome-example.css in your profile)
and add the following:
@namespace
url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
menu, menuitem { color: #000000 !important; }

--
Warning: May contain traces of nuts.

ksamdev

unread,
Aug 10, 2007, 6:22:20 PM8/10/07
to
On Aug 10, 11:57 am, Neil <n...@parkwaycc.co.uk> wrote:

Perfect, that does the trick. How about disabled items that are in
menu? Can I specify color for them, let's say I'd like to have gray
set up for those: #555555?

Thank you.

ksamdev

unread,
Aug 10, 2007, 6:34:34 PM8/10/07
to
I figured out that. The solution is pretty simple: add next lines to
userChrome.css

menu[disabled="true"],
menuitem[disabled="true"] {
color: GrayText !important;
}

Unfortunately couple MenuItems, like Sort and Find, are still rendered
in white color. Why?

Neil

unread,
Aug 10, 2007, 11:59:08 PM8/10/07
to
ksamdev wrote:

>Unfortunately couple MenuItems, like Sort and Find, are still rendered in white color. Why?
>
>

At this point I'd suggest you install DOM Inspector and inspect the
menuitems to see what's affecting their colour.

CatThief

unread,
Aug 16, 2007, 12:55:56 AM8/16/07
to

Try expanding your code to include a few other things:

menu,
menuitem,
menupopup > menu,
popup > menu,
menupopup > menuitem,
popup > menuitem {
some-argument !important;
}

The same would apply for [disabled="true"]

Maybe this helps?

--
Regards,
CatThief

To reply privately, please PM me at MozillaZine...
http://forums.mozillazine.org/profile.php?mode=viewprofile&u=25774

ksamdev

unread,
Aug 24, 2007, 3:38:03 PM8/24/07
to

Unfortunately it didn't help :(.

CatThief

unread,
Aug 25, 2007, 1:40:13 AM8/25/07
to
ksamdev wrote the following on 08-24-2007 11:38 AM:

> On Aug 15, 7:55 pm, CatThief <nos...@no.way> wrote:
>> Try expanding your code to include a few other things:
>>
>> menu,
>> menuitem,
>> menupopup > menu,
>> popup > menu,
>> menupopup > menuitem,
>> popup > menuitem {
>> some-argument !important;
>>
>> }
>>
>> The same would apply for [disabled="true"]
>>
>> Maybe this helps?
>>
>

> Unfortunately it didn't help :(.
>

In that case I would follow Neil's advice and install DOM Inspector. It
will surely give you the answer.
https://addons.mozilla.org/en-US/thunderbird/addon/1806

Stanimir Stamenkov

unread,
Aug 25, 2007, 10:45:22 PM8/25/07
to
Fri, 24 Aug 2007 08:38:03 -0700, ksamdev:

Unfortunately it didn't help :(.

Is the GrayText value rendered any different at your side?

Gray text sample.

--
Stanimir

CatThief

unread,
Aug 27, 2007, 10:32:53 PM8/27/07
to
Stanimir Stamenkov wrote the following on 08-25-2007 6:45 PM:

> *Fri, 24 Aug 2007 08:38:03 -0700*, /ksamdev/:


>>
>> Unfortunately it didn't help :(.
>>
> Is the |GrayText| value rendered any different at your side?
>
> Gray text sample.
>
> --
> Stanimir
>

I'm not sure what I am supposed to be seeing in the Gray text sample,
but wherever "color: GrayText" is defined, the color displayed will be
whatever is set as your OS default for the color of disabled-state text.

Stanimir Stamenkov

unread,
Aug 30, 2007, 7:32:54 AM8/30/07
to
Mon, 27 Aug 2007 18:32:53 -0400, /CatThief/:

> I'm not sure what I am supposed to be seeing in the Gray text sample,
> but wherever "color: GrayText" is defined, the color displayed will be
> whatever is set as your OS default for the color of disabled-state text.

Yes, did you see the "gray text sample" in a different color (i.e.
the "disabled text" color set in your OS environment) than the
normal text? I'm asking because I've seen Linux desktops not
rendering any difference for 'GrayText' and normal text.

--
Stanimir

CatThief

unread,
Aug 31, 2007, 12:46:30 AM8/31/07
to

Yes, I do see the proper gray text now, after switching on HTML. :) My
Tb theme is Mostly Crystal and my GTK2 theme is Milky Smooth on OpenSUSE
10.1.

Stanimir Stamenkov

unread,
Aug 31, 2007, 10:44:23 AM8/31/07
to
Thu, 30 Aug 2007 20:46:30 -0400, /CatThief/:

> Yes, I do see the proper gray text now, after switching on HTML. :)

Sorry. I should have pointed the message is a HTML sample, or
better attached the HTML sample as separate part. Now I see ksamdev
should check it out, too.

--
Stanimir

MSDic...@att.net

unread,
Sep 4, 2007, 11:46:42 AM9/4/07
to
Just found this thread, and joined to ask this question . . .

How does one alter the text color in the mailbox pain (i.e. the
sender, date, subject, etc.). I got the info above for the MENU's
text. I am assuming it is similar, but I am not a programmer, and
therefor ignorant of the proper commands.

My gratitude . . .

CatThief

unread,
Sep 6, 2007, 11:18:21 PM9/6/07
to

#messengerBox treechildren::-moz-tree-cell-text {
color: #999999 !important;
}

Use any hex value of your choice. You can also add (selected) and
(selected, focus) to -moz-tree-cell-text and apply separate rules for
conditional coloring.

MSDic...@att.net

unread,
Sep 7, 2007, 3:43:37 AM9/7/07
to
On Sep 6, 4:18 pm, CatThief <nos...@no.way> wrote:

CatThief, you are my hero for the day. The code worked perfectly!
Thank You.

Do you mind if I post your code over on the MozillaZine forums where I
was working a thread about the same question?

MSDic...@att.net

unread,
Sep 7, 2007, 5:02:21 PM9/7/07
to
OK - another question. IN this image of my Eudora 8, you can see
where I have the mailbox drop down box (I am sure that is not the
correct name) in the toolbar between the "Get Mail" and "New"
buttons. however, since I have overridden the fonts with my
userChrome, it displays the yellow text on a white back ground in the
box. Of course, that is exactly what I asked it to do.

[URL=http://img504.imageshack.us/my.php?image=eudorabtfj4.png]
[IMG]http://img504.imageshack.us/img504/3581/eudorabtfj4.th.png[/IMG][/
URL]

Is there a way to change just the background color of that box, or am
I getting TOO picky now?

Thanks for the help . . .

CatThief

unread,
Sep 8, 2007, 12:42:29 AM9/8/07
to

In Thunderbird, the ID of that element is locationFolders. It picks up
the global menulist properties defined inside menulist.css, plus
folderMenus.css inside the messenger directory for the icon images. I
would need a tool equivalent to DOM Inspector for Eudora to precisely
know what to change, but you might give #locationFolders a try.

This example shows the default for menulists:

menulist {
background-color: -moz-Field;
color: -moz-FieldText;
}

This is how you would apply an override for this specific menulist:

#locationFolders {
background-color: #hexval !important;
color: #hexval !important;

CatThief

unread,
Sep 8, 2007, 12:44:30 AM9/8/07
to
MSDic...@att.net wrote the following on 09-06-2007 11:43 PM:

> CatThief, you are my hero for the day. The code worked perfectly!
> Thank You.

Glad to help.

> Do you mind if I post your code over on the MozillaZine forums where I
> was working a thread about the same question?

You are welcome to post anything you see in this newsgroup. :)

MSDic...@att.net

unread,
Sep 8, 2007, 4:21:59 AM9/8/07
to
On Sep 7, 5:42 pm, CatThief <nos...@no.way> wrote:
>
> In Thunderbird, the ID of that element is locationFolders. It picks up
> the global menulist properties defined inside menulist.css, plus
> folderMenus.css inside the messenger directory for the icon images. I
> would need a tool equivalent to DOM Inspector for Eudora to precisely
> know what to change, but you might give #locationFolders a try.
>
> This example shows the default for menulists:
>
> menulist {
> background-color: -moz-Field;
> color: -moz-FieldText;
>
> }
>
> This is how you would apply an override for this specific menulist:
>
> #locationFolders {
> background-color: #hexval !important;
> color: #hexval !important;
>
> }
>
> --
> Regards,
> CatThief
>
> To reply privately, please PM me at MozillaZine...http://forums.mozillazine.org/profile.php?mode=viewprofile&u=25774

CatThief - I can not find either of those files - menulist.css or
folderMenus.css, however I am not sure where to look, either. I have
been through all the Chrome folders I can find for Eudora, but so far,
no joy. As Eudora 8 is just really, at this point, Thunderbird with a
tweak or two, so far all the Thunderbird v2 themes I have are working,
so I am guessing that all the folders should be the same.

Thanks for the help . . . at least I know it may be possible to get
over this one last hurdle.

MSDic...@att.net

unread,
Sep 8, 2007, 4:55:51 AM9/8/07
to
CatThief - Never Mind!

I just discovered that I had a corrupt download/install of the new
Eudora 8. It was trying to combine the two different programs and
causing other issues. After I unistalled both, did a clean install of
Eudora 8, I now have the functionality I wanted without needing to
make any other changes. All the fonts and colors we have been working
on are there.

Thanks for all the help . . .

CatThief

unread,
Sep 8, 2007, 5:13:33 AM9/8/07
to

Good to hear you have it all sorted out.

0 new messages