mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Sidebar adjustments
This commit is contained in:
parent
3219b948ad
commit
6288ed6834
@ -175,10 +175,11 @@ a.tw-tiddlylink-missing {
|
||||
top: 0;
|
||||
left: 55em;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
overflow-y: auto;
|
||||
overflow-x: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
padding: 6em 0 2em 0;
|
||||
padding: 5em 0 2em 0;
|
||||
margin: 0;
|
||||
text-shadow: 0 1px 0 rgba(255,255,255, 0.8);
|
||||
}
|
||||
@ -209,7 +210,7 @@ a.tw-tiddlylink-missing {
|
||||
|
||||
.tw-tiddler-frame {
|
||||
position: relative;
|
||||
padding: 3em;
|
||||
padding: 2em 3em 3em 3em;
|
||||
margin-bottom: 2em;
|
||||
background-color: {{$:/core/styles/colourmappings##tiddlerbackground}};
|
||||
<<box-shadow "5px 5px 5px rgba(0, 0, 0, 0.1)">>
|
||||
@ -355,6 +356,17 @@ a.tw-tiddlylink-missing {
|
||||
padding-top: 1em;
|
||||
}
|
||||
|
||||
.tw-more-sidebar .tw-tab-buttons {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.tw-more-sidebar .tw-tab-content {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.tw-search-results {
|
||||
padding-top: 1em;
|
||||
}
|
||||
|
@ -1,16 +1,45 @@
|
||||
title: $:/templates/MoreSideBar
|
||||
|
||||
<div class="tw-tab-set">
|
||||
<div class="tw-tab-buttons"><$button type="set" set="$:/state/moreSideBarTabSet" setTo="tagsTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Tags</$button><$button type="set" set="$:/state/moreSideBarTabSet" setTo="missingTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Missing</$button><$button type="set" set="$:/state/moreSideBarTabSet" setTo="orphanTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Orphans</$button><$button type="set" set="$:/state/moreSideBarTabSet" setTo="systemTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">System</$button><$button type="set" set="$:/state/moreSideBarTabSet" setTo="shadowsTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Shadows</$button></div>
|
||||
<div class="tw-tab-divider">
|
||||
</div>
|
||||
<div class="tw-tab-content">
|
||||
<div class="tw-tab-set tw-more-sidebar">
|
||||
<div class="tw-tab-buttons">
|
||||
|
||||
<$button type="set" set="$:/state/moreSideBarTabSet" setTo="openTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Open</$button>
|
||||
|
||||
<$button type="set" set="$:/state/moreSideBarTabSet" setTo="allTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">All</$button>
|
||||
|
||||
<$button type="set" set="$:/state/moreSideBarTabSet" setTo="recentTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Recent</$button>
|
||||
|
||||
<$button type="set" set="$:/state/moreSideBarTabSet" setTo="tagsTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Tags</$button>
|
||||
|
||||
<$button type="set" set="$:/state/moreSideBarTabSet" setTo="missingTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Missing</$button>
|
||||
|
||||
<$button type="set" set="$:/state/moreSideBarTabSet" setTo="draftsTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Drafts</$button>
|
||||
|
||||
<$button type="set" set="$:/state/moreSideBarTabSet" setTo="orphanTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Orphans</$button>
|
||||
|
||||
<$button type="set" set="$:/state/moreSideBarTabSet" setTo="systemTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">System</$button>
|
||||
|
||||
<$button type="set" set="$:/state/moreSideBarTabSet" setTo="shadowsTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Shadows</$button>
|
||||
|
||||
</div><div class="tw-tab-content">
|
||||
<$reveal type="match" state="$:/state/moreSideBarTabSet" text="openTab" qualifyTiddlerTitles="yes">
|
||||
<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" itemClass="tw-menu-list-item"/>
|
||||
</$reveal>
|
||||
<$reveal type="match" state="$:/state/moreSideBarTabSet" text="allTab" qualifyTiddlerTitles="yes">
|
||||
<$list filter="[!is[system]sort[title]]" itemClass="tw-menu-list-item"/>
|
||||
</$reveal>
|
||||
<$reveal type="match" state="$:/state/moreSideBarTabSet" text="recentTab" qualifyTiddlerTitles="yes">
|
||||
<$list filter="[!is[system]!sort[modified]]" itemClass="tw-menu-list-item"/>
|
||||
</$reveal>
|
||||
<$reveal type="match" state="$:/state/moreSideBarTabSet" text="tagsTab" qualifyTiddlerTitles="yes">
|
||||
<$list filter="[tags[]sort[title]]" itemClass="tw-menu-list-item" template="$:/templates/TagTemplate"/>
|
||||
</$reveal>
|
||||
<$reveal type="match" state="$:/state/moreSideBarTabSet" text="missingTab" qualifyTiddlerTitles="yes">
|
||||
<$list filter="[is[missing]sort[title]]" itemClass="tw-menu-list-item" template="$:/templates/MissingTemplate"/>
|
||||
</$reveal>
|
||||
<$reveal type="match" state="$:/state/moreSideBarTabSet" text="draftsTab" qualifyTiddlerTitles="yes">
|
||||
<$list filter="[has[draft.of]sort[title]]" itemClass="tw-menu-list-item" />
|
||||
</$reveal>
|
||||
<$reveal type="match" state="$:/state/moreSideBarTabSet" text="orphanTab" qualifyTiddlerTitles="yes">
|
||||
<$list filter="[is[orphan]sort[title]]" itemClass="tw-menu-list-item"/>
|
||||
</$reveal>
|
||||
|
Loading…
Reference in New Issue
Block a user