1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-06 12:13:16 +00:00

Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Bram Chen 2014-08-10 07:55:39 +08:00
commit d7e1b68679
2 changed files with 11 additions and 5 deletions

View File

@ -1,17 +1,22 @@
title: $:/TagManager
\define lingo-base() $:/language/TagManager/
\define iconEditorTab(type)
<$list filter="[all[shadows+tiddlers]is[image]] [all[shadows+tiddlers]tag[$:/tags/Image]] -[type[application/pdf]] +[sort[title]] +[$type$is[system]]">
<$link to={{!!title}}>
<$transclude/> <$view field="title"/>
</$link>
</$list>
\end
\define iconEditor(title)
<div class="tw-drop-down-wrapper">
<$edit-text field="icon" tag="input" size="20"/> <$button popup=<<qualify "$:/state/popup/icon/$title$">> class="btn-invisible btn-dropdown">{{$:/core/images/down-arrow}}</$button>
<$reveal state=<<qualify "$:/state/popup/icon/$title$">> type="popup" position="belowleft" text="" default="">
<div class="tw-drop-down">
<$linkcatcher to="$title$!!icon">
<$list filter="[all[shadows+tiddlers]is[image]] [all[shadows+tiddlers]tag[$:/tags/Image]] -[type[application/pdf]] +[sort[title]]">
<$link to={{!!title}}>
<$transclude/> <$view field="title"/>
</$link>
</$list>
<<iconEditorTab type:"!">>
<hr/>
<<iconEditorTab type:"">>
</$linkcatcher>
</div>
</$reveal>

View File

@ -952,6 +952,7 @@ canvas.tw-edit-bitmapeditor {
padding: 4px 14px 4px 14px;
}
.tw-drop-down .tw-dropdown-item,
.tw-block-dropdown .tw-dropdown-item {
padding: 4px 14px 4px 7px;
color: <<colour muted-foreground>>;