From: Vincent Vanwaelscappel Date: Tue, 16 Oct 2018 12:15:00 +0000 (+0200) Subject: wipe #2298 @2.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=4555607594388b8fee2e601311f345b85c4a18db;p=fluidbook-html5.git wipe #2298 @2.5 --- diff --git a/js/libs/fluidbook/fluidbook.links.js b/js/libs/fluidbook/fluidbook.links.js index 92803486..2c270b2a 100644 --- a/js/libs/fluidbook/fluidbook.links.js +++ b/js/libs/fluidbook/fluidbook.links.js @@ -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'); } diff --git a/style/fluidbook.less b/style/fluidbook.less index 4fea84ed..be710acf 100644 --- a/style/fluidbook.less +++ b/style/fluidbook.less @@ -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; } }