bh = this.fluidbook.loader.getPageDimensions(this.fluidbook.currentPage, width).height;
}
- $('#pages .mf-nav').css('top', bh);
+ var nav = $('#pages .mf-nav');
+ nav.css('top', bh);
+ if (480 > width) {
+ nav.css('transform', 'scale(' + (width / 480) + ')');
+ }
+
+
$("#links,#pages").css({height: bh, maxHeight: bh});
var sbh = bh / scale;
$("#searchHighlights").css({height: sbh, maxHeight: sbh})
}
.mf-nav {
- @mfscale: 0.75;
-
position: absolute;
left: 0;
font-size: 16px;
color: @page-number-color;
font-weight: 600;
transition: opacity .15s;
+ min-width: 480px;
+ transform-origin: 0 0 0;
&.hiddenzoom {
opacity: 0 !important;
top: 3em;
}
}
-
-
}
#mf-slider {