1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-09-11 07:16:08 +00:00

Yet more "tw-*" -> "tc-*"

Part of #764
This commit is contained in:
Jermolene
2014-08-28 19:41:29 +01:00
parent 995f0e7f29
commit f223310d34
56 changed files with 202 additions and 202 deletions

View File

@@ -21,7 +21,7 @@ $body$
</$reveal>
\end
<div class="tw-table-of-contents">
<div class="tc-table-of-contents">
# Guide
## <<toc-heading "Introduction" "

View File

@@ -6,17 +6,17 @@ type: text/vnd.tiddlywiki
Submit new entries to this collection of articles via GitHub, Twitter or by posting in the [[TiddlyWiki Groups]].
<div class="tw-link-info">
<div class="tc-link-info">
<$list filter="[tag[articles]!sort[modified]]">
<div class="tw-link-info-item">
<div class="tc-link-info-item">
! <$link><$view field="title"/></$link>
!!! <a href={{!!url}} target="_blank"><$text text={{!!url}}/></a>
<div class="tw-subtitle">Posted <$view field="modified" format="relativedate"/></div>
<div class="tc-subtitle">Posted <$view field="modified" format="relativedate"/></div>
<$transclude/>

View File

@@ -8,17 +8,17 @@ This collection showcases inspiring and interesting examples of TiddlyWiki being
Submit new entries to this collection via GitHub, Twitter or by posting in the [[TiddlyWiki Groups]].
<div class="tw-link-info">
<div class="tc-link-info">
<$list filter="[tag[examples]!sort[modified]]">
<div class="tw-link-info-item">
<div class="tc-link-info-item">
! <$link><$view field="title"/></$link>
!!! <a href={{!!url}} target="_blank"><$text text={{!!url}}/></a>
<div class="tw-subtitle">Posted <$view field="modified" format="relativedate"/></div>
<div class="tc-subtitle">Posted <$view field="modified" format="relativedate"/></div>
<$transclude/>

View File

@@ -6,17 +6,17 @@ type: text/vnd.tiddlywiki
The latest news, articles, resources and examples.
<div class="tw-link-info">
<div class="tc-link-info">
<$list filter="[tag[articles]] [tag[examples]] [tag[resources]] +[!sort[modified]limit[7]]">
<div class="tw-link-info-item">
<div class="tc-link-info-item">
! <$link><$view field="title"/></$link>
!!! <a href={{!!url}} target="_blank"><$text text={{!!url}}/></a>
<div class="tw-subtitle">Posted <$view field="modified" format="relativedate"/></div>
<div class="tc-subtitle">Posted <$view field="modified" format="relativedate"/></div>
<$transclude/>

View File

@@ -6,17 +6,17 @@ type: text/vnd.tiddlywiki
These resources created by the TiddlyWiki [[Community]] help you get the best out of TiddlyWiki. Submit new entries via GitHub, Twitter or by posting in the [[TiddlyWiki Groups]].
<div class="tw-link-info">
<div class="tc-link-info">
<$list filter='[tag[resources]!sort[modified]]'>
<div class="tw-link-info-item">
<div class="tc-link-info-item">
! <$link><$view field="title"/></$link>
!!! <a href={{!!url}} target="_blank"><$text text={{!!url}}/></a>
<div class="tw-subtitle">Posted <$view field="modified" format="relativedate"/></div>
<div class="tc-subtitle">Posted <$view field="modified" format="relativedate"/></div>
<$transclude/>

View File

@@ -5,7 +5,7 @@ tags: table-of-contents-example
!! Expandable Table of Contents
<$macrocall $name="wikitext-example-without-html"
src="<div class='tw-table-of-contents'>
src="<div class='tc-table-of-contents'>
<<toc-expandable 'Contents'>>
</div>
"/>

View File

@@ -5,7 +5,7 @@ tags: table-of-contents-example
!! Selective Expandable Table of Contents
<$macrocall $name="wikitext-example-without-html"
src="<div class='tw-table-of-contents'>
src="<div class='tc-table-of-contents'>
<<toc-selective-expandable 'Contents'>>
</div>
"/>

View File

@@ -5,7 +5,7 @@ tags: table-of-contents-example
!! Simple Table of Contents
<$macrocall $name="wikitext-example-without-html"
src="<div class='tw-table-of-contents'>
src="<div class='tc-table-of-contents'>
<<toc 'Contents'>>
</div>
"/>

View File

@@ -5,7 +5,7 @@ tags: table-of-contents-example
!! Sorted Expandable Table of Contents
<$macrocall $name="wikitext-example-without-html"
src="<div class='tw-table-of-contents'>
src="<div class='tc-table-of-contents'>
<<toc-expandable 'Contents' 'sort[title]'>>
</div>
"/>

View File

@@ -9,7 +9,7 @@ Several features work in concert to give the desired behaviour for draft tiddler
* The ListWidget can optionally render draft tiddlers through a different template
* The NavigatorWidget incorporates handlers for the following events:
** `tw-new-tiddler` for creating a new tiddler in draft mode
** `tc-edit-tiddler` for moving a tiddler into edit mode
** `tw-edit-tiddler` for moving a tiddler into edit mode
** `tw-cancel-tiddler` for cancelling a tiddler out of edit mode
** `tw-save-tiddler` for saving a draft tiddler
* Draft tiddlers are automatically excluded from search operations

View File

@@ -13,7 +13,7 @@ The history list also maintains the field ''current-tiddler'' that contains the
```
<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" storyview="pop">
<$button message="tw-close-tiddler" class="tc-btn-invisible btn-mini">&times;</$button> <$link to={{!!title}}><$view field="title"/> <$reveal type="match" state="$:/HistoryList!!current-tiddler" text=<<currentTiddler>>>&#x2713;</$reveal></$link>
<$button message="tw-close-tiddler" class="tc-btn-invisible tc-btn-mini">&times;</$button> <$link to={{!!title}}><$view field="title"/> <$reveal type="match" state="$:/HistoryList!!current-tiddler" text=<<currentTiddler>>>&#x2713;</$reveal></$link>
</$list>
```
@@ -22,6 +22,6 @@ Which renders the same as the "Open" sidebar tab, with the addition of a tick ag
<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" storyview="pop">
<$button message="tw-close-tiddler" class="tc-btn-invisible btn-mini">&times;</$button> <$link to={{!!title}}><$view field="title"/> <$reveal type="match" state="$:/HistoryList!!current-tiddler" text=<<currentTiddler>>>&#x2713;</$reveal></$link>
<$button message="tw-close-tiddler" class="tc-btn-invisible tc-btn-mini">&times;</$button> <$link to={{!!title}}><$view field="title"/> <$reveal type="match" state="$:/HistoryList!!current-tiddler" text=<<currentTiddler>>>&#x2713;</$reveal></$link>
</$list>

View File

@@ -28,7 +28,7 @@ Note how this approach makes the ''open'' tab in the sidebar very easy to implem
```
<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" storyview="pop">
<$button message="tw-close-tiddler" class="tc-btn-invisible btn-mini">&times;</$button> <$link to={{!!title}}><$view field="title"/></$link>
<$button message="tw-close-tiddler" class="tc-btn-invisible tc-btn-mini">&times;</$button> <$link to={{!!title}}><$view field="title"/></$link>
</$list>
```

View File

@@ -3,7 +3,7 @@ tags: $:/tags/stylesheet
@media (min-width: 600px) {
.tw-link-info {
.tc-link-info {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
@@ -13,14 +13,14 @@ tags: $:/tags/stylesheet
flex-wrap: wrap;
}
.tw-link-info-item {
.tc-link-info-item {
max-width: 25em;
margin-right: 10px;
}
}
.tw-link-info-item {
.tc-link-info-item {
display: inline-block;
border: 1px solid <<colour muted-foreground>>;
padding: 5px 10px;
@@ -30,12 +30,12 @@ tags: $:/tags/stylesheet
line-height: 1.2;
}
.tw-link-info-item h1 {
.tc-link-info-item h1 {
font-weight: 500;
font-size: 16px;
}
.tw-scrollable-demo {
.tc-scrollable-demo {
border: 1px solid <<colour message-border>>;
background-color: <<colour message-background>>;
padding: 1em;

View File

@@ -53,10 +53,10 @@ The ''types'' listing is performed with this markup:
```
<$list filter="[!is[system]has[type]each[type]sort[type]]">
<div class="tw-menu-list-item">
<div class="tc-menu-list-item">
<$view field="type"/>
<$list filter="[type{!!type}!is[system]sort[title]]">
<div class="tw-menu-list-subitem">
<div class="tc-menu-list-subitem">
<$link to={{!!title}}><$view field="title"/></$link>
</div>
</$list>
@@ -71,10 +71,10 @@ The ''recent'' listing is performed with this markup:
```
<$list filter="[!is[system]has[modified]!sort[modified]limit[100]eachday[modified]]">
<div class="tw-menu-list-item">
<div class="tc-menu-list-item">
<$view field="modified" format="date" template="DDth MMM YYYY"/>
<$list filter="[sameday{!!modified}!is[system]!sort[modified]]">
<div class="tw-menu-list-subitem">
<div class="tc-menu-list-subitem">
<$link to={{!!title}}><$view field="title"/></$link>
</div>
</$list>

View File

@@ -23,7 +23,7 @@ If a scrollable widget can't handle the `tw-scroll` message because the inner DI
This example requires the following CSS definitions from [[$:/_tw5.com-styles]]:
```
.tw-scrollable-demo {
.tc-scrollable-demo {
border: 1px solid <<colour message-border>>;
background-color: <<colour message-background>>;
padding: 1em;
@@ -33,7 +33,7 @@ This example requires the following CSS definitions from [[$:/_tw5.com-styles]]:
This wiki text shows how to display a list within the scrollable widget:
<<wikitext-example-without-html "<$scrollable class='tw-scrollable-demo'>
<<wikitext-example-without-html "<$scrollable class='tc-scrollable-demo'>
<$list filter='[!is[system]]'>
<$view field='title'/>: <$list filter='[all[current]links[]sort[title]]' storyview='pop'>