mirror of
https://gitlab.com/octtspacc/OcttKB
synced 2025-06-06 00:29:12 +02:00
OcttKB Cross-Repo Sync (HTML to Raw)
This commit is contained in:
@ -0,0 +1,13 @@
|
||||
created: 20240129160009781
|
||||
creator: Octt
|
||||
list-before: $:/core/ui/Buttons/more-page-actions
|
||||
modified: 20240129165212023
|
||||
modifier: Octt
|
||||
tags: $:/tags/PageControls
|
||||
title: $:/Apps/MagicBox/Buttons/Open-MagicBox
|
||||
|
||||
<$button tooltip="Open MagicBox" class="tc-btn-invisible">
|
||||
🪟️
|
||||
<!--<$action-navigate $to="$:/Apps/MagicBox/Overlay"/>-->
|
||||
{{$:/Apps/MagicBox/Shortcuts/Open-MagicBox}}
|
||||
</$button>
|
@ -0,0 +1,13 @@
|
||||
created: 20240129163942191
|
||||
creator: Octt
|
||||
key: ((Open-MagicBox))
|
||||
modified: 20240129170319526
|
||||
modifier: Octt
|
||||
tags: $:/tags/KeyboardShortcut
|
||||
title: $:/Apps/MagicBox/Shortcuts/Open-MagicBox
|
||||
|
||||
\whitespace trim
|
||||
<$navigator story="$:/StoryList" history="$:/HistoryList">
|
||||
<$action-navigate $to="$:/Apps/MagicBox/Overlay" $scroll="yes"/>
|
||||
<!--<$action-sendmessage $message="tm-focus-selector" $param="""[data-tiddler-title="$:/Apps/MagicBox/Overlay"] ._input""" preventScroll="true"/>-->
|
||||
</$navigator>
|
41
Wiki-OcttKB/tiddlers/System/Apps/MagicBox/_Overlay.tid
Normal file
41
Wiki-OcttKB/tiddlers/System/Apps/MagicBox/_Overlay.tid
Normal file
@ -0,0 +1,41 @@
|
||||
created: 20240129145705629
|
||||
creator: Octt
|
||||
modified: 20240129161333542
|
||||
modifier: Octt
|
||||
tags:
|
||||
title: $:/Apps/MagicBox/Overlay
|
||||
|
||||
\define @thisOverlay() section.tc-story-river > div.tc-tiddler-frame.tc-tiddler-view-frame[data-tiddler-title="<$text text=<<currentTiddler>>/>"]
|
||||
<style>
|
||||
<<@thisOverlay>> {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 9999;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
overflow-y: auto;
|
||||
}
|
||||
<<@thisOverlay>> div.tc-tiddler-title,
|
||||
<<@thisOverlay>> div.tc-titlebar {
|
||||
background: none;
|
||||
height: 0;
|
||||
}
|
||||
<<@thisOverlay>> .tc-tiddler-controls button {
|
||||
display: none;
|
||||
}
|
||||
<<@thisOverlay>> .tc-tiddler-controls button[class*="tc-btn-%24%3A%2Fcore%2Fui%2FButtons%2Fclose"] {
|
||||
display: revert;
|
||||
position: fixed;
|
||||
top: 0px;
|
||||
right: 8px;
|
||||
}
|
||||
<<@thisOverlay>> .View-Breadcrumbs,
|
||||
<<@thisOverlay>> div.OcttKB-i18n,
|
||||
<<@thisOverlay>> div.tc-subtitle {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
<$set name=closeOnChoose value=<<currentTiddler>>>
|
||||
{{$:/Apps/MagicBox}}
|
||||
</$set>
|
Reference in New Issue
Block a user