Ok, I got it. To change the transaction entry placeholder text color:
/* transaction entry placeholder text color */
.gnc-class-lighter-grey-mix {
color: steelblue;
}
Thank you Adrien for your knowledge and input as well.
I also dug around in the wiki and found more info in the older gnucash 3
Damn, I did have the leading period! Mailman seems to be stripping it
out. Apologies.
So the class is properly ".register-secondary" for hopefully the final time.
Regards,
Adrien
On 9/13/22 1:08 AM, Adrien Monteleone wrote:
Sorry,
I swore I had a period in front of the class:
register-secon
Sorry,
I swore I had a period in front of the class:
register-secondary
in my prior post. It is a class, not a node/entity.
Regards,
Adrien
On 9/13/22 1:04 AM, Adrien Monteleone wrote:
Also note those color definitions I mentioned still have to be used in a
rule. Simply defining them doesn't
Maybe try:
cursor entry {
color: (whatever you like);
}
The comments at the top of the sample CSS file from the Wiki define
'cursor entry' as an entity/node that affects the active cell. That
declaration should override everything else.
Be sure to test with commenting out or removing your
Thanks Adrien that is getting a little closer. Just leaving this here for
others.
1. I tried reordering but it had no effect.
2. Defining a color for 'register_cursor_fg_color' and
'register_cursor_color' didn't change anything.
3. '@define-color register_cursor_bg_color' is the same as background
Glenn Fowler wrote on 9/11/22 11:16:
I found this will change the input text color:
gnc-id-cursor entry {
color: green;
}
...and it works but it gets overridden whenever you change
*.gnc-class-register-cursor color but not sure why.
Cool! Well if I leave the *.gnc-class-register-cursor c
Glenn Fowler wrote on 9/11/22 09:28:
/* register blank transaction placeholder text */
*.gnc-class-register-cursor {
color: purple;
}
Unfortunately not quite. This makes both the placeholder and entered text
purple. In the built-in color theme, the placeholder text is gray and italic,
w
On 9/11/22 1:16 PM, Glenn Fowler wrote:
I found this will change the input text color:
gnc-id-cursor entry {
color: green;
}
...and it works but it gets overridden whenever you change
*.gnc-class-register-cursor color but not sure why.
Not sure either, maybe reverse them in the file? (this
I found this will change the input text color:
gnc-id-cursor entry {
color: green;
}
...and it works but it gets overridden whenever you change
*.gnc-class-register-cursor color but not sure why.
As for the header I'm not sure how you would completely remove that. I'm
assuming that would be in
/* register blank transaction placeholder text */
*.gnc-class-register-cursor {
color: purple;
}
/* register header */
*.gnc-class-register-header {
background-color: #a8b8bf;
color: black;
}
You could make the text and background in the header the same color to hide
it.
On Sun, Sep 11
Hey all, I'm using Gnucash 4.11 on Linux and trying to get the coloring of the
register to my liking. I'm using ~/.config/gnucash/gtk-3.0.css for the
settings.
I haven't yet figured out how to change the color of the placeholder text that shows up when the cursor is
not in that textbox. That
11 matches
Mail list logo