1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 00:50:28 +00:00

Fix up the new import mechanism

This commit is contained in:
Jeremy Ruston 2013-10-25 21:16:53 +01:00
parent 75231fec39
commit 46bdc52261
4 changed files with 6 additions and 18 deletions

View File

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

View File

@ -12,7 +12,7 @@ title: $:/core/ui/ToolsPanel
---
Import: <$import class="tw-drop-zone"/>
Import: <$browse/>
---

View File

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

View File

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