Rename "title" class to "tc-title"

Part of #764
print-window-tiddler
Jermolene 2014-08-28 17:25:07 +01:00
rodzic 63d7fd8457
commit 90f0fc22ff
3 zmienionych plików z 6 dodań i 6 usunięć

Wyświetl plik

@ -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);

Wyświetl plik

@ -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>

Wyświetl plik

@ -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;
}