diff --git a/core/ui/PageMacros.tid b/core/ui/PageMacros.tid index 849e67f6f..1b624a25b 100644 --- a/core/ui/PageMacros.tid +++ b/core/ui/PageMacros.tid @@ -3,30 +3,31 @@ title: $:/core/ui/PageMacros \define colour(name) <$transclude tiddler={{$:/palette}} index="$name$"/> \end + \define color(name) <> \end + \define tabs(tabsList,default,state:"$:/state/tab")
-<$list filter="$tabsList$" variable="currentTab"> -<$button set=<> setTo=<> default="$default$" selectedClass="tw-tab-selected"> -<$transclude tiddler=<> field="caption"> -<$macrocall $name="currentTab" $type="text/plain" $output="text/plain"/> - - + <$list filter="$tabsList$" variable="currentTab"> + <$button set=<> setTo=<> default="$default$" selectedClass="tw-tab-selected"> + <$transclude tiddler=<> field="caption"> + <$macrocall $name="currentTab" $type="text/plain" $output="text/plain"/> + + +
- -<$list filter="$tabsList$" variable="currentTab"> -<$reveal type="match" state=<> text=<> default="$default$"> - -<$transclude tiddler=<>/> - - - + <$list filter="$tabsList$" variable="currentTab"> + <$reveal type="match" state=<> text=<> default="$default$"> + <$transclude tiddler=<> mode="block"/> + +
\end + \define wikitext-example(src) ``` $src$ @@ -43,6 +44,7 @@ $src$ $$$ \end + \define wikitext-example-without-html(src) ``` $src$ @@ -53,9 +55,11 @@ Renders as: $src$ \end + \define lingo-base() $:/lingo/ \end + \define lingo(title) {{$(lingo-base)$$title$}} \end diff --git a/core/ui/PageTemplate/sidebar.tid b/core/ui/PageTemplate/sidebar.tid index 67f74e67f..bde31110a 100644 --- a/core/ui/PageTemplate/sidebar.tid +++ b/core/ui/PageTemplate/sidebar.tid @@ -2,24 +2,15 @@ title: $:/core/ui/PageTemplate/sidebar tags: $:/tags/PageTemplate <$scrollable fallthrough="no" class="tw-sidebar-scrollable"> - - - - + + \ No newline at end of file diff --git a/core/ui/SideBarLists.tid b/core/ui/SideBarLists.tid index 327b572ea..0b806e7c9 100644 --- a/core/ui/SideBarLists.tid +++ b/core/ui/SideBarLists.tid @@ -1,32 +1,24 @@ title: $:/core/ui/SideBarLists
- - - -<$reveal state="$:/temp/search" type="nomatch" text=""> - -
- -{{$:/language/Search/Matches}} - -<$list filter="[!is[system]search{$:/temp/search}sort[title]limit[250]]" template="$:/core/ui/ListItemTemplate"/> - -
- - - -<$reveal state="$:/temp/search" type="match" text=""> - -<> - - + + <$reveal state="$:/temp/search" type="nomatch" text=""> +
+ {{$:/language/Search/Matches}} + <$list filter="[!is[system]search{$:/temp/search}sort[title]limit[250]]" template="$:/core/ui/ListItemTemplate"/> +
+ + <$reveal state="$:/temp/search" type="match" text=""> + <> +
diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index db76200d1..3ff40aea6 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -368,6 +368,10 @@ a.tw-tiddlylink-external:hover { width: 60%; } +.tw-search { + padding-top: .5em; +} + .tw-search a svg { height: 0.75em; } @@ -449,7 +453,7 @@ a.tw-tiddlylink-external:hover { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 0 -42px; - padding: 70px 0 28px 42px; + padding: 99px 0 28px 42px; } .story-river {