]> _ Git - fluidbook-html5.git/commitdiff
fix #2722 @0:20
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 13 May 2019 13:40:01 +0000 (15:40 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 13 May 2019 13:40:01 +0000 (15:40 +0200)
js/libs/fluidbook/fluidbook.menu.js
style/fluidbook.less

index 276afd9085d016395e8834ea18d3ee518cdee1cd..cc3b43acd226bd9c3da772b7be7e52759d3b1f5e 100644 (file)
@@ -362,7 +362,7 @@ FluidbookMenu.prototype = {
         view += '<div class="content">';
         view += '<p>' + message + '</p>';
         view += '<div class="visual">';
-        view += '<div class="doubleThumb"><div class="thumb left">' + this.fluidbook.loader.getThumbImage(2, true) + '<a href="#" class="bookmark left" data-enabled="enabled">' + getSpriteIcon('bookmark-corner') + '</a></div><div class="thumb right">' + this.fluidbook.loader.getThumbImage(3, true) + '<a href="#" class="bookmark right" data-enabled="enabled">' + getSpriteIcon('bookmark-corner') + '</a></div></div>';
+        view += '<div class="doubleThumb"><div class="thumb left">' + this.fluidbook.loader.getThumbImage(2, true) + '<div class="circle"></div><a href="#" class="bookmark left" data-enabled="enabled">' + getSpriteIcon('bookmark-corner') + '</a></div><div class="thumb right">' + this.fluidbook.loader.getThumbImage(3, true) + '<div class="circle"></div><a href="#" class="bookmark right" data-enabled="enabled">' + getSpriteIcon('bookmark-corner') + '</a></div></div>';
         view += '</div>';
         view += '';
         view += '</div>';
@@ -452,7 +452,7 @@ FluidbookMenu.prototype = {
         this.fluidbook.stats.track(14);
     },
     openIndex: function (title, group, closeAll, callback) {
-        this.index.openIndex(title,group,closeAll,callback);
+        this.index.openIndex(title, group, closeAll, callback);
     },
     openArchives: function (title, callback) {
         var archives = '<div class="caption">' + this.closeButton() + '<h2>' + title + '</h2></div>';
index b7f410d831238e816572fb02bbf91f3aedaf4947..91d550a4649d6331985d14d4230cc82d38b48e32 100644 (file)
@@ -1476,11 +1476,9 @@ html.ios body.portrait #interface {
           &.right {
             left: @w;
 
-            .img {
-              &:after {
-                left: auto;
-                right: -24px;
-              }
+            .circle {
+              left: auto;
+              right: -24px;
             }
           }
 
@@ -1488,25 +1486,23 @@ html.ios body.portrait #interface {
             pointer-events: none;
           }
 
-          .img {
+          img {
             position: relative;
 
             width: @w;
             height: @w/@book-page-ratio;
+          }
 
-            &:after {
-              content: "";
-              position: absolute;
-              z-index: -1;
-              top: -24px;
-              left: -24px;
-              width: 100px;
-              height: 100px;
-              background-color: @menu-background;
-              border: 2px solid #fff;
-              border-radius: 50%;
-            }
-
+          .circle {
+            position: absolute;
+            z-index: 1;
+            top: -24px;
+            left: -24px;
+            width: 100px;
+            height: 100px;
+            background-color: @menu-background;
+            border: 2px solid #fff;
+            border-radius: 50%;
           }
 
           .bookmark {