var left = true, right = true;
if (this.displayOnePage) {
- right = false;
+ right = true;
} else {
if ((page <= 1 && this.l10n.dir == 'ltr') || (page >= this.datas.pages && this.l10n.dir == 'rtl')) {
left = false;
background-size: 100% @shadow-height;
height: @shadow-height;
+ .portrait &{
+ opacity: @shadow-opacity/2;
+ }
+
&.left {
left: -12px;
width: @shadow-width-left;
}
&.right {
- display: none;
background-image: url("../images/shadows/back/bottom-right.png");
width: @shadow-width-right;
}
&.side {
-
top: 0;
width: 35px;
height: unit(@book-page-height, px);
height: unit(@book-page-height, px);
pointer-events: none;
- .portrait & {
- display: none;
+ .portrait &{
+ width: unit(@book-page-width, px);
}
@edge-scale: 1;