Skip to content
This repository has been archived by the owner on Aug 21, 2020. It is now read-only.

Commit

Permalink
Lighter excerpt indicator & delete tiddler button
Browse files Browse the repository at this point in the history
I think it looks better if these are less prominent cosmetically.

Extend the gsd-muted class added in the previous commit to apply an
opacity to the images. Also considered adding a wrapper element
around everything in list-view-suffix, but decided against it for
now.
  • Loading branch information
simonbaird committed Mar 1, 2015
1 parent 48722e5 commit 4459955
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/gsd5/core/ui/lists/list-view-suffix.tid
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ title: $:/plugins/gsd5/core/ui/lists/ListViewSuffix

<$list filter="[is[current]field:gsd_type[action]]">
<$list filter="[is[current]!field:text[]!field:gsd_complete[true]]">
<$transclude tiddler="$:/plugins/gsd5/core/images/excerpt"/>
<span class="gsd-muted"><$transclude tiddler="$:/plugins/gsd5/core/images/excerpt"/></span>
</$list>
<$list filter="[is[current]field:gsd_complete[true]]">
<span class="gsd-muted">(<$view field="gsd_comp_date" format="relativedate"/>)</span>
<$transclude tiddler="$:/plugins/gsd5/core/ui/buttons/delete-tiddler-button"/>
<span class="gsd-muted"><$transclude tiddler="$:/plugins/gsd5/core/ui/buttons/delete-tiddler-button"/></span>
</$list>
</$list>

<$list filter="[is[current]field:gsd_type[project]]">
<$list filter="[is[current]field:gsd_complete[true]]">
<$transclude tiddler="$:/plugins/gsd5/core/ui/buttons/delete-tiddler-button"/>
<span class="gsd-muted"><$transclude tiddler="$:/plugins/gsd5/core/ui/buttons/delete-tiddler-button"/></span>
</$list>
</$list>
4 changes: 4 additions & 0 deletions plugins/gsd5/core/ui/stylesheet/gsd5-stylesheet.tid
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ tags: $:/tags/Stylesheet
color: <<colour muted-foreground>>;
}

.gsd-muted svg {
opacity: 0.25;
}

.gsd-list-title input[type=checkbox]{
display:none;
}
Expand Down

0 comments on commit 4459955

Please sign in to comment.