[tw5] Re: Distinguishing Native Shadow Tiddlers from Overwritten Shadow Tiddlers (for Styling)

2020-03-09 Thread Mat
@Ton, I think Scott is hoping for styling the actual tiddlers not just the 
link.

@Scott, I think you can use this

tags:$:/tags/Stylesheet
type: text/vnd.tiddlywiki
text:
<$list filter="[is[shadow]]">
[data-tiddler-title="<>"] { yourstyles }



<:-)

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a87adab0-6505-4cd6-9c98-17ccf8840025%40googlegroups.com.


[tw5] Re: Distinguishing Native Shadow Tiddlers from Overwritten Shadow Tiddlers (for Styling)

2020-03-09 Thread Ton Gerner
Hi Scott,

NATIVE SHADOW:
> tc-tiddler-frame tc-tiddler-view-frame tc-tiddler-exists tc-tiddler-shadow 
> tc-tiddler-system 
>
> OVERWRITTEN SHADOW:
> tc-tiddler-frame tc-tiddler-view-frame tc-tiddler-exists 
> *tc-tiddler-exists* tc-tiddler-shadow tc-tiddler-system 
>
> ... and I don't think styling 
> .tc-tiddler-exists.tc-tiddler-exists.tc-tiddler-shadow differently from 
> .tc-tiddler-exists.tc-tiddler-shadow is going to work.
>
> Are there any ways to go about this with how TW identifies shadow tiddlers 
> and overwritten shadow tiddlers?  Because the EditTemplate throws up 
> different alerts when you're editing a native shadow and when you're 
> editing an overwritten shadow, I assume there must be some TiddlyWay of 
> knowing the difference.  Is it a way that can be leveraged by CSS?
>

I do use someting like:

/* SHADOW TIDDLER LINK */
a.tc-tiddlylink-shadow {
 font-weight: bold;
 color: Blue;
}

/* OVERRIDDEN SHADOW TIDDLER LINK */
a.tc-tiddlylink-shadow.tc-tiddlylink-resolves {
 font-weight: bold;
 color: Red;
}

Cheers,

Ton

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/98a9ce7e-2d60-4eb0-8f70-ceb5b119c03e%40googlegroups.com.