Hi,

You're right. I was dealing with the problem the wrong way.
I'll use css on tc-modal and the like.

I'm trying some ideas on a lightbox like system. I'll post here about my 
progress.

Thanks

FrD

Le samedi 25 juin 2016 00:50:17 UTC+2, Evolena a écrit :
>
> 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.
>
> So I'm not sure it's not outside the story.
>>
> It is indeed: links inside a modal are not catched by the navigator 
> widget, for instance.
>
> 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/be6268f0-97e9-45a1-ba41-6feed910442b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to