mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-05 09:36:18 +00:00
523280362b
Which enables us to do a cleaner readonly theme
48 lines
1.4 KiB
Plaintext
48 lines
1.4 KiB
Plaintext
title: $:/core/ui/Buttons/more-page-actions
|
|
tags: $:/tags/PageControls
|
|
caption: {{$:/core/images/down-arrow}} {{$:/language/Buttons/More/Caption}}
|
|
description: {{$:/language/Buttons/More/Hint}}
|
|
|
|
\define config-title()
|
|
$:/config/PageControlButtons/Visibility/$(listItem)$
|
|
\end
|
|
<$button popup=<<qualify "$:/state/popup/more">> tooltip={{$:/language/Buttons/More/Hint}} aria-label={{$:/language/Buttons/More/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
|
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
|
{{$:/core/images/down-arrow}}
|
|
</$list>
|
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
|
<span class="tc-btn-text"><$text text={{$:/language/Buttons/More/Caption}}/></span>
|
|
</$list>
|
|
</$button><$reveal state=<<qualify "$:/state/popup/more">> type="popup" position="below" animate="yes">
|
|
|
|
<div class="tc-drop-down">
|
|
|
|
<$set name="tv-config-toolbar-icons" value="yes">
|
|
|
|
<$set name="tv-config-toolbar-text" value="yes">
|
|
|
|
<$set name="tv-config-toolbar-class" value="tc-btn-invisible">
|
|
|
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]] -[[$:/core/ui/Buttons/more-page-actions]]" variable="listItem">
|
|
|
|
<$reveal type="match" state=<<config-title>> text="hide">
|
|
|
|
<$set name="tv-config-toolbar-class" filter="[<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]]">
|
|
|
|
<$transclude tiddler=<<listItem>> mode="inline"/>
|
|
|
|
</$set>
|
|
|
|
</$reveal>
|
|
|
|
</$list>
|
|
|
|
</$set>
|
|
|
|
</$set>
|
|
|
|
</$set>
|
|
|
|
</div>
|
|
|
|
</$reveal> |