mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
parent
63ad284784
commit
3bfa9c6f10
11
core/ui/PageTemplate/drafts.tid
Normal file
11
core/ui/PageTemplate/drafts.tid
Normal file
@ -0,0 +1,11 @@
|
||||
title: $:/core/ui/PageTemplate/drafts
|
||||
tags: $:/tags/PageTemplate
|
||||
|
||||
\whitespace trim
|
||||
<$reveal state="$:/status/IsReadOnly" type="nomatch" text="yes" tag="div" class="tc-drafts-list">
|
||||
<$list filter="[has[draft.of]!sort[modified]] -[list[$:/StoryList]]">
|
||||
<$link>
|
||||
{{$:/core/images/edit-button}} <$text text=<<currentTiddler>>/>
|
||||
</$link>
|
||||
</$list>
|
||||
</$reveal>
|
@ -1981,6 +1981,43 @@ html body.tc-body.tc-single-tiddler-window {
|
||||
color: <<colour static-alert-foreground>>;
|
||||
}
|
||||
|
||||
/*
|
||||
** Floating drafts list
|
||||
*/
|
||||
|
||||
.tc-drafts-list {
|
||||
z-index: 2000;
|
||||
position: fixed;
|
||||
font-size: 0.8em;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.tc-drafts-list a {
|
||||
margin: 0 0.5em;
|
||||
padding: 4px 4px;
|
||||
border-top-left-radius: 4px;
|
||||
border-top-right-radius: 4px;
|
||||
border: 1px solid <<colour background>>;
|
||||
border-bottom-none;
|
||||
background: <<colour dirty-indicator>>;
|
||||
color: <<colour background>>;
|
||||
fill: <<colour background>>;
|
||||
}
|
||||
|
||||
.tc-drafts-list a:hover {
|
||||
text-decoration: none;
|
||||
background: <<colour foreground>>;
|
||||
color: <<colour background>>;
|
||||
fill: <<colour background>>;
|
||||
}
|
||||
|
||||
.tc-drafts-list a svg {
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
|
||||
/*
|
||||
** Control panel
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user