[GNC] Change text color
Adrien Monteleone
adrien.monteleone at lusfiber.net
Tue Aug 7 18:10:54 EDT 2018
Here are some rather garish colors to see what controls what:
/* button’s container - ‘behind’ and ‘around’ it */
.GncAccountPage { background-color: red;}
/* another layer of a container for the button - exposed only left and right sides */
.summary-bar { background-color: yellow;}
/* the button - note you need to override background-image and/or the border */
.combo {
background-color: green;
color: orange;
background-image: none;
border: 5px solid purple;
}
/* the text on the button */
.summary-bar cellview {
font-size: 2em;
}
Regards,
Adrien
p.s.—I’m off to drink homebrew—till next time...
> On Aug 7, 2018, at 4:24 PM, GT-I9070 H <gti9070h at gmail.com> wrote:
>
> Adrien, Any idea?
>
>
> Regards
> GTI
>
> Em ter, 7 de ago de 2018 às 15:58, GT-I9070 H <gti9070h at gmail.com> escreveu:
> Em ter, 7 de ago de 2018 às 14:40, Adrien Monteleone <adrien.monteleone at lusfiber.net> escreveu:
> .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
>
> I had already tested this for a long time and none of this worked for me.
>
> Peter,
> Did it work for you?
>
> Regards
> GTI
More information about the gnucash-user
mailing list