[GNC] Change layout and font sizes in Transaction Report - how?

Adrien Monteleone adrien.monteleone at lusfiber.net
Thu May 5 14:13:06 EDT 2022


I just played around with it on the Transaction Report and came up with 
this:

td:first-child {
   font-weight: bold;
   font-size: large;
}

The Account Name doesn't have a class or id to target, but it just so 
happens to be always the first td child of a new tr element in the 
entire report. (best I can tell, I didn't play with all options)

Give that a go.

I do see prominent Account Totals but I agree, the initial Account Name 
starting each section should be more noticeable.

Regards,
Adrien

On 5/5/22 12:59 PM, Adrien Monteleone wrote:
> The old built-in 'stylesheets' probably do not. But there is a CSS-based 
> (experimental) sheet that is just open text. You spec any id or class or 
> element you want with your chosen rules.
> 
> Mind you, GnuCash uses Webkit for rendering, so you need to check 
> caniuse.com if you are unsure about a rule working as expected.
> 
> 
> Regards,
> Adrien
> 
> On 5/5/22 3:12 AM, Chris Green wrote:
>> Is there any guarantee that the CSS Stylesheet wll allow me to access
>> every selector I can see in the HTML output?  I guess I can simply
>> take a look and try it out.



More information about the gnucash-user mailing list