[
    {
        "author": "linonetwo",
        "dependents": "",
        "description": "Vanilla style launcher, with Metro style square button and large icon.",
        "list": "readme tree",
        "name": "Simple Layout Launcher",
        "plugin-type": "plugin",
        "stability": "STABILITY_2_STABLE",
        "text": "{\"tiddlers\":{\"$:/plugins/linonetwo/simple-layout-launcher/language/en-GB/Readme\":{\"title\":\"$:/plugins/linonetwo/simple-layout-launcher/language/en-GB/Readme\",\"text\":\"\\\\procedure lingo-base() $:/plugins/linonetwo/simple-layout-launcher/language/\\n\\n! <<lingo Name>>\\n\\n<<lingo Description>>\\n\\n!! Procedure\\n\\nThis plugin provides a simple layout switcher which can be used with this procedure call:\\n\\n```tid\\n<<simple-layout-launcher>>\\n```\\n\\n<<simple-layout-launcher>>\"},\"$:/plugins/linonetwo/simple-layout-launcher/language/en-GB/Name\":{\"title\":\"$:/plugins/linonetwo/simple-layout-launcher/language/en-GB/Name\",\"text\":\"Simple Layout Launcher\"},\"$:/plugins/linonetwo/simple-layout-launcher/language/en-GB/ShortName\":{\"title\":\"$:/plugins/linonetwo/simple-layout-launcher/language/en-GB/ShortName\",\"text\":\"SLL\"},\"$:/plugins/linonetwo/simple-layout-launcher/language/en-GB/Description\":{\"title\":\"$:/plugins/linonetwo/simple-layout-launcher/language/en-GB/Description\",\"text\":\"Vanilla style layout launcher, with Metro style square button and large icon.\"},\"$:/plugins/linonetwo/simple-layout-launcher/language/zh-Hans/Readme\":{\"title\":\"$:/plugins/linonetwo/simple-layout-launcher/language/zh-Hans/Readme\",\"text\":\"\\\\procedure lingo-base() $:/plugins/linonetwo/simple-layout-launcher/language/\\n\\n! <<lingo Name>>\\n\\n<<lingo Description>>\\n\\n!! 过程\\n\\n本插件提供了一个简单的布局切换器，它可以通过这个过程调用来使用：\\n\\n```tid\\n<<simple-layout-launcher>>\\n```\\n\\n<<simple-layout-launcher>>\"},\"$:/plugins/linonetwo/simple-layout-launcher/language/zh-Hans/Name\":{\"title\":\"$:/plugins/linonetwo/simple-layout-launcher/language/zh-Hans/Name\",\"text\":\"简易布局启动器\"},\"$:/plugins/linonetwo/simple-layout-launcher/language/zh-Hans/ShortName\":{\"title\":\"$:/plugins/linonetwo/simple-layout-launcher/language/zh-Hans/ShortName\",\"text\":\"简布局\"},\"$:/plugins/linonetwo/simple-layout-launcher/language/zh-Hans/Description\":{\"title\":\"$:/plugins/linonetwo/simple-layout-launcher/language/zh-Hans/Description\",\"text\":\"原生风格的布局启动器，带有地铁风格的方形按钮和大图标。\"},\"$:/snippets/LayoutSwitcher\":{\"title\":\"$:/snippets/LayoutSwitcher\",\"tags\":\"$:/tags/ControlPanel/Appearance\",\"caption\":\"{{$:/language/ControlPanel/LayoutSwitcher/Caption}}\",\"text\":\"<<simple-layout-launcher>>\"},\"$:/plugins/linonetwo/simple-layout-launcher/readme\":{\"title\":\"$:/plugins/linonetwo/simple-layout-launcher/readme\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\procedure lingo-base() $:/plugins/linonetwo/simple-layout-launcher/language/\\n\\n<<lingo Readme>>\\n\"},\"$:/plugins/linonetwo/simple-layout-launcher/sidebar\":{\"title\":\"$:/plugins/linonetwo/simple-layout-launcher/sidebar\",\"tags\":\"$:/tags/SideBar\",\"caption\":\"<<lingo ShortName $:/plugins/linonetwo/simple-layout-launcher/language/>>\",\"text\":\"\\\\procedure lingo-base() $:/plugins/linonetwo/simple-layout-launcher/language/\\n\\n!! <<lingo Name>>\\n\\n<div class=\\\"simple-layout-launcher-sidebar\\\">\\n  <<simple-layout-launcher>>\\n</div>\"},\"$:/plugins/linonetwo/simple-layout-launcher/simple-layout-launcher-layout-image\":{\"title\":\"$:/plugins/linonetwo/simple-layout-launcher/simple-layout-launcher-layout-image\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n<svg width=<<size>> height=<<size>> class=\\\"tc-image-linonetwo-simple-layout tc-image-button\\\" viewBox=\\\"0 0 24 24\\\">\\n  <path d=\\\"M 4 3 C 4.552 3 5 3.448 5 4 L 5 20 C 5 20.552 4.552 21 4 21 C 3.448 21 3 20.552 3 20 L 3 4 C 3 3.448 3.448 3 4 3 Z\\\" style=\\\"stroke: none; fill-rule: evenodd;\\\"/>\\n  <path d=\\\"M 10 8 L 18 8 C 18.757 8.044 19.633 8.391 20.121 8.879 C 20.609 9.367 20.956 10.243 21 11 L 21 13 C 20.956 13.757 20.609 14.633 20.121 15.121 C 19.633 15.609 18.757 15.956 18 16 L 10 16 C 9.243 15.956 8.367 15.609 7.879 15.121 C 7.391 14.633 7.044 13.757 7 13 L 7 11 C 7.044 10.243 7.391 9.367 7.879 8.879 C 8.367 8.391 9.243 8.044 10 8 Z M 9.293 10.293 C 9.057 10.529 8.956 10.652 9 11 L 9 13 C 8.956 13.348 9.057 13.471 9.293 13.707 C 9.529 13.943 9.652 14.044 10 14 L 18 14 C 18.348 14.044 18.471 13.943 18.707 13.707 C 18.943 13.471 19.044 13.348 19 13 L 19 11 C 19.044 10.652 18.943 10.529 18.707 10.293 C 18.471 10.057 18.348 9.956 18 10 L 10 10 C 9.652 9.956 9.529 10.057 9.293 10.293 Z\\\" style=\\\"stroke: none; fill-rule: evenodd;\\\"/>\\n</svg>\"},\"$:/plugins/linonetwo/simple-layout-launcher/simple-layout-launcher-layout\":{\"title\":\"$:/plugins/linonetwo/simple-layout-launcher/simple-layout-launcher-layout\",\"name\":\"<<lingo Name $:/plugins/linonetwo/simple-layout-launcher/language/>>\",\"icon\":\"$:/plugins/linonetwo/simple-layout-launcher/simple-layout-launcher-layout-image\",\"description\":\"<<lingo Description $:/plugins/linonetwo/simple-layout-launcher/language/>>\",\"tags\":\"$:/tags/Layout\",\"text\":\"\\\\whitespace trim\\n\\\\import [subfilter{$:/core/config/GlobalImportFilter}]\\n\\\\define containerClasses()\\ntc-page-container tc-language-$(languageTitle)$ simple-layout-launcher-container\\n\\\\end\\n\\\\procedure redirected-navigate-actions()\\n  <$action-setfield $tiddler=\\\"$:/layout\\\" text=\\\"\\\" $timestamp=\\\"no\\\" />\\n  <$action-navigate $to=<<event-navigateTo>> $scroll=\\\"yes\\\" />\\n\\\\end\\n\\n<$navigator story=\\\"$:/StoryList\\\" history=\\\"$:/HistoryList\\\" openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}} relinkOnRename={{$:/config/RelinkOnRename}}>\\n\\t<$messagecatcher $tm-navigate=<<redirected-navigate-actions>>>\\n\\t\\t{{$:/core/ui/CommandPaletteTemplate}}\\n\\t\\t<div class=<<containerClasses>>>\\n\\t\\t\\t<div class=\\\"linonetwo-simple-layout-launcher-layout-container\\\">\\n\\t\\t\\t\\t<<simple-layout-launcher>>\\n\\t\\t\\t</div>\\n\\t\\t</div>\\n\\t</$messagecatcher>\\n</$navigator>\\n\"},\"$:/plugins/linonetwo/simple-layout-launcher/simple-layout-launcher.css\":{\"title\":\"$:/plugins/linonetwo/simple-layout-launcher/simple-layout-launcher.css\",\"text\":\".simple-layout-launcher-layout-container{width:100%;height:100%}.linonetwo-simple-layout-launcher{display:flex;flex-direction:row;width:100%;flex-wrap:wrap}.linonetwo-simple-layout-launcher-item{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;height:150px;aspect-ratio:1;padding:5px;margin:5px}@media (max-width:450px){.tc-modal-body:has(.linonetwo-simple-layout-launcher){padding:0}.linonetwo-simple-layout-launcher-item{height:100px}}@media (max-width:275px){.linonetwo-simple-layout-launcher-item{height:80px}}.linonetwo-simple-layout-launcher-title{display:flex;flex-direction:row;justify-content:center;align-items:center;width:100%;font-size:1.2em;height:2.4em}.linonetwo-simple-layout-launcher-icon{width:70%;aspect-ratio:1}.linonetwo-simple-layout-launcher-icon svg{width:100%;height:100%}.linonetwo-simple-layout-launcher-description{visibility:hidden;opacity:0;position:absolute;top:0;left:0;width:150px;transition:visibility,opacity .3s linear}.linonetwo-simple-layout-launcher-item:hover .linonetwo-simple-layout-launcher-description{visibility:visible;opacity:1}.linonetwo-simple-layout-launcher-item a{text-decoration:none}\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/css\"},\"$:/plugins/linonetwo/simple-layout-launcher/simple-layout-launcher.css.variable\":{\"title\":\"$:/plugins/linonetwo/simple-layout-launcher/simple-layout-launcher.css.variable\",\"tags\":\"$:/tags/Stylesheet\",\"text\":\"\\\\import [[$:/themes/tiddlywiki/vanilla/base]]\\n\\n.linonetwo-simple-layout-launcher-item:hover .linonetwo-simple-layout-launcher-description {\\n\\tbackground: <<colour tiddler-info-background>>;\\n}\\n\\n/** Desktop, center it and add padding */\\n@media (min-width: <<sidebarbreakpoint>>) {\\n\\t.linonetwo-simple-layout-launcher-layout-container {\\n\\t\\tpadding: 100px;\\n\\t}\\n\\t.linonetwo-simple-layout-launcher-layout-container .linonetwo-simple-layout-launcher {\\n\\t\\tjustify-content: center;\\n\\t}\\n}\\n\\n.simple-layout-launcher-sidebar a {\\n\\tfill: <<colour sidebar-tiddler-link-foreground>>;\\n}\\n.simple-layout-launcher-sidebar a:hover {\\n\\tfill: <<colour sidebar-tiddler-link-foreground-hover>>;\\n}\\n\\n/** Mobile layout switcher, model is small can't change, so make item width 100% */\\n@media (max-width: <<sidebarbreakpoint>>) {\\n\\t.tc-modal:has(.tc-modal-body):has(div):has(p):has(.linonetwo-simple-layout-launcher) {\\n\\t\\twidth: 90%;\\n\\t}\\n}\\n\"},\"$:/plugins/linonetwo/simple-layout-launcher/simple-layout-launcher\":{\"title\":\"$:/plugins/linonetwo/simple-layout-launcher/simple-layout-launcher\",\"tags\":\"$:/tags/Global\",\"text\":\"\\\\procedure on-click()\\n<!-- Close model, similar to click close button. -->\\n<$action-sendmessage $message=\\\"tm-close-tiddler\\\" />\\n\\\\end\\n\\n\\\\procedure simple-layout-launcher()\\n\\t\\\\whitespace trim\\n\\t<$linkcatcher to=\\\"$:/layout\\\" actions=<<on-click>> >\\n\\t\\t<div class=\\\"linonetwo-simple-layout-launcher\\\">\\n\\t\\t\\t<$list filter=\\\"[[$:/core/ui/PageTemplate]] [all[tiddlers+shadows]tag[$:/tags/Layout]]\\\">\\n\\t\\t\\t\\t<$set name=\\\"chosen-cls\\\" filter=\\\"[all[current]compare:eq{$:/layout}]\\\" value=\\\"linonetwo-simple-layout-launcher-item tc-chosen\\\" emptyValue=\\\"linonetwo-simple-layout-launcher-item\\\">\\n\\t\\t\\t\\t\\t<$link to={{!!title}}>\\n\\t\\t\\t\\t\\t\\t<div class=<<chosen-cls>>>\\n\\t\\t\\t\\t\\t\\t\\t<span class=\\\"linonetwo-simple-layout-launcher-icon\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<$transclude tiddler={{{ [<currentTiddler>get[icon]] }}}/>\\n\\t\\t\\t\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t\\t\\t\\t<span class=\\\"linonetwo-simple-layout-launcher-title\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<$transclude field=\\\"name\\\"/>\\n\\t\\t\\t\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t\\t\\t\\t<span class=\\\"linonetwo-simple-layout-launcher-description\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<$transclude field=\\\"description\\\"/>\\n\\t\\t\\t\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t</$link>\\n\\t\\t\\t\\t</$set>\\n\\t\\t\\t</$list>\\n\\t\\t</div>\\n\\t</$linkcatcher>\\n\\\\end\"},\"$:/plugins/linonetwo/simple-layout-launcher/tree\":{\"title\":\"$:/plugins/linonetwo/simple-layout-launcher/tree\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<<tree prefix:\\\"$:/plugins/linonetwo/simple-layout-launcher/\\\">>\"}}}",
        "title": "$:/plugins/linonetwo/simple-layout-launcher",
        "type": "application/json",
        "version": "0.6.1",
        "Modern.TiddlyDev#SHA256-Hashed": "c2e2be12b053d6feed89e3bdc5ebcec159c62b72cf394b66efc33d0f30454f19"
    }
]