1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 10:29:54 +00:00

Manager styling tweaks

* Make expand/collapse state be global across all tiddlers
* Remove “Show raw text” option, now that we’ve got the two expandable
areas for raw and wikified text
* Hide raw text by default
* Accentuate currently open tiddler
This commit is contained in:
Jermolene 2016-11-28 10:01:30 +00:00
parent f67777161d
commit 96708ecf65
3 changed files with 8 additions and 7 deletions

View File

@ -20,7 +20,7 @@ color: #bbb
\define list-item-content-item()
<div class="tc-manager-list-item-content-item">
<$vars state-title=<<qualify "$:/state/popup/manager/item/$(listItem)$">>>
<$vars state-title="""$:/state/popup/manager/item/$(listItem)$""">
<$reveal state=<<state-title>> type="match" text="show" default="show" tag="div">
<$button set=<<state-title>> setTo="hide" class="tc-btn-invisible tc-manager-list-item-content-item-heading">
{{$:/core/images/down-arrow}} <$transclude tiddler=<<listItem>> field="caption"/>
@ -81,12 +81,7 @@ color: #bbb
</div>
<div class="tc-manager-control">
<$checkbox tiddler="$:/config/Manager/System" field="text" checked="" unchecked="system" default="system">
Show system tiddlers
</$checkbox>
</div>
<div class="tc-manager-control">
<$checkbox tiddler="$:/config/Manager/View" field="text" checked="plain" unchecked="wikified" default="wikified">
Show raw text
Include system tiddlers
</$checkbox>
</div>
</div>

View File

@ -0,0 +1,3 @@
title: $:/state/popup/manager/item/$:/Manager/
ItemMain/RawText: hide

View File

@ -1770,6 +1770,9 @@ html body.tc-body.tc-single-tiddler-window {
.tc-manager-list-item-heading-selected {
font-weight: bold;
color: <<colour background>>;
fill: <<colour background>>;
background-color: <<colour foreground>>;
}
.tc-manager-list-item-heading:hover {