]> _ Git - fluidbook-html5.git/commitdiff
done #1649 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 6 Oct 2017 09:52:56 +0000 (11:52 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 6 Oct 2017 09:52:56 +0000 (11:52 +0200)
js/libs/fluidbook/fluidbook.menu.js
style/fluidbook.less

index f53ae8ca4c9e9d8e73e9734a79cf65415e187c6e..a1db912ad74e64faf982544c47a95d5f68372a30 100644 (file)
@@ -373,6 +373,12 @@ FluidbookMenu.prototype = {
         var index = '<div class="caption">' + this.closeButton(c) + '<h2>' + title + '</h2></div>';
         index += this.index.getView(group);
         $("#view").append('<div class="mview" data-menu="index">' + index + '</div>');
+        // Mark current page
+        var cp = this.fluidbook.currentPage;
+        if (cp % 2 == 1) {
+            cp--;
+        }
+        $("#view").find('.doubleThumb[page="' + cp + '"]').addClass('here');
         this.fluidbook.bookmarks.updateBookmarks();
         if (callback != undefined) {
             callback();
index b8435c45c88fb0d111c565e9c9b031e2dfa20e1e..cb9fb13d734b1c9571a037a1fc2e672608c29298 100644 (file)
@@ -1232,7 +1232,7 @@ form input[type="text"], form input[type="email"] {
        .doubleThumb, .padding {
                display: inline-block;
                padding: 10px 10px 25px 10px;
-               margin-bottom:15px;
+               margin: 0 5px 15px;
                position: relative;
                width: 200px;
                cursor: pointer;