[GNC] Change text color

Adrien Monteleone adrien.monteleone at lusfiber.net
Tue Aug 7 14:36:52 EDT 2018


.GncAccountPage should be the area ‘behind’ the summary bar and extends past it a bit as well - it is the container that holds the summary bar which is slightly smaller. .summary-bar, being a child element, might inherit properties that you set here.

.summary-bar has child labels.  In some cases, the color property (which is the foreground, or text color) can be applied to a parent element that itself doesn’t contain text and it still gets inherited by the children and other descendants—sometimes, not. The font-size and color properties *should* however work on ‘.summary-bar label’. Check earlier messages in the thread where we first went over the .summary-bar. One of my replies should have the specific selector for the label.

So you would have:

/* area-container of summary bar */

.GncAccountPage {}

/* summary bar itself */

.summary-bar {}

/* labels on the summary bar */

.summary-bar label {}


Regards,
Adrien

> On Aug 7, 2018, at 1:18 PM, Peter Jackson <jackson at fastmail.net> wrote:
> 
> It's such an empirical process. Try this. It has an effect, but not quite what I want. Can't change the label bar containing the text.and text coloor.
> In my css I now have two occurrences of .summary-bar, each seeming to do different things
> 
> .GncAccountPage {
>   background-color: lime;
> }
> .summary-bar {
> background-color: red;
>   margin-top: -10px;
>   margin-bottom: -10px;
> font-size: 12;
> color: green;
> }
> 
> 
> Nurton Court
> Middleton-on-the-Hill
> Ludlow SY8 4BD
> Tel: 01568 750 248 Mob: 07955 586 476
> 
> On 7 August 2018 at 18:07, Adrien Monteleone <adrien.monteleone at lusfiber.net> wrote:
> .GncAccountPage .summary-bar
> 
> Regards,
> Adrien
> 
> 
> 
> > On Aug 7, 2018, at 11:38 AM, GT-I9070 H <gti9070h at gmail.com> wrote:
> > 
> > Em ter, 7 de ago de 2018 às 12:17, GT-I9070 H <gti9070h at gmail.com> escreveu:
> > This 
> > 
> > .GncRegisterPage {
> >  background-color: aliceblue;
> >  color: green;
> > } 
> > 
> > has not stylized my summary bar, what's wrong? 
> > 
> > 
> > Regards
> > GTI
> > 
> > 
> > I found out what happened.
> > 
> > This is for the totals bar on the register sheet
> > 
> > What I said and I need is to the summary bar on the accounts sheet. 
> > 
> > 
> > Regards
> > GTI
> 
> _______________________________________________
> 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
> 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.
> 



More information about the gnucash-user mailing list