You are not logged in.
Pages: 1
Hi,
I'm using thunar 4.16.3 (Xfce 4.16), Sparky linux 6.
I've set ~./.config/gtk-3.0/gtk.css:
.thunar .view { background-color: #CCCCCC; }
How do I set the colour of selected items?.
Thanks
Offline
This should work:
.thunar .view { background-color: #CCCCCC;}
.thunar .view:selected { background-color: yellow; color: blue; }
Offline
Great, thanks.
Offline
This should work:
.thunar .view { background-color: #CCCCCC;} .thunar .view:selected { background-color: yellow; color: blue; }
This works beautifully, thank you!
Is it possible to do the same for selections on the sidebar/shortcuts pane? I've tried to decipher gtkinspector but I'm just not clever enough.
Offline
Is it possible to do the same for selections on the sidebar/shortcuts pane? I've tried to decipher gtkinspector but I'm just not clever enough.
Welcome to the forums!
Perhaps this post can help.
Offline
Perhaps this post can help.
Thanks so much, ToZ - the first two lines of your cheatsheet are just what I was looking for:
.thunar .shortcuts-pane .view {background-color: red} /* sidebar - shortcuts view */
.thunar .shortcuts-pane .view {color: blue} /* sidebar - shortcuts view - font color - can use pseudo states :selected, :hover */
I almost caught a clue from scrabbling around GTK Inspector, but I think my trying to include
:selected {background-color: red}
was causing it to fail.
I now have my Thunar looking better than ever, easy to read and without the uncomfortable glare from a bright white background, all thanks to lots of helpful tips and clear advice on this forum. Thank you again!
Offline
.
I now have my Thunar looking better than ever, easy to read and without the uncomfortable glare from a bright white background, all thanks to lots of helpful tips and clear advice on this forum. Thank you again!
I also dislike the glaring white backgrounds most apps show.
Have a look at redshift for a system-wide solution. Works well for me.
Offline
Have a look at redshift for a system-wide solution. Works well for me.
Thanks for the tip - I've used redshift for a while now, love the fine control it offers.
Offline
Pages: 1