1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-24 02:27:19 +00:00

Adjust style of filter operator placeholders

This commit is contained in:
Astrid Elocson 2015-01-26 09:26:24 +00:00
parent 88ea60cc7e
commit 89163e0e85
2 changed files with 8 additions and 7 deletions

View File

@ -1,5 +1,5 @@
created: 20150117152612000
modified: 20150124201551000
modified: 20150126091948000
title: $:/editions/tw5.com/doc-styles
tags: $:/tags/Stylesheet
@ -27,8 +27,10 @@ tags: $:/tags/Stylesheet
.doc-place {
background-color: <<color background>>;
border: none;
color: <<color foreground>>;
font-style: italic;
color: <<color very-muted-foreground>>;
font-style: normal;
font-weight: bold;
text-transform: uppercase;
}
.doc-button,

View File

@ -1,5 +1,5 @@
created: 20150117152607000
modified: 20150124210351000
modified: 20150126092438000
title: $:/editions/tw5.com/operator-macros
tags: $:/tags/Macro
@ -11,10 +11,9 @@ tags: $:/tags/Macro
then="""<tr><th align="left">`!` input</th><td>$negationInput$</td></tr>"""
else=""/>
<$macrocall $name=".if" cond="""$suffix$"""
then="""<tr><th align="left">[[suffix|Filter Step]]&nbsp;<<.place "$suffixName$">></th><td>$suffix$</td></tr>"""
then="""<tr><th align="left">[[suffix|Filter Step]]</th><td><<.place "$suffixName$:">> $suffix$</td></tr>"""
else=""/>
<tr><th align="left">[[parameter|Filter Parameter]]<$macrocall $name=".if" cond="""$paramName$"""
then="&nbsp;<<.place '$paramName$'>>" else=""/></th><td>$parameter$</td></tr>
<tr><th align="left">[[parameter|Filter Parameter]]</th><td><$macrocall $name=".if" cond="""$paramName$""" then="<<.place '$paramName$:'>>" else=""/>$parameter$</td></tr>
<tr><th align="left">output</th><td>$output$</td></tr>
<$macrocall $name=".if" cond="""$negationOutput$"""
then="""<tr><th align="left">`!` output</th><td>$negationOutput$</td></tr>"""