]> _ Git - fluidbook-html5.git/commitdiff
done #3087 @0.75
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 27 Sep 2019 16:54:04 +0000 (18:54 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 27 Sep 2019 16:54:04 +0000 (18:54 +0200)
js/libs/fluidbook/links/fluidbook.links.zoom.js
style/fluidbook.less

index 81b2efde881054e4987309c6a8727e7bf606e541..e2ad70a076208a312fa3dd2230deef23f54a3205 100644 (file)
@@ -30,6 +30,15 @@ FluidbookLinksZoom.prototype = {
             $this.zoomLinkReset();
             return false;
         });
+
+
+        $(document).on('mouseover', '.zoomPopup', function () {
+            $(".zoom-group-" + $(this).data('group')).addClass('hover');
+        })
+
+        $(document).on('mouseout', '.zoomPopup', function () {
+            $(".zoomPopup.hover").removeClass('hover');
+        });
     },
 
     zoomLink: function (link) {
index c9c719a257b3751dd4e03aab1a01abd6329474ff..d3bb4a85509c31f09397ddbe0f72678ee707c138 100644 (file)
@@ -1340,9 +1340,11 @@ html.ios body.portrait #interface {
       background-color: @links-area-color;
     }
 
-    .using-mouse &:hover {
-      opacity: 1 !important;
-      background-color: @links-area-color;
+    &:hover, &.hover {
+      .using-mouse & {
+        opacity: 1 !important;
+        background-color: @links-area-color;
+      }
     }
   }
 }