The syntax is roughly the same which is fine but what I'm finding harder is identifying the appropriate selectors based on the output of the inspector is harder.

I've gotten most of everything I wanted fixed except for the height of the register tabs. The inspector so far isn't showing me anything helpful to tweak that would let me reduce their height.

On 2021-12-10 12:02, Adrien Monteleone wrote:
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.

_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to