1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-05 17:46:19 +00:00

change icon if variables are exlcuded from search

This commit is contained in:
pmario 2024-04-29 15:07:12 +02:00
parent f2da5963a5
commit bfb9e642f8
2 changed files with 11 additions and 3 deletions

View File

@ -310,7 +310,11 @@ tags: $:/tags/Global
>
<$button tooltip={{$:/language/Search/Variables/Exclude/Show}} class="tc-dv-btn tc-btn-invisible">
<$action-setfield $tiddler=<<tf.dv-foldedState>> $field=text $value="show"/>
<% if [<tf.dv-getExcludeText>!is[blank]]%>
{{$:/core/images/star-filled}}
<% else %>
{{$:/core/images/right-arrow}}
<% endif %>
</$button>
</$reveal>
<$reveal stateTitle=<<tf.dv-foldedState>>
@ -323,7 +327,11 @@ tags: $:/tags/Global
>
<$button tooltip={{$:/language/Search/Variables/Exclude/Hide}} class="tc-dv-btn tc-btn-invisible">
<$action-setfield $tiddler=<<tf.dv-foldedState>> $field=text $value="hide"/>
<% if [<tf.dv-getExcludeText>!is[blank]]%>
{{$:/core/images/star-filled}}
<% else %>
{{$:/core/images/up-arrow}}
<% endif %>
</$button>
</$reveal>
<<dv-search-input-box>>

View File

@ -45,7 +45,7 @@ tags: $:/tags/Stylesheet
.btn-fld-has-exluded button:hover svg,
.btn-fld-has-exluded button svg {
fill: <<colour dirty-indicator>>;
<!-- fill: <<colour dirty-indicator>>; -->
}
.btn-fld {