mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-26 01:50:28 +00:00
e3835c64da
Even with whitespace trim, we need a single space between the icon and text
23 lines
922 B
Plaintext
23 lines
922 B
Plaintext
title: $:/core/ui/Buttons/palette
|
|
tags: $:/tags/PageControls
|
|
caption: {{$:/core/images/palette}} {{$:/language/Buttons/Palette/Caption}}
|
|
description: {{$:/language/Buttons/Palette/Hint}}
|
|
|
|
\whitespace trim
|
|
<span class="tc-popup-keep">
|
|
<$button popup=<<qualify "$:/state/popup/palette">> tooltip={{$:/language/Buttons/Palette/Hint}} aria-label={{$:/language/Buttons/Palette/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
|
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
|
{{$:/core/images/palette}}
|
|
</$list>
|
|
<$text text=" "/>
|
|
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
|
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Palette/Caption}}/></span>
|
|
</$list>
|
|
</$button>
|
|
</span>
|
|
<$reveal state=<<qualify "$:/state/popup/palette">> type="popup" position="below" animate="yes">
|
|
<div class="tc-drop-down" style="font-size:0.7em;">
|
|
{{$:/snippets/paletteswitcher}}
|
|
</div>
|
|
</$reveal>
|