Then you can look at the tc-modal classes in the vanilla stylesheet.
.tc-modal, .tc-modal-footer {
    background-color: transparent;
}
can be a first step to achieve what you want.

However, I don't know how to assign another class to modals.

Le vendredi 24 juin 2016 17:48:09 UTC+2, FrD a écrit :
>
> Hi Matthew,
>
> The tiddler with the transparent background will be used for a kind of 
> lightbox (with the "tm-modal" message). So I'm not sure it's not outside 
> the story.
>
> Thanks anyway.
>
> FrD
>
> Le vendredi 24 juin 2016 17:28:00 UTC+2, Matthew Lauber a écrit :
>>
>> Tiddlers (in tw5, which I'm assuming you're using) do not have the title 
>> property set.  Not sure of the correct solution, but that's the cause of 
>> the problem.  
>>
>> One possible solution is to change the $:/core/ui/PageTemplate/story to 
>> special case the tiddler with the given title and wrap it in a 
>>
>> @@background-color: transparent;
>> ....{{transclude}}...
>> @@
>>
>>
>> On Friday, June 24, 2016 at 11:01:22 AM UTC-4, FrD wrote:
>>>
>>> Hi,
>>>
>>> I'd like to have a transparent background for one precise tiddler : 
>>> MyTiddler.
>>> I've tried to put this in a stylesheet :
>>>
>>> div[title=MyTiddler]{
>>>         background-color: transparent;
>>> }
>>>
>>>
>>> but no way, the background remains the same.
>>>
>>> What am I missing ?
>>>
>>>
>>> Thansk for your help
>>>
>>> FrD
>>>
>>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1dbc0658-ba7b-447c-b1e6-cf49a908258a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to