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

2022-05-06 Thread Chris Green
On Thu, May 05, 2022 at 07:22:47PM +0100, Chris Green wrote:
> On Thu, May 05, 2022 at 01:13:06PM -0500, Adrien Monteleone wrote:
> > 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.
> > 
> That's clever!  I'd looked at the output HTML but I didn't know about
> the "first child" modifier.  I'll certainly try it, thank you.
> 
Yes, that's a big improvement, it might be worth setting a background
colour too, lots of possibilities.  Thanks again! :-)

-- 
Chris Green
___
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.


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

2022-05-05 Thread Chris Green
On Thu, May 05, 2022 at 01:13:06PM -0500, Adrien Monteleone wrote:
> 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.
> 
That's clever!  I'd looked at the output HTML but I didn't know about
the "first child" modifier.  I'll certainly try it, thank you.

-- 
Chris Green
___
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.


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

2022-05-05 Thread Chris Green
On Thu, May 05, 2022 at 12:59:55PM -0500, Adrien Monteleone wrote:
> 
> 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.
> > 
> 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.
> 
Yes, exactly, that's why I asked the question! :-)  I was referring to
the 'experimental' CSS style sheet.

However on looking at the Transaction Report HTML there's no selector
(class or anything) for the sub-account heading so it's not possible
(as far as I can see) to do what I want with the CSS Stylesheet.

-- 
Chris Green
___
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.


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

2022-05-05 Thread Adrien Monteleone
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.


___
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.


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

2022-05-05 Thread Adrien Monteleone
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.



___
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.


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

2022-05-05 Thread Manfred Usselmann

Am 2022-05-04 12:40, schrieb Chris Green:

The Transaction Report probably provides the information that my
auditor wants by listing each account's transactions in order and
giving the total amount below each account.

However the formatting and font sizes seem a little odd and I'd like
to change them if I can.

I have two fairly simple requirements:-

Increase the space below "Total for " before the
name of the next account appears.

Increase the font size for the account name that appears at the
top of each account's transactions.  As it is at present it's just
in the default small size used for all the 'body' text and so the
name doesn't stand out to indicate the start of the next account.


I agree, it is difficult to see the beginning a new account because of 
the small size of the name of the account. If you find a solution, 
please share... :-)


Thanks.

Regards,
Manfred

___
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.


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

2022-05-05 Thread Glenn Fowler
There is also Edit > Preferences > Reports > Default zoom level

In my case, increasing that made the reports readable and fit my screen
better.

On Thu, May 5, 2022 at 2:33 AM Adrien Monteleone <
adrien.montele...@lusfiber.net> wrote:

> Export the report. The format is HTML, then you can examine it with a
> text editor and/or open it in a browser and use its inspector.
>
> Alternatively, just open it in a spreadsheet app and manipulate it from
> there.
>
> Regards,
> Adrien
>
> On 5/4/22 5:40 AM, Chris Green wrote:
> > The Transaction Report probably provides the information that my
> > auditor wants by listing each account's transactions in order and
> > giving the total amount below each account.
> >
> > However the formatting and font sizes seem a little odd and I'd like
> > to change them if I can.
> >
> > I have two fairly simple requirements:-
> >
> >  Increase the space below "Total for " before the
> >  name of the next account appears.
> >
> >  Increase the font size for the account name that appears at the
> >  top of each account's transactions.  As it is at present it's just
> >  in the default small size used for all the 'body' text and so the
> >  name doesn't stand out to indicate the start of the next account.
> >
> >
> > I can 'do' CSS but there don't seem to be any obvious selectors for
> > the items I want to change.  Is there any detailed description of what
> > selectors are available in the CSS stylesheet?
> >
>
> ___
> 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.


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

2022-05-05 Thread Chris Green
On Thu, May 05, 2022 at 01:33:51AM -0500, Adrien Monteleone wrote:
> On 5/4/22 5:40 AM, Chris Green wrote:
> > The Transaction Report probably provides the information that my
> > auditor wants by listing each account's transactions in order and
> > giving the total amount below each account.
> > 
> > However the formatting and font sizes seem a little odd and I'd like
> > to change them if I can.
> > 
> > I have two fairly simple requirements:-
> > 
> >  Increase the space below "Total for " before the
> >  name of the next account appears.
> > 
> >  Increase the font size for the account name that appears at the
> >  top of each account's transactions.  As it is at present it's just
> >  in the default small size used for all the 'body' text and so the
> >  name doesn't stand out to indicate the start of the next account.
> > 
> > 
> > I can 'do' CSS but there don't seem to be any obvious selectors for
> > the items I want to change.  Is there any detailed description of what
> > selectors are available in the CSS stylesheet?
> > 
> Export the report. The format is HTML, then you can examine it with a text
> editor and/or open it in a browser and use its inspector.
> 
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.

-- 
Chris Green
___
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.


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

2022-05-05 Thread Adrien Monteleone
Export the report. The format is HTML, then you can examine it with a 
text editor and/or open it in a browser and use its inspector.


Alternatively, just open it in a spreadsheet app and manipulate it from 
there.


Regards,
Adrien

On 5/4/22 5:40 AM, Chris Green wrote:

The Transaction Report probably provides the information that my
auditor wants by listing each account's transactions in order and
giving the total amount below each account.

However the formatting and font sizes seem a little odd and I'd like
to change them if I can.

I have two fairly simple requirements:-

 Increase the space below "Total for " before the
 name of the next account appears.

 Increase the font size for the account name that appears at the
 top of each account's transactions.  As it is at present it's just
 in the default small size used for all the 'body' text and so the
 name doesn't stand out to indicate the start of the next account.


I can 'do' CSS but there don't seem to be any obvious selectors for
the items I want to change.  Is there any detailed description of what
selectors are available in the CSS stylesheet?



___
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.


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

2022-05-04 Thread Chris Green
The Transaction Report probably provides the information that my
auditor wants by listing each account's transactions in order and
giving the total amount below each account.

However the formatting and font sizes seem a little odd and I'd like
to change them if I can.

I have two fairly simple requirements:-

Increase the space below "Total for " before the
name of the next account appears.

Increase the font size for the account name that appears at the
top of each account's transactions.  As it is at present it's just
in the default small size used for all the 'body' text and so the
name doesn't stand out to indicate the start of the next account.


I can 'do' CSS but there don't seem to be any obvious selectors for
the items I want to change.  Is there any detailed description of what
selectors are available in the CSS stylesheet?

-- 
Chris Green
___
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.