Hover text on panel is black, need white (SOLVED)

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
choochooal
Level 1
Level 1
Posts: 21
Joined: Tue Jun 28, 2011 7:54 pm

Hover text on panel is black, need white (SOLVED)

Post by choochooal » Sat Dec 14, 2013 12:03 am

Screenshot.png
When I hover any running program or app etc on the panel in Linux Mint 16 Cinnamon, the text explanation like "firefox" or "banshee" shows up above the panel in black. Great but my wallpaper is black (or rather dark) and I can't see the text.
Also if I'm editing the text on a desktop icon, its normally white on blue (theme color) but when I hit F2 to rename the icon the text turns black again. It's the same thing, maybe the same setting but at least the same effect.
I've been all over several cinnamon.css files looking for any kinda setting.
Last edited by choochooal on Fri Jan 10, 2014 9:39 pm, edited 1 time in total.
Linux Mint 18.3 and/or 19.x Cinnamon 64-bit. Dual boot with Windows 10

caribriz
Level 5
Level 5
Posts: 938
Joined: Mon Nov 28, 2011 7:43 am

Re: Hover text on panel is black, need white

Post by caribriz » Sat Dec 14, 2013 1:21 am

Hi choochooal,

I was going to respond in this other thread:
[url]http://forums.linuxmint.com/viewtopic.php?f=90&t=149147#p781509[/url]
but will do it here instead ...

I'm not sure why, but I had to copy/paste a section of another theme's cinnamon.css file to get this to work in the theme from the other thread -
Ambiance-Minty-2.

In the cinnamon.css file of Ambiance-Minty-2, I "commented out" the StTooltip StLabel section of the file, and pasted this text under it:

Code: Select all

#Tooltip {
	color: #ffffff;
	background-gradient-direction: vertical;
	background-gradient-start: #648fb3;
        background-gradient-end: #446bae;	
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 3px;
	padding: 3px 10px;
	font-weight: normal;
	text-align: center;
}
That section of cinnamon.css for Ambiance-Minty-2 now looks like this:
cinnamon.css-in-Ambiance-Minty-2.png
Saved the file, logged out/in.

The panel tooltips in the theme now look like this:
cinnamon-Ambiance-Minty-2.png
If you didn't want the tooltips to have a background color, again comment out the StTooltip StLabel section and just put these lines under that section instead:

Code: Select all

#Tooltip {
	color: #ffffff;
	font-weight: normal;
	text-align: center;
}
Again, save the file, logout/in.

To get this:
Ambiance-Minty-2-with-white-panel-tooltips.png
Unfortunately, I don't know how to fix the other problem of the editing of desktop icon text color - except to say that I think it's not a cinnamon theme
(cinnamon.css) problem, but it's part of the gtk3 theme, the "Controls" theme you choose.

I think you would have to add a "desktop-mode" section to the file nemo.css in the /gtk-3.0/apps/nemo.css of your chosen gtk3 theme.
.... but I have had no luck with this myself.
Desktop: C2D E6400 / Asus P5LD2SE / 2GB ram / Asus GeForce 210 / 320GB (WinXP) & 1TB (Mint - various)
Laptop: Asus A53E-SX1455V - i5 2450M / 4GB ram / Intel HD 3000 / 500GB (Win7/Mint 18.3 Cinnamon)

choochooal
Level 1
Level 1
Posts: 21
Joined: Tue Jun 28, 2011 7:54 pm

Re: Hover text on panel is black, need white

Post by choochooal » Sun Dec 22, 2013 12:34 pm

Thanks a lot. This is close enough to get me in the ballpark. I can experiment and get what I want, I'm sure. Thanks again.
And it works like a charm. White with black background! Perfect for my needs!. I'll log this in my "tweaks" doc. I log every tweak I do when I install, so if I do a fresh upgrade I know where and what to do to get everything back to my desires. Backups are good but system updates can possibly overwrite files.
Linux Mint 18.3 and/or 19.x Cinnamon 64-bit. Dual boot with Windows 10

Post Reply

Return to “Newbie Questions”