mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
Menubar: Add an optional dropdown for the sidebar tabs
This commit is contained in:
parent
62f8c9353e
commit
061a2c6c94
@ -2,3 +2,4 @@ title: $:/config/plugins/menubar/MenuItems/Visibility/$:/plugins/tiddlywiki/menu
|
|||||||
|
|
||||||
pagecontrols: hide
|
pagecontrols: hide
|
||||||
server: hide
|
server: hide
|
||||||
|
sidebar: hide
|
11
plugins/tiddlywiki/menubar/items/sidebar.tid
Normal file
11
plugins/tiddlywiki/menubar/items/sidebar.tid
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
title: $:/plugins/tiddlywiki/menubar/items/sidebar
|
||||||
|
caption: Sidebar
|
||||||
|
description: Sidebar
|
||||||
|
is-dropdown: yes
|
||||||
|
tags: $:/tags/MenuBar
|
||||||
|
|
||||||
|
<div class="tc-popup-keep tc-menubar-dropdown-sidebar">
|
||||||
|
|
||||||
|
<$transclude tiddler="$:/core/ui/SideBarSegments/tabs" mode="inline"/>
|
||||||
|
|
||||||
|
</div>
|
@ -139,6 +139,17 @@ nav.tc-menubar .tc-drop-down ol {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nav.tc-menubar .tc-drop-down .tc-menubar-dropdown-sidebar a,
|
||||||
|
nav.tc-menubar .tc-drop-down .tc-menubar-dropdown-sidebar button {
|
||||||
|
display: inline;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav.tc-menubar .tc-more-sidebar > .tc-tab-set > .tc-tab-buttons > button {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: {{$:/config/plugins/menubar/breakpoint}}) {
|
@media (max-width: {{$:/config/plugins/menubar/breakpoint}}) {
|
||||||
|
|
||||||
.tc-menubar-wide {
|
.tc-menubar-wide {
|
||||||
|
Loading…
Reference in New Issue
Block a user