Skip to content

Commit 8443a3b

Browse files
committed
Separate stylesheet
1 parent e3b6003 commit 8443a3b

6 files changed

+42
-35
lines changed

tiddlers/$__supp-info_core_modules_filters_jsondelete.js.meta

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
caption: jsondelete
12
created: 20251110234012768
2-
modified: 20251110234231934
3+
modified: 20251115161940178
34
module-type: filteroperator
45
tags:
56
title: $:/supp-info/core/modules/filters/jsondelete.js

tiddlers/$__supp-info_core_sidebar_supp-info.tid

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
caption: Supp
1+
caption: Supp Notes Sidebar
22
created: 20251113195712539
3-
modified: 20251113200504449
3+
modified: 20251115164436518
44
tags: $:/tags/SideBar
55
title: $:/supp-info/core/sidebar/supp-info
66
type: text/vnd.tiddlywiki
77

88
----------
9-
<<list-links "[prefix[$:/supp-info]] -[[$:/supp-info/core/sidebar/supp-info]]">>
9+
<<list-links "[prefix[$:/supp-info]]">>
1010

1111
----------
1212
<<list-links "HelloThere [[Quick Start]] [[Find Out More]]">>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
%: true
1+
caption: Supp Notes Content
22
created: 20251107151758434
3-
modified: 20251115161104742
3+
modified: 20251115162005320
44
tags: $:/tags/SupplementaryInfo
55
title: $:/supp-info/notes/content
66
type: application/json
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
.supp-notes {
2+
div.debug {background: red; color: white; font-weight: bold; font-size: 150%;}
3+
background-color: #ffc;
4+
margin-top: 3em;
5+
padding: 0;
6+
.controls {
7+
display: inline-block;
8+
margin-left: 1em;
9+
svg {width: 1em; height: 1em; vertical-align: middle;}
10+
}
11+
summary {background-color: #996; color: white; padding: .5em; font-weight: bold;}
12+
.note-row {
13+
display: flex;
14+
flex-direction: row;
15+
gap: .75em;
16+
align-items: center;
17+
padding: .5em;
18+
&button {
19+
flex: 0 1 auto;
20+
width: 2em;
21+
svg {width: 1.5em; height: 1em; vertical-align: middle;} }
22+
div.note {flex: 1 0 auto;}
23+
}
24+
.note {border: 1px solid #ccc; padding: .25em .5em; margin-top: .5em; &>:first-child {margin-top: 0;}}
25+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
caption: Supp Notes Stylesheet
2+
created: 20251115161726500
3+
modified: 20251115161906202
4+
tags: $:/tags/Stylesheet
5+
title: $:/supp-info/notes/styles/main
6+
type: text/css

tiddlers/$__supp-info_notes_view-template.tid

Lines changed: 4 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
caption: Supp Notes Template
12
created: 20251107152410791
2-
modified: 20251115161001828
3+
modified: 20251115162236544
4+
query: [prefix[$:/supp-info]]
35
tags: $:/tags/ViewTemplate
46
title: $:/supp-info/notes/view-template
57
type: text/vnd.tiddlywiki
@@ -26,7 +28,7 @@ type: text/vnd.tiddlywiki
2628
temp=`$:/temp/supp-info/notes/$(currentTiddler)$/$(index)$`
2729
text={{{ [<temp>get[text]] }}}
2830
json={{{ [{$:/supp-info/notes/content}jsonset<currentTiddler>,<index>,<text>format:json[2]] }}}
29-
>
31+
>
3032
<$action-setfield $tiddler="$:/supp-info/notes/content" $field="text" $value=<<json>> />
3133
</$let>
3234
\end edit-note
@@ -81,31 +83,4 @@ type: text/vnd.tiddlywiki
8183
</$let>
8284
</div>
8385

84-
<style>
85-
.supp-notes {
86-
div.debug {background: red; color: white; font-weight: bold; font-size: 150%;}
87-
background-color: #ffc;
88-
margin-top: 3em;
89-
padding: 0;
90-
.controls {
91-
display: inline-block;
92-
margin-left: 1em;
93-
svg {width: 1em; height: 1em; vertical-align: middle;}
94-
}
95-
summary {background-color: #996; color: white; padding: .5em; font-weight: bold;}
96-
.note-row {
97-
display: flex;
98-
flex-direction: row;
99-
gap: .75em;
100-
align-items: center;
101-
padding: .5em;
102-
&button {
103-
flex: 0 1 auto;
104-
width: 2em;
105-
svg {width: 1.5em; height: 1em; vertical-align: middle;} }
106-
div.note {flex: 1 0 auto;}
107-
}
108-
.note {border: 1px solid #ccc; padding: .25em .5em; margin-top: .5em; &>:first-child {margin-top: 0;}}
109-
}
110-
</style
11186
<% endif %>

0 commit comments

Comments
 (0)