mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-07-03 02:23:00 +00:00
parent
89fd8871b6
commit
aefe87de7f
@ -35,7 +35,6 @@ var ZoominListView = function(listWidget) {
|
|||||||
} else {
|
} else {
|
||||||
self.currentTiddlerDomNode = domNode;
|
self.currentTiddlerDomNode = domNode;
|
||||||
}
|
}
|
||||||
$tw.utils.addClass(domNode,"tc-storyview-zoomin-tiddler");
|
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -52,7 +51,6 @@ ZoominListView.prototype.navigateTo = function(historyInfo) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Make the new tiddler be position absolute and visible so that we can measure it
|
// Make the new tiddler be position absolute and visible so that we can measure it
|
||||||
$tw.utils.addClass(targetElement,"tc-storyview-zoomin-tiddler");
|
|
||||||
$tw.utils.setStyle(targetElement,[
|
$tw.utils.setStyle(targetElement,[
|
||||||
{display: "block"},
|
{display: "block"},
|
||||||
{transformOrigin: "0 0"},
|
{transformOrigin: "0 0"},
|
||||||
@ -134,7 +132,6 @@ ZoominListView.prototype.insert = function(widget) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Make the newly inserted node position absolute and hidden
|
// Make the newly inserted node position absolute and hidden
|
||||||
$tw.utils.addClass(targetElement,"tc-storyview-zoomin-tiddler");
|
|
||||||
$tw.utils.setStyle(targetElement,[
|
$tw.utils.setStyle(targetElement,[
|
||||||
{display: "none"}
|
{display: "none"}
|
||||||
]);
|
]);
|
||||||
@ -157,7 +154,6 @@ ZoominListView.prototype.remove = function(widget) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Set up the tiddler that is being closed
|
// Set up the tiddler that is being closed
|
||||||
$tw.utils.addClass(targetElement,"tc-storyview-zoomin-tiddler");
|
|
||||||
$tw.utils.setStyle(targetElement,[
|
$tw.utils.setStyle(targetElement,[
|
||||||
{display: "block"},
|
{display: "block"},
|
||||||
{transformOrigin: "50% 50%"},
|
{transformOrigin: "50% 50%"},
|
||||||
@ -173,7 +169,6 @@ ZoominListView.prototype.remove = function(widget) {
|
|||||||
var toWidgetDomNode = toWidget && toWidget.findFirstDomNode();
|
var toWidgetDomNode = toWidget && toWidget.findFirstDomNode();
|
||||||
// Set up the tiddler we're moving back in
|
// Set up the tiddler we're moving back in
|
||||||
if(toWidgetDomNode) {
|
if(toWidgetDomNode) {
|
||||||
$tw.utils.addClass(toWidgetDomNode,"tc-storyview-zoomin-tiddler");
|
|
||||||
$tw.utils.setStyle(toWidgetDomNode,[
|
$tw.utils.setStyle(toWidgetDomNode,[
|
||||||
{display: "block"},
|
{display: "block"},
|
||||||
{transformOrigin: "50% 50%"},
|
{transformOrigin: "50% 50%"},
|
||||||
|
@ -1445,7 +1445,7 @@ html body.tc-body.tc-single-tiddler-window {
|
|||||||
width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth}};
|
width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth}};
|
||||||
}
|
}
|
||||||
|
|
||||||
body.tc-body .tc-storyview-zoomin-tiddler {
|
body.tc-body .tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
width: calc(100% - 42px);
|
width: calc(100% - 42px);
|
||||||
}
|
}
|
||||||
@ -1457,7 +1457,7 @@ html body.tc-body.tc-single-tiddler-window {
|
|||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.tc-body .tc-storyview-zoomin-tiddler {
|
body.tc-body .tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
width: calc(100% - 84px);
|
width: calc(100% - 84px);
|
||||||
}
|
}
|
||||||
@ -1716,7 +1716,7 @@ html body.tc-body.tc-single-tiddler-window {
|
|||||||
margin-right: .3em;
|
margin-right: .3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tc-storyview-zoomin-tiddler {
|
.tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -1724,7 +1724,7 @@ html body.tc-body.tc-single-tiddler-window {
|
|||||||
|
|
||||||
@media (min-width: <<sidebarbreakpoint>>) {
|
@media (min-width: <<sidebarbreakpoint>>) {
|
||||||
|
|
||||||
.tc-storyview-zoomin-tiddler {
|
.tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {
|
||||||
width: calc(100% - 84px);
|
width: calc(100% - 84px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user