if (this.zoom != 1) {
this.fluidbook.help.hide(); // Hide the help view if it's showing
- $("#shadow").hide();
+ $("#shadow").addClass('hidden');
if (!$('header').hasClass('hidden')) {
$(hiddenElements).addClass('hidden');
this.hideInterfaceTimeout = setTimeout(function () {
$(hiddenElements).hide();
- $("#shadow").addClass('hidden');
}, 500);
}
} else {
-
clearTimeout(this.hideInterfaceTimeout);
$(hiddenElements).show().removeClass('hidden');
- $("#shadow").show().removeClass('hidden');
+ setTimeout(function () {
+ $("#shadow").removeClass('hidden');
+ }, 250);
+
}
$("#z").transform(animation, {preserve: true});
$this.triggerEvent(((this.zoom == 1) ? 'out' : 'in') + '.start');
pointer-events: none;
mix-blend-mode: multiply;
+ transition-property: opacity;
+ transition-duration: 250s;
+
+ &.hidden {
+ transition-duration: 50ms;
+ opacity: 0;
+ }
+
> .shadow {
position: absolute;
left: 0;