1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00

Rename "title" class to "tc-title"

Part of #764
This commit is contained in:
Jermolene 2014-08-28 17:25:07 +01:00
parent 63d7fd8457
commit 90f0fc22ff
3 changed files with 6 additions and 6 deletions

View File

@ -108,10 +108,10 @@ ZoominListView.prototype.navigateTo = function(historyInfo) {
};
/*
Find the first child DOM node of a widget that has the class "title"
Find the first child DOM node of a widget that has the class "tc-title"
*/
function findTitleDomNode(widget,targetClass) {
targetClass = targetClass || "title";
targetClass = targetClass || "tc-title";
var domNode = widget.findFirstDomNode();
if(domNode && domNode.querySelector) {
return domNode.querySelector("." + targetClass);

View File

@ -18,12 +18,12 @@ $:/config/ViewToolbarButtons/Visibility/$(listItem)$
</span>
</$set>
<$list filter="[all[current]removeprefix[$:/]]">
<span class="title" title={{$:/language/SystemTiddler/Tooltip}}>
<span class="tc-title" title={{$:/language/SystemTiddler/Tooltip}}>
<span class="tw-system-title-prefix">$:/</span><$text text=<<currentTiddler>>/>
</span>
</$list>
<$list filter="[all[current]!prefix[$:/]]">
<span class="title">
<span class="tc-title">
<$view field="title"/>
</span>
</$list>

View File

@ -376,7 +376,7 @@ button.tw-tag-label, span.tw-tag-label {
fill: <<colour sidebar-foreground>>;
}
.sidebar-header .title a.tw-tiddlylink-resolves {
.sidebar-header .tc-title a.tw-tiddlylink-resolves {
font-weight: 300;
}
@ -616,7 +616,7 @@ button.tw-tag-label, span.tw-tag-label {
font-weight: 300;
}
.tw-tiddler-missing .title {
.tw-tiddler-missing .tc-title {
font-style: italic;
font-weight: normal;
}