Skip to content

Commit 02d07b9

Browse files
authored
Merge pull request #5 from talha131/update-tiddlers
Add and update tiddlers
2 parents 341ce01 + f26ac8f commit 02d07b9

53 files changed

Lines changed: 1285 additions & 29 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.ml-list ol {
2+
counter-reset: mylist;
3+
list-style-type: none;
4+
}
5+
6+
.ml-list ol li::before {
7+
counter-increment: mylist;
8+
content: counters(mylist,".") ". ";
9+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
created: 20181207163418302
2+
creator: Mohammad
3+
modified: 20190406122512361
4+
modifier: Mohammad
5+
tags: numbering $:/tags/Stylesheet
6+
title: $:/.mr/kookma/stylesheet/multilevel-list
7+
type: text/css

tiddlers/$___CustomPalette.tid

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
created: 20190406122512388
2+
description: For Federatial website
3+
modified: 20190406122512388
4+
name: Federatial Custom Palette
5+
tags: $:/tags/Palette
6+
title: $:/_CustomPalette
7+
type: application/x-tiddler-dictionary
8+
9+
federatial-white: #F9F9EB
10+
federatial-black: #292929
11+
federatial-grey: #666661
12+
federatial-bright: #FFFE02
13+
federatial-bright-faded: #ffff49
14+
federatial-mid: #CC1816
15+
federatial-primary: #5C59A7
16+
17+
top-menu-background: <<colour federatial-mid>>
18+
top-menu-foreground: <<colour federatial-white>>
19+
20+
alert-background: #ffe476
21+
alert-border: #b99e2f
22+
alert-highlight: #881122
23+
alert-muted-foreground: #b99e2f
24+
background: #ffffff
25+
blockquote-bar: <<colour muted-foreground>>
26+
button-background:
27+
button-foreground:
28+
button-border:
29+
code-background: #f7f7f9
30+
code-border: #e1e1e8
31+
code-foreground: #dd1144
32+
dirty-indicator: #ff0000
33+
download-background: #34c734
34+
download-foreground: <<colour background>>
35+
dragger-background: <<colour foreground>>
36+
dragger-foreground: <<colour background>>
37+
dropdown-background: <<colour background>>
38+
dropdown-border: <<colour muted-foreground>>
39+
dropdown-tab-background-selected: #fff
40+
dropdown-tab-background: #ececec
41+
dropzone-background: rgba(0,200,0,0.7)
42+
external-link-background-hover: inherit
43+
external-link-background-visited: inherit
44+
external-link-background: inherit
45+
external-link-foreground-hover: inherit
46+
external-link-foreground-visited: #0000aa
47+
external-link-foreground: #0000ee
48+
foreground: #333333
49+
message-background: #ecf2ff
50+
message-border: #cfd6e6
51+
message-foreground: #547599
52+
modal-backdrop: <<colour foreground>>
53+
modal-background: <<colour background>>
54+
modal-border: #999999
55+
modal-footer-background: #f5f5f5
56+
modal-footer-border: #dddddd
57+
modal-header-border: #eeeeee
58+
muted-foreground: #ddd
59+
notification-background: #ffffdd
60+
notification-border: #999999
61+
page-background: <<colour federatial-bright>>
62+
pre-background: #f5f5f5
63+
pre-border: #cccccc
64+
primary: #5778d8
65+
sidebar-button-foreground: <<colour foreground>>
66+
sidebar-controls-foreground-hover: #ccf
67+
sidebar-controls-foreground: <<colour foreground>>
68+
sidebar-foreground-shadow: rgba(255,255,255, 0)
69+
sidebar-foreground: <<colour foreground>>
70+
sidebar-muted-foreground-hover: #444444
71+
sidebar-muted-foreground: #eee
72+
sidebar-tab-background-selected: rgba(255,255,255, 0.8)
73+
sidebar-tab-background: rgba(255,255,255, 0.4)
74+
sidebar-tab-border-selected: <<colour tab-border-selected>>
75+
sidebar-tab-border: <<colour tab-border>>
76+
sidebar-tab-divider: rgba(255,255,255, 0.2)
77+
sidebar-tab-foreground-selected:
78+
sidebar-tab-foreground: <<colour tab-foreground>>
79+
sidebar-tiddler-link-foreground-hover: #000
80+
sidebar-tiddler-link-foreground: <<colour federatial-primary>>
81+
site-title-foreground: <<colour foreground>>
82+
static-alert-foreground: #aaaaaa
83+
tab-background-selected: #ffffff
84+
tab-background: #d8d8d8
85+
tab-border-selected: #d8d8d8
86+
tab-border: #cccccc
87+
tab-divider: #d8d8d8
88+
tab-foreground-selected: <<colour tab-foreground>>
89+
tab-foreground: #666666
90+
table-border: #dddddd
91+
table-footer-background: #a8a8a8
92+
table-header-background: #f0f0f0
93+
tag-background: #ec6
94+
tag-foreground: #ffffff
95+
tiddler-background: <<colour background>>
96+
tiddler-border: <<colour federatial-grey>>
97+
tiddler-controls-foreground-hover: #888888
98+
tiddler-controls-foreground-selected: #444444
99+
tiddler-controls-foreground: #cccccc
100+
tiddler-editor-background: #f8f8f8
101+
tiddler-editor-border-image: #ffffff
102+
tiddler-editor-border: #cccccc
103+
tiddler-editor-fields-even: #e0e8e0
104+
tiddler-editor-fields-odd: #f0f4f0
105+
tiddler-info-background: #f8f8f8
106+
tiddler-info-border: #dddddd
107+
tiddler-info-tab-background: #f8f8f8
108+
tiddler-link-background: <<colour background>>
109+
tiddler-link-foreground: <<colour primary>>
110+
tiddler-subtitle-foreground: #c0c0c0
111+
tiddler-title-foreground: #182955
112+
toolbar-new-button:
113+
toolbar-options-button:
114+
toolbar-save-button:
115+
toolbar-info-button:
116+
toolbar-edit-button:
117+
toolbar-close-button:
118+
toolbar-delete-button:
119+
toolbar-cancel-button:
120+
toolbar-done-button:
121+
untagged-background: #999999
122+
very-muted-foreground: #888888
123+

tiddlers/$__kookma_demo_dbadge.tid

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
created: 20181204193605622
2+
creator: Mohammad
3+
modified: 20190406122513583
4+
modifier: Mohammad
5+
tags: badge
6+
title: $:/kookma/demo/dbadge
7+
type: text/vnd.tiddlywiki
8+
9+
! Status badges
10+
The status badges are set of macro and stylesheet. These are double badges in two semantic colors indicate coverage, version, relation, progress, ...
11+
12+
! Using status badge
13+
The status badges here have four semantic colors but can be customized for more colors
14+
15+
* primary
16+
* info
17+
* success
18+
* warning
19+
* danger
20+
21+
!! Syntax
22+
```
23+
<<dbadge subject status type>>
24+
```
25+
<br>
26+
27+
|!Attribute |!Description |
28+
|subject |the subject of badge|
29+
|status |the relation, status, coverage, ...|
30+
|type|one of semantic types: //primary//, //info//, //success//, //warning//, //danger//. Default is //primary//|
31+
32+
<br>
33+
34+
!! Examples
35+
36+
```
37+
<<dbadge "Tiddlywiki" "5.1.18" "info">>
38+
<<dbadge "Node.js" "passed">>
39+
<<dbadge "Windows" "7, 8.1, 10" "warning">>
40+
<<dbadge "Android" "supported" "danger">>
41+
<<dbadge "coverage" "Html5" "success">>
42+
```
43+
<<dbadge "Tiddlywiki" "5.1.18" "info">> <<dbadge "Node.js" "passed">> <<dbadge "Windows" "7, 8.1, 10" "warning">>
44+
<<dbadge "Android" "supported" "danger">>
45+
<<dbadge "coverage" "Html5" "success">>
46+
47+
48+
!! Other example
49+
```
50+
<<dbadge "Tiddlywiki" "I love it">>
51+
<<dbadge "Jeremy Ruston" "The creator" success>>
52+
```
53+
<<dbadge "Tiddlywiki" "I love it">> <<dbadge "Jeremy Ruston" "The creator" success>> <<dbadge "Forum" "The best in the world" danger>>
54+
55+
<br>
56+
57+
!! Semantic colors
58+
59+
<<dbadge "primary" "blue" primary>> <<dbadge "info" "cyan" info>> <<dbadge "success" "green" success>> <<dbadge "warning" "yellow" warning>> <<dbadge "danger" "red" danger>>
60+
61+
!Installation
62+
Drag and drop these tiddlers into your wiki
63+
64+
<<list-links [tag[badge]]>>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
created: 20181203212737578
2+
creator: Mohammad
3+
modified: 20190406122513576
4+
modifier: Mohammad
5+
tags: $:/tags/Macro badge
6+
title: $:/kookma/macro/dbadge
7+
type: text/vnd.tiddlywiki
8+
9+
\define dbadge(subject,status, type:"primary")
10+
<div class="dbadge"><span class="dbadge-subject">$subject$</span><span class="dbadge-status dbadge-$type$ ">$status$</span></div>
11+
\end
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/*Credits:
2+
Nishant Srivastava https://codepen.io/nisrulz/pen/bpQWLW
3+
Mohammad Rahmani: https://github.com/kookma
4+
*/
5+
.dbadge {
6+
display: inline-block;
7+
margin: 0.0em;
8+
}
9+
.dbadge > span {
10+
color: #ffffff;
11+
font-size: 0.8em;
12+
font-weight: 400;
13+
line-height: 1;
14+
padding: .2em .6em;
15+
text-align: center;
16+
vertical-align: baseline;
17+
white-space: nowrap;}
18+
19+
.dbadge-subject{
20+
background-color: #656565;
21+
border-bottom-left-radius: 0.25em;
22+
border-top-left-radius: 0.25em;}
23+
.dbadge-status {
24+
border-bottom-right-radius: 0.25em;
25+
border-top-right-radius: 0.25em;}
26+
27+
.dbadge-primary {
28+
background-color: #337ab7;}
29+
.dbadge-success {
30+
background-color: #5cb85c;}
31+
.dbadge-info {
32+
background-color: #5bc0de;}
33+
.dbadge-warning {
34+
background-color: #f0ad4e;}
35+
.dbadge-danger {
36+
background-color: #d9534f;}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
created: 20181204192835967
2+
creator: Mohammad
3+
modified: 20190406122513568
4+
modifier: Mohammad
5+
tags: badge $:/tags/Stylesheet
6+
title: $:/kookma/stylesheet/dbadge
7+
type: text/css

tiddlers/$__palette.tid

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
created: 20190331154905061
2+
creator: Mohammad
3+
modified: 20190406122513560
4+
modifier: Mohammad
5+
title: $:/palette
6+
type: text/vnd.tiddlywiki
7+
8+
$:/palettes/Vanilla

tiddlers/17th March 2019.tid

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
created: 20190317121701949
2+
creator: Mohammad
3+
modified: 20190406122512948
4+
modifier: Mohammad
5+
tags: task
6+
title: 17th March 2019
7+
type: text/vnd.tiddlywiki
8+
9+
Worth to check. Has great feature for buttons
10+
https://ibnishak.github.io/Tesseract/pluginsandmacros/index.html#Reveal-Extended%3A+Adding+%3C%2C%3E%2C%3C%3D%2C%3E%3D+types+to+reveal+widget

tiddlers/Better Performance in Filter Run.tid

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
created: 20180816201359755
22
creator: Mohammad
33
keywords: filter run
4-
modified: 20190216180309462
4+
modified: 20190406122514564
55
modifier: Mohammad
66
responder: Mark S
77
tags: solution
@@ -61,3 +61,9 @@ There is a built-in filter operator `is[system]` for detecting system tiddlers,
6161
`[!is[system]search:title[Demo]]`
6262

6363
Again, we filter out system tiddlers before doing the search so as to reduce the number of tiddlers that we have to search.
64+
65+
66+
!! More discussion
67+
68+
# [[Performance comparision|https://groups.google.com/d/msg/tiddlywiki/FmuBA2SMjxw/-AkxAPCnCAAJ]] between `[is[current]]` and `<currentTiddler>`
69+
# [[A fast list|https://groups.google.com/d/msg/tiddlywiki/XuHiTCI4N60/_g8ZUvGuAwAJ]]

0 commit comments

Comments
 (0)