From 56e33db7c98ddf2451742918dd45a0ff6c194fea Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 27 Apr 2016 10:38:17 +0000 Subject: [PATCH] #fluidbook-html5 : Allow enable link blinking --- js/libs/fluidbook/fluidbook.js | 9 ++++----- style/fluidbook.css | 7 ------- style/fluidbook.less | 8 -------- 3 files changed, 4 insertions(+), 20 deletions(-) diff --git a/js/libs/fluidbook/fluidbook.js b/js/libs/fluidbook/fluidbook.js index 74696261..d2f29e6c 100644 --- a/js/libs/fluidbook/fluidbook.js +++ b/js/libs/fluidbook/fluidbook.js @@ -82,9 +82,8 @@ Fluidbook.prototype = { } this.initTheme(); }, - initTheme: function () - { - if(this.datas.arrowsTheme){ + initTheme: function () { + if (this.datas.arrowsTheme) { $('html').addClass('sharp'); } this.initLoading(); @@ -200,8 +199,8 @@ Fluidbook.prototype = { } $("#links").prepend(''); var $this = this; - if (this.datas.linkBlinkTime > 0) { - ///this.animateLinks(); + if (this.datas.linkBlinkTime > 0 && this.datas.mobileLinksRevealAnim) { + this.animateLinks(); } setTimeout(function () { $this.initVideos(); diff --git a/style/fluidbook.css b/style/fluidbook.css index e5d81675..0a056397 100644 --- a/style/fluidbook.css +++ b/style/fluidbook.css @@ -563,13 +563,6 @@ header.hidden, border-radius: 5px; background-color: rgba(0, 0, 0, 0.01); } -.link a.displayArea.animating { - -moz-transition: opacity 1s ease-in; - -webkit-transition: opacity 1s ease-in; - -o-transition: opacity 1s ease-in; - -ms-transition: opacity 1s ease-in; - transition: opacity 1s ease-in; -} #links .nonlinkarea { display: none; } diff --git a/style/fluidbook.less b/style/fluidbook.less index 51f56343..386834f0 100644 --- a/style/fluidbook.less +++ b/style/fluidbook.less @@ -644,14 +644,6 @@ footer.hidden, header.hidden, #interface.hidden { background-color: rgba(0, 0, 0, 0.01); } -.link a.displayArea.animating { - -moz-transition: opacity 1s ease-in; - -webkit-transition: opacity 1s ease-in; - -o-transition: opacity 1s ease-in; - -ms-transition: opacity 1s ease-in; - transition: opacity 1s ease-in; -} - #links .nonlinkarea { display: none; } -- 2.39.5