]> _ Git - fluidbook-html5.git/commitdiff
wipe #2298 @2.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 16 Oct 2018 12:15:00 +0000 (14:15 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 16 Oct 2018 12:15:00 +0000 (14:15 +0200)
js/libs/fluidbook/fluidbook.links.js
style/fluidbook.less

index 928034861602dffd04ab8b2e24c7dc20f341e06a..2c270b2a163470fdc9b01d5a1dddb146ec6c7527 100644 (file)
@@ -36,9 +36,7 @@ FluidbookLinks.prototype = {
         });
 
         $(document).on('mouseenter', '#links a.image_rollover', function () {
-            console.log(this);
             var id = $(this).closest('[data-id]').data('id');
-            console.log(id);
             var iid = 'i_' + id;
             $this.rolloverEnter(iid);
         });
@@ -607,13 +605,11 @@ FluidbookLinks.prototype = {
     },
 
     rolloverEnter: function (iid) {
-        console.log('enter',iid);
         var e = $('[data-id="' + iid + '"]');
         e.addClass('animaterollover');
     },
 
     rolloverLeave: function (iid) {
-        console.log('leave',iid);
         var e = $('[data-id="' + iid + '"]');
         e.removeClass('animaterollover');
     }
index 4fea84ed8515ddb1d35a1b381c6d96036a891573..be710acf5598f62d5081b245de03bda4cf23dc12 100644 (file)
@@ -2844,20 +2844,14 @@ body > input {
        0% {
                margin-top: 0px;
        }
-       50% {
+       100%{
                margin-top: -40px;
        }
-       100% {
-               margin-top: 0px;
-       }
-
 }
 
 [data-rollover="upanddown"] {
        &.animaterollover {
-               animation-duration: 800ms;
-               animation-name: enterupanddown;
-               animation-timing-function: ease-out;
+               animation: enterupanddown 0.25s cubic-bezier(0.250, 0.460, 0.450, 0.940) 2 alternate forwards;
        }
 }