From 6f8dca956bd894ef52f66c6f280e9ed7a7e7e20d Mon Sep 17 00:00:00 2001 From: saqimtiaz Date: Wed, 18 Nov 2020 16:50:40 +0100 Subject: [PATCH] Colour code ImportListing rows (#5067) --- core/ui/ImportListing.tid | 2 +- themes/tiddlywiki/vanilla/base.tid | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/core/ui/ImportListing.tid b/core/ui/ImportListing.tid index e3705abab..04ccd9a79 100644 --- a/core/ui/ImportListing.tid +++ b/core/ui/ImportListing.tid @@ -46,7 +46,7 @@ title: $:/core/ui/ImportListing <$list filter="[all[current]plugintiddlers[]sort[title]]" variable="payloadTiddler"> - +hasthen[tc-row-disabled]] ~[subfilteris[tiddler]then[tc-row-warning]] }}}> <$checkbox field=<> checked="checked" unchecked="unchecked" default="checked" disabled={{{[hasthen[yes]else[no]]}}}/> diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index eb57435f8..dc9b99f08 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -2086,6 +2086,15 @@ html body.tc-body.tc-single-tiddler-window { width: 30%; } +.tc-import-table .tc-row-disabled { + background: <>10; + opacity: 0.8; +} + +.tc-import-table .tc-row-warning { + background: <>50; +} + /* ** Alerts */