<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
<symbol id="interface-loader" viewBox="0 0 48 48">
<circle cx="24" cy="24" r="23"></circle>
- <circle class="animate" cx="24" cy="24" fill="none" stroke="currentColor" stroke-width="3" r="16" stroke-dasharray="80 80"
+ <circle class="animate" cx="24" cy="24" fill="none" stroke="currentColor" stroke-width="3" r="16"
+ stroke-dasharray="80 80"
transform="rotate(0 24 24)">
</circle>
</symbol>
<rect x="16.5" y="23.5" class="st0" width="17" height="2.9"/>
</symbol>
<symbol id="interface-plus" viewBox="0 0 50 50">
- <polygon class="st0" points="33.5,23.5 26.5,23.5 26.5,16.5 23.5,16.5 23.5,23.5 16.5,23.5 16.5,26.5 23.5,26.5 23.5,33.5 26.5,33.5 26.5,26.5 33.5,26.5 "/>
+ <polygon class="st0"
+ points="33.5,23.5 26.5,23.5 26.5,16.5 23.5,16.5 23.5,23.5 16.5,23.5 16.5,26.5 23.5,26.5 23.5,33.5 26.5,33.5 26.5,26.5 33.5,26.5 "/>
+ </symbol>
+ <symbol id="bookmark-corner" viewBox="0 0 50 50">
+ <path fill="currentColor" stroke="currentColor" d="M20.4,29.512c-0.213,0.21-0.488,0.356-0.799,0.407c-0.629,0.102-1.251-0.213-1.542-0.779l-3.212-6.252
+ l-7.155,1.092c-0.629,0.096-1.249-0.225-1.535-0.793s-0.174-1.256,0.277-1.704l5.094-5.055l-3.17-6.178
+ C8.067,9.682,8.182,8.997,8.635,8.547c0.002-0.002,0.003-0.003,0.005-0.005c0.451-0.447,1.131-0.563,1.697-0.272l6.236,3.161
+ l5.052-5.02c0,0,0,0,0,0c0.524-0.446,1.112-0.53,1.678-0.242c0.565,0.288,0.871,0.919,0.773,1.546l-1.094,7.029l6.313,3.243
+ c0.567,0.291,0.88,0.916,0.778,1.545c-0.102,0.63-0.6,1.122-1.23,1.219l-6.959,1.063l-1.065,6.879
+ C20.77,29.011,20.619,29.296,20.4,29.512z"/>
+ <path fill="$bookmark-color" d="M49.292,24.43L25.636,0.71C25.182,0.255,24.566,0,23.925,0H2.406C1.069,0,0,1.086,0,2.426v21.038
+ c0,0.641,0.246,1.256,0.697,1.711l23.915,24.11C25.075,49.752,25.694,50,26.325,50c0.312,0,0.624-0.061,0.922-0.184
+ c0.906-0.374,1.497-1.045,1.497-2.026L28.75,29h18.831c0.979,0,1.86-0.805,2.234-1.711C50.19,26.382,49.983,25.124,49.292,24.43z
+ M30.074,19.532c-0.102,0.63-0.6,1.122-1.23,1.219l-6.959,1.063l-1.065,6.879c-0.05,0.318-0.2,0.604-0.419,0.819
+ c-0.213,0.21-0.488,0.356-0.799,0.407c-0.629,0.102-1.251-0.213-1.542-0.779l-3.212-6.252l-7.155,1.092
+ c-0.629,0.096-1.249-0.225-1.535-0.793s-0.174-1.256,0.277-1.704l5.094-5.055l-3.17-6.178C8.067,9.682,8.182,8.997,8.635,8.547
+ c0.002-0.002,0.003-0.003,0.005-0.005c0.451-0.447,1.131-0.563,1.697-0.272l6.236,3.161l5.052-5.02c0,0,0,0,0,0
+ c0.524-0.446,1.112-0.53,1.678-0.242c0.565,0.288,0.871,0.919,0.773,1.546l-1.094,7.029l6.313,3.243
+ C29.863,18.278,30.176,18.903,30.074,19.532z"/>
</symbol>
</svg>
sortnumeric: function (a, b) {
return a - b;
},
- openPDF: function(element, print) {
- print = print || false;
- this.fluidbook._openFile(this.getPDF(), element, 'pdf', this.getBookmarksCompacted() + '.pdf', print);
+ openPDF: function (element, print) {
+ print = print || false;
+ this.fluidbook._openFile(this.getPDF(), element, 'pdf', this.getBookmarksCompacted() + '.pdf', print);
},
getPDF: function () {
return 'https://workshop.fluidbook.com/s/e/' + this.fluidbook.datas.cid + '/' + this.getBookmarksCompacted();
} else {
bookmarks += " data-tooltip=\"" + this._txtAdd + "\"";
}
- bookmarks += '></a>';
+ bookmarks += '>' + getSpriteIcon('bookmark-corner') + '</a>';
}
}
return bookmarks;
},
// Used by the print function. Will return maximum of 3 pages or a blank page if no bookmarks.
- getPrintPreview: function() {
+ getPrintPreview: function () {
if (!this.hasBookmarkedPages()) {
return '<div class="thumb left blank"><div class="blank-mask"></div></div>';
html += '<div class="thumb">' + this.fluidbook.loader.getThumbImage(group.page);
if (this.fluidbook.bookmarks.enabled) {
- html += this.fluidbook.bookmarks.getBookmarkForPage(group.page, true, true);
+ html += this.fluidbook.bookmarks.getBookmarkForPage(group.page, true, true);
}
html += '</div>';