You are not logged in.
Pages: 1
Hi,
I downloaded the following theme: https://www.xfce-look.org/p/1210386/ and want to do some modifications.
Context menu of minimized windows
Where can I change the background color of disabled entries? Can't seem to find them in the gtk.css.
Any help is much appreciated. I've just started working with themes and css.
Last edited by jj48 (2020-08-28 19:18:52)
Offline
Hello and welcome.
Try adding the following to either the theme's gtk.css file or to the ~/.config/gtk-3.0/gtk.css override file:
.tasklist menuitem:disabled label { background:none; color: #a9a9a9; text-shadow: 0px 1px rgba(0, 0, 0, 0.1); }
You might want to report this to the theme developer so he can fix it properly.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Try adding the following to either the theme's gtk.css file or to the ~/.config/gtk-3.0/gtk.css override file:
.tasklist menuitem:disabled label { background:none; color: #a9a9a9; text-shadow: 0px 1px rgba(0, 0, 0, 0.1); }
Thank you! I first tried it in the theme's gtk.css but it didn't seem to make a difference. There wasn't a ~/.config/gtk-3.0/gtk.css so I created one and put the above code in there - which leads to the desired result (changed the color from #a9a9a9 to #747474):
Thinking I was done modifying the theme, I noticed that the same problem occurs with the menus from the notification area and the network connections. Altering ToZ's solution to affect not only the tasklist but the whole panel solved this issue. My ~/.config/gtk-3.0/gtk.css finally looks like this:
.xfce4-panel menuitem:disabled label {
background: none;
color: #747474;
text-shadow: 0px 1px rgba(0, 0, 0, 0.1); }
You might want to report this to the theme developer so he can fix it properly.
Yes, I'll leave him a message.
Thanks again ToZ for saving me hours of searching around.
Offline
Pages: 1
[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 523.83 KiB (Peak: 529.85 KiB) ]