</header>
<div id="interface"></div>
<div id="helpView"></div>
+ <div id="helpViewOverlay"></div>
<div id="z" class="nozoom">
<div id="fluidbook">
this.autoTimeout;\r
this.fluidbook = fluidbook;\r
this.view = $("#helpView");\r
+ this.overlay = $("#helpViewOverlay");\r
this.initEvents();\r
this.interfaceTop;\r
}\r
});\r
\r
// Click handler on main helpView div to hide it\r
- $this.view.click(function(e) {\r
+ $this.overlay.click(function(e) {\r
e.stopImmediatePropagation();\r
e.stopPropagation();\r
e.preventDefault();\r
var $this = this;\r
\r
resize(); // Main resize function that later calls local resize() here...\r
+ this.overlay.show();\r
this.view.show();\r
\r
$("body,#previous,#next").addClass('help');\r
this.clearTimeout();\r
var $this = this;\r
if (this.isVisible()) {\r
+ this.overlay.hide();\r
this.view.hide();\r
$("body,#previous,#next").removeClass('help');\r
this.fluidbook.hideUnnecessaryButtons();\r
\r
\r
this.interfaceTop = (hh - 100 * interfaceScale) / 2 + 30 * interfaceScale;\r
- this.view.find(".interface > div").css({\r
+ this.view.find(".interface > div").not('.slider').css({\r
top: this.interfaceTop\r
});\r
\r
var sliderHelp = $this.view.find('.slider');\r
var sliderCursor = $('#slidercursor .visible');\r
sliderHelp.css({\r
- top: 'auto',\r
bottom: hh - sliderCursor.offset().top,\r
left: sliderCursor.offset().left + (sliderCursor.width() / 2)\r
});\r
-o-transition: all @zoomtransition ease-out;
transition: all @zoomtransition ease-out;
}
-
- // Add a slight blur below the help overlay
- .help & {
- filter: blur(7px);
- }
}
#cache {
}
/* Help */
+#helpViewOverlay {
+ display: none;
+ z-index: 30;
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ background-color: transparent;
+}
#helpView {
background-color: rgba(0, 0, 0, 0.7);
position: absolute;