Comment 25 for bug 1599453

Revision history for this message
Stephen Boddy (stephen-j-boddy) wrote :

OK, so I'm a bit stumped at this point. Ambiance uses these horrid skinny scrollbars, but there might be other themes that rely on this kind of trickery. You can see in the attachment how ugly they look with Terminator (left two, window active and scrollbar hover) and how they should look with GNOME-Terminal (right two).

I have a way of fixing it (setting the background of the HBox containing the terminal and the scrollbar) to match the background of the terminal.

Unfortunately getting the background of the vte terminal and setting the background of scrollbars using CSS as I've been doing it is a non starter. A single window might have multiple profiles with different colours and levels of alpha. Instead I need to set the background of individual widget instances. It seems that as usual the GTK devs decided that anything simple is bad, and anything that looks like a simple function call is deprecated. Any info/examples I've found so far seem to be about creating CSS that using selectors covers all widgets with that class. I'm at the point where the only thing I can think of is to start creating a CSS class per profile, and setting the individual widgets class names to correspond to the profile.

Or does anyone else have better any better ideas/experience?