From: Vincent Vanwaelscappel Date: Wed, 16 Feb 2022 11:20:01 +0000 (+0100) Subject: wip #5101 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=9cdb15448c5f27481c15a11e43da4b834328d08c;p=fluidbook-html5.git wip #5101 @0.5 --- diff --git a/images/symbols/interface.svg b/images/symbols/interface.svg index 0c4ca778..bde37479 100644 --- a/images/symbols/interface.svg +++ b/images/symbols/interface.svg @@ -381,5 +381,15 @@ + + + + + + + + diff --git a/js/libs/fluidbook/fluidbook.bookmarks.js b/js/libs/fluidbook/fluidbook.bookmarks.js index e1c7f888..6770e430 100644 --- a/js/libs/fluidbook/fluidbook.bookmarks.js +++ b/js/libs/fluidbook/fluidbook.bookmarks.js @@ -60,8 +60,8 @@ FluidbookBookmarks.prototype = { } var print = $(this).hasClass('print'); if ($this.fluidbook.settings.bookmarkFunctionsMainMenu) { - $this.fluidbook.menu.openView(print ? 'print' : 'download','','',function(){ - $("#bookmarkedPages").prop('checked',true); + $this.fluidbook.menu.openView(print ? 'print' : 'download', '', '', function () { + $("#bookmarkedPages").prop('checked', true); }); } else { $this.openPDF($(this), print); @@ -500,6 +500,9 @@ FluidbookBookmarks.prototype = { } index += ''; index += '
'; + if (this.fluidbook.settings.bookmarkEmpty) { + index += '' + getSpriteIcon('icon-trashbin') + this.fluidbook.l10n.__('empty bookmarks') + ''; + } if (this.fluidbook.settings.friend && this.fluidbook.settings.bookmarkSendEnable) { index += '' + this.fluidbook.l10n.__('send') + ''; } diff --git a/style/fluidbook.less b/style/fluidbook.less index 343c3290..77b2211e 100644 --- a/style/fluidbook.less +++ b/style/fluidbook.less @@ -1744,6 +1744,23 @@ html.ios body.portrait #interface { display: inline-block; height: 45px; text-align: center; + position: relative; + + .svg-icon{ + width: 20px; + position: absolute; + top:11px; + left:-11px; + } + + &.noborder { + background-color: transparent; + text-transform: none; + + &:hover { + background-color: transparent; + } + } } @media @small {