mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
Colour code ImportListing rows (#5067)
This commit is contained in:
parent
d181b96518
commit
6f8dca956b
@ -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>
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user