this.fw = this.bookScale * this.fww;
this.fh = this.bookScale * this.fhh;
- this.resizeBook();
-
// Hack to fix #2552
if (this.fluidbook.support.iOS && this.fluidbook.pagetransitions.getTransitionType() === 'flip3d') {
// $('#fluidbook').css('transform', 'translate3d(0,0,-1px) scale(' + this.bookScale + ',' + this.bookScale + ')');
}
+ this.resizeBook();
if (this.fluidbook.mobilefirst.enabled) {
this.fluidbook.mobilefirst.resize();
}
+ this.fluidbook.loader.renderTextsCanvas();
+
this.centerOffset = this.fw / 4;
this.fluidbook.pagetransitions.centerBook();
$(p).find('.doublePage').css(css);
this.resizeLinks();
- this.fluidbook.loader.renderTextsCanvas();
+
},
resizeLinks: function () {
- $('#links,.clinks,.ctlinks,#searchHighlights').css({
+ $('#links .container,.clinks,.ctlinks,#searchHighlights').css({
transform: 'scale(' + this.bookScale + ')',
- transformOrigin: '0 0'
});
},
height: @book-page-height;
&.rightContainer {
- left: @book-page-width;
-
+ left: 50%;
.mobilefirst & {
left: 0;
}
&.z {
display: none;
+
.zoomed & {
display: block;
}
@book-page-width-double: @book-page-width*2;
#links, #searchHighlights {
- width: @book-page-width-double;
- max-width: @book-page-width-double;
- height: @book-page-height;
- max-height: @book-page-height;
-
- .mobilefirst & {
- width: 100%;
- max-width: 100%;
- }
+ width: 100%;
+ max-width: 100%;
+ height: 100%;
+ max-height: 100%;
}
.doublePage, #pages {
max-width: 100%;
height: 100%;
max-height: 100%;
-
- .mobilefirst & {
- width: 100%;
- max-width: 100%;
- }
}
.landscape {
}
#links.right {
- left: -@book-page-width;
+ left: -50%;
}
#currentDoublePage {
background-color: rgba(0, 0, 0, 0.001);
}
+#links, #links .container, .clinks, .ctlinks, #searchHighlights {
+ transform-origin: 0 0 0;
+}
+
.rtl .portrait #links {
.leftContainer {
left: 0;