diff --git a/core/styles/base.tid b/core/styles/base.tid index 4609f55bc..acf1b213d 100644 --- a/core/styles/base.tid +++ b/core/styles/base.tid @@ -138,6 +138,14 @@ a.tw-tiddlylink-missing { border: none; } +.tw-menu-list-item .btn-mini-close { + color: #e0e0e0; +} + +.tw-menu-list-item:hover .btn-mini-close { + color: #444; +} + .tw-tags-wrapper { margin: 0.25em 0 1em 0; } diff --git a/core/templates/SideBar.tid b/core/templates/SideBar.tid index 969535576..0ccb9e3f2 100644 --- a/core/templates/SideBar.tid +++ b/core/templates/SideBar.tid @@ -25,7 +25,9 @@ title: $:/templates/SideBar
<$reveal type="match" state="$:/state/sideBarTabSet" text="openTab" qualifyTiddlerTitles="yes"> -<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" itemClass="tw-menu-list-item"/> +<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" itemClass="tw-menu-list-item"> +<$button message="tw-close-tiddler" class="btn-invisible btn-mini-close">× <$view field="title" format="link"/> + <$reveal type="match" state="$:/state/sideBarTabSet" text="allTab" qualifyTiddlerTitles="yes"> <$list filter="[!is[system]sort[title]]" itemClass="tw-menu-list-item"/>