Page 1 of 1

Is there a way to override the menu font text color?

Posted: 2017-10-14, 15:52
by NoelC
I have kind of a unique setup, where I have resurrected Aero Glass on a Win 8.1 system and have overridden the default theme with a 3rd party theme.

The 3rd party theme may be where Pale Moon is getting its font color from, since most Windows applications display their menus on a light background. But in this case Pale Moon is rendering its font text over the top of a now translucent background, so the gray or black text is hard to read.

Here, it's easier to show than to tell...

Image

Image

The menus would be most visible for me when the application is current or is in the background if I could just set the menu font to be white. I'd prefer to do that vs. making the backing of the menu bar opaque.

Is there a configuration override somewhere that can be used to set the Pale moon menu bar font (and only just that) to be white? I searched through about:config and didn't turn up any obvious candidates.

Thanks.

-Noel

Re: Is there a way to override the menu font text color?

Posted: 2017-10-14, 16:09
by badnick

Re: Is there a way to override the menu font text color?

Posted: 2017-10-14, 16:10
by NoelC
By the way, I have it looking a little better on a similarly tweaked Win 10 system by virtue of the fact that the system is willing to direct Pale Moon to put up a white menu font when Pale Moon has focus, but I could still use the ability to override the menu font color when the application is not focused...

Image

Image

-Noel

Re: Is there a way to override the menu font text color?

Posted: 2017-10-14, 16:12
by NoelC
Thanks. For security and other reasons I'm not a big fan of adding executable software to do something that could possibly be done with a tweak to a setting... Is the structure of the application such that this is the only way to change the font color?

-Noel

Re: Is there a way to override the menu font text color?

Posted: 2017-10-14, 16:22
by badnick
I don't know if this is the only way but whatever modification will be to change something in paleMoon isn't that a modification in his code? :wtf:
I use this addon from a long time and never had problems.

Re: Is there a way to override the menu font text color?

Posted: 2017-10-14, 16:51
by jars_
in userChrome.css

Code: Select all


menubar#main-menubar > menu {
	color: #F5F5F5 !important;
	text-shadow: 2px 1px 2px #000 !important;
	}

menubar#main-menubar > menu:hover {
	color: #FFFF00 !important;
	text-shadow: 2px 1px 2px #000 !important;
	}


Re: Is there a way to override the menu font text color?

Posted: 2017-10-14, 19:57
by NoelC
Badnick, I tried the plug-in and it made all the text white, even the text in the dialogs. I need only the menu text to change.

Thanks for the suggestion, jars_. The documentation for UserChrome.css says to put it in "the profile folder", and gives specific examples for Mozilla. The about:support page lists my folder as:

"C:\Users\NoelC\AppData\Roaming\Moonchild Productions\Pale Moon\Profiles\bsl9ga0q.default"

Putting the following userChrome.css file in that folder made no difference whatsoever in the color of the menu text.

Code: Select all

menubar#main-menubar > menu {
   color: #FFFFFF !important;
   text-shadow: 2px 1px 2px #000 !important;
   }

menubar#main-menubar > menu:hover {
   color: #FFFFFF !important;
   text-shadow: 2px 1px 2px #000 !important;
   }
-Noel

Re: Is there a way to override the menu font text color?

Posted: 2017-10-14, 20:10
by jars_
The documentation for UserChrome.css says to put it in "the profile folder"
%profile folder%\chrome\userChrome.css

In your case:

Code: Select all

"C:\Users\NoelC\AppData\Roaming\Moonchild Productions\Pale Moon\Profiles\bsl9ga0q.default\chrome\userChrome.css"

Re: Is there a way to override the menu font text color?

Posted: 2017-10-14, 20:31
by badnick
NoelC wrote:Badnick, I tried the plug-in and it made all the text white, even the text in the dialogs. I need only the menu text to change.
You have to select a color from the addon menu. But yes that change the color of the entire UI fonts .

Re: Is there a way to override the menu font text color?

Posted: 2017-10-16, 02:10
by NoelC
jars_ wrote: %profile folder%\chrome\userChrome.css
Thank you, that was exactly it.

Now the menu headings are highly readable.

-Noel