mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 00:50:28 +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:
parent
f67777161d
commit
96708ecf65
@ -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>
|
||||
|
3
core/wiki/config/ManagerItemState.multids
Normal file
3
core/wiki/config/ManagerItemState.multids
Normal file
@ -0,0 +1,3 @@
|
||||
title: $:/state/popup/manager/item/$:/Manager/
|
||||
|
||||
ItemMain/RawText: hide
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user