1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-18 11:29:55 +00:00

Colour code ImportListing rows (#5067)

This commit is contained in:
saqimtiaz 2020-11-18 16:50:40 +01:00 committed by GitHub
parent d181b96518
commit 6f8dca956b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 1 deletions

View File

@ -46,7 +46,7 @@ title: $:/core/ui/ImportListing
</th>
</tr>
<$list filter="[all[current]plugintiddlers[]sort[title]]" variable="payloadTiddler">
<tr>
<tr class={{{[<currentTiddler>has<suppressedField>then[tc-row-disabled]] ~[subfilter<payloadTitleFilter>is[tiddler]then[tc-row-warning]] }}}>
<td>
<$checkbox field=<<selectionField>> checked="checked" unchecked="unchecked" default="checked" disabled={{{[<currentTiddler>has<suppressedField>then[yes]else[no]]}}}/>
</td>

View File

@ -2086,6 +2086,15 @@ html body.tc-body.tc-single-tiddler-window {
width: 30%;
}
.tc-import-table .tc-row-disabled {
background: <<colour very-muted-foreground>>10;
opacity: 0.8;
}
.tc-import-table .tc-row-warning {
background: <<colour diff-delete-background>>50;
}
/*
** Alerts
*/