mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
Menubar tweaks
* Fix old references to "top menu" to the new "menu bar" terminology * Use vanilla breakpoint for responsive adjustment to menu bar padding
This commit is contained in:
parent
e8aafdfb66
commit
5644c2ac7b
@ -1,10 +1,10 @@
|
|||||||
title: $:/plugins/tiddlywiki/menubar/config
|
title: $:/plugins/tiddlywiki/menubar/config
|
||||||
tags: $:/tags/ControlPanel/Toolbars
|
tags: $:/tags/ControlPanel/Toolbars
|
||||||
caption: Top Menu Bar
|
caption: Menu Bar
|
||||||
|
|
||||||
\define config-base() $:/config/plugins/menubar/MenuItems/Visibility/
|
\define config-base() $:/config/plugins/menubar/MenuItems/Visibility/
|
||||||
|
|
||||||
! Top Menu Configuration
|
! Menu Bar Configuration
|
||||||
|
|
||||||
!! Menu Items
|
!! Menu Items
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ description: Search
|
|||||||
caption: Search
|
caption: Search
|
||||||
tags: $:/tags/MenuBar
|
tags: $:/tags/MenuBar
|
||||||
|
|
||||||
<$set name="searchTiddler" value="$:/temp/topmenusearch">
|
<$set name="searchTiddler" value="$:/temp/menubarsearch">
|
||||||
|
|
||||||
<span style="margin: 0 0.5em;">
|
<span style="margin: 0 0.5em;">
|
||||||
|
|
||||||
|
@ -26,6 +26,14 @@ nav.tc-menubar ul.tc-menubar-list {
|
|||||||
<<box-shadow "1px 1px 5px rgba(0, 0, 0, 0.3)">>
|
<<box-shadow "1px 1px 5px rgba(0, 0, 0, 0.3)">>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {
|
||||||
|
|
||||||
|
html nav.tc-menubar ul.tc-menubar-list {
|
||||||
|
padding: 0 0 0 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
nav.tc-menubar li.tc-menubar-item {
|
nav.tc-menubar li.tc-menubar-item {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@ -137,10 +145,6 @@ nav.tc-menubar .tc-drop-down ol {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
html nav.tc-menubar ul.tc-menubar-list {
|
|
||||||
padding: 0 0 0 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: <<breakpoint-plus-one>>) {
|
@media (min-width: <<breakpoint-plus-one>>) {
|
||||||
|
Loading…
Reference in New Issue
Block a user