kopia lustrzana https://github.com/miklobit/TiddlyWiki5
34 wiersze
1.0 KiB
Plaintext
34 wiersze
1.0 KiB
Plaintext
title: $:/core/ui/ViewTemplate/title
|
|
tags: $:/tags/ViewTemplate
|
|
|
|
\define title-styles()
|
|
fill:$(foregroundColor)$;
|
|
\end
|
|
<div class="tw-tiddler-title">
|
|
<div class="titlebar">
|
|
<span class="tw-tiddler-controls">
|
|
<$list filter="[is[shadow]!has[draft.of]tag[$:/tags/ViewToolbar]] [!is[shadow]!has[draft.of]tag[$:/tags/ViewToolbar]] +[tag[$:/tags/ViewToolbar]]" variable="listItem"><$transclude tiddler=<<listItem>>/></$list>
|
|
</span>
|
|
<$set name="foregroundColor" value={{!!color}}>
|
|
<span style=<<title-styles>>>
|
|
<$transclude tiddler={{!!icon}}/>
|
|
</span>
|
|
</$set>
|
|
<$list filter="[is[current]removeprefix[$:/]]">
|
|
<span class="title" title={{$:/language/SystemTiddler/Tooltip}}>
|
|
<span class="tw-system-title-prefix">$:/</span><$text text=<<currentTiddler>>/>
|
|
</span>
|
|
</$list>
|
|
<$list filter="[is[current]!prefix[$:/]]">
|
|
<span class="title">
|
|
<$view field="title"/>
|
|
</span>
|
|
</$list>
|
|
</div>
|
|
|
|
<$reveal type="nomatch" text="" default="" state=<<tiddlerInfoState>> class="tw-tiddler-info tw-popup" animate="yes" retain="yes">
|
|
|
|
<$transclude tiddler="$:/core/ui/TiddlerInfo"/>
|
|
|
|
</$reveal>
|
|
</div> |