From 0c8ba71eddb13730176d763644120bf5e912e397 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Sat, 9 Nov 2013 19:21:37 +0000 Subject: [PATCH] Use the built-in tabs macro for the tiddler info panel and the sidebar tabs Now you can insert your own tabs, too - see the release note --- core/ui/MoreSideBar.tid | 64 ------------------- core/ui/MoreSideBar/All.tid | 5 ++ core/ui/MoreSideBar/Drafts.tid | 5 ++ core/ui/MoreSideBar/Missing.tid | 5 ++ core/ui/MoreSideBar/Orphans.tid | 5 ++ core/ui/MoreSideBar/Recent.tid | 5 ++ core/ui/MoreSideBar/Shadows.tid | 5 ++ core/ui/MoreSideBar/System.tid | 5 ++ core/ui/MoreSideBar/Tags.tid | 9 +++ core/ui/MoreSideBar/Types.tid | 14 ++++ core/ui/SideBar.tid | 23 +------ core/ui/SideBar/More.tid | 7 ++ core/ui/SideBar/Open.tid | 8 +++ core/ui/SideBar/Recent.tid | 5 ++ core/ui/{ToolsPanel.tid => SideBar/Tools.tid} | 4 +- core/ui/TiddlerInfo.tid | 23 +------ core/ui/TiddlerInfo/Fields.tid | 5 ++ core/ui/TiddlerInfo/List.tid | 5 ++ core/ui/TiddlerInfo/Listed.tid | 5 ++ core/ui/TiddlerInfo/References.tid | 6 ++ core/ui/TiddlerInfo/Tagging.tid | 5 ++ core/wiki/moreSideBarTabSet.tid | 4 +- core/wiki/sideBarTabSet.tid | 2 +- core/wiki/tags/MoreSideBar.tid | 3 + core/wiki/tags/SideBar.tid | 3 + core/wiki/tags/TiddlerInfo.tid | 3 + .../tw5.com/tiddlers/Release 5.0.0alpha13.tid | 7 ++ themes/tiddlywiki/snowwhite/base.tid | 18 ++++-- 28 files changed, 142 insertions(+), 116 deletions(-) delete mode 100644 core/ui/MoreSideBar.tid create mode 100644 core/ui/MoreSideBar/All.tid create mode 100644 core/ui/MoreSideBar/Drafts.tid create mode 100644 core/ui/MoreSideBar/Missing.tid create mode 100644 core/ui/MoreSideBar/Orphans.tid create mode 100644 core/ui/MoreSideBar/Recent.tid create mode 100644 core/ui/MoreSideBar/Shadows.tid create mode 100644 core/ui/MoreSideBar/System.tid create mode 100644 core/ui/MoreSideBar/Tags.tid create mode 100644 core/ui/MoreSideBar/Types.tid create mode 100644 core/ui/SideBar/More.tid create mode 100644 core/ui/SideBar/Open.tid create mode 100644 core/ui/SideBar/Recent.tid rename core/ui/{ToolsPanel.tid => SideBar/Tools.tid} (74%) create mode 100644 core/ui/TiddlerInfo/Fields.tid create mode 100644 core/ui/TiddlerInfo/List.tid create mode 100644 core/ui/TiddlerInfo/Listed.tid create mode 100644 core/ui/TiddlerInfo/References.tid create mode 100644 core/ui/TiddlerInfo/Tagging.tid create mode 100644 core/wiki/tags/MoreSideBar.tid create mode 100644 core/wiki/tags/SideBar.tid create mode 100644 core/wiki/tags/TiddlerInfo.tid diff --git a/core/ui/MoreSideBar.tid b/core/ui/MoreSideBar.tid deleted file mode 100644 index 1d90d22c3..000000000 --- a/core/ui/MoreSideBar.tid +++ /dev/null @@ -1,64 +0,0 @@ -title: $:/core/ui/MoreSideBar - -
- -<$button type="set" set=<> setTo="allTab" selectedClass="tw-tab-selected">All - -<$button type="set" set=<> setTo="recentTab" selectedClass="tw-tab-selected">Recent - -<$button type="set" set=<> setTo="tagsTab" selectedClass="tw-tab-selected">Tags - -<$button type="set" set=<> setTo="missingTab" selectedClass="tw-tab-selected">Missing - -<$button type="set" set=<> setTo="draftsTab" selectedClass="tw-tab-selected">Drafts - -<$button type="set" set=<> setTo="orphanTab" selectedClass="tw-tab-selected">Orphans - -<$button type="set" set=<> setTo="typeTab" selectedClass="tw-tab-selected">Types - -<$button type="set" set=<> setTo="systemTab" selectedClass="tw-tab-selected">System - -<$button type="set" set=<> setTo="shadowsTab" selectedClass="tw-tab-selected">Shadows - -
-<$reveal type="match" state=<> text="allTab"> -<$list filter="[!is[system]sort[title]]" itemClass="tw-menu-list-item" template="$:/core/ui/ListItemTemplate"/> - -<$reveal type="match" state=<> text="recentTab"> -{{$:/snippets/recentchanges}} - -<$reveal type="match" state=<> text="tagsTab"> -<$list filter="[tags[]sort[title]]" itemClass="tw-menu-list-item"> -<$transclude tiddler="$:/core/ui/TagTemplate"/> <$count filter="[is[current]tagging[]]"/> - ----- -{{$:/core/ui/UntaggedTemplate}} <$count filter="[untagged[]!is[system]] -[tags[]]"/> - -<$reveal type="match" state=<> text="missingTab"> -<$list filter="[is[missing]sort[title]]" itemClass="tw-menu-list-item" template="$:/core/ui/MissingTemplate"/> - -<$reveal type="match" state=<> text="draftsTab"> -<$list filter="[has[draft.of]sort[title]]" itemClass="tw-menu-list-item" template="$:/core/ui/ListItemTemplate"/> - -<$reveal type="match" state=<> text="orphanTab"> -<$list filter="[is[orphan]sort[title]]" itemClass="tw-menu-list-item" template="$:/core/ui/ListItemTemplate"/> - -<$reveal type="match" state=<> text="typeTab"> -<$list filter="[!is[system]has[type]each[type]sort[type]]"> -
-<$view field="type"/> -<$list filter="[type{!!type}!is[system]sort[title]]"> -
-<$link to={{!!title}}><$view field="title"/> -
- -
- - -<$reveal type="match" state=<> text="systemTab"> -<$list filter="[is[system]sort[title]]" itemClass="tw-menu-list-item" template="$:/core/ui/ListItemTemplate"/> - -<$reveal type="match" state=<> text="shadowsTab"> -<$list filter="[is[shadow]sort[title]]" itemClass="tw-menu-list-item" template="$:/core/ui/ListItemTemplate"/> - -
diff --git a/core/ui/MoreSideBar/All.tid b/core/ui/MoreSideBar/All.tid new file mode 100644 index 000000000..caa2b4ef0 --- /dev/null +++ b/core/ui/MoreSideBar/All.tid @@ -0,0 +1,5 @@ +title: $:/core/ui/MoreSideBar/All +tags: $:/tags/MoreSideBar +caption: All + +<$list filter="[!is[system]sort[title]]" itemClass="tw-menu-list-item" template="$:/core/ui/ListItemTemplate"/> diff --git a/core/ui/MoreSideBar/Drafts.tid b/core/ui/MoreSideBar/Drafts.tid new file mode 100644 index 000000000..697e4444e --- /dev/null +++ b/core/ui/MoreSideBar/Drafts.tid @@ -0,0 +1,5 @@ +title: $:/core/ui/MoreSideBar/Drafts +tags: $:/tags/MoreSideBar +caption: Drafts + +<$list filter="[has[draft.of]sort[title]]" itemClass="tw-menu-list-item" template="$:/core/ui/ListItemTemplate"/> diff --git a/core/ui/MoreSideBar/Missing.tid b/core/ui/MoreSideBar/Missing.tid new file mode 100644 index 000000000..5ab441832 --- /dev/null +++ b/core/ui/MoreSideBar/Missing.tid @@ -0,0 +1,5 @@ +title: $:/core/ui/MoreSideBar/Missing +tags: $:/tags/MoreSideBar +caption: Missing + +<$list filter="[is[missing]sort[title]]" itemClass="tw-menu-list-item" template="$:/core/ui/MissingTemplate"/> diff --git a/core/ui/MoreSideBar/Orphans.tid b/core/ui/MoreSideBar/Orphans.tid new file mode 100644 index 000000000..01e9a145a --- /dev/null +++ b/core/ui/MoreSideBar/Orphans.tid @@ -0,0 +1,5 @@ +title: $:/core/ui/MoreSideBar/Orphans +tags: $:/tags/MoreSideBar +caption: Orphans + +<$list filter="[is[orphan]sort[title]]" itemClass="tw-menu-list-item" template="$:/core/ui/ListItemTemplate"/> diff --git a/core/ui/MoreSideBar/Recent.tid b/core/ui/MoreSideBar/Recent.tid new file mode 100644 index 000000000..e43ba1523 --- /dev/null +++ b/core/ui/MoreSideBar/Recent.tid @@ -0,0 +1,5 @@ +title: $:/core/ui/MoreSideBar/Recent +tags: $:/tags/MoreSideBar +caption: Recent + +{{$:/snippets/recentchanges}} diff --git a/core/ui/MoreSideBar/Shadows.tid b/core/ui/MoreSideBar/Shadows.tid new file mode 100644 index 000000000..848e4e98d --- /dev/null +++ b/core/ui/MoreSideBar/Shadows.tid @@ -0,0 +1,5 @@ +title: $:/core/ui/MoreSideBar/Shadows +tags: $:/tags/MoreSideBar +caption: Shadows + +<$list filter="[is[shadow]sort[title]]" itemClass="tw-menu-list-item" template="$:/core/ui/ListItemTemplate"/> diff --git a/core/ui/MoreSideBar/System.tid b/core/ui/MoreSideBar/System.tid new file mode 100644 index 000000000..6705c07f6 --- /dev/null +++ b/core/ui/MoreSideBar/System.tid @@ -0,0 +1,5 @@ +title: $:/core/ui/MoreSideBar/System +tags: $:/tags/MoreSideBar +caption: System + +<$list filter="[is[system]sort[title]]" itemClass="tw-menu-list-item" template="$:/core/ui/ListItemTemplate"/> diff --git a/core/ui/MoreSideBar/Tags.tid b/core/ui/MoreSideBar/Tags.tid new file mode 100644 index 000000000..8a5496fe1 --- /dev/null +++ b/core/ui/MoreSideBar/Tags.tid @@ -0,0 +1,9 @@ +title: $:/core/ui/MoreSideBar/Tags +tags: $:/tags/MoreSideBar +caption: Tags + +<$list filter="[tags[]sort[title]]" itemClass="tw-menu-list-item"> +<$transclude tiddler="$:/core/ui/TagTemplate"/> <$count filter="[is[current]tagging[]]"/> + +---- +{{$:/core/ui/UntaggedTemplate}} <$count filter="[untagged[]!is[system]] -[tags[]]"/> diff --git a/core/ui/MoreSideBar/Types.tid b/core/ui/MoreSideBar/Types.tid new file mode 100644 index 000000000..7c78f01bf --- /dev/null +++ b/core/ui/MoreSideBar/Types.tid @@ -0,0 +1,14 @@ +title: $:/core/ui/MoreSideBar/Types +tags: $:/tags/MoreSideBar +caption: Types + +<$list filter="[!is[system]has[type]each[type]sort[type]]"> +
+<$view field="type"/> +<$list filter="[type{!!type}!is[system]sort[title]]"> +
+<$link to={{!!title}}><$view field="title"/> +
+ +
+ diff --git a/core/ui/SideBar.tid b/core/ui/SideBar.tid index 89e8823b1..e5b352787 100644 --- a/core/ui/SideBar.tid +++ b/core/ui/SideBar.tid @@ -24,28 +24,7 @@ title: $:/core/ui/SideBar <$reveal state="$:/temp/search" type="match" text=""> -
-
<$button type="set" set=<> setTo="openTab" selectedClass="tw-tab-selected">Open<$button type="set" set=<> setTo="recentTab" selectedClass="tw-tab-selected">Recent<$button type="set" set=<> setTo="toolsTab" selectedClass="tw-tab-selected">Tools<$button type="set" set=<> setTo="moreTab" selectedClass="tw-tab-selected">More
-
-
-
-<$reveal type="match" state=<> text="openTab"> -<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" storyview="pop" itemClass="tw-menu-list-item tw-open-tiddler-list"> -<$button message="tw-close-tiddler" class="btn-invisible btn-mini">× <$link to={{!!title}}><$view field="title"/> - -<$button message="tw-close-all-tiddlers" class="btn-invisible btn-mini">close all - -<$reveal type="match" state=<> text="recentTab"> -{{$:/snippets/recentchanges}} - -<$reveal type="match" state=<> text="toolsTab"> -{{$:/core/ui/ToolsPanel}} - -<$reveal type="match" state=<> text="moreTab"> -{{$:/core/ui/MoreSideBar}} - -
-
+<> diff --git a/core/ui/SideBar/More.tid b/core/ui/SideBar/More.tid new file mode 100644 index 000000000..89f3e9a7c --- /dev/null +++ b/core/ui/SideBar/More.tid @@ -0,0 +1,7 @@ +title: $:/core/ui/SideBar/More +tags: $:/tags/SideBar +caption: More + +
+<> +
diff --git a/core/ui/SideBar/Open.tid b/core/ui/SideBar/Open.tid new file mode 100644 index 000000000..d39803b06 --- /dev/null +++ b/core/ui/SideBar/Open.tid @@ -0,0 +1,8 @@ +title: $:/core/ui/SideBar/Open +tags: $:/tags/SideBar +caption: Open + +<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" storyview="pop" itemClass="tw-menu-list-item tw-open-tiddler-list"> +<$button message="tw-close-tiddler" class="btn-invisible btn-mini">× <$link to={{!!title}}><$view field="title"/> + +<$button message="tw-close-all-tiddlers" class="btn-invisible btn-mini">close all diff --git a/core/ui/SideBar/Recent.tid b/core/ui/SideBar/Recent.tid new file mode 100644 index 000000000..47f64f3bf --- /dev/null +++ b/core/ui/SideBar/Recent.tid @@ -0,0 +1,5 @@ +title: $:/core/ui/SideBar/Recent +tags: $:/tags/SideBar +caption: Recent + +{{$:/snippets/recentchanges}} diff --git a/core/ui/ToolsPanel.tid b/core/ui/SideBar/Tools.tid similarity index 74% rename from core/ui/ToolsPanel.tid rename to core/ui/SideBar/Tools.tid index e639cd997..9076de3de 100644 --- a/core/ui/ToolsPanel.tid +++ b/core/ui/SideBar/Tools.tid @@ -1,4 +1,6 @@ -title: $:/core/ui/ToolsPanel +title: $:/core/ui/SideBar/Tools +tags: $:/tags/SideBar +caption: Tools [[Wiki Info|$:/WikiInfo]] diff --git a/core/ui/TiddlerInfo.tid b/core/ui/TiddlerInfo.tid index 118c4e85c..8bf63ddd4 100644 --- a/core/ui/TiddlerInfo.tid +++ b/core/ui/TiddlerInfo.tid @@ -1,24 +1,3 @@ title: $:/core/ui/TiddlerInfo -
<$button type="set" set=<> setTo="refTab" selectedClass="tw-tab-selected">References<$button type="set" set=<> setTo="taggingTab" selectedClass="tw-tab-selected">Tagging<$button type="set" set=<> setTo="listTab" selectedClass="tw-tab-selected">List<$button type="set" set=<> setTo="listedTab" selectedClass="tw-tab-selected">Listed<$button type="set" set=<> setTo="fieldsTab" selectedClass="tw-tab-selected">Fields
-
-
-
-<$reveal type="match" state=<> text="refTab" default="refTab"> -<$list filter="[is[current]backlinks[]sort[title]]" emptyMessage="No tiddlers link to this one" template="$:/core/ui/ListItemTemplate"> - - -<$reveal type="match" state=<> text="taggingTab"> -<$list filter="[is[current]tagging[]]" itemClass="tw-menu-list-item" emptyMessage="No tiddlers are tagged with this one" template="$:/core/ui/ListItemTemplate"/> - -<$reveal type="match" state=<> text="listTab"> -<$list filter="[list{!!title}]" itemClass="tw-menu-list-item" emptyMessage="This tiddler does not have a list" template="$:/core/ui/ListItemTemplate"/> - -<$reveal type="match" state=<> text="listedTab"> -<$list filter="[is[current]listed[]!is[system]]" itemClass="tw-menu-list-item" emptyMessage="This tiddler is not listed by any others" template="$:/core/ui/ListItemTemplate"/> - -<$reveal type="match" state=<> text="fieldsTab"> -<$transclude tiddler="$:/core/ui/TiddlerFields"/> - -
-
+<> diff --git a/core/ui/TiddlerInfo/Fields.tid b/core/ui/TiddlerInfo/Fields.tid new file mode 100644 index 000000000..253887587 --- /dev/null +++ b/core/ui/TiddlerInfo/Fields.tid @@ -0,0 +1,5 @@ +title: $:/core/ui/TiddlerInfo/Fields +tags: $:/tags/TiddlerInfo +caption: Fields + +<$transclude tiddler="$:/core/ui/TiddlerFields"/> diff --git a/core/ui/TiddlerInfo/List.tid b/core/ui/TiddlerInfo/List.tid new file mode 100644 index 000000000..ef4228100 --- /dev/null +++ b/core/ui/TiddlerInfo/List.tid @@ -0,0 +1,5 @@ +title: $:/core/ui/TiddlerInfo/List +tags: $:/tags/TiddlerInfo +caption: List + +<$list filter="[list{!!title}]" itemClass="tw-menu-list-item" emptyMessage="This tiddler does not have a list" template="$:/core/ui/ListItemTemplate"/> diff --git a/core/ui/TiddlerInfo/Listed.tid b/core/ui/TiddlerInfo/Listed.tid new file mode 100644 index 000000000..772ed781c --- /dev/null +++ b/core/ui/TiddlerInfo/Listed.tid @@ -0,0 +1,5 @@ +title: $:/core/ui/TiddlerInfo/Listed +tags: $:/tags/TiddlerInfo +caption: Listed + +<$list filter="[is[current]listed[]!is[system]]" itemClass="tw-menu-list-item" emptyMessage="This tiddler is not listed by any others" template="$:/core/ui/ListItemTemplate"/> diff --git a/core/ui/TiddlerInfo/References.tid b/core/ui/TiddlerInfo/References.tid new file mode 100644 index 000000000..417a1b59d --- /dev/null +++ b/core/ui/TiddlerInfo/References.tid @@ -0,0 +1,6 @@ +title: $:/core/ui/TiddlerInfo/References +tags: $:/tags/TiddlerInfo +caption: References + +<$list filter="[is[current]backlinks[]sort[title]]" emptyMessage="No tiddlers link to this one" template="$:/core/ui/ListItemTemplate"> + diff --git a/core/ui/TiddlerInfo/Tagging.tid b/core/ui/TiddlerInfo/Tagging.tid new file mode 100644 index 000000000..b42fa7f06 --- /dev/null +++ b/core/ui/TiddlerInfo/Tagging.tid @@ -0,0 +1,5 @@ +title: $:/core/ui/TiddlerInfo/Tagging +tags: $:/tags/TiddlerInfo +caption: Tagging + +<$list filter="[is[current]tagging[]]" itemClass="tw-menu-list-item" emptyMessage="No tiddlers are tagged with this one" template="$:/core/ui/ListItemTemplate"/> diff --git a/core/wiki/moreSideBarTabSet.tid b/core/wiki/moreSideBarTabSet.tid index c92c533f1..3724434ae 100644 --- a/core/wiki/moreSideBarTabSet.tid +++ b/core/wiki/moreSideBarTabSet.tid @@ -1,3 +1,3 @@ -title: $:/state/moreSideBarTabSet-{$:/core/ui/MoreSideBar|$:/core/ui/MoreSideBar||}{$:/core/ui/SideBar|$:/core/ui/SideBar||}{$:/core/ui/PageTemplate|$:/core/ui/PageTemplate||} +title: $:/moresidebartab-{$:/core/ui/SideBar|$:/core/ui/SideBar/More||}{$:/core/ui/SideBar|$:/core/ui/SideBar||}{$:/core/ui/PageTemplate|$:/core/ui/PageTemplate||} -tagsTab \ No newline at end of file +$:/core/ui/MoreSideBar/Tags \ No newline at end of file diff --git a/core/wiki/sideBarTabSet.tid b/core/wiki/sideBarTabSet.tid index 7205fc139..12d1d8b3f 100644 --- a/core/wiki/sideBarTabSet.tid +++ b/core/wiki/sideBarTabSet.tid @@ -1,3 +1,3 @@ title: $:/state/sideBarTabSet-{$:/core/ui/SideBar|$:/core/ui/SideBar||}{$:/core/ui/PageTemplate|$:/core/ui/PageTemplate||} -openTab \ No newline at end of file +$:/core/ui/SideBar/Open \ No newline at end of file diff --git a/core/wiki/tags/MoreSideBar.tid b/core/wiki/tags/MoreSideBar.tid new file mode 100644 index 000000000..b7f17dace --- /dev/null +++ b/core/wiki/tags/MoreSideBar.tid @@ -0,0 +1,3 @@ +title: $:/tags/MoreSideBar +list: [[$:/core/ui/MoreSideBar/All]] [[$:/core/ui/MoreSideBar/Recent]] [[$:/core/ui/MoreSideBar/Tags]] [[$:/core/ui/MoreSideBar/Missing]] [[$:/core/ui/MoreSideBar/Drafts]] [[$:/core/ui/MoreSideBar/Orphans]] [[$:/core/ui/MoreSideBar/Types]] [[$:/core/ui/MoreSideBar/System]] [[$:/core/ui/MoreSideBar/Shadows]] + diff --git a/core/wiki/tags/SideBar.tid b/core/wiki/tags/SideBar.tid new file mode 100644 index 000000000..48f8a608e --- /dev/null +++ b/core/wiki/tags/SideBar.tid @@ -0,0 +1,3 @@ +title: $:/tags/SideBar +list: [[$:/core/ui/SideBar/Open]] [[$:/core/ui/SideBar/Recent]] [[$:/core/ui/SideBar/Tools]] [[$:/core/ui/SideBar/More]] + diff --git a/core/wiki/tags/TiddlerInfo.tid b/core/wiki/tags/TiddlerInfo.tid new file mode 100644 index 000000000..910fc96a4 --- /dev/null +++ b/core/wiki/tags/TiddlerInfo.tid @@ -0,0 +1,3 @@ +title: $:/tags/TiddlerInfo +list: [[$:/core/ui/TiddlerInfo/References]] [[$:/core/ui/TiddlerInfo/Tagging]] [[$:/core/ui/TiddlerInfo/List]] [[$:/core/ui/TiddlerInfo/Listed]] [[$:/core/ui/TiddlerInfo/Fields]] + diff --git a/editions/tw5.com/tiddlers/Release 5.0.0alpha13.tid b/editions/tw5.com/tiddlers/Release 5.0.0alpha13.tid index 629403382..ce8d63418 100644 --- a/editions/tw5.com/tiddlers/Release 5.0.0alpha13.tid +++ b/editions/tw5.com/tiddlers/Release 5.0.0alpha13.tid @@ -16,3 +16,10 @@ This release has several bug fixes: * Made the modifier field in the subtitle be a link * Styling improvements for the CodeMirror plugin * Improved the ViewWidget so that it falls back to displaying its content if the field/property is missing or empty +* Extend use of the built-in `<>` macro to the tiddler info panel, the control panel and the sidebar +** This means that you can add new tabs by creating tiddlers with these tags, and optionally a `caption` field for the text of the tab: +*** [[$:/tags/TiddlerInfo]] for tiddler info panel tabs +*** [[$:/tags/ControlPanel]] for control panel tabs +*** [[$:/tags/SideBar]] for sidebar tabs +*** [[$:/tags/MoreSideBar]] for tabs in the "more" sidebar +*** Change the order of tabs by adjusting the `list` field of the corresponding tag tiddler diff --git a/themes/tiddlywiki/snowwhite/base.tid b/themes/tiddlywiki/snowwhite/base.tid index f4d6bc800..d939fdc73 100644 --- a/themes/tiddlywiki/snowwhite/base.tid +++ b/themes/tiddlywiki/snowwhite/base.tid @@ -875,18 +875,18 @@ canvas.tw-edit-bitmapeditor { border-bottom: 1px solid #ececec; } -.tw-sidebar-tab-divider.tw-tab-divider { +.tw-sidebar-lists .tw-tab-divider { border-top: none; height: 1px; <> } -.tw-more-sidebar.tw-tab-set { +.tw-more-sidebar { white-space: nowrap; } @media (min-width: 770px) { - .tw-more-sidebar.tw-tab-set { + .tw-more-sidebar { margin-left: -14px; } } @@ -899,6 +899,16 @@ canvas.tw-edit-bitmapeditor { padding-left: 0; } +.tw-more-sidebar .tw-tab-buttons button { + display: block; + width: 100%; + text-align: right; +} + +.tw-sidebar-lists .tw-more-sidebar .tw-tab-divider { + display: none; +} + .tw-more-sidebar .tw-tab-content { display: inline-block; vertical-align: top; @@ -917,7 +927,7 @@ canvas.tw-edit-bitmapeditor { .tw-more-sidebar .tw-tab-buttons button.tw-tab-selected { background-color: #fff; - <> + <> border: none; }