[GNC] Changing colors and layout on 4.8

Adrien Monteleone adrien.monteleone at lusfiber.net
Fri Dec 10 15:02:12 EST 2021


The wiki *should* warn about this, but be aware that GTK CSS and Web CSS 
are *not* the same thing. Thus rules, selectors, and properties won't 
necessarily translate from Web to GTK or even be available. But anyone 
familiar with Web CSS should be able to find their way around how to 
utilize the inspector.

It takes some getting used to figuring it out, but you should be able to 
see the current value of various UI element properties and adjust them 
on the fly to find what you like. (you can then write these changes as 
'live' CSS rules in their own tab) Not all values are addressable via 
CSS. Some are hard-coded.

You can also see the 'document tree' to discover node/selector names for 
targeting rules. (as well as see how a 'cascade' would work when 
targeting more general nodes/selectors)

Regards,
Adrien

On 12/10/21 1:44 PM, AC wrote:
> Found it, there was a space just before the period in the file name. The 
> inspector does come up now.
> 
> Now to understand how to translate what is in the inspector into viable 
> CSS.



More information about the gnucash-user mailing list