[GNC] Trying to customize GTK CSS: issue with #gnc-id-dense-calendar

Brad Morrison bradmorrison at sonic.net
Tue Jan 21 08:57:40 EST 2025


Hi Gregorio/GnuCash users, 

Some basics: 

What operating system are you using? 

What version of GNUCash are you using? The current version is 5.10 -
https://www.gnucash.org/download.phtml 

---
Thanks, 

Brad - https://www.facebook.com/brad.morrison.12327/ &
https://norcal.social/@BradMorrison 

On 2025-01-21 05:49, Gregório Miranda wrote:

> Hi all,
> I'm customizing my GTK3 style sheets and have been relatively successful at
> making a dark everforest theme (see CSS in the attachments), but I just
> can't do much with the calendar shown inside the scheduled transactions tab
> <https://github.com/ggio/gnucash_dark_everforest/blob/main/calendar_issue.png>(#gnc-id-dense-calendar).
> I've searched a lot, read the docs and tweaked extensively with GTK
> inspector, but I'm still lost.
> 
> The calendar is still ugly as hell and the options given in the doc's CSS
> sample file aren't helping at all. I got to change the header's background
> and the focused background (but not the focused text).
> 
> Would appreciate it if someone can show me the right track.
> 
> Specially, I would like to customize:
> 
> - The *primary and secondary month background colors *(the
> "#gnc-id-dense-calendar .primary" and "... .secondary" options within the
> CSS sample simply doesn't work);
> - The *background color of empty cells*;
> - The *text at the highlighted/focused dates* (currently whithish in a
> yellow background).
> 
> Gregório 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtk-3.0.css
Type: text/css
Size: 10814 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20250121/e7459f93/attachment.css>


More information about the gnucash-user mailing list