From e19617a5cebe26ca4b19d88c3c1a133569c8e0a9 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Sun, 13 Sep 2015 09:37:57 +0100 Subject: [PATCH] Text-slicer updates --- plugins/tiddlywiki/text-slicer/docs.tid | 2 +- plugins/tiddlywiki/text-slicer/styles.tid | 4 +++ .../templates/interactive/document.tid | 30 ------------------- 3 files changed, 5 insertions(+), 31 deletions(-) diff --git a/plugins/tiddlywiki/text-slicer/docs.tid b/plugins/tiddlywiki/text-slicer/docs.tid index 91f205754..775011d01 100644 --- a/plugins/tiddlywiki/text-slicer/docs.tid +++ b/plugins/tiddlywiki/text-slicer/docs.tid @@ -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. -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) * It is recommended to also set the [[sidebar layout|$:/themes/tiddlywiki/vanilla/options/sidebarlayout]] to ''fluid-fixed''. diff --git a/plugins/tiddlywiki/text-slicer/styles.tid b/plugins/tiddlywiki/text-slicer/styles.tid index 0126e8494..311c645dc 100644 --- a/plugins/tiddlywiki/text-slicer/styles.tid +++ b/plugins/tiddlywiki/text-slicer/styles.tid @@ -17,6 +17,10 @@ tags: $:/tags/Stylesheet font-size: 0.9em; } +.tc-sliced-document-title { + font-size: 1.7em; +} + .tc-document-preview-column .tc-sliced-document-header { margin-left: 24px; } diff --git a/plugins/tiddlywiki/text-slicer/templates/interactive/document.tid b/plugins/tiddlywiki/text-slicer/templates/interactive/document.tid index 1ea76b859..171c73c26 100644 --- a/plugins/tiddlywiki/text-slicer/templates/interactive/document.tid +++ b/plugins/tiddlywiki/text-slicer/templates/interactive/document.tid @@ -14,65 +14,35 @@ $:/config/plugins/tiddlywiki/text-slicer/heading-status/$(currentTiddler)$ \define body() <$set name="tv-heading-status-config-title" value=<>> - <$set name="tv-show-toolbar" value={{$(config-show-toolbar)$}}> -
-
-
- <$reveal type="nomatch" state=<> text="open" default="closed"> - <$button set=<> setTo="open" class="tc-btn-invisible"> - {{$:/core/images/down-arrow}} - - - <$reveal type="match" state=<> text="open" default="closed"> - <$button set=<> setTo="close" class="tc-btn-invisible"> - {{$:/core/images/right-arrow}} - - -
-

''Document'': <$link><$view field="title"/>

-
- <$reveal type="nomatch" state=<> text="open" default="closed"> - {{||$:/plugins/tiddlywiki/text-slicer/ui/document/header}} -
- <$set name="tv-show-toolbar" value={{$(config-show-toolbar)$}}> - <$set name="tv-exclude-filter" value={{!!toc-exclude-filter}}> - <$list filter="[list!has[draft.of]]" template="$:/plugins/tiddlywiki/text-slicer/templates/interactive/tiddler"/> - - -
- -
- - \end