mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Merge pull request #964 from simonbaird/master
Add span wrapper around button caption text
This commit is contained in:
commit
7f7ab768f7
@ -8,6 +8,6 @@ description: {{$:/language/Buttons/Cancel/Hint}}
|
||||
{{$:/core/images/cancel-button}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/Cancel/Caption}}/>
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Cancel/Caption}}/></span>
|
||||
</$list>
|
||||
</$button>
|
||||
|
@ -8,6 +8,6 @@ description: {{$:/language/Buttons/Delete/Hint}}
|
||||
{{$:/core/images/delete-button}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/Delete/Caption}}/>
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Delete/Caption}}/></span>
|
||||
</$list>
|
||||
</$button>
|
@ -8,6 +8,6 @@ description: {{$:/language/Buttons/Save/Hint}}
|
||||
{{$:/core/images/done-button}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/Save/Caption}}/>
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Save/Caption}}/></span>
|
||||
</$list>
|
||||
</$button>
|
@ -8,6 +8,6 @@ description: {{$:/language/Buttons/CloseAll/Hint}}
|
||||
{{$:/core/images/close-all-button}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/CloseAll/Caption}}/>
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/CloseAll/Caption}}/></span>
|
||||
</$list>
|
||||
</$button>
|
||||
|
@ -8,6 +8,6 @@ description: {{$:/language/Buttons/ControlPanel/Hint}}
|
||||
{{$:/core/images/options-button}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/ControlPanel/Caption}}/>
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/ControlPanel/Caption}}/></span>
|
||||
</$list>
|
||||
</$button>
|
||||
|
@ -9,7 +9,7 @@ description: {{$:/language/Buttons/Encryption/Hint}}
|
||||
{{$:/core/images/locked-padlock}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/Encryption/ClearPassword/Caption}}/>
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Encryption/ClearPassword/Caption}}/></span>
|
||||
</$list>
|
||||
</$button>
|
||||
</$reveal>
|
||||
@ -19,7 +19,7 @@ description: {{$:/language/Buttons/Encryption/Hint}}
|
||||
{{$:/core/images/unlocked-padlock}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/Encryption/SetPassword/Caption}}/>
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Encryption/SetPassword/Caption}}/></span>
|
||||
</$list>
|
||||
</$button>
|
||||
</$reveal>
|
||||
|
@ -8,6 +8,6 @@ description: {{$:/language/Buttons/FullScreen/Hint}}
|
||||
{{$:/core/images/full-screen-button}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/FullScreen/Caption}}/>
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/FullScreen/Caption}}/></span>
|
||||
</$list>
|
||||
</$button>
|
||||
|
@ -8,6 +8,6 @@ description: {{$:/language/Buttons/Home/Hint}}
|
||||
{{$:/core/images/home-button}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/Home/Caption}}/>
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Home/Caption}}/></span>
|
||||
</$list>
|
||||
</$button>
|
||||
|
@ -9,7 +9,7 @@ description: {{$:/language/Buttons/Import/Hint}}
|
||||
{{$:/core/images/import-button}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/Import/Caption}}/>
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Import/Caption}}/></span>
|
||||
</$list>
|
||||
</$button>
|
||||
<$browse/>
|
||||
|
@ -15,7 +15,7 @@ $(languagePluginTitle)$/icon
|
||||
</span>
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/Language/Caption}}/>
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Language/Caption}}/></span>
|
||||
</$list>
|
||||
</$button>
|
||||
<$reveal state=<<qualify "$:/state/popup/language">> type="popup" position="below" animate="yes">
|
||||
|
@ -11,7 +11,7 @@ $:/config/PageControlButtons/Visibility/$(listItem)$
|
||||
{{$:/core/images/down-arrow}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/More/Caption}}/>
|
||||
<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">
|
||||
|
@ -10,7 +10,7 @@ description: {{$:/language/Buttons/NewJournal/Hint}}
|
||||
{{$:/core/images/new-journal-button}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/NewJournal/Caption}}/>
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/NewJournal/Caption}}/></span>
|
||||
</$list>
|
||||
</$button>
|
||||
\end
|
||||
|
@ -8,6 +8,6 @@ description: {{$:/language/Buttons/NewTiddler/Hint}}
|
||||
{{$:/core/images/new-button}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/NewTiddler/Caption}}/>
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/NewTiddler/Caption}}/></span>
|
||||
</$list>
|
||||
</$button>
|
||||
|
@ -8,6 +8,6 @@ description: {{$:/language/Buttons/Refresh/Hint}}
|
||||
{{$:/core/images/refresh-button}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/Refresh/Caption}}/>
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Refresh/Caption}}/></span>
|
||||
</$list>
|
||||
</$button>
|
||||
|
@ -9,7 +9,7 @@ description: {{$:/language/Buttons/SaveWiki/Hint}}
|
||||
{{$:/core/images/save-button}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/SaveWiki/Caption}}/>
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/SaveWiki/Caption}}/></span>
|
||||
</$list>
|
||||
</span>
|
||||
</$button>
|
@ -13,7 +13,7 @@ $:/core/images/storyview-$(storyview)$
|
||||
</$set>
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/StoryView/Caption}}/>
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/StoryView/Caption}}/></span>
|
||||
</$list>
|
||||
</$button>
|
||||
<$reveal state=<<qualify "$:/state/popup/storyview">> type="popup" position="below" animate="yes">
|
||||
|
@ -8,6 +8,6 @@ description: {{$:/language/Buttons/TagManager/Hint}}
|
||||
{{$:/core/images/tag-button}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/TagManager/Caption}}/>
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/TagManager/Caption}}/></span>
|
||||
</$list>
|
||||
</$button>
|
||||
|
@ -8,7 +8,7 @@ description: {{$:/language/Buttons/Theme/Hint}}
|
||||
{{$:/core/images/theme-button}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/Theme/Caption}}/>
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Theme/Caption}}/></span>
|
||||
</$list>
|
||||
</$button>
|
||||
<$reveal state=<<qualify "$:/state/popup/theme">> type="popup" position="below" animate="yes">
|
||||
|
@ -8,6 +8,6 @@ description: {{$:/language/Buttons/Clone/Hint}}
|
||||
{{$:/core/images/clone-button}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/Clone/Caption}}/>
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Clone/Caption}}/></span>
|
||||
</$list>
|
||||
</$button>
|
||||
|
@ -8,6 +8,6 @@ description: {{$:/language/Buttons/CloseOthers/Hint}}
|
||||
{{$:/core/images/close-others-button}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/CloseOthers/Caption}}/>
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/CloseOthers/Caption}}/></span>
|
||||
</$list>
|
||||
</$button>
|
||||
|
@ -8,6 +8,6 @@ description: {{$:/language/Buttons/Close/Hint}}
|
||||
{{$:/core/images/close-button}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/Close/Caption}}/>
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Close/Caption}}/></span>
|
||||
</$list>
|
||||
</$button>
|
@ -8,6 +8,6 @@ description: {{$:/language/Buttons/Edit/Hint}}
|
||||
{{$:/core/images/edit-button}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/Edit/Caption}}/>
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Edit/Caption}}/></span>
|
||||
</$list>
|
||||
</$button>
|
||||
|
@ -8,6 +8,6 @@ description: {{$:/language/Buttons/Info/Hint}}
|
||||
{{$:/core/images/info-button}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/Info/Caption}}/>
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Info/Caption}}/></span>
|
||||
</$list>
|
||||
</$button>
|
||||
|
@ -11,7 +11,7 @@ $:/config/ViewToolbarButtons/Visibility/$(listItem)$
|
||||
{{$:/core/images/down-arrow}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/More/Caption}}/>
|
||||
<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">
|
||||
|
@ -13,7 +13,7 @@ description: {{$:/language/Buttons/NewHere/Hint}}
|
||||
{{$:/core/images/new-here-button}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/NewHere/Caption}}/>
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/NewHere/Caption}}/></span>
|
||||
</$list>
|
||||
</$button>
|
||||
\end
|
||||
|
@ -13,7 +13,7 @@ description: {{$:/language/Buttons/NewJournalHere/Hint}}
|
||||
{{$:/core/images/new-journal-button}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/NewJournalHere/Caption}}/>
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/NewJournalHere/Caption}}/></span>
|
||||
</$list>
|
||||
</$button>
|
||||
\end
|
||||
|
@ -8,6 +8,6 @@ description: {{$:/language/Buttons/Permalink/Hint}}
|
||||
{{$:/core/images/permalink-button}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/Permalink/Caption}}/>
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Permalink/Caption}}/></span>
|
||||
</$list>
|
||||
</$button>
|
||||
|
@ -8,6 +8,6 @@ description: {{$:/language/Buttons/Permaview/Hint}}
|
||||
{{$:/core/images/permaview-button}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/Permaview/Caption}}/>
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Permaview/Caption}}/></span>
|
||||
</$list>
|
||||
</$button>
|
||||
|
@ -260,6 +260,11 @@ button svg, button img {
|
||||
fill: <<colour muted-foreground>>;
|
||||
}
|
||||
|
||||
.tc-btn-text {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.tc-btn-big-green {
|
||||
padding: 8px;
|
||||
margin: 4px 8px 4px 8px;
|
||||
|
Loading…
Reference in New Issue
Block a user