}
}
+ $("#background .links .bookmark").remove();
+
if (leftLinks) {
this.setLinksInContainer(leftPage, 'left');
}
container.addClass('empty');
}
if (this.fluidbook.settings.bookmark) {
- container.append(this.fluidbook.bookmarks.getBookmarkForPage(page, this.fluidbook.displayOnePage, this.fluidbook.settings.bookmarkPermanentIcon));
+ let b = this.fluidbook.bookmarks.getBookmarkForPage(page, this.fluidbook.displayOnePage, this.fluidbook.settings.bookmarkPermanentIcon);
+ if (this.fluidbook.settings.bookmarkPosition === 'page') {
+ container.append(b);
+ } else {
+ $('#background .links').append(b);
+ }
+
}
},
opacity: 1 !important;
transition: none;
}
+
+ #background .links & {
+ width: @bookmark-corner-size;
+ height: @bookmark-corner-size;
+ background-size: @bookmark-corner-size @bookmark-corner-size;
+ top: @menu-height;
+
+ &.left {
+ left: @bookmark-corner-offset;
+ }
+
+ &.right {
+ right: @bookmark-corner-offset;
+ }
+ }
}
.bookmark.left {