1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-23 15:36:52 +00:00

Animation dropdown menus

I don't know whether this is a good idea; the menus feel too slow and
puffy to me.
This commit is contained in:
Jeremy Ruston 2013-11-02 09:21:54 +00:00
parent 31ae8910c6
commit 1c2c6ca63f
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
title: $:/core/ui/MissingTemplate title: $:/core/ui/MissingTemplate
<div class="tw-tiddler-missing"><$button popup="$:/state/missingpopup" qualifyTiddlerTitles="yes" class="btn-invisible tw-missing-tiddler-label"><$view field="title" format="text" /></$button> <div class="tw-tiddler-missing"><$button popup="$:/state/missingpopup" qualifyTiddlerTitles="yes" class="btn-invisible tw-missing-tiddler-label"><$view field="title" format="text" /></$button>
<$reveal state="$:/state/missingpopup" type="popup" position="below" qualifyTiddlerTitles="yes"><div class="tw-drop-down"> <$reveal state="$:/state/missingpopup" type="popup" position="below" qualifyTiddlerTitles="yes" animate="yes"><div class="tw-drop-down">
<$transclude tiddler="$:/core/ui/ListItemTemplate"/> <$transclude tiddler="$:/core/ui/ListItemTemplate"/>
<hr> <hr>
<$list filter="[is[current]backlinks[]sort[title]]" template="$:/core/ui/ListItemTemplate"/> <$list filter="[is[current]backlinks[]sort[title]]" template="$:/core/ui/ListItemTemplate"/>

View File

@ -4,7 +4,7 @@ title: $:/core/ui/TagTemplate
background-color:$(backgroundColor)$; background-color:$(backgroundColor)$;
\end \end
<span class="tw-tag-list-item"><$setvariable name="backgroundColor" value={{!!color}}><$button popup="$:/state/tagpopup" qualifyTiddlerTitles="yes" class="btn-invisible tw-tag-label" style=<<tag-styles>>><$transclude tiddler={{!!icon}}/> <$view field="title" format="text" /></$button></$setvariable> <span class="tw-tag-list-item"><$setvariable name="backgroundColor" value={{!!color}}><$button popup="$:/state/tagpopup" qualifyTiddlerTitles="yes" class="btn-invisible tw-tag-label" style=<<tag-styles>>><$transclude tiddler={{!!icon}}/> <$view field="title" format="text" /></$button></$setvariable>
<$reveal state="$:/state/tagpopup" type="popup" position="below" qualifyTiddlerTitles="yes"><div class="tw-drop-down"><$transclude tiddler="$:/core/ui/ListItemTemplate"/> <$reveal state="$:/state/tagpopup" type="popup" position="below" qualifyTiddlerTitles="yes" animate="yes"><div class="tw-drop-down"><$transclude tiddler="$:/core/ui/ListItemTemplate"/>
<hr> <hr>
<$list filter="[is[current]tagging[]]" template="$:/core/ui/ListItemTemplate"/> <$list filter="[is[current]tagging[]]" template="$:/core/ui/ListItemTemplate"/>
</div></$reveal></span> </div></$reveal></span>