[GNC] Change text color

Adrien Monteleone adrien.monteleone at lusfiber.net
Wed Aug 8 12:45:05 EDT 2018


Looking at the available properties, I didn’t see one that would work on the image directly. I tried margin but it didn’t seem to work. I see there are other properties not related to CSS. It would be nice if Gnome added them to their spec.

Regards,
Adrien

> On Aug 8, 2018, at 11:42 AM, Geert Janssens <geert.gnucash at kobaltwit.be> wrote:
> 
> Op woensdag 8 augustus 2018 18:31:07 CEST schreef Adrien Monteleone:
>> Correction,
>> 
>> tabs label {
>>  margin-left: -3em;
>> }
>> 
>> will shift the label and thus then entire tab to the left enough to cover
>> the invisible image. (you can alter the margin to suit of course)
>> 
>> Also notice I use ’tabs’ here instead of ’notebook’.
>> 
>> They are interchangeable but I like ’tabs’ better because it makes the CSS
>> self-documenting.
>> 
>> So the previous rule would be:
>> 
>> tabs box > image {
>> opacity: 0;
>> }
> 
> Would a negative position work to hide the image ? Gtk internally uses -32000 
> to hide windows. I have no idea if this also works for other widgets.
> 
> Geert
> 
> 
> 




More information about the gnucash-user mailing list