mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 17:10:29 +00:00
Fix up the new import mechanism
This commit is contained in:
parent
75231fec39
commit
46bdc52261
@ -3,7 +3,7 @@ title: $:/core/ui/PageTemplate
|
||||
<!-- The navigator catches navigation events and updates the story and history tiddlers -->
|
||||
<$navigator story="$:/StoryList" history="$:/HistoryList">
|
||||
|
||||
<$import browse="no" class="tw-drop-zone-fullscreen">
|
||||
<$dropzone>
|
||||
|
||||
<!-- The optional topbar -->
|
||||
{{$:/TopSideBar}}
|
||||
@ -31,7 +31,7 @@ title: $:/core/ui/PageTemplate
|
||||
<!-- End of story river -->
|
||||
</section>
|
||||
|
||||
</$import>
|
||||
</$dropzone>
|
||||
|
||||
</$navigator>
|
||||
|
||||
|
@ -12,7 +12,7 @@ title: $:/core/ui/ToolsPanel
|
||||
|
||||
---
|
||||
|
||||
Import: <$import class="tw-drop-zone"/>
|
||||
Import: <$browse/>
|
||||
|
||||
---
|
||||
|
||||
|
@ -15,7 +15,7 @@ title: $:/ControlPanel
|
||||
|
||||
''Add plugins and tiddlers to your ~TiddlyWiki''
|
||||
|
||||
:Browse for files on your computer to import their contents (the individual tiddlers within TiddlyWiki HTML files are imported separately). <$import class="tw-drop-zone"/>
|
||||
:Browse for files on your computer to import their contents (the individual tiddlers within TiddlyWiki HTML files are imported separately). <$browse/>
|
||||
|
||||
''Visual appearance''
|
||||
|
||||
|
@ -207,23 +207,11 @@ a.tw-tiddlylink-external {
|
||||
background-color: {{$:/themes/tiddlywiki/snowwhite/colourmappings##pagebackground}};
|
||||
}
|
||||
|
||||
.tw-import {
|
||||
.tw-dropzone {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.tw-drop-zone-fullscreen.tw-dragover:before {
|
||||
z-index: 10000;
|
||||
display: block;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background: rgba(0,200,0,0.7);
|
||||
text-align: center;
|
||||
content: "Drop here";
|
||||
}
|
||||
|
||||
.tw-drop-zone.tw-dragover:before {
|
||||
.tw-dropzone.tw-dragover:before {
|
||||
z-index: 10000;
|
||||
display: block;
|
||||
position: absolute;
|
||||
|
Loading…
Reference in New Issue
Block a user