You are right - I changed the style sheet and noticed the effects elsewhere 
within all other tiddlers. The solution you propose is much better practice 
for me, and shows me how to use custom styles, which is something I've been 
wondering about. Thanks a bunch!

On Thursday, January 2, 2020 at 10:09:23 AM UTC-5, Eric Shulman wrote:
>
> On Thursday, January 2, 2020 at 5:54:03 AM UTC-8, Thomas Elmiger wrote:
>>
>> You don’t have to change that tiddler. You can put Ton’s code in a 
>> tiddler and tag it as described here 
>> <https://tiddlywiki.com/#Using%20Stylesheets>. The tag $:/tags/Stylesheet 
>> <https://tiddlywiki.com/#SystemTag%3A%20%24%3A%2Ftags%2FStylesheet> 
>> makes it a stylesheet that will be applied to your wiki.
>>
>>>
>>>> .tc-popup-handle {
>>>>      border: 5px blue;
>>>>      border-style: dotted;
>>>> }
>>>>
>>>>
> One important note here:
>
> Although ".tc-popup-handle" is a CSS classname, it is used by the TWCore 
> code to control popup *behavior*, not *appearance*.
>
> There are numerous places where tc-popup-handle is used, and I'm fairly 
> certain that you don't want the appearance of every one of those uses to be 
> changed.
>
> Thus, for this particular use-case, it might be better to alter the 
> content in *$:/core/ui/SideBarSegments/search *to add another classname 
> (e.g., "myStyle") 
> <$edit-text tiddler="$:/temp/search" ... class="tc-popup-handle myStyle"/>
>
> Then, in a separate tiddler tagged with $:/tags/Stylesheet, write:
> .myStyle { border:5px dotted blue; }
>
> enjoy,
> -e
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cc10e6ea-8b64-43f1-ade2-9eec71368a0a%40googlegroups.com.

Reply via email to