[GNC] Change text color

Peter Jackson jackson at fastmail.net
Wed Aug 8 04:59:29 EDT 2018


On each Notebook Tab, to the left of the Account Name, is an irritating
little icon. Any idea how to remove it?
pj


On 8 August 2018 at 07:10, Peter Jackson <jackson at fastmail.net> wrote:

> Adrien, well done. It all works on mine.
> Thanks
> Peter
>
>
> On 7 August 2018 at 23:10, Adrien Monteleone <adrien.monteleone at lusfiber.
> net> wrote:
>
>> 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
>>
>> _______________________________________________
>> 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