mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-06-25 23:03:15 +00:00
Text-slicer updates
This commit is contained in:
parent
e62778a50f
commit
e19617a5ce
|
@ -36,7 +36,7 @@ The document preview column appears at the left side of the screen. The content
|
||||||
|
|
||||||
Clicking ''Show toolbar'' causes each tiddler be preceded by a toolbar showing the underlying title. It can be edited directly to rename the tiddler. References to the tiddler in the ''tags'' and ''list'' are automatically updated to reflect the change, but note that links to the tiddler will not be automatically changed.
|
Clicking ''Show toolbar'' causes each tiddler be preceded by a toolbar showing the underlying title. It can be edited directly to rename the tiddler. References to the tiddler in the ''tags'' and ''list'' are automatically updated to reflect the change, but note that links to the tiddler will not be automatically changed.
|
||||||
|
|
||||||
The preview column to be visible, the following theme tweaks should be applied:
|
The following theme tweaks should be applied to enable the preview column:
|
||||||
|
|
||||||
* Set [[story left position|$:/themes/tiddlywiki/vanilla/metrics/storyleft]] to ''400px'' (or more)
|
* Set [[story left position|$:/themes/tiddlywiki/vanilla/metrics/storyleft]] to ''400px'' (or more)
|
||||||
* It is recommended to also set the [[sidebar layout|$:/themes/tiddlywiki/vanilla/options/sidebarlayout]] to ''fluid-fixed''.
|
* It is recommended to also set the [[sidebar layout|$:/themes/tiddlywiki/vanilla/options/sidebarlayout]] to ''fluid-fixed''.
|
||||||
|
|
|
@ -17,6 +17,10 @@ tags: $:/tags/Stylesheet
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tc-sliced-document-title {
|
||||||
|
font-size: 1.7em;
|
||||||
|
}
|
||||||
|
|
||||||
.tc-document-preview-column .tc-sliced-document-header {
|
.tc-document-preview-column .tc-sliced-document-header {
|
||||||
margin-left: 24px;
|
margin-left: 24px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,65 +14,35 @@ $:/config/plugins/tiddlywiki/text-slicer/heading-status/$(currentTiddler)$
|
||||||
|
|
||||||
\define body()
|
\define body()
|
||||||
<$set name="tv-heading-status-config-title" value=<<config-heading-status>>>
|
<$set name="tv-heading-status-config-title" value=<<config-heading-status>>>
|
||||||
|
|
||||||
<$set name="tv-show-toolbar" value={{$(config-show-toolbar)$}}>
|
<$set name="tv-show-toolbar" value={{$(config-show-toolbar)$}}>
|
||||||
|
|
||||||
<div class="tc-sliced-document">
|
<div class="tc-sliced-document">
|
||||||
|
|
||||||
<div class="tc-sliced-document-header">
|
<div class="tc-sliced-document-header">
|
||||||
|
|
||||||
<div class="tc-document-tiddler-toolbar">
|
<div class="tc-document-tiddler-toolbar">
|
||||||
|
|
||||||
<$reveal type="nomatch" state=<<config-document-status>> text="open" default="closed">
|
<$reveal type="nomatch" state=<<config-document-status>> text="open" default="closed">
|
||||||
|
|
||||||
<$button set=<<config-document-status>> setTo="open" class="tc-btn-invisible">
|
<$button set=<<config-document-status>> setTo="open" class="tc-btn-invisible">
|
||||||
|
|
||||||
{{$:/core/images/down-arrow}}
|
{{$:/core/images/down-arrow}}
|
||||||
|
|
||||||
</$button>
|
</$button>
|
||||||
|
|
||||||
</$reveal>
|
</$reveal>
|
||||||
|
|
||||||
<$reveal type="match" state=<<config-document-status>> text="open" default="closed">
|
<$reveal type="match" state=<<config-document-status>> text="open" default="closed">
|
||||||
|
|
||||||
<$button set=<<config-document-status>> setTo="close" class="tc-btn-invisible">
|
<$button set=<<config-document-status>> setTo="close" class="tc-btn-invisible">
|
||||||
|
|
||||||
{{$:/core/images/right-arrow}}
|
{{$:/core/images/right-arrow}}
|
||||||
|
|
||||||
</$button>
|
</$button>
|
||||||
|
|
||||||
</$reveal>
|
</$reveal>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h1 class="tc-sliced-document-title">''Document'': <$link><$view field="title"/></$link></h1>
|
<h1 class="tc-sliced-document-title">''Document'': <$link><$view field="title"/></$link></h1>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<$reveal type="nomatch" state=<<config-document-status>> text="open" default="closed">
|
<$reveal type="nomatch" state=<<config-document-status>> text="open" default="closed">
|
||||||
|
|
||||||
{{||$:/plugins/tiddlywiki/text-slicer/ui/document/header}}
|
{{||$:/plugins/tiddlywiki/text-slicer/ui/document/header}}
|
||||||
|
|
||||||
<div class='tc-sliced-document-body'>
|
<div class='tc-sliced-document-body'>
|
||||||
|
|
||||||
<$set name="tv-show-toolbar" value={{$(config-show-toolbar)$}}>
|
<$set name="tv-show-toolbar" value={{$(config-show-toolbar)$}}>
|
||||||
|
|
||||||
<$set name="tv-exclude-filter" value={{!!toc-exclude-filter}}>
|
<$set name="tv-exclude-filter" value={{!!toc-exclude-filter}}>
|
||||||
|
|
||||||
<$list filter="[list<currentTiddler>!has[draft.of]]" template="$:/plugins/tiddlywiki/text-slicer/templates/interactive/tiddler"/>
|
<$list filter="[list<currentTiddler>!has[draft.of]]" template="$:/plugins/tiddlywiki/text-slicer/templates/interactive/tiddler"/>
|
||||||
|
|
||||||
</$set>
|
</$set>
|
||||||
|
|
||||||
</$set>
|
</$set>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</$reveal>
|
</$reveal>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</$set>
|
</$set>
|
||||||
|
|
||||||
</$set>
|
</$set>
|
||||||
\end
|
\end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user