OcttKB Cross-Repo Sync (HTML to Raw)

This commit is contained in:
2024-01-29 17:14:51 +00:00
parent a4cb4417d6
commit c6b7dd6f53
33 changed files with 354 additions and 53 deletions

View File

@ -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>

View File

@ -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>

View 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>