I am using material theme by JD
http://j.d.material.tiddlyspot.com/
The stylesheet is here
http://j.d.material.tiddlyspot.com/#%24%3A%2Fthemes%2Fjd%2FMaterial%2FStylesheet
It has a class div.tc-tab-content.jd-lists-body
.
When you inspect the tiddlywiki in the browser you can see that this class is applied to the sidebar content
My question is how does TW knows which CSS class or selector is to be applied to which component?
In theme source code, I don’t see any where that says apply div.tc-tab-content.jd-lists-body
to this specific div.
Usually you declare CSS classes in the html for example
<div class="example-class">
<p id="talha">
Lorem ispum
</p>
</div>
Where is the part <div class="tc-tab-content jd-lists-body">
I am using material theme by JD
http://j.d.material.tiddlyspot.com/
The stylesheet is here
http://j.d.material.tiddlyspot.com/#%24%3A%2Fthemes%2Fjd%2FMaterial%2FStylesheet
It has a class
div.tc-tab-content.jd-lists-body
.
My question is how does TW knows which CSS class or selector is to be applied to which component?
In theme source code, I don’t see any where that says apply
div.tc-tab-content.jd-lists-body
to this specific div.
<$macrocall $name="tabs" tabsList="[all[shadows+tiddlers]tag[$:/tags/SideBar]!has[draft.of]]" default={{$:/config/DefaultSidebarTab}} state="$:/state/tab/sidebar" class="jd-lists-body"/>
Oops! Talk about missing the obvious.
Thank you FrD.