mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
Use "whitespace trim" to improve spacing and legibility of view toolbar buttons
Previously, the standard toolbar buttons exhibited uneven spacing due to the vestigial whitespace.
This commit is contained in:
parent
d966583854
commit
f59809e9a4
@ -3,11 +3,15 @@ tags: $:/tags/ViewToolbar
|
|||||||
caption: {{$:/core/images/clone-button}} {{$:/language/Buttons/Clone/Caption}}
|
caption: {{$:/core/images/clone-button}} {{$:/language/Buttons/Clone/Caption}}
|
||||||
description: {{$:/language/Buttons/Clone/Hint}}
|
description: {{$:/language/Buttons/Clone/Hint}}
|
||||||
|
|
||||||
|
\whitespace trim
|
||||||
<$button message="tm-new-tiddler" param=<<currentTiddler>> tooltip={{$:/language/Buttons/Clone/Hint}} aria-label={{$:/language/Buttons/Clone/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button message="tm-new-tiddler" param=<<currentTiddler>> tooltip={{$:/language/Buttons/Clone/Hint}} aria-label={{$:/language/Buttons/Clone/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||||
{{$:/core/images/clone-button}}
|
{{$:/core/images/clone-button}}
|
||||||
</$list>
|
</$list>
|
||||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Clone/Caption}}/></span>
|
<span class="tc-btn-text">
|
||||||
|
<$text text=" "/>
|
||||||
|
<$text text={{$:/language/Buttons/Clone/Caption}}/>
|
||||||
|
</span>
|
||||||
</$list>
|
</$list>
|
||||||
</$button>
|
</$button>
|
@ -3,11 +3,15 @@ tags: $:/tags/ViewToolbar
|
|||||||
caption: {{$:/core/images/close-others-button}} {{$:/language/Buttons/CloseOthers/Caption}}
|
caption: {{$:/core/images/close-others-button}} {{$:/language/Buttons/CloseOthers/Caption}}
|
||||||
description: {{$:/language/Buttons/CloseOthers/Hint}}
|
description: {{$:/language/Buttons/CloseOthers/Hint}}
|
||||||
|
|
||||||
|
\whitespace trim
|
||||||
<$button message="tm-close-other-tiddlers" param=<<currentTiddler>> tooltip={{$:/language/Buttons/CloseOthers/Hint}} aria-label={{$:/language/Buttons/CloseOthers/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button message="tm-close-other-tiddlers" param=<<currentTiddler>> tooltip={{$:/language/Buttons/CloseOthers/Hint}} aria-label={{$:/language/Buttons/CloseOthers/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||||
{{$:/core/images/close-others-button}}
|
{{$:/core/images/close-others-button}}
|
||||||
</$list>
|
</$list>
|
||||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/CloseOthers/Caption}}/></span>
|
<span class="tc-btn-text">
|
||||||
|
<$text text=" "/>
|
||||||
|
<$text text={{$:/language/Buttons/CloseOthers/Caption}}/>
|
||||||
|
</span>
|
||||||
</$list>
|
</$list>
|
||||||
</$button>
|
</$button>
|
@ -3,11 +3,14 @@ tags: $:/tags/ViewToolbar
|
|||||||
caption: {{$:/core/images/close-button}} {{$:/language/Buttons/Close/Caption}}
|
caption: {{$:/core/images/close-button}} {{$:/language/Buttons/Close/Caption}}
|
||||||
description: {{$:/language/Buttons/Close/Hint}}
|
description: {{$:/language/Buttons/Close/Hint}}
|
||||||
|
|
||||||
|
\whitespace trim
|
||||||
<$button message="tm-close-tiddler" tooltip={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button message="tm-close-tiddler" tooltip={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||||
{{$:/core/images/close-button}}
|
{{$:/core/images/close-button}}
|
||||||
</$list>
|
</$list>
|
||||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Close/Caption}}/></span>
|
<span class="tc-btn-text">
|
||||||
|
<$text text={{$:/language/Buttons/Close/Caption}}/>
|
||||||
|
</span>
|
||||||
</$list>
|
</$list>
|
||||||
</$button>
|
</$button>
|
@ -3,11 +3,15 @@ tags: $:/tags/ViewToolbar
|
|||||||
caption: {{$:/core/images/edit-button}} {{$:/language/Buttons/Edit/Caption}}
|
caption: {{$:/core/images/edit-button}} {{$:/language/Buttons/Edit/Caption}}
|
||||||
description: {{$:/language/Buttons/Edit/Hint}}
|
description: {{$:/language/Buttons/Edit/Hint}}
|
||||||
|
|
||||||
|
\whitespace trim
|
||||||
<$button message="tm-edit-tiddler" tooltip={{$:/language/Buttons/Edit/Hint}} aria-label={{$:/language/Buttons/Edit/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button message="tm-edit-tiddler" tooltip={{$:/language/Buttons/Edit/Hint}} aria-label={{$:/language/Buttons/Edit/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||||
{{$:/core/images/edit-button}}
|
{{$:/core/images/edit-button}}
|
||||||
</$list>
|
</$list>
|
||||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Edit/Caption}}/></span>
|
<span class="tc-btn-text">
|
||||||
|
<$text text=" "/>
|
||||||
|
<$text text={{$:/language/Buttons/Edit/Caption}}/>
|
||||||
|
</span>
|
||||||
</$list>
|
</$list>
|
||||||
</$button>
|
</$button>
|
@ -3,12 +3,16 @@ tags: $:/tags/ViewToolbar
|
|||||||
caption: {{$:/core/images/fold-others-button}} {{$:/language/Buttons/FoldOthers/Caption}}
|
caption: {{$:/core/images/fold-others-button}} {{$:/language/Buttons/FoldOthers/Caption}}
|
||||||
description: {{$:/language/Buttons/FoldOthers/Hint}}
|
description: {{$:/language/Buttons/FoldOthers/Hint}}
|
||||||
|
|
||||||
|
\whitespace trim
|
||||||
<$button tooltip={{$:/language/Buttons/FoldOthers/Hint}} aria-label={{$:/language/Buttons/FoldOthers/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button tooltip={{$:/language/Buttons/FoldOthers/Hint}} aria-label={{$:/language/Buttons/FoldOthers/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$action-sendmessage $message="tm-fold-other-tiddlers" $param=<<currentTiddler>> foldedStatePrefix="$:/state/folded/"/>
|
<$action-sendmessage $message="tm-fold-other-tiddlers" $param=<<currentTiddler>> foldedStatePrefix="$:/state/folded/"/>
|
||||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]" variable="listItem">
|
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]" variable="listItem">
|
||||||
{{$:/core/images/fold-others-button}}
|
{{$:/core/images/fold-others-button}}
|
||||||
</$list>
|
</$list>
|
||||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/FoldOthers/Caption}}/></span>
|
<span class="tc-btn-text">
|
||||||
|
<$text text=" "/>
|
||||||
|
<$text text={{$:/language/Buttons/FoldOthers/Caption}}/>
|
||||||
|
</span>
|
||||||
</$list>
|
</$list>
|
||||||
</$button>
|
</$button>
|
@ -3,24 +3,32 @@ tags: $:/tags/ViewToolbar
|
|||||||
caption: {{$:/core/images/fold-button}} {{$:/language/Buttons/Fold/Caption}}
|
caption: {{$:/core/images/fold-button}} {{$:/language/Buttons/Fold/Caption}}
|
||||||
description: {{$:/language/Buttons/Fold/Hint}}
|
description: {{$:/language/Buttons/Fold/Hint}}
|
||||||
|
|
||||||
<$reveal type="nomatch" state=<<folded-state>> text="hide" default="show"><$button tooltip={{$:/language/Buttons/Fold/Hint}} aria-label={{$:/language/Buttons/Fold/Caption}} class=<<tv-config-toolbar-class>>>
|
\whitespace trim
|
||||||
|
<$reveal type="nomatch" state=<<folded-state>> text="hide" default="show">
|
||||||
|
<$button tooltip={{$:/language/Buttons/Fold/Hint}} aria-label={{$:/language/Buttons/Fold/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$action-sendmessage $message="tm-fold-tiddler" $param=<<currentTiddler>> foldedState=<<folded-state>>/>
|
<$action-sendmessage $message="tm-fold-tiddler" $param=<<currentTiddler>> foldedState=<<folded-state>>/>
|
||||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]" variable="listItem">
|
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]" variable="listItem">
|
||||||
{{$:/core/images/fold-button}}
|
{{$:/core/images/fold-button}}
|
||||||
</$list>
|
</$list>
|
||||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||||
<span class="tc-btn-text">
|
<span class="tc-btn-text">
|
||||||
|
<$text text=" "/>
|
||||||
<$text text={{$:/language/Buttons/Fold/Caption}}/>
|
<$text text={{$:/language/Buttons/Fold/Caption}}/>
|
||||||
</span>
|
</span>
|
||||||
</$list>
|
</$list>
|
||||||
</$button></$reveal><$reveal type="match" state=<<folded-state>> text="hide" default="show"><$button tooltip={{$:/language/Buttons/Unfold/Hint}} aria-label={{$:/language/Buttons/Unfold/Caption}} class=<<tv-config-toolbar-class>>>
|
</$button>
|
||||||
|
</$reveal>
|
||||||
|
<$reveal type="match" state=<<folded-state>> text="hide" default="show">
|
||||||
|
<$button tooltip={{$:/language/Buttons/Unfold/Hint}} aria-label={{$:/language/Buttons/Unfold/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$action-sendmessage $message="tm-fold-tiddler" $param=<<currentTiddler>> foldedState=<<folded-state>>/>
|
<$action-sendmessage $message="tm-fold-tiddler" $param=<<currentTiddler>> foldedState=<<folded-state>>/>
|
||||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]" variable="listItem">
|
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]" variable="listItem">
|
||||||
{{$:/core/images/unfold-button}}
|
{{$:/core/images/unfold-button}}
|
||||||
</$list>
|
</$list>
|
||||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||||
<span class="tc-btn-text">
|
<span class="tc-btn-text">
|
||||||
|
<$text text=" "/>
|
||||||
<$text text={{$:/language/Buttons/Unfold/Caption}}/>
|
<$text text={{$:/language/Buttons/Unfold/Caption}}/>
|
||||||
</span>
|
</span>
|
||||||
</$list>
|
</$list>
|
||||||
</$button></$reveal>
|
</$button>
|
||||||
|
</$reveal>
|
@ -3,12 +3,15 @@ tags: $:/tags/ViewToolbar
|
|||||||
caption: {{$:/core/images/info-button}} {{$:/language/Buttons/Info/Caption}}
|
caption: {{$:/core/images/info-button}} {{$:/language/Buttons/Info/Caption}}
|
||||||
description: {{$:/language/Buttons/Info/Hint}}
|
description: {{$:/language/Buttons/Info/Hint}}
|
||||||
|
|
||||||
|
\whitespace trim
|
||||||
\define button-content()
|
\define button-content()
|
||||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||||
{{$:/core/images/info-button}}
|
{{$:/core/images/info-button}}
|
||||||
</$list>
|
</$list>
|
||||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Info/Caption}}/></span>
|
<span class="tc-btn-text">
|
||||||
|
<$text text={{$:/language/Buttons/Info/Caption}}/>
|
||||||
|
</span>
|
||||||
</$list>
|
</$list>
|
||||||
\end
|
\end
|
||||||
<$reveal state="$:/config/TiddlerInfo/Mode" type="match" text="popup">
|
<$reveal state="$:/config/TiddlerInfo/Mode" type="match" text="popup">
|
||||||
|
@ -3,6 +3,7 @@ tags: $:/tags/ViewToolbar
|
|||||||
caption: {{$:/core/images/down-arrow}} {{$:/language/Buttons/More/Caption}}
|
caption: {{$:/core/images/down-arrow}} {{$:/language/Buttons/More/Caption}}
|
||||||
description: {{$:/language/Buttons/More/Hint}}
|
description: {{$:/language/Buttons/More/Hint}}
|
||||||
|
|
||||||
|
\whitespace trim
|
||||||
\define config-title()
|
\define config-title()
|
||||||
$:/config/ViewToolbarButtons/Visibility/$(listItem)$
|
$:/config/ViewToolbarButtons/Visibility/$(listItem)$
|
||||||
\end
|
\end
|
||||||
@ -11,9 +12,13 @@ $:/config/ViewToolbarButtons/Visibility/$(listItem)$
|
|||||||
{{$:/core/images/down-arrow}}
|
{{$:/core/images/down-arrow}}
|
||||||
</$list>
|
</$list>
|
||||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/More/Caption}}/></span>
|
<span class="tc-btn-text">
|
||||||
|
<$text text=" "/>
|
||||||
|
<$text text={{$:/language/Buttons/More/Caption}}/>
|
||||||
|
</span>
|
||||||
</$list>
|
</$list>
|
||||||
</$button><$reveal state=<<qualify "$:/state/popup/more">> type="popup" position="below" animate="yes">
|
</$button>
|
||||||
|
<$reveal state=<<qualify "$:/state/popup/more">> type="popup" position="below" animate="yes">
|
||||||
|
|
||||||
<div class="tc-drop-down">
|
<div class="tc-drop-down">
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@ tags: $:/tags/ViewToolbar
|
|||||||
caption: {{$:/core/images/new-here-button}} {{$:/language/Buttons/NewHere/Caption}}
|
caption: {{$:/core/images/new-here-button}} {{$:/language/Buttons/NewHere/Caption}}
|
||||||
description: {{$:/language/Buttons/NewHere/Hint}}
|
description: {{$:/language/Buttons/NewHere/Hint}}
|
||||||
|
|
||||||
|
\whitespace trim
|
||||||
\define newHereButtonTags()
|
\define newHereButtonTags()
|
||||||
[[$(currentTiddler)$]]
|
[[$(currentTiddler)$]]
|
||||||
\end
|
\end
|
||||||
@ -13,7 +14,9 @@ description: {{$:/language/Buttons/NewHere/Hint}}
|
|||||||
{{$:/core/images/new-here-button}}
|
{{$:/core/images/new-here-button}}
|
||||||
</$list>
|
</$list>
|
||||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/NewHere/Caption}}/></span>
|
<span class="tc-btn-text">
|
||||||
|
<$text text={{$:/language/Buttons/NewHere/Caption}}/>
|
||||||
|
</span>
|
||||||
</$list>
|
</$list>
|
||||||
</$button>
|
</$button>
|
||||||
\end
|
\end
|
||||||
|
@ -3,6 +3,7 @@ tags: $:/tags/ViewToolbar
|
|||||||
caption: {{$:/core/images/new-journal-button}} {{$:/language/Buttons/NewJournalHere/Caption}}
|
caption: {{$:/core/images/new-journal-button}} {{$:/language/Buttons/NewJournalHere/Caption}}
|
||||||
description: {{$:/language/Buttons/NewJournalHere/Hint}}
|
description: {{$:/language/Buttons/NewJournalHere/Hint}}
|
||||||
|
|
||||||
|
\whitespace trim
|
||||||
\define journalButtonTags()
|
\define journalButtonTags()
|
||||||
[[$(currentTiddlerTag)$]] $(journalTags)$
|
[[$(currentTiddlerTag)$]] $(journalTags)$
|
||||||
\end
|
\end
|
||||||
@ -13,7 +14,9 @@ description: {{$:/language/Buttons/NewJournalHere/Hint}}
|
|||||||
{{$:/core/images/new-journal-button}}
|
{{$:/core/images/new-journal-button}}
|
||||||
</$list>
|
</$list>
|
||||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/NewJournalHere/Caption}}/></span>
|
<span class="tc-btn-text">
|
||||||
|
<$text text={{$:/language/Buttons/NewJournalHere/Caption}}/>
|
||||||
|
</span>
|
||||||
</$list>
|
</$list>
|
||||||
</$button>
|
</$button>
|
||||||
\end
|
\end
|
||||||
@ -21,4 +24,6 @@ description: {{$:/language/Buttons/NewJournalHere/Hint}}
|
|||||||
<$set name="journalTags" value={{$:/config/NewJournal/Tags}}>
|
<$set name="journalTags" value={{$:/config/NewJournal/Tags}}>
|
||||||
<$set name="currentTiddlerTag" value=<<currentTiddler>>>
|
<$set name="currentTiddlerTag" value=<<currentTiddler>>>
|
||||||
<<journalButton>>
|
<<journalButton>>
|
||||||
</$set></$set></$set>
|
</$set>
|
||||||
|
</$set>
|
||||||
|
</$set>
|
@ -3,11 +3,15 @@ tags: $:/tags/ViewToolbar
|
|||||||
caption: {{$:/core/images/open-window}} {{$:/language/Buttons/OpenWindow/Caption}}
|
caption: {{$:/core/images/open-window}} {{$:/language/Buttons/OpenWindow/Caption}}
|
||||||
description: {{$:/language/Buttons/OpenWindow/Hint}}
|
description: {{$:/language/Buttons/OpenWindow/Hint}}
|
||||||
|
|
||||||
|
\whitespace trim
|
||||||
<$button message="tm-open-window" tooltip={{$:/language/Buttons/OpenWindow/Hint}} aria-label={{$:/language/Buttons/OpenWindow/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button message="tm-open-window" tooltip={{$:/language/Buttons/OpenWindow/Hint}} aria-label={{$:/language/Buttons/OpenWindow/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||||
{{$:/core/images/open-window}}
|
{{$:/core/images/open-window}}
|
||||||
</$list>
|
</$list>
|
||||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/OpenWindow/Caption}}/></span>
|
<span class="tc-btn-text">
|
||||||
|
<$text text=" "/>
|
||||||
|
<$text text={{$:/language/Buttons/OpenWindow/Caption}}/>
|
||||||
|
</span>
|
||||||
</$list>
|
</$list>
|
||||||
</$button>
|
</$button>
|
@ -3,11 +3,15 @@ tags: $:/tags/ViewToolbar
|
|||||||
caption: {{$:/core/images/permalink-button}} {{$:/language/Buttons/Permalink/Caption}}
|
caption: {{$:/core/images/permalink-button}} {{$:/language/Buttons/Permalink/Caption}}
|
||||||
description: {{$:/language/Buttons/Permalink/Hint}}
|
description: {{$:/language/Buttons/Permalink/Hint}}
|
||||||
|
|
||||||
|
\whitespace trim
|
||||||
<$button message="tm-permalink" tooltip={{$:/language/Buttons/Permalink/Hint}} aria-label={{$:/language/Buttons/Permalink/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button message="tm-permalink" tooltip={{$:/language/Buttons/Permalink/Hint}} aria-label={{$:/language/Buttons/Permalink/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||||
{{$:/core/images/permalink-button}}
|
{{$:/core/images/permalink-button}}
|
||||||
</$list>
|
</$list>
|
||||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Permalink/Caption}}/></span>
|
<span class="tc-btn-text">
|
||||||
|
<$text text=" "/>
|
||||||
|
<$text text={{$:/language/Buttons/Permalink/Caption}}/>
|
||||||
|
</span>
|
||||||
</$list>
|
</$list>
|
||||||
</$button>
|
</$button>
|
@ -3,11 +3,15 @@ tags: $:/tags/ViewToolbar $:/tags/PageControls
|
|||||||
caption: {{$:/core/images/permaview-button}} {{$:/language/Buttons/Permaview/Caption}}
|
caption: {{$:/core/images/permaview-button}} {{$:/language/Buttons/Permaview/Caption}}
|
||||||
description: {{$:/language/Buttons/Permaview/Hint}}
|
description: {{$:/language/Buttons/Permaview/Hint}}
|
||||||
|
|
||||||
|
\whitespace trim
|
||||||
<$button message="tm-permaview" tooltip={{$:/language/Buttons/Permaview/Hint}} aria-label={{$:/language/Buttons/Permaview/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button message="tm-permaview" tooltip={{$:/language/Buttons/Permaview/Hint}} aria-label={{$:/language/Buttons/Permaview/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||||
{{$:/core/images/permaview-button}}
|
{{$:/core/images/permaview-button}}
|
||||||
</$list>
|
</$list>
|
||||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Permaview/Caption}}/></span>
|
<span class="tc-btn-text">
|
||||||
|
<$text text=" "/>
|
||||||
|
<$text text={{$:/language/Buttons/Permaview/Caption}}/>
|
||||||
|
</span>
|
||||||
</$list>
|
</$list>
|
||||||
</$button>
|
</$button>
|
@ -6,17 +6,14 @@ $baseFilename$$(extension)$
|
|||||||
\end
|
\end
|
||||||
|
|
||||||
\define exportButton(exportFilter:"[!is[system]sort[title]]",lingoBase,baseFilename:"tiddlers")
|
\define exportButton(exportFilter:"[!is[system]sort[title]]",lingoBase,baseFilename:"tiddlers")
|
||||||
<span class="tc-popup-keep">
|
<span class="tc-popup-keep"><$button popup=<<qualify "$:/state/popup/export">> tooltip={{$lingoBase$Hint}} aria-label={{$lingoBase$Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
||||||
<$button popup=<<qualify "$:/state/popup/export">> tooltip={{$lingoBase$Hint}} aria-label={{$lingoBase$Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
|
||||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||||
{{$:/core/images/export-button}}
|
{{$:/core/images/export-button}}
|
||||||
</$list>
|
</$list>
|
||||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||||
<span class="tc-btn-text"><$text text={{$lingoBase$Caption}}/></span>
|
<span class="tc-btn-text"><$text text={{$lingoBase$Caption}}/></span>
|
||||||
</$list>
|
</$list>
|
||||||
</$button>
|
</$button></span><$reveal state=<<qualify "$:/state/popup/export">> type="popup" position="below" animate="yes">
|
||||||
</span>
|
|
||||||
<$reveal state=<<qualify "$:/state/popup/export">> type="popup" position="below" animate="yes">
|
|
||||||
<div class="tc-drop-down">
|
<div class="tc-drop-down">
|
||||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Exporter]]">
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Exporter]]">
|
||||||
<$set name="extension" value={{!!extension}}>
|
<$set name="extension" value={{!!extension}}>
|
||||||
|
@ -5,13 +5,17 @@ caption: {{$:/plugins/tiddlywiki/qrcode/icon}}
|
|||||||
short-caption: QR code
|
short-caption: QR code
|
||||||
description: Generate QR code for this tiddler
|
description: Generate QR code for this tiddler
|
||||||
|
|
||||||
|
\whitespace trim
|
||||||
<span class="tc-popup-keep">
|
<span class="tc-popup-keep">
|
||||||
<$button popup=<<qualify "$:/state/popup/qrcode">> tooltip={{$:/plugins/tiddlywiki/qrcode/ViewToolbarButton!!description}} aria-label={{$:/plugins/tiddlywiki/qrcode/ViewToolbarButton!!short-caption}} class=<<tv-config-toolbar-class>> class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
<$button popup=<<qualify "$:/state/popup/qrcode">> tooltip={{$:/plugins/tiddlywiki/qrcode/ViewToolbarButton!!description}} aria-label={{$:/plugins/tiddlywiki/qrcode/ViewToolbarButton!!short-caption}} class=<<tv-config-toolbar-class>> class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
||||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||||
{{$:/plugins/tiddlywiki/qrcode/icon}}
|
{{$:/plugins/tiddlywiki/qrcode/icon}}
|
||||||
</$list>
|
</$list>
|
||||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||||
<span class="tc-btn-text"><$text text={{$:/plugins/tiddlywiki/qrcode/ViewToolbarButton!!short-caption}}/></span>
|
<span class="tc-btn-text">
|
||||||
|
<$text text=" "/>
|
||||||
|
<$text text={{$:/plugins/tiddlywiki/qrcode/ViewToolbarButton!!short-caption}}/>
|
||||||
|
</span>
|
||||||
</$list>
|
</$list>
|
||||||
</$button>
|
</$button>
|
||||||
</span>
|
</span>
|
||||||
|
@ -4,6 +4,8 @@ list-before: $:/core/ui/Buttons/edit
|
|||||||
caption: {{$:/plugins/tiddlywiki/text-slicer/images/text-slicer-icon}} Slice tiddler
|
caption: {{$:/plugins/tiddlywiki/text-slicer/images/text-slicer-icon}} Slice tiddler
|
||||||
description: Slice this tiddler by headings and lists
|
description: Slice this tiddler by headings and lists
|
||||||
|
|
||||||
|
\whitespace trim
|
||||||
|
|
||||||
\define hint()
|
\define hint()
|
||||||
Slice this tiddler by headings and lists
|
Slice this tiddler by headings and lists
|
||||||
\end
|
\end
|
||||||
@ -13,6 +15,6 @@ Slice this tiddler by headings and lists
|
|||||||
{{$:/plugins/tiddlywiki/text-slicer/images/text-slicer-icon}}
|
{{$:/plugins/tiddlywiki/text-slicer/images/text-slicer-icon}}
|
||||||
</$list>
|
</$list>
|
||||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||||
<span class="tc-btn-text">Slice tiddler</span>
|
<span class="tc-btn-text"> Slice tiddler</span>
|
||||||
</$list>
|
</$list>
|
||||||
</$button>
|
</$button>
|
Loading…
Reference in New Issue
Block a user