diff --git a/core/images/right-arrow.tid b/core/images/right-arrow.tid new file mode 100644 index 000000000..73c2545ef --- /dev/null +++ b/core/images/right-arrow.tid @@ -0,0 +1,4 @@ +title: $:/core/images/right-arrow +tags: $:/tags/Image + + \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/TableOfContents.tid b/editions/tw5.com/tiddlers/TableOfContents.tid index 7db42e21c..a7aff2657 100644 --- a/editions/tw5.com/tiddlers/TableOfContents.tid +++ b/editions/tw5.com/tiddlers/TableOfContents.tid @@ -5,11 +5,11 @@ caption: {{$:/language/SideBar/Contents/Caption}} \define toc-heading(caption,body) <$reveal type="nomatch" state=<> text="show"> -<$button set=<> setTo="show" class="btn-invisible">▹ $caption$ +<$button set=<> setTo="show" class="btn-invisible">{{$:/core/images/right-arrow}} $caption$ <$reveal type="match" state=<> text="show"> -<$button set=<> setTo="hide" class="btn-invisible">▿ $caption$ +<$button set=<> setTo="hide" class="btn-invisible">{{$:/core/images/down-arrow}} $caption$ <$reveal type="match" state=<> text="show" retain="yes" animate="yes"> diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index e3cbbefe1..ab3fc7b49 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -358,6 +358,7 @@ a.tw-tiddlylink-external:hover { .sidebar-header { color: <>; + fill: <>; } .sidebar-header .title a.tw-tiddlylink-resolves { @@ -1243,6 +1244,12 @@ canvas.tw-edit-bitmapeditor { white-space: nowrap; } +.tw-table-of-contents svg { + width: 0.7em; + height: 0.7em; + vertical-align: middle; +} + .tw-table-of-contents ol { list-style-type: none; padding-left: 0;