mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-17 23:34:50 +00:00
02529a51d0
allows to override styles more easily via new class tc-chosen ---- updated all of storyview, theme, palette, language » both in ControlPanel as well as PageControls » removed "current ..." form switchers as it's redundant » streamlined toolbar buttons in ControlPanel, especially less spacing ---- fixed dropdown hover colour override if I wouldn't then it would go blank owed to default drop-down styles ---- polished styles » chosen items now more emphasized while curspor not indicating a link » removed underline when hovering, used highlighted border colours instead ---- use snippets languageswitcher for pagecontrols button, after all ---- wrap all switchers in tc-chooser ---- apply big font only to buttons, not reveals in pagecontrols ---- moved language switcher wrapper class to snippet improved language switcher image alignment ---- make tiddler and ControlPanel view behave the same. add generic tc-check-list setting. add generic input type checklist, vertical alignment. now using css rem to address drop-downs for pagecontrols thanks @pmario removed css artefacts in vanilla/base from before merging @pmario's PR with comments being baked-in I don't think we want these in the code css simplification for .tc-chosen and tc-chooser-item
25 lines
1000 B
Plaintext
25 lines
1000 B
Plaintext
title: $:/core/ui/Buttons/storyview
|
|
tags: $:/tags/PageControls
|
|
caption: {{$:/core/images/storyview-classic}} {{$:/language/Buttons/StoryView/Caption}}
|
|
description: {{$:/language/Buttons/StoryView/Hint}}
|
|
|
|
\define icon()
|
|
$:/core/images/storyview-$(storyview)$
|
|
\end
|
|
<span class="tc-popup-keep">
|
|
<$button popup=<<qualify "$:/state/popup/storyview">> tooltip={{$:/language/Buttons/StoryView/Hint}} aria-label={{$:/language/Buttons/StoryView/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
|
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
|
<$set name="storyview" value={{$:/view}}>
|
|
<$transclude tiddler=<<icon>>/>
|
|
</$set>
|
|
</$list>
|
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
|
<span class="tc-btn-text"><$text text={{$:/language/Buttons/StoryView/Caption}}/></span>
|
|
</$list>
|
|
</$button>
|
|
</span>
|
|
<$reveal state=<<qualify "$:/state/popup/storyview">> type="popup" position="below" animate="yes">
|
|
<div class="tc-drop-down">
|
|
{{$:/snippets/viewswitcher}}
|
|
</div>
|
|
</$reveal> |