Hi,
Thanks a lot ; it works. I should have notice the svg thing !
I've deleted the "color" part since the texte was the same color as the
background.
I'll add some rounded corners and it will be OK for me.
FrD
Le lundi 27 juillet 2015 22:03:08 UTC+2, Jed Carty a écrit :
>
> The normal buttons aren't svg images, so take that part out and instead of
> fill use background-color like this:
>
> html body.tc-body .ens-btn { background-color:#66ff33; color: #66ff33; }
>
> html body.tc-body .ens-btn:hover { background-color: #33cc33;}
>
> Tiddlywiki uses svg images for the toolbar buttons which is why those
> classes have svg in the definition. What you have would apply to svg images
> put inside the button widget.
> Putting <$button
> class='ens-btn'>{{$:/core/images/delete-button}}</$button> with your
> version of the class defined would make the icon change color but nothing
> else.
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/15f726f6-73f5-4048-8bec-9470c8a634ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.